https://bugs.freedesktop.org/show_bug.cgi?id=100687
Bug ID: 100687 Summary: KWin won't draw Aurorae themes under EGL Product: Mesa Version: 12.0 Hardware: Other OS: All Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: sonichedgehog_hyperblast00@yahoo.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 130849 --> https://bugs.freedesktop.org/attachment.cgi?id=130849&action=edit Screenshot
I initially reported this bug with openSUSE and the KDE teams. It was ultimately concluded that it's a problem with Mesa or the Radeon driver. As such I was encouraged to post about it here as well. Links to the other bug reports:
https://bugzilla.opensuse.org/show_bug.cgi?id=1033598 https://bugs.kde.org/show_bug.cgi?id=378663
In summary: This is a problem that affects Linux users running the KDE desktop. After a recent openSUSE Tumbleweed snapshot, I found that KWin no longer renders Aurorae themes. Other themes work fine however, and this only affects Aurorae ones... Plasma also has no issues rendering desktop elements. The problem happens both with and without desktop effects enabled.
The space where the titlebar and border should be becomes completely empty, with no graphics or text or buttons showing. However the blur effect is still functional in those areas, and clicking and dragging on any window component works correctly (even if they're invisible).
Today I found the culprit as well as a workaround, thanks to Martin Gräßlin in the same report on the KDE bug tracker. The issue only happens when using egl instead of glx as the backend of KWin. This can be modified by opening ~/.config/kwinrc in a text editor and changing:
GLPlatformInterface=egl
to
GLPlatformInterface=glx
Anyone with a Radeon card should be able to reproduce this, by doing the reverse of the above and switching their KDE desktop to egl. I understand the driver developers need to figure out what's breaking it, which hopefully won't be difficult using this test case.
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #1 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- Created attachment 130850 --> https://bugs.freedesktop.org/attachment.cgi?id=130850&action=edit Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #2 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- Created attachment 130851 --> https://bugs.freedesktop.org/attachment.cgi?id=130851&action=edit kwin_x11.txt
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #3 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- Created attachment 130852 --> https://bugs.freedesktop.org/attachment.cgi?id=130852&action=edit Output of "qdbus org.kde.KWin /KWin supportInformation"
https://bugs.freedesktop.org/show_bug.cgi?id=100687
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #130850|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=100687
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|12.0 |17.0
--- Comment #4 from Michel Dänzer michel@daenzer.net --- This doesn't happen with Mesa on non-AMD GPUs?
Does running kwin with LIBGL_DRI3_DISABLE=1 make a difference?
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #5 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- (In reply to Michel Dänzer from comment #4)
I temporarily set KWin back to egl and added the following to my ~./profile file:
export LIBGL_DRI3_DISABLE=1
This did not affect the problem: Window decorations are still completely invisible, when using egl over glx for rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #6 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- Still an issue in Mesa 17.0.4.
https://bugs.freedesktop.org/show_bug.cgi?id=100687
MirceaKitsune sonichedgehog_hyperblast00@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #7 from MirceaKitsune sonichedgehog_hyperblast00@yahoo.com --- Closing this for now. I understand it was a deliberate decision of the KDE developers as EGL support has been disabled on X11. If the driver developers believe this can and should be fixed by the drivers, feel free to reopen.
dri-devel@lists.freedesktop.org