You are not logged in.
Good Day,
I'm new to Arch Linux, I have been getting random freezes ever since I install arch.
When it's frozen the only way is to restart.
I have no Graphics Card installed,
I use Two Monitors, (VGA and DVI)
I have tried everything from Arch forum, nothing worked,
---------------------------
*processor.max_cstate=1
*rcu_nocbs=0-3
*idle=nomwait
*pcie_aspm=off
*ommu=pt
*amdgpu.lockup_timeout=0
*amdgpu.dc=1
*amdgpu.vm_update_mode=0
*amdgpu.dpm=-1
*amdgpu.ppfeatureamdgpu.vm_fault_stop=2
* amdgpu.ppfeaturemask=0xffffffff
* amdgpu.vm_fault_stop=2
*amdgpu.vm_debug=1
*amdgpu.gpu_recovery=0
I tried these kernels
------------------------- ----
pacman -Q | grep linux
-----------------------------
linux 5.4.14.arch1-1
linux-amd-raven 5.4.v.17-1
linux-amd 5.5.v.2-1
this my current kernel from
--------------------
uname -r
--------------------
5.4.17-RAVEN
My PC
* AMD Ryzen 3 3200G with Radeon Vega Graphics Keeps Freezing
* Mainboard: Asrock A320M-HDV R4.0
* RAM: G.SKILL F4-3000C16-8GISB 2x8GB
dmesg
https://pastebin.com/raw/ZSuWNhnd
Thanks.
Last edited by sivuyile (2020-02-09 03:55:03)
Offline
Welcome to the boards sivuyile
Update your system and try the new 5.5 kernel as a start. FWIW the error that is logged points to an issue in the dc code so you will want to test dc=0 instead (and remove most other parameters, you should especially not muck with the feature mask while you are trying to get system stability...), also the option for testing iommu=pt would be well the additional i and not ommu.
I'd suggest you start from a clean slate and remove all of these parameters (except maybe the actual correct iommu=pt (and maybe amdgpu.dc=0) that's one I'd agree to have seen quite universally), you have quite a few that I wouldn't use if my intention was to check system stability.
What you also should do is ensure you load the microcode early and/or do a BIOS/UEFI update, quite a few bugs with AMD cpus are due to early firmware issues.
Last edited by V1del (2020-02-05 09:07:20)
Offline
I cannot attest to these newer Ryzen chips, but on my 1600 the only thing that stopped all the random freezes was to set Power Supply Idle from Auto to Typical in the bios. It didn't seem to matter what BIOS version I have used.
Offline
Thank you for replies,
I removed every parameter and added iommu=pt amdgpu=0
but when amdgpu.dc is set to 0 the system does not boot. so I set it to 0 again
I already set Power Supply Idle to Typical.
I will wait for the system to crash again,
Last edited by sivuyile (2020-02-05 15:41:12)
Offline
I can not update my kernel, now it takes 3 minutes to freeze, sometimes it freezes on login, I think Ryzen is not stable in linux and I hate to use windows, I only use my PC for Software Development, I don't even dual boot windows, I tried popos but it was the same, I don't think its Arch problem.
Thank you for taking your time.
Last edited by sivuyile (2020-02-05 21:50:25)
Offline
You should really set up the early microcode (or update your UEFI) in that case, because this doesn't sound like purely graphics driver related at this point. FWIW you should be able to omit the amdgpu and at least get to a terminal with
systemd.unit=multi-user.target nomodeset
on the kernel params.
Offline
For few hours I have been tweaking Bios settings. My machine hasn't frozenn.
This is what works for now,
I changed the following under OC Tweaker tab in my Bios.
"Load XMP Setting" from "Auto" to "XM 2.0 Profile 1"
I changed
"Power Supply Idle Control" from Typical Current Idle to Low Current Idle
Kernel
_________
5.4.17-RAVEN
I am not sure which of those changes worked
Should I mark this as solved?
Last edited by sivuyile (2020-02-06 03:10:41)
Offline
My machine has been running for more than 12 hrs now, no issues,
I think changing Load XMP Setting from Auto to XM 2.0 Profile 1 and removing all Kernel boot parameters and adding iommu=pt amdgpu.dc=1 really helped.
Here is my current Kernel boot parameters
----------------------------------------------------------
loglevel=3
quiet
iommu=pt
amdgpu.dc=1
Kernel
_________
5.4.17-RAVEN
I really appreciate the help, Thank you
Offline
Any freezes under 5.5.2.arch1-1 with iommu=pt without amdgpu.dc=1 (display core should be enabled by auto detection).
Offline
I also have a AMD Ryzen 3200G
I've been using the kernel parameter `amgpu.noretry=0` in 5.4 as suggested here https://gitlab.freedesktop.org/drm/amd/issues/934
I haven't tried 5.5 yet.
Offline
I removed iommu=pt amdgpu.dc=1, I am still using 5.4.17-RAVEN and my machine is stable, no glitching and Firefox is not crashing, no Black Screen.
it's been 6 hours now
I only have these params
*loglevel=3
*quiet
Last edited by sivuyile (2020-02-07 04:33:07)
Offline
So you are saying the problem got solved at some point between 5.4.14 to 5.4.17?
I'm using 5.4.15, but still with amdgpu.noretry=0
Offline
So you are saying the problem got solved at some point between 5.4.14 to 5.4.17?
I'm using 5.4.15, but still with amdgpu.noretry=0
To be honest I am not sure if 5.14.14 to 5.4.17-RAVEN problem got solved.
Because 5.4.17-RAVEN was also giving me some issues until I changed Load XMP Setting from Auto to XM 2.0 Profile 1 in my BIOS.
And I haven't testes 5.5 either, I will probably do more tests once I'm done with my work.
Since I am not a gamer I did some research about all my hardware, I found this article about XMP
Offline
Oh, I missed the RAVEN part. Thanks. I guess you can add SOLVED to your post title.
Offline
I changed the following under OC Tweaker tab in my Bios.
"Load XMP Setting" from "Auto" to "XM 2.0 Profile 1"
I changed
"Power Supply Idle Control" from Typical Current Idle to Low Current Idle
I just can't find these options in my A320M-HDV R4.0 with any firmware version.
What UEFI version do you use?
Facing exactly same problem with the same CPU and MoBo.
Last edited by nyx19 (2021-06-06 19:24:07)
Offline
Hi
My BIOS ver is P3.30
Kernel: Linux tg 5.11.16-arch1-1
For me, I solved it by choosing the XM 2.0 Profile, I am not a gamer or pc build expert, but I did build my PC mainly for Software Dev. After some research, I discovered that the DRAM frequency was the issue for me, so if you cannot select XM 2.0 Profile, then you need to select the correct DRAM Frequency if Auto is not working for you. Even if you are able to select XM 2.0 Profile sometimes you may need to manually select DRAM Frequency. DRAM frequency is your RAM Frequency
Here are some resources https://www.youtube.com/watch?v=rqsDIpiPCYA
My PC
* AMD Ryzen 3 3200G with Radeon Vega Graphics
* Mainboard: Asrock A320M-HDV R4.0 (P3.30)
* RAM: G.SKILL F4-3000C16-8GISB 2x8GB
Offline
Hi
My BIOS ver is P3.30
Kernel: Linux tg 5.11.16-arch1-1For me, I solved it by choosing the XM 2.0 Profile, I am not a gamer or pc build expert, but I did build my PC mainly for Software Dev. After some research, I discovered that the DRAM frequency was the issue for me, so if you cannot select XM 2.0 Profile, then you need to select the correct DRAM Frequency if Auto is not working for you. Even if you are able to select XM 2.0 Profile sometimes you may need to manually select DRAM Frequency. DRAM frequency is your RAM Frequency
Thank you very much for the definitive guide. I still missing menu items from your screenshot in v3.30 but just downgrading to 3.30 apparently helps me! Firmware is always a nightmare...
Offline