Public bug reported:

[ Impact ]

Pipewire is failing on Qualcomm IQ8 running resolute due to invalid
capture channel config, resulting reporting a dummy output.

D 18:44:40.991490 spa.alsa ../spa/plugins/alsa/acp/alsa-
util.c:299:pa_alsa_set_hw_params: snd_pcm_hw_params_set_channels(1)
failed: Invalid argument

ubuntu@ubuntu:~$ wpctl status
PipeWire 'pipewire-0' [1.6.2, ubuntu@ubuntu, cookie:231695144]
└─ Clients:
33. WirePlumber                         [1.6.2, ubuntu@ubuntu, pid:2392]
37. pipewire                            [1.6.2, ubuntu@ubuntu, pid:2395]
40. WirePlumber [export]                [1.6.2, ubuntu@ubuntu, pid:2392]
80. wpctl                               [1.6.2, ubuntu@ubuntu, pid:2985]
Audio
├─ Devices:
│      48. Built-in Audio                      [alsa]
│
├─ Sinks:
│  *   38. Dummy Output                        [vol: 1.00]
│
├─ Sources:
│


This means the audio is broken on Qualcomm IQ8 EVK.

The fix for it is available in 1.2.16.

Upstream fix:
https://github.com/alsa-project/alsa-ucm-conf/commit/5c7b40c96b6cefd4d1d545d89b6d030248f0bb1c.patch

[ Test Plan ]

Play/Record audio using pipewire.

Without the fix:

ubuntu@ubuntu:~$ wpctl status
PipeWire 'pipewire-0' [1.6.2, ubuntu@ubuntu, cookie:231695144]
└─ Clients:
33. WirePlumber                         [1.6.2, ubuntu@ubuntu, pid:2392]
37. pipewire                            [1.6.2, ubuntu@ubuntu, pid:2395]
40. WirePlumber [export]                [1.6.2, ubuntu@ubuntu, pid:2392]
80. wpctl                               [1.6.2, ubuntu@ubuntu, pid:2985]
Audio
├─ Devices:
│      48. Built-in Audio                      [alsa]
│
├─ Sinks:
│  *   38. Dummy Output                        [vol: 1.00]
│
├─ Sources:
│


With the fix: 

ubuntu@ubuntu:~$ wpctl status
PipeWire 'pipewire-0' [1.6.2, ubuntu@ubuntu, cookie:4026247188]
└─ Clients:
33. WirePlumber                         [1.6.2, ubuntu@ubuntu, pid:2258]
38. WirePlumber [export]                [1.6.2, ubuntu@ubuntu, pid:2258]
39. pipewire                            [1.6.2, ubuntu@ubuntu, pid:2261]
83. wpctl                               [1.6.2, ubuntu@ubuntu, pid:2561]
Audio
├─ Devices:
│      48. Built-in Audio                      [alsa]
│
├─ Sinks:
│  *   80. Built-in Audio Speaker playback     [vol: 0.40]
│
├─ Sources:
│  *   81. Built-in Audio Mic                  [vol: 1.00]
│
├─ Filters:
│

[ Where problems could occur ]

Since it is a small change in ucm conf affecting only the target
devices, the surface is much smaller. As the audio is already broken, I
don't see any major issues with this patch.

[ Other Info ]

v1.2.16 is already in ubuntu/devel

** Affects: alsa-ucm-conf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fixed-upstream

** Summary changed:

- [SRU] Remove Fixed channel setting for monaco-evk
+ [SRU] Remove Fixed channel setting for Qualcomm monaco-evk

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

Title:
  [SRU] Remove Fixed channel setting for Qualcomm monaco-evk

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to