I use ubuntu 20.04 on a Dell Inspiron 7567 laptop. I have this reoccurring issue where the laptop completely freezes. This happens every 5 - 6 hours. The mouse becomes unresponsive, and all the processes in the background stop and if music is playing in the background, then the sound turns into some sort of grating beep. I can no longer suspend as usual by pressing the power button. The keyboard inputs also don't work.
The only way to recover is with a hard restart by holding the power button.
This never happens when I use windows so I am sure that it is not a hardware issue. I don't think it is related to the Nvidia drivers as even when I use the intel card with the sudo prime-select intel
command, the problem still occurs.
I cannot get any information out of /var/logs/syslogs. I have been having this issue for months and just cannot seem to solve it.
Can anyone please help.
free -h
andsysctl vm.swappiness
andgrep -i swap /etc/fstab
andsudo lshw -C memory
andls -al /var/crash
. Start comments to me with @heynnema or I'll miss them.