You are not logged in.
I've found out that it's possible to use the curve optimiser with the ryzenadj package. For now I've removed all kernel parameters and tried to add a bit more voltage to the CPU through that. Will report on the results.
Gricenchos wrote:
Edit 2: processor.max_cstate=1 doesn't seem to help much. Still getting freezes - it seems like kwin freezing? Unsure.Thanks for the update.
The behavior you're describing now — graphical freezes (kwin locking up) instead of full kernel panic — is a different failure mode.
We need journal logs to be sure whether this is a GPU driver hang or something else.
Meanwhile:
Sinceprocessor.max_cstate=1alone is insufficient, the next consistent step is to also add:
idle=nomwaitThis prevents the kernel from using the MWAIT instruction during idle, which can trigger deep sleep instability even when deeper C-states are disabled.
This is not random trial-and-error — it's a documented mitigation path for Ryzen C-state related issues.
No new kernel parameters beyond that at this stage. Clean isolation.
Edit:
Post journal from previous boot:sudo journalctl -b -1 -p 3or full log:
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st
Here's the full log, since it was a couple reboots ago:
I will return the mentioned parameters when/if I get another freeze/panic and continue from there.
Last edited by Gricenchos (2025-04-27 05:35:19)
Offline
It seems like curve optimiser have worked. Ryzenadj allowed me to put more voltage in the CPU via
sudo ryzenadj --set-coall=15It allowed me a stable uptime of 24h. No kernel parameters. It, sadly, has to be run at every startup, is there a way to automatically execute it as a superuser?
I'll monitor the system behaviour for a few more days just in case and post logs if something happens again.
For some reason VLC, of all things, sometimes makes the system freeze? But no kernel panics on exiting suspend.
Last edited by Gricenchos (2025-04-29 15:25:41)
Offline
You mean like a systemd service?
https://wiki.archlinux.org/title/System … unit_files
In case it is and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
You mean like a systemd service?
https://wiki.archlinux.org/title/System … unit_filesIn case it is and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Yes, thank you! I'll look into it.
I'll monitor the system behaviour for a couple more days just in case, and if it behaves, will mark the thread as solved, if that's fine.
Offline
Well, after a couple days of monitoring, I can say that the kernel panics have stopped, but I still occasionally get system freeze on waking form suspend.
Offline
That's probably different, how bad are those freezes? Can you still reboot w/ teh https://wiki.archlinux.org/title/Keyboa … el_(SysRq) (reisub - has to be explicitly enabled *before* the freeze)
Anything suspicious flaring up even during successful suspends?
Offline
That's probably different, how bad are those freezes? Can you still reboot w/ teh https://wiki.archlinux.org/title/Keyboa … el_(SysRq) (reisub - has to be explicitly enabled *before* the freeze)
Anything suspicious flaring up even during successful suspends?
No, SysRq reboot doesn't work during those. Nothing suspicious flares up during normal suspends either.
Offline
Post a journal covering a successful suspend cycle - we'll just walk down the usual suspects from there…
Offline
Post a journal covering a successful suspend cycle - we'll just walk down the usual suspects from there…
Here's the journal after going to suspend and successfully waking from it:
Offline
Nope, journal covers 80 seconds, no sleep nor attempt.
Offline
Sorry, my mistake. This should be the correct one:
Went into suspend, woke up, ran journalctl --since "5 minutes ago"
Offline
Nedxt to https://wiki.archlinux.org/title/Solid_ … leshooting the cs35l41-hda device seems rather exotic
Add "nvme_core.default_ps_max_latency_us=0 iommu=soft pcie_aspm=off pcie_port_pm=off" to the kernel parameters and see whether you still into wakeup freezes.
Offline
Nedxt to https://wiki.archlinux.org/title/Solid_ … leshooting the cs35l41-hda device seems rather exotic
Add "nvme_core.default_ps_max_latency_us=0 iommu=soft pcie_aspm=off pcie_port_pm=off" to the kernel parameters and see whether you still into wakeup freezes.
Sadly, those didn't do the trick, still got a freeze on a wakeup.
Offline
Can you "modprobe -r cs35l41-hda" before the suspend or test to blacklist it for a while to see whether the freeze still happens without?
Offline
Got another kernel panic today, on boot, interestingly. Here's the report:
I suspect that the issue is the same, it's just that since I'm applying the curve optimiser by a system command, not through BIOS, it didn't have time to activate, and that's the reason for the panic.
Can you "modprobe -r cs35l41-hda" before the suspend or test to blacklist it for a while to see whether the freeze still happens without?
Tried that command.
modprobe: FATAL: Module cs35l41-hda not found.Offline
It's actually named "snd-hda-scodec-cs35l41", sorry.
Offline
It's actually named "snd-hda-scodec-cs35l41", sorry.
it's alright. However, now modprobe -r doesn't work, as it reports the module to be in use.
Offline
Probably by pipewire - did you try to just blacklist it?
Offline
Probably by pipewire - did you try to just blacklist it?
Sorry, didn't do that yet. Will try that now: is there no risk of breaking something, if it's being used currently?
Offline
At worst your sound won't work while blacklisting that.
Offline
At worst your sound won't work while blacklisting that.
Blacklisted. Will report on the results.
Offline
It's actually named "snd-hda-scodec-cs35l41", sorry.
Okay, for some reason I can't blacklist that module? Whether I blacklist it though kernel parameters or /etc/modprope.d/blacklist.conf, it remains in use.
Offline
module_blacklist=snd-hda-scodec-cs35l41shows up in "cat /proc/cmdline" and what does
lsmod | grep cs35l41then print?
Offline
cat /proc/cmdline:
BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=017f6ef1-19eb-4578-b831-fa02807eedc7 rw zswap.enabled=0 rootfstype=ext4 module_blacklist=snd-hda-scodec-cs35l41 loglevel=3 quietlsmod | grep cs35141
snd_hda_scodec_cs35l41_spi 12288 0
snd_hda_scodec_cs35l41_i2c 12288 0
snd_hda_scodec_cs35l41 77824 2 snd_hda_scodec_cs35l41_i2c,snd_hda_scodec_cs35l41_spi
snd_hda_cs_dsp_ctls 20480 1 snd_hda_scodec_cs35l41
snd_soc_cs_amp_lib 16384 1 snd_hda_scodec_cs35l41
snd_soc_cs35l41_lib 45056 3 snd_hda_scodec_cs35l41_i2c,snd_hda_scodec_cs35l41,snd_hda_scodec_cs35l41_spi
cs_dsp 90112 3 snd_hda_scodec_cs35l41,snd_hda_cs_dsp_ctls,snd_soc_cs_amp_lib
snd 155648 64 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_hda_scodec_cs35l41,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_hda_cs_dsp_ctlsOffline
"module_blacklist=snd_hda_scodec_cs35l41"?
Offline