Merge lp:~timo-jyrinki/compiz/disable_unredirection_mesa90x_again into lp:~ubuntu-desktop/compiz/precise

Proposed by Timo Jyrinki
Status: Merged
Approved by: Didier Roche-Tolomelli
Approved revision: 811
Merged at revision: 811
Proposed branch: lp:~timo-jyrinki/compiz/disable_unredirection_mesa90x_again
Merge into: lp:~ubuntu-desktop/compiz/precise
Diff against target: 47 lines (+13/-2)
2 files modified
debian/changelog (+7/-0)
debian/patches/blacklist_precise_mesa80_intel_nouveau.patch (+6/-2)
To merge this branch: bzr merge lp:~timo-jyrinki/compiz/disable_unredirection_mesa90x_again
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Daniel van Vugt (community) Approve
Ubuntu Desktop Pending
Review via email: mp+182362@code.launchpad.net

Commit message

* debian/patches/blacklist_precise_mesa80_intel_nouveau.patch:
    - Revert to blacklisting also 9.0.x (LP: #1216781)

Description of the change

  * debian/patches/blacklist_precise_mesa80_intel_nouveau.patch:
    - Revert to blacklisting also 9.0.x (LP: #1216781)

To post a comment you must log in.
Revision history for this message
Bin Li (binli) wrote :

Timo,

 Thanks for your quick work, and it looks good, and I've tested in several laptop and works fine.

811. By Timo Jyrinki

Revert also the test regex, even though it does not functionally matter.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If your intention is to disable unredirection (and therefore disable decent gaming performance) for both precise and quantal, then this looks correct. But I think we're failing to address the root cause of the bug. This is only a workaround.

review: Approve
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Seems to me like the bug only happens with the gnome-screensaver window, which is a fullscreen window. Wouldn't it just be better to disable unredirection for that window only? (Though I gather its less time consuming to just disable it wholesale)

Revision history for this message
Stephen M. Webb (bregma) wrote :

OK to merge because we just don't have the resources to track down the root cause.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-06-12 14:07:09 +0000
3+++ debian/changelog 2013-09-02 11:26:48 +0000
4@@ -1,3 +1,10 @@
5+compiz (1:0.9.7.12-0ubuntu3) UNRELEASED; urgency=low
6+
7+ * debian/patches/blacklist_precise_mesa80_intel_nouveau.patch:
8+ - Revert to blacklisting also 9.0.x (LP: #1216781)
9+
10+ -- Timo Jyrinki <timo-jyrinki@ubuntu.com> Tue, 27 Aug 2013 13:50:36 +0300
11+
12 compiz (1:0.9.7.12-0ubuntu2) precise; urgency=low
13
14 * debian/patches/fix_1095001.patch
15
16=== modified file 'debian/patches/blacklist_precise_mesa80_intel_nouveau.patch'
17--- debian/patches/blacklist_precise_mesa80_intel_nouveau.patch 2013-04-11 09:06:20 +0000
18+++ debian/patches/blacklist_precise_mesa80_intel_nouveau.patch 2013-09-02 11:26:48 +0000
19@@ -14,6 +14,10 @@
20 9.0 (sharp) is still blacklisted, but 9.0.x (now in 12.04.2 LTS stack)
21 is not anymore. This takes care of the remaining PPA users while allowing
22 proper new stack users to have full gaming speed on Intel and Nouveau.
23+ .
24+ In 08/2013, a problem was identified still with the 9.0.x stack, leading
25+ for 9.0.x intel/nouveau redirection to be re-disabled by default again.
26+ (LP: #1216781)
27 Author: Timo Jyrinki <timo.jyrinki@canonical.com>
28 Author: Michael Terry <michael.terry@canonical.com>
29 === modified file 'plugins/opengl/opengl.xml.in'
30@@ -24,7 +28,7 @@
31 <_short>Unredirect Driver Blacklist</_short>
32 <_long>If non-empty, specifies a POSIX (extended) regular expression to match against the OpenGL driver strings (newline separated): "GL_VENDOR\nGL_RENDERER\nGL_VERSION". If the regular expression matches a substring of that concatenation then no windows will ever be unredirected while using that particular graphics driver.</_long>
33 - <default>(nouveau|Intel).*Mesa 8\\.0</default>
34-+ <default>(nouveau|Intel).*Mesa (8.0|9.0$)</default>
35++ <default>(nouveau|Intel).*Mesa (8.0|9.0)</default>
36 </option>
37 </options>
38 </plugin>
39@@ -36,7 +40,7 @@
40 using namespace compiz::opengl;
41
42 -static const char *recommendedRegex = "(nouveau|Intel).*Mesa 8\\.0";
43-+static const char *recommendedRegex = "(nouveau|Intel).*Mesa (8.0|9.0$)";
44++static const char *recommendedRegex = "(nouveau|Intel).*Mesa (8.0|9.0)";
45
46 TEST(DriverBlacklist, QuantalIntelIsGood)
47 {

Subscribers

People subscribed via source and target branches

to all changes: