Add support for blacklisting some drivers from using unredirected fullscreen windows

Bug #1089246 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Wishlist
Daniel van Vugt
0.9.8
Fix Released
Wishlist
Daniel van Vugt
Compiz Core
Fix Released
High
Daniel van Vugt
compiz (Ubuntu)
Fix Released
Wishlist
Daniel van Vugt
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Łukasz Zemczak

Bug Description

Note: the blacklisting is only needed on precise. If/when included in quantal, it doesn't do anything practical since the blacklisting default only blacklists Mesa 8.0 drivers.

[Impact]

Some drivers can be broken when using unredirect fullscreen windows. For those drivers, there has to be a way to disable this feature.

IMPORTANT For Quantal: although currently for quantal there are no drivers that are to be blacklisted and theoretically this feature is not needed there. But we still think that this branch needs to be included as an SRU for quantal. The main reason is that without it, backporting fixes from trunk will become much more complicated, as most branches will have to be modified additionally. The feature itself is tested not to have any regression potential.

[Test Case]

No clear test case, one possibility is to:
1. Start a system running on one of the blacklisted drivers (noveu, Intel).
-> Make sure unredirect fullscreen windows is not running

[Regression Potential]

Not working unredirect fullscreen windows on all drivers.

Original description:

Add support for blacklisting some drivers from using unredirected fullscreen windows.

This is a prerequisite before we can resolve bug 1063690 on precise.

Related branches

lp:~vanvugt/compiz/blacklist
Timo Jyrinki: Approve
PS Jenkins bot (community): Approve (continuous-integration)
Diff: 441 lines (+308/-5)
10 files modified
plugins/opengl/CMakeLists.txt (+2/-0)
plugins/opengl/opengl.xml.in (+5/-0)
plugins/opengl/src/blacklist/CMakeLists.txt (+6/-0)
plugins/opengl/src/blacklist/blacklist.cpp (+67/-0)
plugins/opengl/src/blacklist/blacklist.h (+38/-0)
plugins/opengl/src/blacklist/tests/CMakeLists.txt (+9/-0)
plugins/opengl/src/blacklist/tests/test-blacklist.cpp (+152/-0)
plugins/opengl/src/paint.cpp (+6/-0)
plugins/opengl/src/privates.h (+4/-0)
plugins/opengl/src/screen.cpp (+19/-5)
api
lp:~vanvugt/compiz-core/blacklist
Sam Spilsbury: Approve
Timo Jyrinki: Pending requested
Diff: 445 lines (+310/-4)
10 files modified
plugins/opengl/CMakeLists.txt (+2/-1)
plugins/opengl/opengl.xml.in (+5/-0)
plugins/opengl/src/blacklist/CMakeLists.txt (+6/-0)
plugins/opengl/src/blacklist/blacklist.cpp (+67/-0)
plugins/opengl/src/blacklist/blacklist.h (+38/-0)
plugins/opengl/src/blacklist/tests/CMakeLists.txt (+9/-0)
plugins/opengl/src/blacklist/tests/test-blacklist.cpp (+152/-0)
plugins/opengl/src/paint.cpp (+6/-0)
plugins/opengl/src/privates.h (+4/-0)
plugins/opengl/src/screen.cpp (+21/-3)
api
Daniel van Vugt (vanvugt)
Changed in compiz (Ubuntu):
status: New → In Progress
importance: Undecided → Wishlist
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in compiz-core:
importance: Undecided → High
status: New → Triaged
milestone: none → 0.9.7.12
PS Jenkins bot (ps-jenkins)
Changed in compiz:
status: In Progress → Fix Committed
Daniel van Vugt (vanvugt)
Changed in compiz (Ubuntu):
status: In Progress → Fix Committed
Daniel van Vugt (vanvugt)
Changed in compiz-core:
status: Triaged → In Progress
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz at revision 3525, scheduled for release in Compiz 0.9.9.0
Fix committed into lp:compiz/0.9.8 at revision 3429, scheduled for release in Compiz 0.9.8.8

Unity Merger (unity-merger)
Changed in compiz-core:
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz-core/0.9.7 at revision 3130, scheduled for release in Compiz 0.9.7.12

Daniel van Vugt (vanvugt)
Changed in compiz-core:
status: Fix Committed → Fix Released
Łukasz Zemczak (sil2100)
description: updated
description: updated
Łukasz Zemczak (sil2100)
description: updated
Timo Jyrinki (timo-jyrinki)
description: updated
Didier Roche-Tolomelli (didrocks)
Changed in compiz (Ubuntu):
status: Fix Committed → Invalid
Changed in compiz (Ubuntu Quantal):
status: New → Invalid
Revision history for this message

Hello Daniel, or anyone else affected,

Accepted compiz into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.7.12-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in compiz (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Tested that blacklisting (intel) works correctly with the default setting, and if the setting is removed unredirecting gets enabled again. The nouveau part of the blacklist string should work similarly.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.7.12-0ubuntu1

---------------
compiz (1:0.9.7.12-0ubuntu1) precise-proposed; urgency=low

[ Łukasz 'sil2100' Zemczak ]
* debian/patches/revert_fix_994841.patch,
debian/patches/revert_fix_933776_955035.patch
- Removed, upstreamed
* debian/watch:
- Changed to the correct LP tarball path
* debian/patches/compiz-package-gles2.patch:
- Updated GLES patches to properly apply to the new compiz version

[ Timo Jyrinki ]
* New upstream release.
- Compiz won't start if "unredirect fullscreen windows" is enabled
(LP: #980663)
- "Unredirect Fullscreen Windows" stay on top (unredirected) even
when they're not on top any more (or the output is transformed)
(LP: #1041047)
- Unredirect Fullscreen Windows sometimes fails to unredirect fullscreen
windows at all (LP: #1041066)
- "Unredirect Fullscreen Windows" stay on top (unredirected) even when
an RGBA window is stacked above it (LP: #1046661)
- scale mode is not visible if a fullscreen window is unredirected
(LP: #1047168)
- Unredirecting a fullscreen window on a secondary monitor causes that
monitor to flicker (LP: #1050749)
- "Unredirect Fullscreen Windows" makes multi-monitor rendering much
slower (LP: #1051885)
- [regression] Maximized window gets unredirected when it's not
fullscreen (LP: #1053902)
- Unredirected fullscreen windows freeze and stay on top when wall
sliding (Ctrl+Alt+Left/Right) (LP: #1084401)
- "Unredirect Fullscreen Windows" can cause significant tearing on
fullscreen windows (especially playing video) on some drivers
(LP: #1051802)
- HTML5 video in Firefox continues to tear (LP: #1086337)
- Add support for blacklisting some drivers from using unredirected
fullscreen windows. By default intel and nouveau on Mesa 8.0
are blacklisted, configurable via ccsm. Users can upgrade to
Mesa 9.0 around 12.04.2 time. (LP: #1089246)
- Unredirect fullscreen windows should be the default for optimal
performance (LP: #1063690)
* debian/patches/workaround_broken_drivers.patch:
- Updated to apply.
* debian/patches/force_unredirect_enabling.patch:
- Enable unredirect_fullscreen_windows unconditionally. Because of
gconf hurdles we can't easily migrate existing users into the
new default otherwise. Unredirection can be easily disabled with
the new unredirect_match option, by blanking it completely,
including removing the '(any)' part.
* debian/patches/compiz-package-gles2.patch:
- Update for the new blacklisting feature as well
* debian/patches/blacklist_no_xml_double_escaping.patch:
- Cherry-pick fix for the default string (LP: #1091103)

[ Michael Terry ]
* debian/patches/blacklist_no_xml_double_escaping.patch:
- Update to also blacklist Mesa 9.0, which precise users may have from
the x-updates PPA. 9.0 seems to have similar problems as 8.0 on
Intel hardware.
-- Timo Jyrinki <email address hidden> 2012年12月14日 10:41:24 +0200

Changed in compiz (Ubuntu Precise):
status: Fix Committed → Fix Released
Daniel van Vugt (vanvugt)
Changed in compiz (Ubuntu):
status: Invalid → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.9~daily13.01.14-0ubuntu1

---------------
compiz (1:0.9.9~daily13.01.14-0ubuntu1) raring; urgency=low

[ sampo555 ]
* compiz crashed with SIGSEGV in DodgeAnim::applyDodgeTransform() (LP:
#1048840)
* compiz crashing if window un-/minimize animation is "Random" (LP:
#1098185)

[ Daniel van Vugt ]
* Several leaks in new GLProgram from compileProgram() from
GLScreen::getProgram() from GLWindowAutoProgram::getProgram() (LP:
#1097644)

[ Sam Spilsbury ]
* Several leaks in ccsIntegratedSettingListAppend() ... from
ccsGNOMEIntegrationBackendGetIntegratedSetting() from readSetting
(gsettings.c:375) (LP: #1097661)

[ MC Return ]
* Thumbnail Window Previews: Flickering of background/glow and window
title text (LP: #1098758)

[ Automatic PS uploader ]
* Automatic snapshot from revision 3561
-- Automatic PS uploader <email address hidden> 2013年1月14日 04:03:09 +0000

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Łukasz Zemczak (sil2100)
Changed in compiz (Ubuntu Quantal):
status: Invalid → Fix Committed
Łukasz Zemczak (sil2100)
description: updated
Łukasz Zemczak (sil2100)
description: updated
Changed in compiz (Ubuntu Quantal):
assignee: nobody → Łukasz Zemczak (sil2100)
Daniel van Vugt (vanvugt)
Changed in compiz:
status: Fix Committed → Fix Released
Revision history for this message

Hello Daniel, or anyone else affected,

Accepted compiz into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.8.6+bzr3433-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Revision history for this message

The fix for this bug has been awaiting testing feedback in the -proposed repository for quantal for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Revision history for this message
Stephen M. Webb (bregma) wrote :

marking as closed (0.9.8 series is obsolete)

Changed in compiz (Ubuntu Quantal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.

AltStyle によって変換されたページ (->オリジナル) /