https://bugs.freedesktop.org/show_bug.cgi?id=37781
Summary: Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: oreaus@gmail.com
With default packages in ubuntu natty 11.04, there is a problem where running and exiting a fullscreen application with compiz running causes major redraw/refresh flickering issues. They go away after restarting compiz, but start again reliably after exiting any fullscreen GL app. Here are the bisect results:
2a95568f64a6641a49a2d4855272e9be2ac2db6d is the first bad commit commit 2a95568f64a6641a49a2d4855272e9be2ac2db6d Author: Kenneth Graunke kenneth@whitecape.org Date: Wed May 11 07:54:57 2011 -0700
i965: Avoid register coalescing away MATH workarounds on Ivybridge.
The MATH instruction cannot handle source modifiers, even on Gen7. So, apply this workaround for Sandybridge on Ivybridge as well.
Signed-off-by: Kenneth Graunke kenneth@whitecape.org Reviewed-by: Eric Anholt eric@anholt.net
:040000 040000 9cb73cbd09661d6ca745d42fa4aac07963d439b2 2b1804644fe873d2b054645c8e8d5a435d3cbe75 M src
As a side note, the problem is actually worse in mesa current master, where it does not require triggering, but instead is flickering right after X/compiz start the first time. I plan to bisect between the problem commit here and master next to find out what causes it to get worse.
https://bugs.freedesktop.org/show_bug.cgi?id=37781
--- Comment #1 from Scott Moreau oreaus@gmail.com 2011-05-31 02:05:51 PDT --- I probably should mention this is with RV350..
https://bugs.freedesktop.org/show_bug.cgi?id=37781
Scott Moreau oreaus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Priority|medium |high
https://bugs.freedesktop.org/show_bug.cgi?id=37781
--- Comment #2 from Michel Dänzer michel@daenzer.net 2011-05-31 02:34:43 PDT --- (In reply to comment #2)
With default packages in ubuntu natty 11.04, there is a problem where running and exiting a fullscreen application with compiz running causes major redraw/refresh flickering issues. They go away after restarting compiz, but start again reliably after exiting any fullscreen GL app.
Sounds like bug 35452.
Here are the bisect results:
2a95568f64a6641a49a2d4855272e9be2ac2db6d is the first bad commit commit 2a95568f64a6641a49a2d4855272e9be2ac2db6d Author: Kenneth Graunke kenneth@whitecape.org Date: Wed May 11 07:54:57 2011 -0700
i965: Avoid register coalescing away MATH workarounds on Ivybridge.
As Dave Airlie pointed out on IRC, that commit can't possibly have any effect on r300g.
As a side note, the problem is actually worse in mesa current master, where it does not require triggering, but instead is flickering right after X/compiz start the first time.
Sounds like a different problem. Try current Git again first, there have been some fixes for intermittent Gallium texture format related regressions.
https://bugs.freedesktop.org/show_bug.cgi?id=37781
--- Comment #3 from Scott Moreau oreaus@gmail.com 2011-05-31 03:55:21 PDT --- On Tue, May 31, 2011 at 3:34 AM, bugzilla-daemon@freedesktop.org wrote:
https://bugs.freedesktop.org/show_bug.cgi?id=37781
--- Comment #2 from Michel Dänzer michel@daenzer.net 2011-05-31 02:34:43 PDT --- (In reply to comment #2)
With default packages in ubuntu natty 11.04, there is a problem where
running
and exiting a fullscreen application with compiz running causes major redraw/refresh flickering issues. They go away after restarting compiz,
but
start again reliably after exiting any fullscreen GL app.
Sounds like bug 35452.
Yes, it does.
Here are the bisect results:
2a95568f64a6641a49a2d4855272e9be2ac2db6d is the first bad commit commit 2a95568f64a6641a49a2d4855272e9be2ac2db6d Author: Kenneth Graunke kenneth@whitecape.org Date: Wed May 11 07:54:57 2011 -0700
i965: Avoid register coalescing away MATH workarounds on Ivybridge.
As Dave Airlie pointed out on IRC, that commit can't possibly have any effect on r300g.
Well the md5sums were different from the previous commit but I digress.
As a side note, the problem is actually worse in mesa current master,
where it
does not require triggering, but instead is flickering right after
X/compiz
start the first time.
Sounds like a different problem. Try current Git again first, there have been some fixes for intermittent Gallium texture format related regressions.
Now that I know the problem occurs intermittently (depending whether the frame fullscreen window exits on is odd) and see that disabling pageflipping prevents the issue from happening, I do believe it's most likely the same as the bug you mentioned. This should probably be closed as invalid.
https://bugs.freedesktop.org/show_bug.cgi?id=37781
Scott Moreau oreaus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
https://bugs.freedesktop.org/show_bug.cgi?id=37781
Scott Moreau oreaus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|INVALID |DUPLICATE
--- Comment #4 from Scott Moreau oreaus@gmail.com 2011-05-31 04:09:18 PDT ---
*** This bug has been marked as a duplicate of bug 35452 ***
dri-devel@lists.freedesktop.org