Score:0

How to detect the cause of DELL XPS 15 9500 with Ubuntu 20.04.3 LTS restarting randomly

br flag

I have my XPS 15 9500 for more than a year and I have Ubuntu installed on it since the beginning which was working like a charm.
About a month ago I start seeing some abnormal random restarts.

Computer specs:  
CPU: Intel® Core™ i7-10875H CPU @ 2.30GHz × 16   
RAM: 16GB  
GPU: Nvidia Gefore GTX 1650Ti  

I have Dual boot Ubuntu and Windows.
I noticed a pattern of those restarts.
When I boot ubuntu and sign in to my user account and I open any app right away, then there is a chance that it will just restart the computer automatically without giving me any information and after that whenever I plug my charger to charge the computer it won't be detected. I will need to boot into windows and then turn computer off and after that it will work normally again.
I have completely formatted and re-installed both windows and ubuntu but the problem still exists.
I was thinking that there is a hardware issue but this is not happening at all when I'm using windows and I have testes my memory with memtest program and there are no errors.
This is getting really annoying and I don't have any ideas of what can be wrong.
I have tried to completely uninstall nvidia drivers and switched to intel GPU but it didn't help.
Now I have system76 menu bar plugin installed and for graphics it is set in Hybrid mode.

Are there any programs that I can run in the background of ubuntu that will log those restarts and will tell me of what's happening?

Thanks in advance!

vanadium avatar
cn flag
Could be overheating. Also you can watch kernel messages with `sudo dmesg -w` to see if red (error) messages appear and are frequent. These may give a hint on what might go wrong.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.