>adding both the kernel parameter and the two lines in the nvidia module
conf file works for "systemctl suspend" - the machine can now resume OK
when on wayland.

I've tried this solution.  There's a chance I've done it wrong though.

cat /etc/modprobe.d/nvidia-power-management.conf
options nvidia NVreg_TemporaryFilePath=/run
options nvidia NVreg_PreserveVideoMemoryAllocations=1

AND:

cat /etc/default/grub | grep "CMD"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash 
nvidia.NVreg_EnableS0ixPowerManagement=1"
GRUB_CMDLINE_LINUX=""

Upon systemctl suspend the monitor loses connection then gets its back
after about 30 seconds and shows the login screen.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1876632

Title:
  [nvidia] Corrupted/missing shell textures when switching users or
  resuming from suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1876632/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to