Bug 484199 - KWin fails to start with KWIN_COMPOSE=O2ES on X11
Summary: KWin fails to start with KWIN_COMPOSE=O2ES on X11
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2024-03-22 00:14 UTC by Balló György
Modified: 2025-02-24 17:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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