Created
June 3, 2022 08:56
-
-
Save theodric/c782c43b1f7cab2c4e3f66c4f426a3f8 to your computer and use it in GitHub Desktop.
FIX: Can't play audio without replugging audio device/toggling output - Linux + pulseaudio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: on reboot, unable to play audio (or videos with audio!) without first re-plugging audio jack or toggling output control | |
Cause: all audio sinks are in state 'SUSPENDED' on boot | |
Confirm by running 'pactl list short sinks | grep -i susp' | |
Workaround: | |
edit /etc/pulse/default.pa | |
comment out 'load-module module-suspend-on-idle' | |
reboot | |
re-run 'pactl list short sinks' and confirm the sinks that were previously 'SUSPENDED' are now 'IDLE' | |
check if audio works without replugging device or toggling output | |
If yes, you are done. | |
Platform: | |
Arch | |
Linux 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64 GNU/Linux | |
Ryzen 5700G | |
Biostar B550T-Silver | |
Onboard audio + USB PCM2704C DAC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment