Pulse audio does not remember default sink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It seems like pulseaudio is picking the wrong audio sink as a default in different scenarios.
On my computer I have the default onboard Intel HDA audio as well as a USB headset. On the network, there is one pulse instance advertising itself.
I always set the onboard audio as the default audio sink. However, after every reboot or resume or `pulseaudio -k`, the wrong sink is picked (and the one I set previously is *not* picked).
When I enable discovery of remote pulse instances, sometimes the one on my network is picked as default, but sometimes my headset is picked instead of the onboard sink. Then again, if I disable discovery sometimes the onboard sink gets picked as default. There seems to be no clear pattern on when it selects what.
I have even entered the following in /etc/pulse/
set-default-sink alsa_output.
set-default-source alsa_input.
But this doesn't have any effect at all.
I also noticed that *sometimes*, pulse updates the file at `~/.config/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/pcmC0D0p: devkid 3487 F...m pulseaudio
/dev/snd/
CurrentDesktop: MATE
Date: Sat May 26 17:07:55 2018
ExecutablePath: /usr/bin/pulseaudio
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/07/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V2.13
dmi.board.
dmi.board.name: Z77A-G43 (MS-7758)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7758
dmi.product.
dmi.sys.vendor: MSI
modified.
mtime.conffile.
Ubuntu is intentionally designed to automatically prefer the USB (or Bluetooth) audio over the internal audio.
It sounds like you want to disable that feature, so just remove/comment these lines from /etc/pulse/ default. pa:
### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794) switch- on-connect. so switch- on-connect
.ifexists module-
load-module module-
.endif