View previous topic :: View next topic |
Author |
Message |
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 137
|
Posted: Fri Nov 10, 2023 11:51 am Post subject: No sound after reboot: output device not set automatically |
|
|
I do have sound about 9 out of 10 times after reboot. Occasionally, though, I have to manually set the output device through GNOME applet, to bring the sound back. The applet gives two choices:
Quote: | Sound Output
Digital output (S/PDIF) - Built-in Audio
Speakers - Built-in Audio | Selecting "Speakers - Built-in Audio" does the trick. Since the erroneous behavior doesn't take place regularly, the problem must be caused by a race condition somewhere. How do I solve this?
In my /etc/pulse/client.conf, I have
Many thanks.
PS: I don't recall having this sound-related issue on my Debian box. |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 265
|
Posted: Fri Nov 10, 2023 5:19 pm Post subject: |
|
|
Check if you are actually using pulseaudio daemon, see 'Server Version' in 'pactl info' output.
Ususally card profile is restored by pulseaudio daemon automatically. This works even if you have automatic output switching to ports becoming available (e.g. if you plug something in, it would try switching to that port.)
This works while daemon starts too, because if you do nothing your ports are not changing and you get your remembered profile working.
But seldom alsa layer may delay indication of ports becoming avialable (e.g. if there is a delay in kernel driver probe routine) which can cause card profile change without any action from your side. In this case you can do two things with pulseaudio daemon: disable automatic switching, or lock card profile to the one you want (see Configuration tab in pavucontrol, there is a lock icon to the right of profile name.) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|