Hello, I’m having an issue in Plasma where my display gets messed up after waking from sleep on Wayland. I’m using the proprietary Nvidia drivers. This doesn’t happen on X11.
For some reason, this doesn’t work for me. I’ve also tried enabling the nvidia services resume, suspend, and hibernate and that didn’t help either. Is there something I’m missing? Any help would be appreciated, thanks.
Yeah, I’ve tried enabling all three as well as disabling only resume and nothing changed. When you say enable, do you just mean enable the service or also start it as well? Because when I check the status, they all say inactive (dead).
I also have the correct formatted line for the .conf file in /etc/modprobe.d.
If it helps, I’m also dual booting Endeavour with Windows 10.
When I run that command, I get a black screen and have to shut off the computer to use it again. Here’s the output of nvidia-suspend.service after waking up from sleep.
○ nvidia-suspend.service - NVIDIA system suspend actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
Active: inactive (dead)
Nov 03 16:47:03 ghost-endeavour systemd[1]: Starting NVIDIA system suspend actions...
Nov 03 16:47:03 ghost-endeavour suspend[2022]: nvidia-suspend.service
Nov 03 16:47:03 ghost-endeavour logger[2022]: <13>Nov 3 16:47:03 suspend: nvidia-suspend.service
Nov 03 16:47:04 ghost-endeavour systemd[1]: nvidia-suspend.service: Deactivated successfully.
Nov 03 16:47:04 ghost-endeavour systemd[1]: Finished NVIDIA system suspend actions.
Maybe it has something to do with my vram? I have 8gb of swap memory and 16gb of RAM and this post had the same kind of issue. The fix was increasing the swap memory so I could try that.
Increasing the vram didn’t do anything, I think it’s because that post was using an AMD card. Just out of curiosity, I noticed that when I check/var/tmp, there are some empty folders there. Is it the same thing for you? Maybe the module is loading, but my /var/tmp folder doesn’t have enough space.
I think the empty folders are used as flags for programs, /var/tmp could be as large as the free space of your disk, unless you have done something different mounting things up? What filesystem are you using?
l /var/tmp
total 4.0K
drwxrwxrwt 13 root root 4.0K Nov 4 15:08 .
drwx------ 3 root root 17 Nov 4 15:08 systemd-private-dadf7a532c574648b79dd4f6463024cd-upower.service-VwlxTi
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-colord.service-HSzZzk
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-vnstat.service-9EbRpJ
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-polkit.service-Y84Tqq
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-systemd-logind.service-2pX6VI
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-power-profiles-daemon.service-04Tz5o
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-bluetooth.service-5XvE6e
drwxr-xr-x 13 root root 189 Nov 4 15:07 ..
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-systemd-timesyncd.service-JG6IKM
drwx------ 3 root root 17 Nov 4 15:07 systemd-private-dadf7a532c574648b79dd4f6463024cd-systemd-resolved.service-B8gEMs
drwxr-xr-x 2 xircon xircon 6 Oct 25 15:15 flatpak-cache-5320C2
drwx------ 3 root root 23 Aug 19 10:30 dracut.JqbNw0
It worked after I replaced the nvidia-dkms package with the nvidia package. I’m not certian, but I think it’s because in the .conf file was looking for the nvidia package module and I had the nvidia-dkms package installed instead. Regardless, thank you for the help.
Ok, I might be wrong about the reason it didn’t work before because I switched back to the dkms package and it works too. It seems that switching between the two fixed it for me but I’m not certain.