Nippur: I am using the nvidia driver via rpmfusion. There’s just the one (proprietary) nvidia driver as far as I know. I installed it via
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fed
ora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install akmod-nvidia
It seems the common consensus is that the update set
options nvidia NVreg_PreserveVideoMemoryAllocations=1
somewhere, in my case nvidia-power-management.conf.
Your post says where to set
options nvidia NVreg_PreserveVideoMemoryAllocations=0 but not explicitly where
options nvidia NVreg_PreserveVideoMemoryAllocations=1 is found…so where was that set for everyone but my machine? In what config file, /etc/modprobe.d/nvidia.conf ? I only saw the gentoo bug thread referring to that https://bugs.gentoo.org/763129
, others are referring to Occassional failure to resume: pci_pm_suspend(): nv_pmops_suspend+0x0/0x20 [nvidia] returns -5 - Linux - NVIDIA Developer Forums
nvidia-power-management.conf …at least for setting the variable.
I checked my terminal’s history just in case I had a mild case of amnesia and forgot that I made that file …(which would be weird since I found the gentoo bug and looked for the param and found it there but anyway) …but it went update, suspend, and then look for the param, where the first reference to nvidia-power-management.conf was to cat its contents.
So I don’t know whether you and everyone else in this thread have that file too and that the file you advice to create/edit overrides it or whether my machine is the only one who has that file. That feels wrong though since I installed via rpmfusion and there’s just the one proprietary nvidia driver afaik and the problem, very much echoed over the internet, is that the
options nvidia NVreg_PreserveVideoMemoryAllocations=1 is set and it has to be set in a config file.
(I don’t want to argue or anything like that I’d just like to think the bug affected most people on fedora with the propriatery nvidia driver the same and would like to get to the bottom of it )