Hi everyone,
I just got a new computer with nvidia card , setup to use nvidia-open instead of nouveau. Everything works as expected but when I tried to suspend or hibernate inside Xorg then later resume from it, I would get a blank screen and nothing will do until I force restart, by hitting the physical restart button.
However, when I switched to another TTY and suspend, hibernate from there, without exit out of Xorg in the previous TTY. Then I will be able to resume without any issue, I then switched back to Xorg, previous TTY, everything stay the same, no more blank screen.
system info:
kernel parm: nvidia_drm.modeset=1 (already set)
lspci (https://gist.github.com/ikyokara/5d6135b4b49adac09bae7e9c58b9dcc9#file-lspci)
xorg.conf (https://gist.github.com/ikyokara/5d6135b4b49adac09bae7e9c58b9dcc9#file-xorg-conf)
lsmod (https://gist.github.com/ikyokara/5d6135b4b49adac09bae7e9c58b9dcc9#file-lsmod)
dmesg (https://gist.github.com/ikyokara/5d6135b4b49adac09bae7e9c58b9dcc9#file-dmesg)
Nividia, blank screen on resume, been happening for years for me IF I use the high level methods of suspending.
If I talk directly the to kernel it comes back just fine. Maybe that could work for you too ?
Have a look at this post (https://forum.artixlinux.org/index.php/topic,5568.msg35104.html#msg35104) for my solution
Awesome, I tried both solution in that post and it worked.
Now I won't have to switch to another TTY before sleep :)
Thank you, problem solved.