** Description changed:

  [Impact]
- On the LENOVO AMD renoir machines, there is a digital mic directly connected
- to the APU instead of the codec, so there are two separate sound cards in the
- system, one is for analogue codec driven by hda driver, the other is for the
- dmic driven by ASoC acp driver.
+ On the LENOVO AMD renoir machines, there is a digital mic directly
+ connected to the APU instead of the codec, so there are two separate
+ sound cards in the system, one is for analogue codec driven by hda
+ driver, the other is for the dmic driven by ASoC acp driver.
  
  The current audio stack (pulseaudio + alsa-ucm-conf + alsa-lib) doesn't
  support this design yet, it could support all audio devices on the codec
  well, but it doesn't support that dmic well. In the gnome-control-center,
  the dmic becomes two input devices: analog input and multichannel input,
  and users can only record sound from analog input, the multichannel input
  can't function at all. Besides this issue, there is another issue, after
  users plug an external mic, the external mic can't replace the dmic
  automatically, this gives users a bad experience since this behaviour is
  different from the other audio designs.
  
  [Fix for pulseaudio]
  we need to backport 3 patches:
  2ae94c141f device-port: queue CARD CHANGE event before update default sink
  c8653c13fa alsa: adjust ucm sink/source priority according to ports priority
  A patch not merged by upstream:
  https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/305
  
  [Test Case]
  On the AMD renoir machines:
- Boot the system with these updated packages (already backported kernel drivers
- to focal and oem-5.6 kernels), open the gnome-control-center, we could see
- the digital mic in the input device tab, and only one input device. we could
- record sound through this dmic, we could play sound through the speaker, plug
- a headset, we could see the output device become headphones and the input
- device become headset mic, we could play sound to headphone and record sound
- from headset mic, plug a hdmi monitor, there is hdmi audio choice, play sound
- to hdmi audio, we could hear the sound from the speaker on the monitor. 
Suspend
- and resume, redo the previous steps, all audio devices still work well.
+ Boot the system with these updated packages (already backported kernel
+ drivers to focal and oem-5.6 kernels), open the gnome-control-center,
+ we could see the digital mic in the input device tab, and only one
+ input device. we could record sound through this dmic, we could play
+ sound through the speaker, plug a headset, we could see the output
+ device become headphones and the input device become headset mic, we
+ could play sound to headphone and record sound from headset mic, plug
+ a hdmi monitor, there is hdmi audio choice, play sound to hdmi audio,
+ we could hear the sound from the speaker on the monitor. Suspend and
+ resume, redo the previous steps, all audio devices still work well.
  
  On other machines:
- Boot the system with all updated packages or partial updated packages, check
- all input devices and output devices, they worked as the same as before. this
- SRU doesn't bring any impact on other machines.
+ Boot the system with all updated packages or partial updated packages,
+ check all input devices and output devices, they worked the same as
+ before. this SRU doesn't bring any impact on other machines.
  
  [Regression Risk]
  Low
+ For alsa-ucm-conf, this SRU adds two new folders and only minimum
+ changes on existing folders, and these changes are under control and
+ are for supporting acp driver.
+ For alsa-lib, this SRU only adds the patches to support the ucm 3, and
+ nearly all changes are in the ucm folder.
+ For pulseaudio, this SRU only integrate 3 patches, and 2 of them are
+ for auto switching, and they are small patches and already upstreamed.
+ the left patch are specific to renoir audio, it will not bring impact
+ to other machines.
+ 
+ Also, we tested these changes with below machines:
+ A LENOVO AMD renoir laptop, all audio function works and no regression
+ found
+ A DELL laptop with intel dmic, all audio function works and no
+ regression found
+ A DELL laptop with intel soundwire audio, all audio function works and
+ no regression found

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889217

Title:
  Make digital mic on the AMD renoir machines work under gnome desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1889217/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to