Sorry, I was wrong, I looked right at my configs and didn’t see it somehow But I was on the right track, yeh this is tuned. I’m seeing the same thing here. Annoying.
Did some digging and confirmed it’s definitely tuned, found it’s in the default powersave and balanced profiles, but not in the default performance profile.
/usr/lib/tuned/profiles/powersave/tuned.conf
[audio]
timeout=10
This is documented here: Chapter 1. Getting started with TuneD | Red Hat Product Documentation and here: tuned/doc/manual/modules/performance/ref_tuned-profiles-distributed-with-rhel.adoc at master · redhat-performance/tuned · GitHub
NGL, I don’t think this is a good default. It’s well known to break stuff. Still, if you want to change it, you’ll need to create a copy of your profile and then configure tuned-ppd to use it, eg if you called your new profile powersave_no_audio_pm
then you could change /etc/tuned/ppd.conf
like:
[profiles]
# PPD = TuneD
power-saver=powersave_no_audio_pm
balanced=balanced
performance=throughput-performance
It’s all pretty well documented but since I’m gonna fix this, you can copypaste * what I’m doing:
sudo mkdir -p /etc/tuned/profiles/balanced_no_audio_pm;
echo "[main]
include=balanced
[audio]
timeout=
" | sudo tee /etc/tuned/profiles/balanced_no_audio_pm/tuned.conf;
sudo mkdir -p /etc/tuned/profiles/powersave_no_audio_pm;
echo "[main]
include=powersave
[audio]
timeout=
" | sudo tee /etc/tuned/profiles/powersave_no_audio_pm/tuned.conf;
sudo sed -i -e's/^power-saver=powersave$/power-saver=powersave_no_audio_pm/' -e 's/^balanced=balanced$/balanced=balanced_no_audio_pm/' /etc/tuned/ppd.conf
* please don’t literally just copypaste this. At least, check that the files names are the same on fedora first. You’re copypasting superuser access commands from a stranger, so yaknow, don’t trust me, check me!
That’s all one big long command, btw. Copy the whole thing and paste it together.
But that works here What this does, is create two new power profiles, which include everything from the equivalent stock profiles, but remove the audio plugin timeout from them. Then, it sets tuned-ppd to use those instead of the stock ones. This way it will work in your GUI and stuff, too.
Hope that helps!