Skip to main content
Topic: CPU spike/reboot under minimal load  (Read 832 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

CPU spike/reboot under minimal load

Hello Everyone,

I am new to the Linux community and I am stumped on one roadblock that has me scratching my head to having a functional machine. I originally tried downloading the KDE and XFCE DE versions of Artix runit and I had major issues with the system freezing during the installation segment. I gave up on that method and did a base install and followed along the artix/arch wiki. I loaded dwm through the startx/xinitrc process and finally had something that would not crash instantly and gave me a DE.

The issue I have is CPU spiking. I have htop open and seeing that almost anything I do like running cmatrix spikes one of my cores to 80% and if I have multiple running it would lead to my system crashing. The command showing in htop is

/usr/lib/Xorg -no listen tcp:0 vt1 -keeptty -auth /tmp/serverauth...........

^(multiple instances of this command in htop shows when an a cpu spike event happens)

Sometimes I even see wpa_supplicant (never connected to WiFi, running Ethernet) and networkmanager -n spike to 120% and my system freezes/reboots

I was thinking it might have been kernel updates/drivers or maybe hardware acceleration and went on the wiki to see what I could download like mesa or amd-ucode, but so far nothing has seemed to help out. I am worried it is a hardware incompatibility (unless I haven’t installed/launched those packages properly or I am unaware of additional packages)

I am running a ryzen 7 5800x and RX 6800

Any help would be appreciated thank you! :)

Re: CPU spike/reboot under minimal load

Reply #1
Try a different kernel, perhaps linux-lts. Does this happen if you use another linux distro? If yes, there might be some faulty hardware involved or a particular BIOS setting. If not, write down the kernel version it uses and try to match it from our archive or even Arch's older one.

Re: CPU spike/reboot under minimal load

Reply #2
I just changed the kernel and it seems like it did not affect anything. I am new to Linux and this is actually my first setup. I have another usb to boot for Manjaro and that also crashed when I tried testing that. My motherboard is ASrock and Ive read mixed things about their compatibility.

Re: CPU spike/reboot under minimal load

Reply #3
Hi, is amd-ucode installed?

Re: CPU spike/reboot under minimal load

Reply #4
Yes it is

Re: CPU spike/reboot under minimal load

Reply #5
Since it crashes with Manjaro too, it's a deeper problem that can range from a simple BIOS setting to a faulty motherboard or component. I had seen a brand new PC crashing because of a faulty PSU which was too sensitive and picked voltage fluctuations whenever I switched the lights on...

Re: CPU spike/reboot under minimal load

Reply #6
Ok nous and linuxer thank you. I guess my last chance is a BIOS settings change. Is there anything I am looking out for in particular? I haven’t found much resources on this process.

It’s unfortunate that there are still incompatibilities/faultiness with newer hardware, but hopefully I am not in that category :)

Re: CPU spike/reboot under minimal load

Reply #7
Forgot to ask, do you start your system with iommu=pt or so, on the grub boot line?

It seems like a conflict to me, between h/w and firmware

Re: CPU spike/reboot under minimal load

Reply #8
I don’t believe I altered it in the initial installation. I cannot find any iommu commands within /boot/grub grub.cfg

Re: CPU spike/reboot under minimal load

Reply #9
No, you did not.

Those parameters are not included by default, neither the relative modules (efivars) are warrantied to be loaded w/o them.

Therefore, try to extend the Grub boot line, so to add iommu=pt, and boot.

If after booting, are all good, make the change permanent.

Re: CPU spike/reboot under minimal load

Reply #10
Ok, so I was looking i was looking into where I should exactly inject the iommu=pt so I did a little research and I saw from another forum that there is a kernel boot line, but that is in fedora and I cannot locate that in this file. I also stumbled across a previous post on here...

https://forum.artixlinux.org/index.php/topic,2252.0.html Where you advised for the individual to alter a linuz file, but I checked on my own system “its the lts version” and I all I see is machine code.

So I’m back into grub.cfg and I cannot find any resource on where to place that code because at the beginning of the document it says “DO NOT EDIT THIS FILE, It is automatically generated by grub-mkconfig using template...”

 

Re: CPU spike/reboot under minimal load

Reply #11
Quote
So I’m back into grub.cfg and I cannot find any resource on where to place that code because at the beginning of the document it says “DO NOT EDIT THIS FILE, It is automatically generated by grub-mkconfig using template...”
did you tried read archlinux wiki? https://wiki.archlinux.org/index.php/Kernel_parameters