FS#31956 - [mesa] KWIN Gles support broken after latest X server/mesa upgrade
Attached to Project:
Arch Linux
Opened by Flat Eric (flateric) - Sunday, 14 October 2012, 15:56 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 18:48 GMT
Opened by Flat Eric (flateric) - Sunday, 14 October 2012, 15:56 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 18:48 GMT
|
Details
Description:
latest upgrade X server/libgles/mesa packages broke kwin support for gles (kwin_gles). Desktop with "kwin_gles" is unusable (flickering, very slow, terminal don't show characters...) Switch to kwin (kwin --replace) with composititng type opengl or XRender solve this problem. After downgrade ati-dri, libegl, libgbm, libgl, libgles kwin_gles is running, but compositing type OpenGL not work only XRender is usable. Maybe it's KDE bug, sorry if this isn't rigt place for reporting. Forum: https://bbs.archlinux.org/viewtopic.php?id=150599 GPU: ATI x1400 driver: radeon KDE: 4.9.2 Additional info: * package version(s) ati-dri, libegl, libgbm, libgl, libgles: 9.0-1 Steps to reproduce: Update system and run in KDE: kwin_gles --replace |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 18:48 GMT
Reason for closing: Fixed
Saturday, 17 November 2012, 18:48 GMT
Reason for closing: Fixed
With compositing off, everything looks fine, of course.
As an example of the kind of performance hit, I get around 60 fps using glxspheres with packages versions 8.x, and never more than 28 fps with versions 9.0. The artifacts look like the attachment.
https://bugs.kde.org/show_bug.cgi?id=308385
https://bugs.freedesktop.org/show_bug.cgi?id=55998
Are you using AUR? If so, which package?
https://pastee.org/gztge
(similar to Arch's default, just a bit modified).
Using your customized package I made KWin GLES work although with a hiccup: good old KWin toggles unusable (exceedingly slow).
marking the severity low on this bug really is a laugh in the face of everyone affected. I manually have to downgrade to Mesa 8.0 after every sync because of artifacts and sluggish window behaviour. I wouldn't call this stable!
System: Intel HD4000, KDE 4.9.2, KWin
Its how the original reporter chose (?) to open his bug report, and the default setting in flyspray.
If you want to blame someone for this, blame him. But please dont make it a matter of high importance.
If you really care about solving this contribute here: https://bugs.kde.org/show_bug.cgi?id=308385 and here: https://bugs.freedesktop.org/show_bug.cgi?id=55998
This bug wont fix itself and the Archlinux developers wont be fixing it for you unless upstream does first.
Until this bug is resolved upstream you can use the switches --ignore and --ignoregroups to flag the packages you don't want to upgrade/update to resolve your downgrade issue; also as this will probably take a time to fix, you might as well fill the #IgnorePkg and #IgnoreGroup fields in /etc/pacman.conf to make pacman allways ignore the problematic packages without further manual intervention.
Last, if using KWin GLES is a must for you read my above statement about the PKGBUILD provided by @Mladen - as I already said GLES works perfect, at least in the build I did.
Graphics: Card-1: Intel Core Processor Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0046
Card-2: Advanced Micro Devices [AMD] nee ATI Madison [Radeon HD 5000M Series] bus-ID: 01:00.0 chip-ID: 1002:68c1
X.Org: 1.13.0 driver: intel Resolution: 1600x900@60.1hz
Thanks for your help. I never had to use the #IgnorePkg fields with Arch Linux before and didn't know of their existance!
Git commit 6cf057777555a5d0c834de3a0165a62916cf3b40 by Fredrik Höglund.
Committed on 30/10/2012 at 18:20.
Pushed by fredrik into branch 'KDE/4.9'.
kwin/glx: Avoid MSAA configs in initBufferConfigs()
It appears that we're accidentally choosing an MSAA config with the
Intel driver in Mesa 9.0. So change the algorithm to take the values
of GLX_SAMPLES and GLX_SAMPLE_BUFFERS into account.
Found by Kenneth Graunke.
M +20 -1 kwin/scene_opengl_glx.cpp
http://commits.kde.org/kde-workspace/6cf057777555a5d0c834de3a0165a62916cf3b40
Thanks, Andrea Scarpino! Please test the latest KDE with latest mesa and if everything is OK, i'll request closure.
I'm using kwin 4.9.80, someone with 4.9.3 should confirm.
- Intel HD4000
- xf86-video-intel 2.20.13-1
- kdelibs 4.9.3-2
- mesa 9.0-1
ATI x1400 - driver radeon
KDE 4.9.3
Compositing type: OpenGL
Upgraded:
upgraded libglapi (9.0-1 -> 9.0.1-1)
upgraded libgl (9.0-1 -> 9.0.1-1)
upgraded ati-dri (9.0-1 -> 9.0.1-1)
upgraded libgbm (9.0-1 -> 9.0.1-1)
upgraded libegl (9.0-1 -> 9.0.1-1)
upgraded libgles (9.0-1 -> 9.0.1-1)
upgraded mesa (9.0-1 -> 9.0.1-1)
And rebooted...
Thanks!