Unredirected fullscreen windows flicker briefly when another window (like a menu) opens above them

Bug #1046664 reported by Daniel van Vugt on 2012-09-06
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Daniel van Vugt
Compiz Core
Medium
Daniel van Vugt

Bug Description

Unredirected fullscreen windows flicker briefly when another window (like a menu) opens above them.

Related branches

Changed in compiz:
importance: Low → Medium
milestone: none → 0.9.8.4
assignee: nobody → Daniel van Vugt (vanvugt)
Daniel van Vugt (vanvugt) wrote :

Interestingly, this does not happen if we are exiting unredirect mode due to a screen transformation. Maybe damageScreen is solving it...?

Daniel van Vugt (vanvugt) wrote :

Actually damageScreen doesn't seem to help. What does help is disabling buffer swapping, thus ensuring you don't have a stale backbuffer when an unredirected window is redirected.

So, workaround:
CCSM > OpenGL >
  framebuffer_object = OFF
  always_swap_buffers = OFF

Changed in compiz:
status: Triaged → In Progress
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz at revision 3381

Changed in compiz:
status: In Progress → Fix Committed
Daniel van Vugt (vanvugt) wrote :

Hmm, actually it's about 95% fixed. It is still possible to see some flicker on odd occasions. But 95% is good enough for me right now.

Changed in compiz:
status: Fix Committed → Fix Released
Changed in compiz-core:
milestone: none → 0.9.7.10
status: New → Triaged
importance: Undecided → Medium
Changed in compiz-core:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Daniel van Vugt (vanvugt) wrote :

Invalid for 0.9.7, which uses regional redraws. The bug does not exist in that release and backporting the fix actually causes new bugs.

Changed in compiz-core:
status: In Progress → Invalid
milestone: 0.9.7.10 → none
Changed in compiz-core:
status: Invalid → Fix Committed
Robert Zelic (zeroberto) wrote :

I have a similar experience with this unredirected fullscreen windows option. It causes tearing in fullscreen flash when hardware acceleration is disabled. When it is enabled, there is no tearing but the player often crashes by changing between fs and windowed mode.
Also, smplayer flickers and/or crashes in fullscreen when the control bar shows up by pointing the mouse cursor to the bottom of the screen. This happens only if vdpau is selected as video output.
I'm using nvidia driver 310.19.
I wasn't aware that the unredirected fullscreen windows option is enabled by default in the latest revs, so I disabled it and now everything is back to normal.

Daniel van Vugt (vanvugt) wrote :

Robert,

The tearing issue is discussed in bug 1051802.

If you find anything crashes with respect to unredirected fullscreen windows, please log a new bug ASAP and add tag "unredirect".

Finally if you have any flicker still, please log a new bug using this command:
    ubuntu-bug compiz
Because commenting on bugs that are Fixed Released will usually be ignored.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers