[Hardware/Nvidia] Disable OpenGL threaded optimizations by default as this makes Kwin fail to launch

This commit is contained in:
Antoine Viallon 2024-01-24 13:41:27 +01:00
parent ee4039bf72
commit 69a62ddff7
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -125,7 +125,11 @@ in {
"__GL_ALLOW_UNOFFICIAL_PROTOCOL" = "1"; # allow unofficial GLX protocol if also set in Xorg conf
"__GL_VRR_ALLOWED" = "1"; # Try to enable G-SYNC VRR if screen AND app is compatible
"__GL_SYNC_TO_VBLANK" = toValue cfg.proprietary.vsync;
"__GL_THREADED_OPTIMIZATIONS" = toValue generalCfg.unsafeOptimizations;
# Causes Kwin to fail
# https://github.com/ValveSoftware/gamescope/issues/526#issuecomment-1733739097
__GL_THREADED_OPTIMIZATIONS = "0";
# "__GL_THREADED_OPTIMIZATIONS" = toValue generalCfg.unsafeOptimizations;
"KWIN_DRM_USE_EGL_STREAMS" = toValue cfg.proprietary.EGLStream; # Make KWin use EGL Streams if needed, because otherwise performance will be horrible.
};
};