[Bug 1938747] Re: [SRU] can't adjust output volume through volume-slider after changing output-device

Hui Wang 1938747 at bugs.launchpad.net
Tue Aug 3 09:16:33 UTC 2021


** Description changed:

- This bug is for tracking purpose.
+ [Impact]
+ On the machine with the legacy HDA audio driver, suppose the current output device is Speaker, users plug a HDMI monitor and select the HDMI audio as the current output device in the g-c-c, after that the output volume can't be adjusted through the volume-slider in the g-c-c. The UI of the volume-slider could be changed, but the output volume doesn't change.
+ 
+ [Fix]
+ Backport 1 upstream commit 0f18a662be6ee0d225249d1ad003dfef69294449. The root cause of this issue is the stream is not got when changing the output-device, the patch adds the getting stream in the update_sink callback, this could fix this bug.
+ 
+ [Test]
+ run the patches g-c-c, plug a hdmi monitor, select the HDMI audio from g-c-c, then change the output volume via volume-slider, play music, the sound could be changed with the adjustment with the volume-slider.
+ 
+ [Where problems will occur]
+ This patch brings the change to the output and input volume adjustment in the cc-sound-panel, this could make the output/input volume changing not work anymore, for example, the internal speaker or internal mic work well, after plugging a headset, the output device changes to headphone, the intput device changes to Mic, then the volume adjustment doesn't work on headphone and Mic anymore. But this possibility is very low since I tested the patch on different Lenovo and Dell machines, no regression found so far.

-- 
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/1938747

Title:
  [SRU] can't adjust output volume through volume-slider after changing
  output-device

Status in HWE Next:
  New
Status in gnome-control-center package in Ubuntu:
  In Progress
Status in gnome-control-center source package in Focal:
  In Progress
Status in gnome-control-center source package in Hirsute:
  In Progress
Status in gnome-control-center source package in Impish:
  In Progress

Bug description:
  [Impact]
  On the machine with the legacy HDA audio driver, suppose the current output device is Speaker, users plug a HDMI monitor and select the HDMI audio as the current output device in the g-c-c, after that the output volume can't be adjusted through the volume-slider in the g-c-c. The UI of the volume-slider could be changed, but the output volume doesn't change.

  [Fix]
  Backport 1 upstream commit 0f18a662be6ee0d225249d1ad003dfef69294449. The root cause of this issue is the stream is not got when changing the output-device, the patch adds the getting stream in the update_sink callback, this could fix this bug.

  [Test]
  run the patches g-c-c, plug a hdmi monitor, select the HDMI audio from g-c-c, then change the output volume via volume-slider, play music, the sound could be changed with the adjustment with the volume-slider.

  [Where problems will occur]
  This patch brings the change to the output and input volume adjustment in the cc-sound-panel, this could make the output/input volume changing not work anymore, for example, the internal speaker or internal mic work well, after plugging a headset, the output device changes to headphone, the intput device changes to Mic, then the volume adjustment doesn't work on headphone and Mic anymore. But this possibility is very low since I tested the patch on different Lenovo and Dell machines, no regression found so far.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1938747/+subscriptions




More information about the Ubuntu-sponsors mailing list