Skip to contentSkip to conversation

New: Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

Bug 37781 [email protected] 1 participant 7 messages May 31, 2011

lore
Share & tools
lore

[email protected]

author Reviewed-by Eric Anholt
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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 <[email protected]>
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.

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

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

--- Comment #1 from Scott Moreau <[email protected]> 2011-05-31 02:05:51 PDT --- I probably should mention this is with RV350..

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

In reply to [email protected]

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

Scott Moreau <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Severity|normal                      |major
           Priority|medium                      |high
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

In reply to [email protected]

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

--- Comment #2 from Michel Dänzer <[email protected]> 2011-05-31 02:34:43 PDT --- (In reply to comment #2)

Quoted 4 lines

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.

Quoted 8 lines

Here are the bisect results:

2a95568f64a6641a49a2d4855272e9be2ac2db6d is the first bad commit commit 2a95568f64a6641a49a2d4855272e9be2ac2db6d

Author: Kenneth Graunke <[email protected]>
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.

Quoted 3 lines

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.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

In reply to [email protected]

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

--- Comment #3 from Scott Moreau <[email protected]> 2011-05-31 03:55:21 PDT ---

Quoted 5 lines · On Tue, May 31, 2011 at 3:34 AM, <[email protected]> wrote:

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

--- Comment #2 from Michel Dänzer <[email protected]> 2011-05-31 02:34:43 PDT ---
(In reply to comment #2)

Quoted 9 lines
Quoted 1 line

With default packages in ubuntu natty 11.04, there is a problem where

running

Quoted 2 lines

and exiting a fullscreen application with compiz running causes major redraw/refresh flickering issues. They go away after restarting compiz,

but

Quoted 1 line

start again reliably after exiting any fullscreen GL app.

Sounds like bug 35452.

Yes, it does.

Quoted 9 lines
Quoted 9 lines

Here are the bisect results:

2a95568f64a6641a49a2d4855272e9be2ac2db6d is the first bad commit commit 2a95568f64a6641a49a2d4855272e9be2ac2db6d

Author: Kenneth Graunke <[email protected]>
Date:   Wed May 11 07:54:57 2011 -0700
Quoted 6 lines
Quoted 1 line

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.

Quoted 12 lines
Quoted 3 lines

As a side note, the problem is actually worse in mesa current master,

where it

Quoted 1 line

does not require triggering, but instead is flickering right after

X/compiz

Quoted 1 line

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.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

In reply to [email protected]

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

Scott Moreau <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 37781] Major redraw/flicker issues on rv350 after exiting fullscreen app with compiz running

In reply to [email protected]

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

Scott Moreau <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |CLOSED
         Resolution|INVALID                     |DUPLICATE

--- Comment #4 from Scott Moreau <[email protected]> 2011-05-31 04:09:18 PDT ---

*** This bug has been marked as a duplicate of bug 35452 ***

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