mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Nvidia] Disable OpenGL threaded optimizations by default as this makes Kwin fail to launch
This commit is contained in:
parent
ee4039bf72
commit
69a62ddff7
1 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue