Skip to main content
Topic: System freezing up without explanation (Read 803 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

System freezing up without explanation

Ive been on my current install since a few months already and at some point I had the issue that my PC would suddenly lock up and the only way to reboot was with the power switch.
My first guess was that this was an issue with my GPU since its quite old already, so I bought a new one.
I put the new GPU into my system and was disappointed when I observed that I still have the same Issue.
Sometimes the PC freezes up and audio still plays, but most of the time everything freezes up.
Note this only happens when playing games.
My first thought was hardware failure so I spent days stress testing every component in my PC and I didn't get any instability.
Not being able to find the problem, I decided to look how things went on Windows 10. Surprise, I dont freeze anymore. Tried the old GPU and I also dont freeze there.
Then I started digging in my Linux install and tried everything I could think of, different kernels, switching from TSC to HPET, different proton versions, digging through logs at /var/log but I could not come to any conclusion.
Tried resetting BIOS and not changing any setting in it, tried disabling C states, ran endless stress tests to confirm my hardware is stable and Im back where I started.
Its also noteworthy that the game that I play (Apex Legends) doesnt fully max out my hardware and I hover around 70% GPU usage so I dont think its unstable hardware.

My current specs:
Ryzen 5 5600X
RX 5700XT
MSI 470X GAMING PLUS
16GB 3200mhz RAM
latest packages from the repos

Re: System freezing up without explanation

Reply #1
These problems are very tough to solve. Your best bet would be a second PC/laptop to ssh into your gaming box and have dmesg -wHT and tail -f /var/log/everything.log (or /var/log/everything/current if on metalog) running. If you're lucky, you'll get a hint.

Re: System freezing up without explanation

Reply #2
If you are using harddisk which has damaged sectors then it causes random freezes
or you have bad ram (faulty) test ram sticks one by one  using https://memtest.org/ scan for bad ram addresses
Create problems which don't have solution

Re: System freezing up without explanation

Reply #3
>If you are using harddisk which has damaged sectors then it causes random freezes

Good point, try getting a health status of your drive by this commnad:
Code: [Select]
# smartctl -H /dev/sdX

Re: System freezing up without explanation

Reply #4
Sadly I do not own a second system or failing hard drives, I'm on nvme.
As I've said I've stress tested using YCruncher and Unigine benchmarks and everything was stable there. Tried 5h of memtest without issues


Re: System freezing up without explanation

Reply #6
aqyx, I got  a similar problem always with a Ryzen cpu Ryzen 3 4300. I solved the problem using the LTS kernel 5.15; with all the other kernel, when I use some multimedia program, the system casually crash and the only way is to use the power button to restart.

With the new 6.x kernel something is better, I can have at least 1/2 an hour before the notebook crash.

What I want to try is to install a new version, from the scratch, and to verify if the problem is yet present. I my opinion this is something changed into the kernel after the 5.15.

Re: System freezing up without explanation

Reply #7
I would first activate the Option "XkbOptions" "terminate:ctrl_alt_bksp".

https://wiki.archlinux.org/title/Keyboard_configuration_in_Xorg#Using_X_configuration_files
https://wiki.archlinux.org/title/Keyboard_configuration_in_Xorg#Terminating_Xorg_with_Ctrl+Alt+Backspace

I would not start the game in full screen but in a window and keep an eye on the running processes.
Even if you don't find the reason why your desktop freezes, you can at least Ctrl+Alt+Backspace to avoid the reboots.
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: System freezing up without explanation

Reply #8
I will for sure try this and see if I get any results.