Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ubuntu High Quality Sound - Updated for Ubuntu 20.04
It seems that the audio can be in a broken state if one is using dual boot with Windows and somehow Windows has changed the power
state of the audio card causing the audio issues, even after all the configuration done in Linux. Solution is if it break after
booting to Windows and back to Ubuntu, is shutting down the computer, reboot doesn't work.
#########################################
@ /etc/pulse/daemon.conf
default-sample-format = s24le
default-sample-rate = 48000
alternate-sample-rate = 44100
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 2
default-fragment-size-msec = 125
resample-method = speex-float-10
remixing-produce-lfe = no
remixing-consume-lfe = no
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 9
rlimit-rtprio = 9
daemonize = no
avoid-resampling = true
#######################################
@ /etc/asound.conf
pcm.!default {
type plug
slave.pcm hw
}
#######################################
@ /etc/modprobe.d/alsa-base.conf
options snd-hda-intel power_save=0 power_save_controller=N snoop=0
@logecolib
Copy link

logecolib commented Apr 14, 2022

run changes with:

pulseaudio -k && sudo alsa force-reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment