Page 1 of 1

Inconsistent Volume Levels on Startup

Posted: Tue Jan 13, 2026 9:13 am
by Ryder
Hi there,

I’ve been having a strange issue with Hudiy.

Roughly every 6th startup, the volume is extremely loud. Even when it’s set to 50%, it sounds more like 150% compared to normal, and it’s nearly blown my ears off a couple of times.

I’m not sure what’s causing this. Is there a script or setting that can force the digital output gain to a consistent, safe level on startup?

I currently have Hudiy set to default to 5% volume on startup to avoid this issue, but the problem is that 5% itself isn’t consistent either — sometimes it’s quiet, sometimes it’s still much louder than expected, which makes it pretty annoying to use.

Thanks in advance for any help.

Ryder

Re: Inconsistent Volume Levels on Startup

Posted: Tue Jan 13, 2026 9:25 am
by hudiy
Hello,
What version of Hudiy do you use? In 1.4/2.0 we removed setting the volume on Hudiy startup to not interfere with WirePlumber. As of mentioned versions, restoring the volume level is fully on WirePlumber.

For more consistent volume control, we recommend setting volumeSinkName to your device's sink as described in https://github.com/wiboma/hudiy/blob/ma ... n.md#sound

When volumeSinkName is not set, Hudiy will select the default one (usually hudiy_equalizer_sink).

You can also collect pactl list sinks output when issue occurs to compare which sink changed its volume and caused malfunction.

Re: Inconsistent Volume Levels on Startup

Posted: Wed Jan 14, 2026 10:04 am
by alex124.rh
I’ve had the same issue. It seems one of the main sinks gets blasted up in volume. I’m wondering if it’s late detection on the sound card front. How do i check this?

Re: Inconsistent Volume Levels on Startup

Posted: Wed Jan 14, 2026 1:17 pm
by hudiy
alex124.rh wrote: Wed Jan 14, 2026 10:04 am I’ve had the same issue. It seems one of the main sinks gets blasted up in volume. I’m wondering if it’s late detection on the sound card front. How do i check this?
In your case (CM6206 and remap sink), the issue appears to be related to: https://gitlab.freedesktop.org/pipewire ... ssues/4610.

The fix (https://gitlab.freedesktop.org/pipewire ... 17f07dea9a) has been merged into the PipeWire 1.4 branch, so it should be included in the packages shipped with Raspberry Pi OS Trixie.

Please try running sudo apt full-upgrade -y to update your system and check if the issue is resolved.

Re: Inconsistent Volume Levels on Startup

Posted: Wed Jan 14, 2026 2:05 pm
by hudiy
It looks like mentioned fix isn't included in the Trixie PipeWire version yet. However, it's a very simple change that you can apply yourself. In attachment there is a version with the mentioned fix, based on the Trixie PipeWire package sources.

To apply it, download the attachment and run the following commands (Raspberry Pi OS Trixie only):

Code: Select all

tar -xzvf libspa-audioconvert.so.tar.gz
sudo mv /usr/lib/aarch64-linux-gnu/spa-0.2/audioconvert/libspa-audioconvert.so /usr/lib/aarch64-linux-gnu/spa-0.2/audioconvert/orig.libspa-audioconvert.so
sudo cp libspa-audioconvert.so /usr/lib/aarch64-linux-gnu/spa-0.2/audioconvert/libspa-audioconvert.so
sudo reboot
Please keep in mind that this file might be overwritten, for example during an OS update or PipeWire reinstall. You may need to reapply the fix until it is finally merged into the Trixie PipeWire version.