I seem to have problems with suspending on Ubuntu 22.04, when I press the power button which I have bound to suspend, the screen just locks (generally happens with suspend), now, I have found a few posts about this somewhere, but none of the solutions worked, then, when I close the lid, it is also supposed to suspend, but, when I open the lid, the screen just starts blinking and after a while I see the login screen. What would I do here? I have somehow found out about pm-suspend and it does the right thing except for locking the screen before suspending. How would I use pm-suspend or fix the normal suspend?
EDIT: gpu: 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
In case of graphics, I have integrated graphics which do most of the stuff and an NVIDIA GeForce MX150 that seems to go through integrated graphics or something. It doesn't have an output, just does stuff and probably sends it to integrated. I have an HDMI port but it seems to be just an internal DP connection to the integrated graphics afaik.
lspci | grep VGA
would tell us, which graphics card you have.(It might be its driver) Copy the output of the terminal command into your question (not in a comment, just to keep the infos in one place) – kanehekili May 04 '22 at 20:25wayland
(from the lock screen when you choose user you have a wheel at the bottom right of the screen). You should also disable nvidia service (it works for me):systemctl disable nvidia-hibernate.service nvidia-resume.service nvidia-suspend.service
: see this topic: https://askubuntu.com/questions/1403741/ubuntu-22-04-cant-suspend/1404116#1404116 – GuillaumeF93 May 05 '22 at 21:08additional driver
, i guess you are using the last nvidia driver:nvidia-driver-510
select a previous versionnvidia-driver-470-server
for instance, then restart and try to suspend. If it doesn't work select an even older one. And so on. – GuillaumeF93 May 06 '22 at 17:18