Bug 436828

Summary: kwin_x11 disables opengl renderer on nvidia-340xx
Product: [Plasma] kwin Reporter: wojnilowicz <lukasz.wojnilowicz>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal Keywords: regression
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: journalctl on 5.21.5
journalctl on 5.21.4
kwin_x11.gdb

Description wojnilowicz 2021-05-09 16:41:40 UTC
Created attachment 138271 [details]
journalctl on 5.21.5

SUMMARY
kwin_x11 disallows OpenGL render so e.g. woobly windows effect doesn't work.

STEPS TO REPRODUCE
1. kcmshell5 kwincompositing
2. set backend to OpenGL 3.1, eventually click on reanable OpenGL detection button
3. click Apply

OBSERVED RESULT
"Compositing is not active" as reported by
qdbus org.kde.kwin /KWin supportInformation


EXPECTED RESULT
"Compositing is active" as reported by
qdbus org.kde.kwin /KWin supportInformation

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.81
Qt Version: 5.15.2

ADDITIONAL INFORMATION
1) XRender works
2) OpenGL 3.1 worked on 5.21.4
Comment 1 wojnilowicz 2021-05-09 16:43:13 UTC
Created attachment 138272 [details]
journalctl on 5.21.4

This is how journalctl looked before the regression.
Comment 2 wojnilowicz 2021-05-14 11:30:07 UTC
Created attachment 138413 [details]
kwin_x11.gdb

Bakctrace after trying to apply OpenGL 3.1 renderer in "kcmshell5 kwincompositing"
Comment 3 wojnilowicz 2021-05-21 14:45:53 UTC
Closing because the bug is in libepoxy. More at https://github.com/anholt/libepoxy/issues/253