Bug 484199

Summary: KWin fails to start with KWIN_COMPOSE=O2ES on X11
Product: [Plasma] kwin Reporter: Balló György <ballogyor>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal Keywords: X11-only
Priority: NOR    
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Balló György 2024-03-22 00:14:15 UTC
SUMMARY
If I set the KWIN_COMPOSE=O2ES environment variable, and I try to login to the Plasma (X11) session, kwin fails to start, and a desktop session is started without a running window manager. The Wayland session works with this environment variable, only the X11 session fails.

STEPS TO REPRODUCE
1. Set KWIN_COMPOSE=O2ES environment variable in /etc/environment, then restart.
2. Start Plasma (X11) session.
3. See that the window manager is missing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
kwin_x11[1493]: kwin_scene_opengl: Creating the OpenGL rendering failed:  "Invalid QOpenGLContext::globalShareContext()"
kwin_x11[1493]: kwin_core: Could not fulfill the requested compositing mode in KWIN_COMPOSE: 1 . Exiting.
Comment 1 Balló György 2024-06-25 15:07:08 UTC
Still happens with KWin 6.1.0.
Comment 2 Balló György 2024-12-20 11:11:26 UTC
It still happens with KWin 6.2.4 and Qt 6.8.1.
Comment 3 TraceyC 2025-02-24 17:59:07 UTC
Adding the x11-only keyword