nvidia-utils: Enable PreserveVideoMemoryAllocations and TemporaryFilePath
Restoring from sleep on a wayland session is problematic and often leads into corruption. Enabling NVreg_PreserveVideoMemoryAllocations
does fix this issue. We are also changing the TemporaryFilePath
destination from /tmp
to /var/tmp
.
Fedora Source:
https://github.com/rpmfusion/xorg-x11-drv-nvidia/blob/master/nvidia-power-management.conf
Signed-off-by: Peter Jung ptr1337@archlinux.org