Created attachment 167414 [details] Flip Switch using egl on x11 SUMMARY In x11 when displaying Overview, Flip Switch, Cover Switch as well as enabling Show FPS, all render as black voids if KWIN_OPENGL_INTERFACE=egl and QT_XCB_GL_INTEGRATION=xcb_egl are set STEPS TO REPRODUCE 1. Usin x11, in ~/.config/plasma-workspace/env/kwin.sh export KWIN_OPENGL_INTERFACE=egl and export QT_XCB_GL_INTEGRATION=xcb_egl 2. Activate above effects and/or turn on Show FPS OBSERVED RESULT All render as black in their respective frames. KSystemLog shows error: kwin_x11 kwin_scene_opengl: 0x1: GL_INVALID_OPERATION in glBindTexture(non-gen name) EXPECTED RESULT egl can be used as in Plasma 5 without glitches. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION Doesn't occur in Wayland. Doesn't occur in x11 when egl is not used.
*** Bug 484472 has been marked as a duplicate of this bug. ***
I have the same bug so I think it's confirmed. It persist in KWIN 6.0.3 and with last mesa 24.0.5
The bug persist in kwin 6.0.4
(In reply to Conor Dockry from comment #0) What graphics card do you have? What drivers are you using? In my case (Intel igpu Tigerlake) kwin totally crashes.
(In reply to Guido from comment #4) intel-media-driver intel-vaapi-driver > lspci -k 00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04) Subsystem: Lenovo Device 2309 Kernel driver in use: i915 Kernel modules: i915, xe
(In reply to Conor Dockry from comment #5) > (In reply to Guido from comment #4) > > intel-media-driver > intel-vaapi-driver > > > lspci -k > 00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe > Graphics] (rev 04) > Subsystem: Lenovo Device 2309 > Kernel driver in use: i915 > Kernel modules: i915, xe In my case: 00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01) DeviceName: Onboard - Video Subsystem: Dell Device 0a02 Kernel driver in use: i915 Kernel modules: i915, xe
the bug persists with Plasma 6.0.5 Operating System: Manjaro Linux KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.8.10-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: Dell Inc. Product Name: Inspiron 5502
Afaict, the problem here is that the wrong egl display got used for compositing, so the shared context with Qt doesn't work. With https://invent.kde.org/plasma/kwin/-/commit/686ea6374bb7e03876006a52822cff9ca23c42cd that's fixed, so this issue should be gone in 6.1
(In reply to Zamundaaa from comment #8) > Afaict, the problem here is that the wrong egl display got used for > compositing, so the shared context with Qt doesn't work. With > https://invent.kde.org/plasma/kwin/-/commit/ > 686ea6374bb7e03876006a52822cff9ca23c42cd that's fixed, so this issue should > be gone in 6.1 thank you!
I tried but seems to work only for KWIN_COMPOSE=O2ES while in the past it workded also for standard compose
(In reply to Guido from comment #10) > I tried but seems to work only for KWIN_COMPOSE=O2ES while in the past it > workded also for standard compose Any solution about this?
I looked into it, but I can't see anything that would cause this difference between GLES and desktop GL - and this doesn't happen on my PC