If you want the hdmi-output to be selected automatically after plugging,
you need to manually select it as output once, then pulseaudio will
remember uer's preference. Then unplug and replug the monitor, the
system will automatically switch to hdmi-output.
--
You received this bug notification
It seems that it depends on connected monitor. In my case monitor goes to power
saving mode after laptop suspend or in few minutes after system lock. So ubuntu
switches to analog device after resume/unlock.
But its not so critical, because device can be easily changed with tray icon.
And for
I did a test today, plug two monitors to Intel hdmi ports, I chose hdmi2
in the gnome-control-center, suspend and resume, the output device still
on the hdmi2, I didn't reproduce the problem.
When you have time, please collect the log according to
** Changed in: pulseaudio (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1895665
Title:
PulseAudio automatically switches from HDMI 2 after display sleep
Right. I just tested:
Selected digital device.
Selected HDMI 2 for digital device.
Disconnected HDMI 2 from laptop (digital device automatically switched to
HDMI 1, sound automatically switched to internal analog audio).
Connected HDMI 2 to laptop (digital device automatically switched to HDMI 2
-
Do you mean even did the change of #2, the output device still changes
to internal analog audio after sleep? Before sleep, you select the hdmi-
output-2 manually?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
After #2 it prefers HDMI 2 when its connected, thanks @hui.wang.
But seems that anyway it prefers internal analog audio instead of digital audio.
Will observe more to understand new behavior after reboots, suspends and locks.
--
You received this bug notification because you are a member of
Please try editing /etc/pulse/default.pa and comment out all of this:
### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available
### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists
I guess your bug is similar to this one:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598
Could you please do a test:
edit the /usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-0.conf and
hdmi-output-1.conf, change the priority in 0.conf to 58 and change the
priority in 1.conf