On Wed, Nov 16, 2016 at 12:58:14AM AEDT, Cristian Klein wrote: > (1) Alice listens to music on her speakers, which are connected to the > screen, which is connected through HDMI to the computer. > > (2) Alice leaves the computer, the screen gets suspended (DPMS off). > > (3) PulseAudio sees that the HDMI output got disconnected (although only > for a short interval) and switches to internal speaker.
Ok, with a fresh Xenial install, I don't seem to get this behavior. I have tested with 2 different monitors, both different brands from each other. I set the HDMI audio out as the output, start playing audio, and let the screen turn off and/or run xset dpms force off. In either case, audio stops playing, but does not switch to another device. When I press a key and the screen turns back on, the music resumes playback on the monitor's speakers. I should note that I've also tested this on 3 different machines, 2 that were also connected to speakers via 3.5mm analog jack, and another via S/PDIF. Am I missing something? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1641954 Title: Output switches from HDMI speakers to internal speakers on DPMS off Status in pulseaudio package in Ubuntu: New Bug description: PulseAudio 8.0 includes a well-known user-experience regression: Its new auto-routing algorithm tries to switch to another output, as soon as the active output gets disconnected. This leads to the following bad user experience: (1) Alice listens to music on her speakers, which are connected to the screen, which is connected through HDMI to the computer. (2) Alice leaves the computer, the screen gets suspended (DPMS off). (3) PulseAudio sees that the HDMI output got disconnected (although only for a short interval) and switches to internal speaker. (4) Alice returns to the computer but finds that the music is now playing through the internal speakers. (5) Alice can switch the output to the HDMI speakers manually, but the above user experience bug will reoccur when she leaves the computer again. This is a well-known upstream bug that was fixed in PulseAudio 9.0. Due to the fact that Ubuntu 16.04.1 LTS uses PulseAudio 8.0, it is desirable to backport this fix to PulseAudio 8.0, so that all LTS users have better experience. Upstream said they would not do this and that I should report this to Ubuntu directly. Other information: * Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=93946 * Fix 1: https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=04040c522f5f62dda50ac927e92453381d419f09 * Fix 2: https://github.com/pulseaudio/pulseaudio/commit/23c15c3b52a958887c1f8cad3c94879a8770ef0e To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1641954/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp