[Bug 1951667] [NEW] [SRU] pulseaudio: restore hdmi audio be active output after resume
Launchpad Bug Tracker
1951667 at bugs.launchpad.net
Sat Nov 20 05:04:31 UTC 2021
You have been subscribed to a public bug by Hui Wang (hui.wang):
[Impact]
On the machines with legacy HDA audio driver, when users plug a hdmi/dp monitor, the active output device is still speaker, need users to manually select the hdmi, then the hdmi audio will be the users' preference, once it is plugged, it should become the active output automatically. But with the current PA, after reboot and suspend/resume, the hdmi can't change to be active output automatically anymore.
[Fix]
Backport an upstream fix, this will fix the issue of "preferred ports being cleaned by a mistake"
[Test]
On a machine with legacy HDA audio driver, install the patched pulseaudio, then run 'rm ~/.config/pulse/*; reboot', plug a hdmi monitor, select the hdmi audio to be active, with the hdmi monitor plugged and reboot, suspend and resume, check what is the active output, it is still the hdmi audio.
[Where problems could occur]
This patch is in the card-restore.c, if it could introduce regression, it will be on the default active input/output devices, for example, users select a input or output device to be active, after reboot, if those devices are available, they should be active, but they could be replaced by other devices if a regression is introduced. But this possibility is very low since we tested the patch on a couple of desktop and laptop machines.
** Affects: pulseaudio (Ubuntu)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: In Progress
** Affects: pulseaudio (Ubuntu Focal)
Importance: High
Status: In Progress
** Affects: pulseaudio (Ubuntu Hirsute)
Importance: High
Status: In Progress
** Affects: pulseaudio (Ubuntu Impish)
Importance: High
Status: In Progress
** Affects: pulseaudio (Ubuntu Jammy)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: In Progress
--
[SRU] pulseaudio: restore hdmi audio be active output after resume
https://bugs.launchpad.net/bugs/1951667
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list