[Bug 34969] [nouveau] Card lockup on openarena

2014-12-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Pierre Moreau  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
  Component|DRM/other   |Driver/nouveau
Version|XOrg git|unspecified
   Assignee|dri-devel at lists.freedesktop |nouveau at 
lists.freedesktop.o
   |.org|rg
Product|DRI |xorg
 QA Contact||xorg-team at lists.x.org

--- Comment #21 from Pierre Moreau  ---
Moving to Nouveau.

Are you still experiencing this issue with an updated graphic stack, aka.
kernel 3.18, mesa 10.4, libdrm 2.4.58 and f86-video-nouveau 1.0.11?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 34969] [nouveau] Card lockup on openarena

2012-04-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #20 from Andrew Randrianasulu  2012-04-14 
14:53:55 PDT ---
At least my hangs seems  to be  fixed by big driver rewrite. Currently using
3.4.0-rc2 nouveau kernel, libdrm up to commit
292da616fe1f936ca78a3fa8e1b1b19883e343b6 ("nouveau: pull in major libdrm
rewrite"), mesa master up to commit b2df031a959f36743527b9abc89913ce4f895de3
("r300/compiler: Fix nested flow control in r500 vertex shaders") and
xf86-video-nouveau up to commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55
("nve0: initial exa/xv acceleration for kepler chipsets").

Please, re-test with new code.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2012-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #20 from Andrew Randrianasulu rand...@mail.ru 2012-04-14 14:53:55 
PDT ---
At least my hangs seems  to be  fixed by big driver rewrite. Currently using
3.4.0-rc2 nouveau kernel, libdrm up to commit
292da616fe1f936ca78a3fa8e1b1b19883e343b6 (nouveau: pull in major libdrm
rewrite), mesa master up to commit b2df031a959f36743527b9abc89913ce4f895de3
(r300/compiler: Fix nested flow control in r500 vertex shaders) and
xf86-video-nouveau up to commit fb3a36b1e5af0f81bb266da894d3442eed8e4e55
(nve0: initial exa/xv acceleration for kepler chipsets).

Please, re-test with new code.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #19 from Andrew Randrianasulu  2011-11-14 
16:36:06 PST ---
Created attachment 53562
  --> https://bugs.freedesktop.org/attachment.cgi?id=53562
hand-typed "log"

While trying some self-made liveCD based on slackware-current, I found
Slackware's Mesa works fine for both Celestia, and Q3 timedemo demo002.
Slackware currently uses Mesa 7.10.2/libdrm 2.4.24/ and some nouveau DDX from
march, 2011. I've compiled 7.11 branch , and discovered it hang videocard like
7.12 does on my main system. Then I just set good commit at last one from Luca.
And even if i keep all other components the same
(libdrm-2.4.27/xf86-video-nouveau few comments behind git/kernel 3.2.0-rc1
mainline) freeze go on and off with just mesa versions.My bisect compilation
was without any llvm stuff (normal compilation has llvm 2.9). nice mistery, and
thanfully  whole machine not locked up hard, only videocard, it seems.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #18 from Andrew Randrianasulu  2011-11-14 
16:06:19 PST ---
(In reply to comment #17)
> (In reply to comment #16)
> > So, I bisected mesa tree (7.11 branch)
> > 
> > Result:
> > 
> > 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 is the first bad commit
> > commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3
> > Author: Marek Olk 
> > Date:   Sun Dec 26 04:30:51 2010 +0100
> > 
> > st/mesa: set vertex arrays state only when necessary
> 
> I guess the bisection failed in this case, because that commit contains a bug
> that was fixed later.

gallium: notify drivers about possible changes in user buffer contents ? It was
well-masked for Q3 arena until extension sorting exposed it there, but I run my
./vertexrate (reduced) test, and you can see whole bisect log... May be nvfx
played too much with mesa/gallium internals.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #17 from Marek Ol??k  2011-11-14 15:28:23 PST 
---
(In reply to comment #16)
> So, I bisected mesa tree (7.11 branch)
> 
> Result:
> 
> 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 is the first bad commit
> commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3
> Author: Marek Olk 
> Date:   Sun Dec 26 04:30:51 2010 +0100
> 
> st/mesa: set vertex arrays state only when necessary

I guess the bisection failed in this case, because that commit contains a bug
that was fixed later.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #16 from Andrew Randrianasulu  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 Olk 
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.

:04 04 45e5630d445206ce8c7eab6ac6bfe144901695bb
927efd20e354ecae459227bd464dbb6001cb448e M  src


guest at 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.


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #16 from Andrew Randrianasulu rand...@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 mar...@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.

:04 04 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


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #17 from Marek Olšák mar...@gmail.com 2011-11-14 15:28:23 PST ---
(In reply to comment #16)
 So, I bisected mesa tree (7.11 branch)
 
 Result:
 
 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 is the first bad commit
 commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3
 Author: Marek OlЕЎГЎk mar...@gmail.com
 Date:   Sun Dec 26 04:30:51 2010 +0100
 
 st/mesa: set vertex arrays state only when necessary

I guess the bisection failed in this case, because that commit contains a bug
that was fixed later.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #18 from Andrew Randrianasulu rand...@mail.ru 2011-11-14 16:06:19 
PST ---
(In reply to comment #17)
 (In reply to comment #16)
  So, I bisected mesa tree (7.11 branch)
  
  Result:
  
  2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 is the first bad commit
  commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3
  Author: Marek OlЕЎГЎk mar...@gmail.com
  Date:   Sun Dec 26 04:30:51 2010 +0100
  
  st/mesa: set vertex arrays state only when necessary
 
 I guess the bisection failed in this case, because that commit contains a bug
 that was fixed later.

gallium: notify drivers about possible changes in user buffer contents ? It was
well-masked for Q3 arena until extension sorting exposed it there, but I run my
./vertexrate (reduced) test, and you can see whole bisect log... May be nvfx
played too much with mesa/gallium internals.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-11-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #19 from Andrew Randrianasulu rand...@mail.ru 2011-11-14 16:36:06 
PST ---
Created attachment 53562
  -- https://bugs.freedesktop.org/attachment.cgi?id=53562
hand-typed log

While trying some self-made liveCD based on slackware-current, I found
Slackware's Mesa works fine for both Celestia, and Q3 timedemo demo002.
Slackware currently uses Mesa 7.10.2/libdrm 2.4.24/ and some nouveau DDX from
march, 2011. I've compiled 7.11 branch , and discovered it hang videocard like
7.12 does on my main system. Then I just set good commit at last one from Luca.
And even if i keep all other components the same
(libdrm-2.4.27/xf86-video-nouveau few comments behind git/kernel 3.2.0-rc1
mainline) freeze go on and off with just mesa versions.My bisect compilation
was without any llvm stuff (normal compilation has llvm 2.9). nice mistery, and
thanfully  whole machine not locked up hard, only videocard, it seems.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu  changed:

   What|Removed |Added

  Attachment #49334|0   |1
is obsolete||

--- Comment #15 from Andrew Randrianasulu  2011-08-02 
04:10:22 PDT ---
Created an attachment (id=49824)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49824)
NOUVEAU_TRACE logs

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu  changed:

   What|Removed |Added

  Attachment #49333|0   |1
is obsolete||

--- Comment #14 from Andrew Randrianasulu  2011-08-02 
04:07:19 PDT ---
Created an attachment (id=49823)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49823)
modified vertexrate.c

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #13 from Andrew Randrianasulu  2011-08-02 
04:06:28 PDT ---
More info.

When I set NVFX_SWTNL=1 ./vertexrate it also works without lockup. I was
playing with amount of vertex data, and found what  defining MAX_VERTS up to
1263 works OK, but 1264 and up   lead to card lock-up.

So, i traced two cases, and diff'ed first full trace (with lockup) and part of
second trace (33 Mb big, due to successful execution of test).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #13 from Andrew Randrianasulu rand...@mail.ru 2011-08-02 04:06:28 
PDT ---
More info.

When I set NVFX_SWTNL=1 ./vertexrate it also works without lockup. I was
playing with amount of vertex data, and found what  defining MAX_VERTS up to
1263 works OK, but 1264 and up   lead to card lock-up.

So, i traced two cases, and diff'ed first full trace (with lockup) and part of
second trace (33 Mb big, due to successful execution of test).

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu rand...@mail.ru changed:

   What|Removed |Added

  Attachment #49333|0   |1
is obsolete||

--- Comment #14 from Andrew Randrianasulu rand...@mail.ru 2011-08-02 04:07:19 
PDT ---
Created an attachment (id=49823)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49823)
modified vertexrate.c

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu rand...@mail.ru changed:

   What|Removed |Added

  Attachment #49334|0   |1
is obsolete||

--- Comment #15 from Andrew Randrianasulu rand...@mail.ru 2011-08-02 04:10:22 
PDT ---
Created an attachment (id=49824)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49824)
NOUVEAU_TRACE logs

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #12 from Andrew Randrianasulu  2011-07-20 
04:41:04 PDT ---
Ops, i mean ./dedma . I was unable to find anything useful

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #11 from Andrew Randrianasulu  2011-07-20 
04:39:31 PDT ---
(In reply to comment #8)
> Created an attachment (id=49332)
 View: https://bugs.freedesktop.org/attachment.cgi?id=49332
 Review: https://bugs.freedesktop.org/review?bug=34969=49332

> patch for libdrm command buffer tracing

And how to parse this trace into more human-readable format? demmio from
envytools?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #10 from Andrew Randrianasulu  2011-07-20 
03:24:34 PDT ---
Created an attachment (id=49334)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49334)
NOUVEAU_TRACE.log

for channel 3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #9 from Andrew Randrianasulu  2011-07-20 
03:23:05 PDT ---
Created an attachment (id=49333)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49333)
Minimal vertexrate.c

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #8 from Christoph Bumiller  
2011-07-20 03:00:34 PDT ---
Created an attachment (id=49332)
 View: https://bugs.freedesktop.org/attachment.cgi?id=49332
 Review: https://bugs.freedesktop.org/review?bug=34969=49332

patch for libdrm command buffer tracing

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #7 from Christoph Bumiller  
2011-07-20 02:58:54 PDT ---
Try cutting the vertexrate demo down to a minimal subset that causes the lockup
and trace the command buffer.
You're getting DMA_VTX_PROTECTION so you're likely accessing out of bounds
vertex data somehow.
If you can find the commands that cause it and compare with the gallium code
you might be able to find the error.

Attached patch for tracing command buffer (apply to libdrm).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #7 from Christoph Bumiller e0425...@student.tuwien.ac.at 
2011-07-20 02:58:54 PDT ---
Try cutting the vertexrate demo down to a minimal subset that causes the lockup
and trace the command buffer.
You're getting DMA_VTX_PROTECTION so you're likely accessing out of bounds
vertex data somehow.
If you can find the commands that cause it and compare with the gallium code
you might be able to find the error.

Attached patch for tracing command buffer (apply to libdrm).

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #8 from Christoph Bumiller e0425...@student.tuwien.ac.at 
2011-07-20 03:00:34 PDT ---
Created an attachment (id=49332)
 View: https://bugs.freedesktop.org/attachment.cgi?id=49332
 Review: https://bugs.freedesktop.org/review?bug=34969attachment=49332

patch for libdrm command buffer tracing

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #9 from Andrew Randrianasulu rand...@mail.ru 2011-07-20 03:23:05 
PDT ---
Created an attachment (id=49333)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49333)
Minimal vertexrate.c

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #10 from Andrew Randrianasulu rand...@mail.ru 2011-07-20 03:24:34 
PDT ---
Created an attachment (id=49334)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49334)
NOUVEAU_TRACE.log

for channel 3

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #11 from Andrew Randrianasulu rand...@mail.ru 2011-07-20 04:39:31 
PDT ---
(In reply to comment #8)
 Created an attachment (id=49332)
 View: https://bugs.freedesktop.org/attachment.cgi?id=49332
 Review: https://bugs.freedesktop.org/review?bug=34969attachment=49332

 patch for libdrm command buffer tracing

And how to parse this trace into more human-readable format? demmio from
envytools?

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #12 from Andrew Randrianasulu rand...@mail.ru 2011-07-20 04:41:04 
PDT ---
Ops, i mean ./dedma . I was unable to find anything useful

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #6 from Andrew Randrianasulu  2011-07-19 
20:27:50 PDT ---
Sorry, in my case aux. power was NOT connected to card. Now fastest perflevel
works for Q3/demo001 (up to 78.0 fps for 1280x1024x32 at 60, but GPU temp raised
to 92 C). 

But unmodified vertexrate demo still freezes card even with default boot clocks
:[

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #6 from Andrew Randrianasulu rand...@mail.ru 2011-07-19 20:27:50 
PDT ---
Sorry, in my case aux. power was NOT connected to card. Now fastest perflevel
works for Q3/demo001 (up to 78.0 fps for 1280x1024x32@60, but GPU temp raised
to 92 C). 

But unmodified vertexrate demo still freezes card even with default boot clocks
:[

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu  changed:

   What|Removed |Added

  Attachment #49192|text/plain  |application/octet-stream
  mime type||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #5 from Andrew Randrianasulu  2011-07-16 
17:23:02 PDT ---
Created an attachment (id=49192)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49192)
log of buffer activity, from NVFX_TRACE_DRAW=1 ./vertexrate > NV_TRACE.log 2>&1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #5 from Andrew Randrianasulu rand...@mail.ru 2011-07-16 17:23:02 
PDT ---
Created an attachment (id=49192)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49192)
log of buffer activity, from NVFX_TRACE_DRAW=1 ./vertexrate  NV_TRACE.log 21

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

Andrew Randrianasulu rand...@mail.ru changed:

   What|Removed |Added

  Attachment #49192|text/plain  |application/octet-stream
  mime type||

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #4 from Andrew Randrianasulu  2011-07-14 
23:43:39 PDT ---
Ok, VBO glDrawArrays works too:

guest at slax:~/botva/src/demos/src/perf$ ./vertexrate
Vertex rate (1 x Vertex4f)
  Immediate mode: 11.5 million verts/sec
  VBO glDrawArrays: 12.8 million verts/sec
guest at slax:~/botva/src/demos/src/perf$  

Uncommenting anything else lock up card.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #3 from Andrew Randrianasulu  2011-07-14 
23:21:33 PDT ---
OK, perf/vertexrate lockup card.

If I disable (in vertexrate.c) everything, but immediate mode, i have

guest at slax:~/botva/src/demos/src/perf$ ./vertexrate
Vertex rate (1 x Vertex4f)
  Immediate mode: 11.2 million verts/sec

perf/vbo works, but as far as I can see it doesn't draw anything  visible.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #3 from Andrew Randrianasulu rand...@mail.ru 2011-07-14 23:21:33 
PDT ---
OK, perf/vertexrate lockup card.

If I disable (in vertexrate.c) everything, but immediate mode, i have

guest@slax:~/botva/src/demos/src/perf$ ./vertexrate
Vertex rate (1 x Vertex4f)
  Immediate mode: 11.2 million verts/sec

perf/vbo works, but as far as I can see it doesn't draw anything  visible.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #4 from Andrew Randrianasulu rand...@mail.ru 2011-07-14 23:43:39 
PDT ---
Ok, VBO glDrawArrays works too:

guest@slax:~/botva/src/demos/src/perf$ ./vertexrate
Vertex rate (1 x Vertex4f)
  Immediate mode: 11.5 million verts/sec
  VBO glDrawArrays: 12.8 million verts/sec
guest@slax:~/botva/src/demos/src/perf$  

Uncommenting anything else lock up card.

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #2 from Andrew Randrianasulu  2011-07-14 
22:41:58 PDT ---
Created an attachment (id=49119)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=49119)
nouveau dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #1 from Andrew Randrianasulu  2011-07-14 
22:40:18 PDT ---
While nvfx (3d gallium driver) isn't supported, i run few tests with
nouveau-git (commit 72690683e35680d912e9b8ff2ee0b7a18631dd0d - "drm/nouveau/pm:
Document and expose CL and WR for 0x1002Cx") and mesa-7.12-devel (OpenGL
version string: 2.1 Mesa 7.12-devel (git-a09b7f7)).

Other software - Q3 Arena linux demo.

Results kinda strange.

Default settings
Timedemo 1 
demo demo002 - lock up card very fast, can power off machine via ACPI.
demo demo001 - works!

geometry detail set to low
demo demo001 - not tested
demo demo002 - works!

geometry detail set to medium
demo demo002 - lock up after some time (not at start of level)

For perflvl=0 

even demo001 lock up after some time in the middle (always at same place).

So, I guess we run ahead or behind GPU, mostly in sending geometry data? need
more test with perf mesa demos, for example 

currently my performance levels are

drm] nouveau :01:00.0: mem timing table length unknown: 14
[drm] nouveau :01:00.0: 2 available performance level(s)
[drm] nouveau :01:00.0: 0: core 300MHz memory 1000MHz voltage 1300mV
fanspeed 100%
[drm] nouveau :01:00.0: 1: core 500MHz memory 1000MHz voltage 1400mV
fanspeed 100%
[drm] nouveau :01:00.0: c: core 100MHz memory 501MHz voltage 1300mV
[TTM] Zone  kernel: Available graphics memory: 255992 kiB.


and perflvl 1 lock up whole machine pretty fast (before i managed to run any
bench, even  with just composited, via Xrender/Kde 3.5.10 desktop)

Guess I need additional "bug" for tracking this. And probably one more for
tracking invisible VTs after s3 sleep 

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #1 from Andrew Randrianasulu rand...@mail.ru 2011-07-14 22:40:18 
PDT ---
While nvfx (3d gallium driver) isn't supported, i run few tests with
nouveau-git (commit 72690683e35680d912e9b8ff2ee0b7a18631dd0d - drm/nouveau/pm:
Document and expose CL and WR for 0x1002Cx) and mesa-7.12-devel (OpenGL
version string: 2.1 Mesa 7.12-devel (git-a09b7f7)).

Other software - Q3 Arena linux demo.

Results kinda strange.

Default settings
Timedemo 1 
demo demo002 - lock up card very fast, can power off machine via ACPI.
demo demo001 - works!

geometry detail set to low
demo demo001 - not tested
demo demo002 - works!

geometry detail set to medium
demo demo002 - lock up after some time (not at start of level)

For perflvl=0 

even demo001 lock up after some time in the middle (always at same place).

So, I guess we run ahead or behind GPU, mostly in sending geometry data? need
more test with perf mesa demos, for example 

currently my performance levels are

drm] nouveau :01:00.0: mem timing table length unknown: 14
[drm] nouveau :01:00.0: 2 available performance level(s)
[drm] nouveau :01:00.0: 0: core 300MHz memory 1000MHz voltage 1300mV
fanspeed 100%
[drm] nouveau :01:00.0: 1: core 500MHz memory 1000MHz voltage 1400mV
fanspeed 100%
[drm] nouveau :01:00.0: c: core 100MHz memory 501MHz voltage 1300mV
[TTM] Zone  kernel: Available graphics memory: 255992 kiB.


and perflvl 1 lock up whole machine pretty fast (before i managed to run any
bench, even  with just composited, via Xrender/Kde 3.5.10 desktop)

Guess I need additional bug for tracking this. And probably one more for
tracking invisible VTs after s3 sleep 

-- 
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


[Bug 34969] [nouveau] Card lockup on openarena

2011-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34969

--- Comment #2 from Andrew Randrianasulu rand...@mail.ru 2011-07-14 22:41:58 
PDT ---
Created an attachment (id=49119)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=49119)
nouveau dmesg

-- 
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