* [Bug 20023] New: nv20: unwanted solid fills during busyloop rendering
@ 2009-02-09 20:43 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-20023-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
0 siblings, 1 reply; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2009-02-09 20:43 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
http://bugs.freedesktop.org/show_bug.cgi?id=20023
Summary: nv20: unwanted solid fills during busyloop rendering
Product: Mesa
Version: CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: ASSIGNED
Severity: minor
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: pq-X3B1VOXEql0@public.gmane.org
ReportedBy: pq-X3B1VOXEql0@public.gmane.org
CC: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Created an attachment (id=22728)
--> (http://bugs.freedesktop.org/attachment.cgi?id=22728)
screenshot of the corruption
This bug is mostly for myself as a devel to keep track of the issue.
It appears on both my nv20 and nv28. Current testing is on nv28.
Nouveau Gallium3D nv20 driver has recently got e.g. trivial/tri to work.
Trivial/tri-repeat is a version of trivial/tri, that cycles the colors and
renders as fast as possible (RAFAP). Another RAFAP application is glxgears,
which still shows only a black window.
When a RAFAP application is running, moving focus to a terminal window (aterm,
xterm) sometimes paints a rectangle filled with a solid color into the terminal
window. Examples of this are seen in the attached screenshot. The color of the
solid color fill (SCF) is not random: the aterm cursor is a yellow block, the
irc client has a blue status bar that updates occasionally, and gray is the
basic color in the terminal. I have no idea where the red comes from.
When SCF first appears, it is a single complete solid rectangle, properly
clipped by other windows, if they overlap. The holes seen in the screenshot are
due to the terminal repainting some of its contents. The SCF seems to respect
the terminal window borders, which does not make any sense. Sometimes the SCF
stops at the same x-coordinate as the tri-repeat window, for instance.
The composite extension is disabled in the X server, so the terminal windows
should not have a backing pixmap in VRAM. If they had, it would be easy to
hypothesise that NV20 Gallium is overwriting some VRAM with solid color, and
separate backing pixmaps would explain respecting the window borders and the
clipping to other windows.
The fact, that the SCF is a rectangle, suggests that whatever draws it, has the
"correct" pitch. Otherwise it would not have straight vertical edges.
--
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 ` 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
end of thread, other threads:[~2009-02-11 19:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 20:43 [Bug 20023] New: nv20: unwanted solid fills during busyloop rendering bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[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
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
2009-02-10 20:28 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2009-02-11 19:06 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.