惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Martin Fowler
Martin Fowler
Vercel News
Vercel News
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
N
Netflix TechBlog - Medium
GbyAI
GbyAI
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
M
MIT News - Artificial intelligence
D
Docker
IT之家
IT之家
Stack Overflow Blog
Stack Overflow Blog

CachyOS Forum - Latest posts

Ran into a frozen black screen issue with latest update Niri Settings GUI Not Appearing Update to Gnome 50 and I'm getting black/blank screen on NVIDIA with hybrid graphics My JBL Quantum 350 headphones dont play sound 90% of the time on linux while on windows it plays audio 99% of the time Niri/Noctalia Shell notifications Getting a black screen after alt-tabbing too many times Rog-control-center Duplicate keyboard and mouse in system settings? Games running very poorly after first session (semi-solved, still need help though!) Amdgpu random hangs (does cachy perhaps plan to carry patches for this)? A little something. The adj script that replaces GNU fmt for non-ASCII text Mouse scroll wheel issues - ratchet Can't start steam after updates of today (17 April) Balena etcher or ventoy QEMU Bridge setup - Maybe already known but I found it pretty difficult to do and needed much reading Multi-boot install: what do I do about my /boot and /boot/efi partition? Do you collect all the solutions and post them on Wiki or Forum? System update - lts headers invalid or corrupted Sick to death of updates killing my games! I messed up my stuff again and cant download any thing now. error below Got Logitech MX4 with Haptic working in CachyOS Need help with the performance button on my Acer Nitro V16 AI Bailing out, you are at your own Troubles in the Starfield What is so special about the new Linux Kernel 7? "Issue: Display brightness is locked at a low level after waking from sleep on CachyOS (latest update) Balena etcher or ventoy Help with kernel update, emergency mode Issue happening only on wayland Display not recognised - low resolution
[Fix] AMD HDMI Audio Issues, Kernel: Linux 6.18.2-3-cachy...
Ryne · 2026-01-07 · via CachyOS Forum - Latest posts

tldr;
cat /usr/local/bin/fix-riser-chop.sh

#!/bin/bash
sleep 1

CARD=“card1”
PM_PATH=“/sys/class/drm/$CARD/device”

1. Force Manual Mode

echo “manual” > “$PM_PATH/power_dpm_force_performance_level”

2. Toggle to VIDEO (3)

echo “3” > “$PM_PATH/pp_power_profile_mode”

sleep 2

3. Toggle to COMPUTE (5)

echo “5” > “$PM_PATH/pp_power_profile_mode”

4. Force Clock

echo “5” > “$PM_PATH/pp_dpm_mclk”

Exec=bash -c “sudo /usr/local/bin/fix-riser-chop.sh; youtube-music %U”

I also had to make it so that my user could run this script using sudo with nopasswd if I remember correctly.

Finally figured out something that had been causing basically my only issues I have since installing CachyOS for my living room gaming computer.

My GPU is a 6070 XT and has been doing really well running 4K on the games I have tried so far. There were also no audio issues with Games, so I was surprised when I tried streaming music in the browser and was getting choppy / pausing audio and occasional crackling.

To preface this, I was determined to fix it because I had the audio working in Windows before on the exact same rig, other than the fact that I had plugged a USB into the machine and axed Windows, replacing it with CachyOS.

I spent quite a bit of time using LLM to help me understand the audio platform I was working with and so we tweaked quite a bit of stuff relating to quant etc after determining that the most likely reason I was getting audio issues that were not present on Windows was either due to driver differences, or Windows sort of smoothing and applying quite a bit of effects to audio, more or less masking an underlying issue with my PCIe slot the GPU is in, introduced most likely by the fact that there is a riser needed for the Fractal Design Ridge case.

Tweaking Audio Settings did make differences that I could hear in the frequency of the issues, etc, but couldn’t totally alleviate the issue.

Eventually I realized that if I started a video in another window while the music played, the issue would disappear, similar to how the issue was not present when gaming it was also not present with video playing, whether or not the audio was from the video.

This led us to the conclusion that the driver probably was changing memclock on the GPU to a higher level when video / games or other load bearing activities started(I was able to confirm this with commands), and would keep the memclock steady instead of fluctuating, so we tested this and eventually also tested tweaking the power profile. I am not 100% sure that it is actually needed, at this point, to tweak the memclock, but I liked the result of doing them in tandem better.

So, now that we had solved it we decided to make a script that would run as a service when the computer started that would sleep, then adjust the memclock and gpu powerprofile.

Unfortunately, this didn’t work, but if I ran the same commands, it would work every time, as long as I was toggling the power profile to a different one. (4 and 5 worked the best for me, but I think 3 might be good enough too).

At the end of the day, I ended up modifying the app launcher for youtube-music to run a script when it starts that would sleep for 1 second, set pp to 3, then sleep for 2 seconds and set pp to 5, and also set the gpumemclprofile to 5

As crazy as that sounds that is how I had to fix it. Still not sure if the issue overall is introduced by my riser card or just a problem with AMDs HDMI audio drivers on linux.

Yes, I checked the soundbar for optic ports etc and couldn’t find any. I also haven’t gotten my onboard Bluetooth to work yet, which would be a possibility for the soundbar.