18
submitted 1 week ago by yuman@programming.dev to c/linux@lemmy.ml

so I create a combined sink from two audio devices, my HDMI (DP actually) monitor with OK speakers and the analog stereo audio out, which got a subwoofer attached, without satellites. pactl load-module module-combine-sink, this works swimmingly, sound is awesome, I can set exact audio levels for each output, no notes.

problem is, I'm listening to an internet audio stream via Rhythmbox (tried mp3s off a network share, same deal) and when there's heavy CPU activity, the sound slows down, goes oooOOooOooOOoo like if you remember audio tapes from the olden days that got stretched/deformed. this only happens with the combined sink, if it's just HDMI audio, no issues.

used to happen infrequently, only when launching games or android studio doing compiling but nowadays with every other site having some cloudflare/anubis-like CPU torture, it's getting really tired, really fast.

tried looking at htop, pw-top, following the journal but nothing of substance is observable; possibly because this lasts for a second or so and those tools ain't exactly real-time.

maybe the issue is the devices being 48 KHz whilst the stream is 44.1 and there's some resampling happening? tried looking at pipewire/wireplumber documentation but that stuff is way above my head; "quantums", wtf?!

so is there some priority I can elevate or something so that this audio stack doesn't get compromised? I don't wanna give up the setup nor Rhythmbox.

Fedora, Plasma, Wayland, i5-4670, RX 580.

you are viewing a single comment's thread
view the rest of the comments
[-] yuman@programming.dev 4 points 1 week ago

first of all, you're awesome, that's some excellent writeup, may your pillow always be cool. second - it worked! well, I just opened a coupla torture sites but zero stutters, pitch shifts, everything is smooth.

for posterity, that stuff goes in ~/.config/pipewire/pipewire.conf.d/99-the-quantum.conf

this post was submitted on 11 Nov 2026
18 points (95.0% liked)

Linux

68877 readers
609 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS