Ubuntu – Ubuntu 18.04 is freezing randomly. How to debug this

freeze

I'm using a Lenovo Notebook that randomly freezes. When I mean random, it's REALLY random, the machine has been on for a week without freezing, freezing when no apps are opened, freezing when opening three tabs in Chrome, freezing when opening terminal, you get the idea.

I want to know which logs or where can I look to try do debug this. I've already run the Lenovo diagnostics for memory and such and no problems were found.

Best Answer

I had the same problem and at least for me there were 2 problems:

The first one was a problem with my video card, so I had to go to bios settings and uncheck the Switchable graphics option.

And the second one, was related to Chrome using a lot of memory and I had to disable chrome hardware acceleration, take a look a this to see if it helps.

ubuntnu-18-freeze-while-using-chrome

Greetings!