Public bug reported:

[ Impact ]

Pipewire is failing on Qualcomm IQ9 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 IQ9 EVK.

The fix for it is available in 1.2.16.

Upstream fix:
https://github.com/alsa-project/alsa-ucm-conf/commit/ba4126955f3e145d3a70171b5e8a23aafa157052.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

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

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

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


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

Reply via email to