I’ve a PC, NixOS, AMD Ryzen 5900x, 4080RTX, 32gb ram
Whenever my gpu goes into sleep, any desktop environment i use gets corrupted, eg full of graphical errors, trailing mouse, the works… some crash more cleanly (hyprland) than others (kde), but they are all nonfunctional after sleep.
i’ve nvidia-persistenced installed and working according to nvidia-smi -pm 1
Persistence mode is already Enabled for GPU 00000000:0A:00.0.
All done.
if i use systemctl suspend it will crash, it will crash if i turn off/on the monitor, it will crash if monitor goes into standby, it will crash if i change the supported refresh rate on the monitor itself.
I’ve added this options to the kernel:
options nvidia NVreg_UsePageAttributeTable=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
its gotten more stable after these as it now only crashes whenever there’s “sleep” involved.
There were seemingly not a single issue when on windows, so im guessing i just need to figure the right option to set?, but i’m getting nowhere goolging it, so trying here