The 5900X is notorious for WHEA 18/19 errors, which are hard crashes caused by the CPU core power states dropping too low when idle or under light loads.
Edit: This is Windows based info but has some relevance.
You could try the following.
Boot into your BIOS and navigate to your AMD Overclocking settings. Change Power Supply Idle Control from “Auto” to Typical Current Idle.
If it’s gpu related I have some more kernel parameters you can try. See first of all if that setting change makes any difference.
Edit: You can try these individually or all at once.
amdgpu.ppfeaturemask=0xffffffff
amdgpu.aspm=0
pcie_aspm=off
These are kernel parameters. Are you using systemd-boot or grub?
Edit: If using grub you add them to the command line in /etc/default/grub and save and then run the update grub command sudo grub-mkconfig -o /boot/grub/grub.cfg
If you are using systemd-boot you add them to the command line in /etc/kernel/cmdline
Then run sudo reinstall-kernels
The crashes usually occur when I use the browser or interact with UIs in games. I’ve never had it occur when I was just playing a game normally. I’ll observe how it unfolds. The sheer amount of crashing conditioned me not to use my PC normally, and it is hard to get over. I haven’t played games much at all due to the fear of progression loss. ( 0 _ 0 )
I have the default which I believe is systemd-boot.
I’ve read pcie_aspm=off and it prevents a connection drop. Is there a parameter to prevent ethernet connection drops? I get quite frequent notification pop-ups saying there is a network connectivity loss. Could those all be connected?
Edit: You are just adding this as a kernel parameter to what is already existing leaving a space between. Then run the reinstall kernels command.
Edit: If you find the kernel parameters don’t work you can remove them and then run the reinstall kernels command again.
Edit: These are just things you can try because I don’t have a crystal ball to determine exactly the reason the crashes are happening so it’s a little bit of trial and error which may or may not give the results we are looking for.
@pallid
Hardware is tricky and a lot of issues that happen can be related to many different things such as poor implementation of the UEFI Bios or firmware, power or software.
Edit: Everything in your hardware output looks fine and your UEFI Bios (Firmware) is up to date and you have checked memory and hard drive so you must look for other things.
Edit: Also if I’m not mistaken you are up to date? Kde just had some more updates.
Smart tests usually guage the health of your SSD/HDD.
Others have addressed that in this thread.
Personally I use gnome-disks (not in /extra anymore!) and a standalone called HDSentinel (https://www.hdsentinel.com/hard_disk_sentinel_linux.php) but since you revealed it only crashes when you do gaming stuff it might not be SSD. But you never know.
I’ve just gotten back from the long shift at work. I’ll see. Hopefully not. I’d say I’m most likely to find out tomorrow - assuming they persist - since I’ll probably fall asleep in a second.
The crashes had gotten worse. I crashed into a black screen which wouldn’t go away, with no text. I had to unplug my computer to turn it off, it wouldn’t even react to the power button being held.
I already had amdgpu.aspm=0, I will add amdgpu.ppfeaturemask=0xffffffffnow. I am very distraught by the amount of crashing.
I thought journalctl shows the errors, no? I’m not quick enough to take a photo with my phone.
I’ll check the BIOS c-states.
The error I last saw (excluding the total black screen) mentioned the CPU, I think…?
Is there any way to check the start-up error if journalctl doesn’t show it?