I am running Ubuntu 20.04.3 LTS x86_64 on Intel Core i7-9750H, GTX 1650 (mobile?), 16GB RAM, NVME m.2 SSD and I do not have any other operating systems installed. Since this Wednesday (25 Aug 2021), my computer randomly freezes completely and this happens very often. When it freezes, I cannot move the mouse, toggle keyboard backlight (which usually works in the bios menu even). Combinations with the SysRq key also do not seem to work. If audio is playing during the crash, then the last 1.5 seconds start repeating. I have left my computer to stay like that for over an hour once and nothing improves. It's not an issue with overheating as this sometimes occurs right after a cold boot. My only solution so far is to force shut down the machine by holding the reset power button.
Here is what I tried:
- System logs from before the crash do not show any important/critical issues and they usually vary
- Starting from version 18.04, others have experienced the same issue and convicted Chrome. Disabling hardware acceleration from the settings and with the command line flag did not work (it might have even made things worse). Using Wayland instead of Gnome also did not work for me.
- When a crash occurs, I repeatedly tried using SysRq combinations to more safely shutdown my PC. Namely Alt+SysRq+S (sync), Alt+SysRq+U (unmount), Alt+SysRq+B (shutdown) but this never worked while frozen. I tested during normal operation and it did work.
Other than that, I have noticed no performance spikes or heavy resource utilisation. I have had a crash occur while nothing else but Chrome and in all cases of crashes I've had Chrome running (although this can be coincidental as I run Chrome almost all the time).
I've been using Ubuntu for quite some time and have never had any issues as big as this one. I noticed live-patch must have updated my system to version 20.04.3 from 20.04.2, although I cannot confirm when exactly this has happened, but this is certainly something less than 2 weeks old.
I would really appreciate any info on how I could debug this and even better—fix it altogether. I really do not want to re-install unless there's another option.
Further update:
I have noticed this only occurs when I move my laptop to a different location. What is different when I do that is:
- not connected to external monitor via HDMI
- not using ethernet
- using wifi
I still believe that this bug is introduced after 20.04.2 LTS, although it might be different software causing it (e.g. faulty driver).
htop
to see if your swap space is filling up?