Author Topic: nVidia video artifacts after waking from standby (STR - Kubuntu 20.04 LTS)  (Read 800 times)

0 Members and 1 Guest are viewing this topic.

Offline RoGeorgeTopic starter

  • Super Contributor
  • ***
  • Posts: 6548
  • Country: ro
There are some manually steps needed to properly set the power management for nVidia when the proprietary drivers are used in Linux (Kubuntu 20.04 LTS, nVidia v450).

The proprietary nVidia drivers can be installed in Ubuntu straight from GUI, but these steps are not performed, I don't know why not:
https://download.nvidia.com/XFree86/Linux-x86_64/455.28/README/powermanagement.html#SystemdConfigur74e29

The only thing different was the location of the files to install, instead of the '/usr/share/doc/NVIDIA_GLX-1.0/samples/systemd/' used in the nVidia webpages, mine were to be found in '/usr/share/doc/nvidia-driver-450' (for future versions, search for the 'nvidia-sleep.sh' file to find the directory).

After I executed the steps from that page, there are no more video tearing or image artifact after waking from standby.  I am using Suspend to RAM (STR, or S3).  Should work for Hibernate (S4), too, but I didn't test that because I never use hibernate.
Code: [Select]
sudo find /usr/share/ | grep -i nvidia-sleep
#  and found /usr/share/doc/nvidia-driver-450/nvidia-sleep.sh

cd /usr/share/doc/nvidia-driver-450/

sudo install ./nvidia-suspend.service /etc/systemd/system
sudo install ./nvidia-hibernate.service /etc/systemd/system
sudo install ./nvidia-resume.service /etc/systemd/system
sudo install ./nvidia /lib/systemd/system-sleep
sudo install ./nvidia-sleep.sh /usr/bin

sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service

sudo reboot


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf