4

I'm using audio output over HDMI from my video card (Radeon HD-4650 RV730) to an AVR.

When there is no audio output it seems that the system turns off the audio and my receiver shows no audio input. Then, when audio starts, it takes a second or two for the signal to be recognized by my receiver, so I loose the start of the audio, or don't hear short sounds at all. I'd like to keep this connection "on" or "alive" even when no audio is playing so I don't have to wait for my receiver to switch over.

I believe this is an "idle" setting somewhere, but I'm not sure at what level it is happening. I'm a little fuzzy on how driver/pulseaudio/alsamixer all work together and at what level this can be solved. Rather than poking around and messing something up, I'd appreciate some guidance. Any explanations of commands would be greatly appreciated as I am new to Linux and trying to learn as much as I can.

2 Answers 2

6

I've been struggling with the same problem & found no solution on the web (in hindsight I was using incorrect / too vague search terms). But I finally figured it out so here it is, hoping this helps others.

Edit /etc/pulse/default.pa and comment the following line:

load-module module-suspend-on-idle

which becomes:

# load-module module-suspend-on-idle

Then restart the sound server.

2
  • This also fixed an issue with my Panasonic LCD display producing full volume static/white noise when powered up while the attached mini PC was already powered. Every time the display was powered on, the noise would be present until a system noise or video was played. The PC is running Ubuntu 21.10, 5.13.0-30, GNOME. It default boots to Kodi fullscreen so assumed this was a Kodi keepalive issue, but noise present when switching on to desktop only. Looks like pulseaudio sending the device to idle on power off and either the video card or display creating noise while idle. Mar 7, 2022 at 18:09
  • On my system (Manjaro) there was another config where I had to remove the load-module line in ~/.config/pulse/default.pa
    – Birkenstab
    Mar 9, 2023 at 9:07
3

Same thing happened to me, thanks to Nvidia's driver changes. To stop PulseAudio from suspending a sink when idle we may comment out (by adding #) the following line in our default.pa (located in /etc/pulse/, or in ~/.pulse) to look like follows:

# load-module module-suspend-on-idle

Restart the PulseAudio server to take effect (by running pulseaudio -k in a terminal)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .