Bug 453114

Summary: Enabling EGL for Kwin Disables Desktop Effects for Nvidia Proprietary Drivers
Product: [Plasma] kwin Reporter: nekonexus
Component: eglAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR Keywords: needs_verification
Version First Reported In: 5.24.4Flags: nekonexus: Wayland?
nekonexus: X11+
nekonexus: NVIDIA+
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nekonexus 2022-04-28 04:43:19 UTC
SUMMARY

Curious that the Nvidia proprietary driver might like using EGL (I've heard before that Nvidia leans that way), I attempted to switch over to it with Kwin by setting "KWIN_OPENGL_INTERFACE=egl"; however, after doing so and rebooting, I found that transparency effects, blur, and other "appearance" category desktop effects ceased to function.

This also broke the "screen edge" task switching feature as well.


STEPS TO REPRODUCE
1. With an Nvidia card, install the 510.60.02 driver
2. Set the "KWIN_OPENGL_INTERFACE=egl" environment variable for the next session (can do this by dropping a script for it in profile.d)
3. Reboot
4. Login to a Plasma X11 session

OBSERVED RESULT
Expected desktop effects, though still enabled, are non-functioning with EGL set.

EXPECTED RESULT
Enabled desktop effects should still function with Kwin set to EGL.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
N/A
Comment 1 Zamundaaa 2024-04-11 13:44:34 UTC
Afaik NVidia still doesn't support EGL for X11 compositors, so this is kinda expected