6
  • Ubuntu 18.04.01
  • HDMI from GPU to the Asus monitor speakers (volume set to 100 within the monitor's menu)

When, for example, I start a YouTube video the video starts playing but, the audio slowly comes online. That is, it goes from zero volume and slowly progresses, fades-in, up to the volume I actually have set (about 50%). It's like there is a dial being turned.

Instead, I'd like the audio to immediately come online when I start a video at the volume I have set.

Audio works fine otherwise, it's only when it starts that it transitions in slowly. Happens every time I pause and play a video again. Audio slowly comes online.

Not sure what would cause this. I checked monitor for settings and it only has the volume. I checked Ubuntu sound settings and don't see anything there. I checked in YouTube as well Firefox settings and see nothing there either. Not sure where else to look. I also checked out alsamixer too.

1
  • Same problem here. You are not crazy! :) Did you ever find a solution? As a workaround, I found leaving pavucontrol open temporarily fixes this, presumably by keeping the relevant audio interface powered / alive. Jun 13, 2019 at 0:20

1 Answer 1

8

I think this is due to pulseaudio suspending the respective audio interface, presumably for power saving reasons.

Try editing your pulse audio config (for me /etc/pulse/default.pa) and comment out this line to disable this feature:

load-module module-suspend-on-idle

Then restart Pulseaudio:

pulseaudio -k
5
  • 1
    Thanks Dane! I just realized this only happens when using my Asus VH236h monitor speakers via HDMI. I tried your fix using headphones direct to the PC and that's when I realized the headphones were working as expected, until I switched to the HDMI and it had the same issue. It was the same with your fix or without. I suppose I'll have to search out for help for the monitor instead of something with Ubuntu instead. I'll leave this as is should others find this helpful or in case it was still related after all.
    – Natetronn
    Jun 14, 2019 at 1:24
  • Now I need to figure out if it's the Asus VH236h, the HDMI cable, or the ASUS Strix GEFORCE GTX 960 or some combination. Sound works fine, it's just a slight 5 or 10 second delay before sound comes up to volume.
    – Natetronn
    Jun 14, 2019 at 1:46
  • Thank you Dane! This was the issue I was having. May 30, 2020 at 13:51
  • Trying to solve this 2 years and 8 months later, now on Manjaro, it would appear stumbling on my own question has proven useful. This fix seems to have solved the issue with my VH236h monitor audio. Thanks again Dane!
    – Natetronn
    Oct 10, 2021 at 18:02
  • 1
    Some tips on editing the configuration files that should be considered with this answer, "It is strongly suggested not to edit system-wide configuration files, but rather edit user ones. Create the ~/.config/pulse directory, then copy the system configuration files into it and edit according to your need." wiki.archlinux.org/title/PulseAudio#Configuration_files
    – Natetronn
    Oct 10, 2021 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.