[Bug 1951667] Re: [SRU] pulseaudio: restore hdmi audio be active output after resume
Hui Wang
1951667 at bugs.launchpad.net
Thu Nov 25 07:53:09 UTC 2021
OK, drop the hirsute then. Thanks.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1951667
Title:
[SRU] pulseaudio: restore hdmi audio be active output after resume
Status in HWE Next:
New
Status in OEM Priority Project:
New
Status in pulseaudio package in Ubuntu:
Fix Committed
Status in pulseaudio source package in Focal:
Fix Committed
Status in pulseaudio source package in Hirsute:
Won't Fix
Status in pulseaudio source package in Impish:
Fix Committed
Status in pulseaudio source package in Jammy:
Fix Committed
Bug description:
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1951667/+subscriptions
More information about the Ubuntu-sponsors
mailing list