Merge lp:~3v1n0/compiz/msaa-configs-ignore into lp:compiz/0.9.10
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | 3699 |
Merged at revision: | 3698 |
Proposed branch: | lp:~3v1n0/compiz/msaa-configs-ignore |
Merge into: | lp:compiz/0.9.10 |
Diff against target: |
53 lines (+23/-7) 1 file modified
plugins/opengl/src/screen.cpp (+23/-7) |
To merge this branch: | bzr merge lp:~3v1n0/compiz/msaa-configs-ignore |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Sam Spilsbury | Approve | ||
MC Return | Approve | ||
Review via email: mp+163550@code.launchpad.net |
Commit message
OpenGL Screen: Ignore the MSAA configs during initialization
This fixes a crash with new MESA drivers and high monitor resolutions
caused by the fact that we're accidentally using some MSAA configs with
some drivers in Mesa 9.0.
Taking in account the values of GLX_SAMPLES and GLX_SAMPLE_BUFFERS
fixes the issue.
See mesa bug https:/
Description of the change
In some cases compiz opengl plugin uses MSAA configurations while it should not and this is causing a crash when using compiz with big resolutions with recent MESA drivers.
The fix is based on the changes proposed by MESA developers that also Kwin and Clog have recently applied:
- http://
- https:/
LGTM.