You are not logged in.
Greetings,
recently I was having problems regarding suspend with Arch Linux + nvidia driver with gtx1060. After starting from sleep the graphics were completely broken with a black background and various problems. I tried Debian and other distros to see if it was a general problem and Fedora was the only one totally free of the problem. By installing Arch with the archinstall script, I select the configuration with proprietary nvidia drivers and once the installation is finished I check the parameters in mkinitcpio and grub, they are very clean. The only difference was the installation of 'libvdpau' instead of the 'nvidia nvidia-utils nvidia-settings' packages so without having to follow the guide on the arch site of the configuration for the nvidia drivers I solved the problem.
However, there are drops in performance and the 144hz of the monitor is not detected but it works easily with 120hz. Installing the drivers as per the guide on the arch site gives a smoother system (+ the bug described previously). Could you kindly tell me if there is a solution to this?
https://forums.developer.nvidia.com/t/t … /200933/12
I also tried this guide but it didn't work
Last edited by danielert (2023-09-16 14:50:09)
Offline
You probably ended up w/ nouveau w/ your archinstall approach.
As for the artifacts, see https://download.nvidia.com/XFree86/Lin … ement.html
Online
searching according to your information I found this, could it work on arch?
https://gist.github.com/bmcbm/375f14eaa … bebbcfd029
Last edited by danielert (2023-09-15 15:47:43)
Offline
Don't use some random script, read the nvidia documentation and apply the necessary steps.
Online
ok thanks, as I have a moment of time between today and tomorrow I'll try
Offline
I tried following your link but some paths like this one from nvidia don't match.
/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/nvidia-suspend.servicemy nvidia files instead are found in this path:
/etc/systemd/system/systemd-suspend.service.wants or /etc/systemd/system/systemd-hibernate.service.wants So I tried to install the files from '/etc/systemd/system/systemd-suspend.service.wants/nvidia-suspend.service' etc in '/etc/systemd/system' but it doesn't work
Not even by deleting the folder 'systemd-suspend.service.wants' which is automatically regenerated, obviously I also enabled the nvidia-suspend nvidia-resume services but nothing to do
Offline
It's an upstream docu - the services are already provided by the package in location to be normally enabled by you: https://wiki.archlinux.org/title/Systemd#Using_units
Don't forget that you also have to enable a module parameter, https://wiki.archlinux.org/title/Kernel … le_options
And if you've the nvidia modules in the initramfs, you also have to regenerate that.
Online
If you are referring to the kernel parameters in mkinitcpio and grub I had already enabled them and regenerated the initramfs
but i'm talk about:
nvidia-drm.modeset=1 and for mkinitcpio:
nvidia nvidia_modeset nvidia_uvm nvidia_drmand then I created the nvidia.hook file for automatic regeneration of initramfs after driver updates
or is there some parameter that I'm missing?
Offline
Additionally, to unlock the full functionality of the interface, the NVIDIA Linux kernel module needs to be loaded with the NVreg_PreserveVideoMemoryAllocations=1 module parameter. This changes the default video memory save/restore strategy to save and restore all video memory allocations.
Online
Thanks! Now it work fine! You are the number one ![]()
Offline