Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562168 - kde-base/kwin[gles] broken with GLSL 3 (i915 with >=media-libs/mesa-11.0.2)
Summary: kde-base/kwin[gles] broken with GLSL 3 (i915 with >=media-libs/mesa-11.0.2)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-03 22:49 UTC by Olivier Huber
Modified: 2016-03-11 15:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of kwin --replace (kwin-gles-v1,6.83 KB, text/plain)
2015-10-03 22:49 UTC, Olivier Huber
Details
output of kwin --replace with the patch on the reviewboard (kwin-gles-v2,14.70 KB, text/plain)
2015-10-03 22:50 UTC, Olivier Huber
Details
glxinfo with mesa 11 (glxinfo,22.75 KB, text/plain)
2015-10-03 22:51 UTC, Olivier Huber
Details
kwin --replace without the patch (pure-kwin.txt,5.92 KB, text/plain)
2015-10-13 03:36 UTC, Olivier Huber
Details
kwin --replace with the patch on the reviewboard (patched-kwin.txt,855 bytes, text/plain)
2015-10-13 03:38 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2015-10-03 22:49:06 UTC
After updating my media-libs/mesa to 11.0.2 (from 10.x.y), I had issues with kwin[gles]. Most notably, the blur effect stopped working, resulting in a black region being drawn around each windows. A sample message given by "kwin --replace" is attached.

I found out that the problem is known, see ${URL}. The issue is that by updating mesa, the advertised GLES version is now 3.0, with GLSL ES 3.00. And I was hitting the issue raised in the aforementioned bug.

I tried the patch on the reviewboard: it removed some of the error, but it looks like kwin was not working better. See the second attachment.

I switched to kde-base/kwin[opengl] and now it works perfectly. 


It looks like the solution is not straightforward:
- Upstream does not want to fix it for KDE4 (cf bug and reviewboard)
- It depends on the version of GLES being used. I don't know the version advertised with nouveau or amd-related drivers, so kwin[gles] + >=mesa-11 may still work for them.
- If some desktop effects are disabled, it may look like it's working

Would it be possible to at least put an ewarn in the ebuild if gles is enable that the user may experience trouble and should rather use opengl. I think I enabled gles to have wayland enabled as I wanted to play with it, even though this did not happened.

Thanks!
Comment 1 Olivier Huber 2015-10-03 22:49:57 UTC
Created attachment 413636 [details]
output of kwin --replace
Comment 2 Olivier Huber 2015-10-03 22:50:44 UTC
Created attachment 413638 [details]
output of kwin --replace with the patch on the reviewboard
Comment 3 Olivier Huber 2015-10-03 22:51:42 UTC
Created attachment 413640 [details]
glxinfo with mesa 11
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2015-10-11 12:32:06 UTC
Please try mesa 11.0.3
Comment 5 Alexander Tsoy 2015-10-12 09:27:44 UTC
Probably a duplicate of bug 562016 (known regression in mesa-11.0.2)
Comment 6 Olivier Huber 2015-10-13 03:35:25 UTC
(In reply to Manuel Rüger from comment #4)
> Please try mesa 11.0.3

Updating to mesa 11.0.3 makes kwin[gles] work again. But the blur plugin is still broken, see the attachement pure-kwin.txt. If I apply the patch given in $URL, it works fine (cf patched-kwin.txt).
Comment 7 Olivier Huber 2015-10-13 03:36:40 UTC
Created attachment 414476 [details]
kwin --replace without the patch
Comment 8 Olivier Huber 2015-10-13 03:38:13 UTC
Created attachment 414478 [details]
kwin --replace with the patch on the reviewboard
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2016-03-11 15:07:24 UTC
According to upstream bug report this should be fixed in 5.5.x which is in tree available.