[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2024-03-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-signed-hwe-5.11 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu. https://b

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2022-11-21 Thread joe
You saved my day. I also install cuda stuff from nvidia driver repository (using ubuntu 20.04 and needed cuda 11) /etc/systemd/system/systemd-suspend.service.requires contained symbolic links which point to /lib/systemd/system/nvidia-resume.service removing these symbolic links made suspend wor

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
For whatever reason (old config, or nvidia unreasonable default) the new driver got installed with `PreserveVideoMemoryAllocations=1`, which without additional nvidia services doesn't work, and so suspend breaks. To fix: ```shell echo 'options nvidia NVreg_PreserveVideoMemoryAllocations=0' | sudo

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Installed nvidia drivers `sudo apt install nvidia-driver-470 --install-recommends` suspend broke. Did `sudo prime-select on-demand`, but no luck. ``` user@myLaptop:~$ journalctl -b | grep suspend Dec 06 23:01:18 myLaptop ModemManager[1620]: [sleep-monitor] system is about to suspend Dec 06

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Reverted to the mainline kernel and hwe: `sudo apt install linux-generic-hwe-20.04 --install-recommends` suspend still works -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu. https://bugs.launchpad.net/bugs

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Sorta solved it. So, after all the above shenanigans `sudo pm-suspend` finally started working from GNOME. So I went after `systemctl suspend`. `journalctl -b | grep suspend` was throwing a bunch of ``` Could not acquire inhibitor lock: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Downgraded using bazooka method. ```shell sudo apt install linux-generic sudo apt purge '.*-hwe-.*' dpkg -l | grep -i 5.11.0- | awk '{print $2}' | xargs -n1 sudo apt purge -y sudo apt autoremove ``` Didn't help. -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Decided to get rid of nvidia just in case. Didn't help. ```shell sudo apt remove --purge '.*nvidia.*' sudo apt reinstall --install-recommends linux-generic-hwe-20.04 ``` --- > `linux-generic-hwe-20.04` this thing being rolling is really not helpful. Can't even downgrade. -- You received this b

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-04 Thread Ubuntu Foundations Team Bug Bot
** Package changed: ubuntu => linux-signed-hwe-5.11 (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu. https://bugs.launchpad.net/bugs/1953235 Title: systemctl suspend stopped working: laptop immea