hyprland: GSK_RENDERER=ngl
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m2s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m2s
Mitigate an issue with GTK4 apps becoming unresponsive and logging the message: vkWaitForFences(): The logical or physical device has been lost. (VK_ERROR_DEVICE_LOST) (-4) According to https://gitlab.gnome.org/GNOME/gtk/-/issues/7441 this manifests when running: - Fractional scaling - GTK < 4.18 - nvidia driver <= 570
This commit is contained in:
parent
62472725d8
commit
a258f0c861
@ -12,6 +12,7 @@ let
|
|||||||
elem
|
elem
|
||||||
mapAttrs
|
mapAttrs
|
||||||
mkIf
|
mkIf
|
||||||
|
versionOlder
|
||||||
;
|
;
|
||||||
inherit (lib.generators)
|
inherit (lib.generators)
|
||||||
toINI
|
toINI
|
||||||
@ -36,6 +37,8 @@ let
|
|||||||
if elem "nvidia" osConfig.services.xserver.videoDrivers then
|
if elem "nvidia" osConfig.services.xserver.videoDrivers then
|
||||||
{
|
{
|
||||||
GBM_BACKEND = "nvidia-drm";
|
GBM_BACKEND = "nvidia-drm";
|
||||||
|
GSK_RENDERER =
|
||||||
|
if versionOlder osConfig.hardware.nvidia.package.version "570" then "ngl" else "vulkan";
|
||||||
LIBVA_DRIVER_NAME = "nvidia";
|
LIBVA_DRIVER_NAME = "nvidia";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user