linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.57k stars 745 forks source link

Full system freezes would occur when suspending laptop or closing the lid, forcing me to do a hard shutdown since I can't even enter the tty. #12517

Open BugsyReportsy opened 2 days ago

BugsyReportsy commented 2 days ago

Distribution

Mint 22

Package version

6.2.9

Graphics hardware in use

NVIDIA GeForce RTX 3080 Ti Max-Q

Frequency

Quite often

Bug description

Suspending or waking my ThinkPad X1 Extreme Gen 5 via the lid, shutdown menu, keyboard, or seemingly any method would sometimes cause the whole system to freeze except for the mouse cursor, being more likely to occur if I were to disconnect the docking station attached to my main monitor. This has happened at least every other day for me, and I haven't been able to find a solution even after trying different kernels, using different NVIDIA drivers, and updating all my firmware.

Steps to reproduce

Scenario 1: Wake laptop after it had been suspended [s2idle] for several hours like you normally would, or by disconnecting from a USB docking station with a monitor attached.

Scenario 2: Suspend laptop after it has had a few hours of uptime, usually by closing the lid.

Expected behavior

The entire system freezes either on the desktop or screensaver while the cursor can still be moved, locking up the system to the point where I can't even enter the tty.

Additional information

The exact same issues occurred with Cinnamon in EndeavourOS on the same machine but seemingly not with KDE, leading me to think this is a bug with Cinnamon rather than an entire distro.

https://termbin.com/5d6b https://termbin.com/9gyc https://termbin.com/ulcs

BugsyReportsy commented 1 day ago

After over 8 hours of uptime, I decided to disconnect and reconnect my laptop from my docking station and the exact same thing happened again, except without suspend. The external monitor wasn't detected when I replugged the cable, so I tried replugging again, only for another full system freeze where entering the tty wasn't even an option.

BugsyReportsy commented 1 day ago

I just ran sudo apt reinstall '~i' to reinstall all my system packages. This probably won't fix it since it didn't work on Endeavour, but who knows at this point?