KWin won't draw Aurorae themes under EGL
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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #1 from MirceaKitsune <[email protected]> --- Created attachment 130850
--> https://bugs.freedesktop.org/attachment.cgi?id=130850&action=edit
Xorg.0.log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #2 from MirceaKitsune <[email protected]> --- Created attachment 130851
--> https://bugs.freedesktop.org/attachment.cgi?id=130851&action=edit
kwin_x11.txt
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #3 from MirceaKitsune <[email protected]> --- Created attachment 130852
--> https://bugs.freedesktop.org/attachment.cgi?id=130852&action=edit
Output of "qdbus org.kde.KWin /KWin supportInformation"
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #130850|text/x-log |text/plain
mime type| |Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|12.0 |17.0
--- Comment #4 from Michel Dänzer <[email protected]> --- This doesn't happen with Mesa on non-AMD GPUs?
Does running kwin with LIBGL_DRI3_DISABLE=1 make a difference?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #5 from MirceaKitsune <[email protected]> --- (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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
--- Comment #6 from MirceaKitsune <[email protected]> --- Still an issue in Mesa 17.0.4.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100687
MirceaKitsune <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX--- Comment #7 from MirceaKitsune <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel