* [Bug 20023] nv20: unwanted solid fills during busyloop rendering
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2009-02-09 20:51 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 20:52 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 20:51 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #1 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-09 12:51:52 PST ---
Hypothesis: Gallium hw ctx and EXA hw ctx are leaking state, incomplete context
switching.
Test: disable all EXA acceleration.
NV04EXAPrepareSolid(), NV04EXAPrepareCopy(), NV10EXACheckComposite() were
modified to return FALSE immediately. Additionally UTS and DFS were disabled
via xorg.conf.
Result: no impact. The SCF appears as before.
Even though EXA should not be using hw acceleration, the DRM and EXA hw ctxs
still exist. However, it is unlikely for the SCF to be caused by state leaking
from a context to another.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] nv20: unwanted solid fills during busyloop rendering
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2009-02-09 20:51 ` [Bug 20023] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-09 20:52 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 21:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 20:52 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #2 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-09 12:52:53 PST ---
Hypothesis: NV2X_GRCTX_SIZE too small, which leads to contexts corrupting each
other.
Doubled it, no change.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] nv20: unwanted solid fills during busyloop rendering
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2009-02-09 20:51 ` [Bug 20023] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 20:52 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-09 21:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 21:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 21:16 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #3 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-09 13:16:01 PST ---
The SCF appears only, when a RAFAP application is running, and a terminal
window draws something. The "drawing something" is most easily triggered in
aterm by switching the focus between a RAFAP window and the aterm window. Aterm
fills the text cursor with yellow when it receives focus, and this fill may
"blow up".
The SCF seems to be drawn directly onto the framebuffer, any rendering
whatsoever will fix it for the rendered area. Except fluxbox window borders
while moving windows (no window content shown while moving). Switching virtual
desktops is a good way to clear it. SCF seems to never touch the background or
the root window.
Having three trivial/tri-repeat applications running at the same time works
fine, and it seems that the SCF happens more frequently/easily.
Todo:
- confirm it's not happening with swrast
- try disabling all 2D rendering (fill, clear, copy) in NV20 Gallium one by one
Ideas:
- could nv2x_graph_context_init (DRM) be incorrect?
- buggy hw ctx switching? Hope not! But nvidia did use sw ctx switching for
some reason.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] nv20: unwanted solid fills during busyloop rendering
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2009-02-09 21:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-09 21:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 22:03 ` [Bug 20023] XDamageAdd problem (with Gallium3D) bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 21:44 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #4 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-09 13:44:09 PST ---
Yay for malc0!
http://lists.freedesktop.org/archives/xorg/2009-February/043604.html
The program in that email triggers the same SCF as trivial/tri-repeat.
Compile it with:
gcc -W -Wall -O2 Xdamage.c -o Xdamage -lX11 -lXfixes -lXdamage
Trivial/tri-repeat with swrast does not trigger the SCF.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] XDamageAdd problem (with Gallium3D)
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2009-02-09 21:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-09 22:03 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-09 22:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 22:03 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
Pekka Paalanen <pq@iki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Component|Drivers/DRI/nouveau |Server/general
Product|Mesa |xorg
Summary|nv20: unwanted solid fills |XDamageAdd problem (with
|during busyloop rendering |Gallium3D)
Version|CVS |git
--- Comment #5 from Pekka Paalanen <pq@iki.fi> 2009-02-09 14:03:39 PST ---
Trying to move this bug to Xorg.
Added Hellström to CC, since he made the minimal program that reproduces this
issue. Change the summary according to Thomas' email.
Correction: I'm not adding Hellström to CC, since bugzilla does not allow it.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] XDamageAdd problem (with Gallium3D)
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2009-02-09 22:03 ` [Bug 20023] XDamageAdd problem (with Gallium3D) bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-09 22:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-10 17:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 22:05 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pq-X3B1VOXEql0@public.gmane.org |xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
Status|ASSIGNED |NEW
QAContact| |xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] XDamageAdd problem (with Gallium3D)
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (5 preceding siblings ...)
2009-02-09 22:05 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-10 17:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-10 20:28 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-11 19:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-10 17:16 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #6 from Michel Dänzer <michel@daenzer.net> 2009-02-10 09:16:13 PST ---
Bug 20037 could explain this, please try the fix referenced there.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] XDamageAdd problem (with Gallium3D)
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (6 preceding siblings ...)
2009-02-10 17:16 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-10 20:28 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-11 19:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-10 20:28 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
--- Comment #7 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-10 12:28:57 PST ---
I updated xorg-server from git master, and then also evdev and mesa from git
master. Thomas' test app no longer triggers the SCF.
When visuals get fixed and Mesa/OpenGL works again, I'll test with NV20
Gallium, and then close this bug as fixed.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 20023] XDamageAdd problem (with Gallium3D)
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (7 preceding siblings ...)
2009-02-10 20:28 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2009-02-11 19:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-11 19:06 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org> 2009-02-11 11:06:17 PST ---
Okay, the visuals got fixed, and the SCF problem is fixed, too, in xorg-server
master.
The damage accounting does not seem to fully work with partially occluded GL
windows. If I have the top left corner of trivial/tri-repeat occluded by
another window and then raise the GL window, fluxbox does not redraw the GL
window decorations. But this is a completely different matter.
Closing as fixed. This bug really worried me, since I thought NV20 hw context
switching might be broken. Phew.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread