dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 34969] [nouveau] Card lockup on openarena
Date: Mon, 14 Nov 2011 23:16:55 +0000	[thread overview]
Message-ID: <bug-34969-502-z4hAwRjj8L@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-34969-502@http.bugs.freedesktop.org/>

https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #16 from Andrew Randrianasulu <randrik@mail.ru> 2011-11-14 15:16:55 PST ---
So, I bisected mesa tree (7.11 branch)

Result:

2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 is the first bad commit
commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3
Author: Marek OlЕЎГЎk <maraeo@gmail.com>
Date:   Sun Dec 26 04:30:51 2010 +0100

    st/mesa: set vertex arrays state only when necessary

    The vertex arrays state should be set only when (_NEW_ARRAY | _NEW_PROGRAM)
    is dirty. This assumes user buffer content is mutable, which will be
    sorted out in the next commit. The following usage case should be much
faster
    now:

    for (i = 0; i < 1000; i++) {
       glDrawElements(...);
    }

    Or even:

    for (i = 0; i < 1000; i++) {
       glSomeStateChangeOtherThanArraysOrProgram(...);
       glDrawElements(...);
    }

    The performance increase from this may be significant in some apps and
    negligible in others. It is especially noticable in the Torcs game (r300g):
        Before: 15.4 fps
        After: 20 fps

    Also less looping over attribs in st_draw_vbo yields slight speed-up
    in apps with lots of glDraw* calls.

:040000 040000 45e5630d445206ce8c7eab6ac6bfe144901695bb
927efd20e354ecae459227bd464dbb6001cb448e M      src


guest@slax:~/botva/src/src/mesa$ git bisect log
git bisect start
# good: [0f7325b89038937bd428f7c89ed9859189a0ab0b] i965: Emit texel offsets in
sampler messages.
git bisect good 0f7325b89038937bd428f7c89ed9859189a0ab0b
# bad: [8767fe2437094f33db140a6b92f25116de4fc371] mesa: Sort extensions in
extension string by year.
git bisect bad 8767fe2437094f33db140a6b92f25116de4fc371
# bad: [fbd681f1a03f6ad62432107dc94e02674f6de7bf] i915g: Use dump function in
sw winsys
git bisect bad fbd681f1a03f6ad62432107dc94e02674f6de7bf
# good: [1f5b67416810f7331fe71db0f767418473083701] egl_dri2: add nouveau
support.
git bisect good 1f5b67416810f7331fe71db0f767418473083701
# bad: [e0481cac7d57757d75a39763a1dd36b915979bb4] svga: Disable surface cache
for textures
git bisect bad e0481cac7d57757d75a39763a1dd36b915979bb4
# bad: [fc5ab1b19780ef97c5e7f6257a2d91121503bd53] mesa: use gl_format type
instead of GLuint
git bisect bad fc5ab1b19780ef97c5e7f6257a2d91121503bd53
# bad: [56029ce52bafbc51b5b6660383767257b7770cd7] r300g: inline some of the
pipe_buffer_map/unmap calls
git bisect bad 56029ce52bafbc51b5b6660383767257b7770cd7
# good: [9e96ea0652dda64f8eb311d7dfc9c50519ad02f0] r600g: add alignment cases
for linear aligned
git bisect good 9e96ea0652dda64f8eb311d7dfc9c50519ad02f0
# bad: [588fa884d212eba5ffbc69fda75db37d7c77214c] gallium: notify drivers about
possible changes in user buffer contents
git bisect bad 588fa884d212eba5ffbc69fda75db37d7c77214c
# good: [cfaf217135d8a8e903b3fbf380f18170df018f0c] vbo: bind arrays only when
necessary
git bisect good cfaf217135d8a8e903b3fbf380f18170df018f0c
# good: [cdca3c58aa2d9549f5188910e2a77b438516714f] gallium: remove
pipe_vertex_buffer::max_index
git bisect good cdca3c58aa2d9549f5188910e2a77b438516714f
# bad: [2a904fd6a0cb80eec6dec2bae07fd8778b04caf3] st/mesa: set vertex arrays
state only when necessary
git bisect bad 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2011-11-14 23:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 12:13 [Bug 34969] New: [nouveau] Card lockup on openarena bugzilla-daemon
2011-07-15  5:40 ` [Bug 34969] " bugzilla-daemon
2011-07-15  5:41 ` bugzilla-daemon
2011-07-15  6:21 ` bugzilla-daemon
2011-07-15  6:43 ` bugzilla-daemon
2011-07-17  0:23 ` bugzilla-daemon
2011-07-17  0:24 ` bugzilla-daemon
2011-07-20  3:27 ` bugzilla-daemon
2011-07-20  9:58 ` bugzilla-daemon
2011-07-20 10:00 ` bugzilla-daemon
2011-07-20 10:23 ` bugzilla-daemon
2011-07-20 10:24 ` bugzilla-daemon
2011-07-20 11:39 ` bugzilla-daemon
2011-07-20 11:41 ` bugzilla-daemon
2011-08-02 11:06 ` bugzilla-daemon
2011-08-02 11:07 ` bugzilla-daemon
2011-08-02 11:10 ` bugzilla-daemon
2011-11-14 23:16 ` bugzilla-daemon [this message]
2011-11-14 23:28 ` bugzilla-daemon
2011-11-15  0:06 ` bugzilla-daemon
2011-11-15  0:36 ` bugzilla-daemon
2012-04-14 21:53 ` bugzilla-daemon
2014-12-09 18:52 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-34969-502-z4hAwRjj8L@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox