wireplumber icon indicating copy to clipboard operation
wireplumber copied to clipboard

[alsa-monitor] "Failed to create 'api.alsa.acp.device' device" — ACP6x card exposes no input node (Ubuntu 26.04, WirePlumber 0.5.x, PipeWire 1.6.2)

Open GiftedScout opened this issue 2 months ago • 1 comments

Summary

On AMD ACP6x (Ryzen) onboard microphone, WirePlumber fails to instantiate the ACP device factory, so the card produces no input node in wpctl. The ALSA kernel layer is fully functional (arecord captures full-amplitude audio), and the ACP node actually exists at the PipeWire layer (pw-record can capture from it directly) — only the WirePlumber ACP device factory is broken.

Environment

  • OS: Ubuntu 26.04.1, kernel 7.0.0-31-generic
  • PipeWire: 1.6.2-1ubuntu1.1
  • WirePlumber: 0.5.13
  • Hardware: AMD ACP6x onboard mic (lspci 06:00.5 ... AMD ACP6x, bound to snd_pci_acp6x)
  • Also: NVIDIA 580 + AMD iGPU hybrid

Reproduction

  1. Boot, PipeWire + WirePlumber start normally.
  2. journalctl --user -u wireplumber shows:
    wp-device: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
    s-monitors: Failed to create 'api.alsa.acp.device' device
    wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
    
  3. wpctl status → the ACP6x card has no Source node (only HDA cards show mics).
  4. GNOME Settings → Sound → no ACP6x microphone listed.

Key evidence (ruled out common causes)

  • ALSA layer OK: arecord -D plughw:3,0 -r 48000 -c 2 -f S16_LE out.wav captures real audio (peak 32768 = full scale, not silence).
  • Factory string present in the .so (NOT stripped from build): strings /usr/lib/x86_64-linux-gnu/spa-0.2/alsa/libspa-alsa.so | grep acp.device → api.alsa.acp.device (1 occurrence); all api.acp.* prop names present.
  • No missing deps: ldd libspa-alsa.so → all resolved, nm -D → 0 undefined acp symbols.
  • ACP node exists at PW layer: pw-cli list-objects shows object.path = "alsa:acp:Generic_1:2:capture" (factory.id 19), and pw-record --target=<id> captures 950KB valid audio (4.9s, peak 991).
  • Same failure pattern for the libcamera SPA plugin (api.libcamera.enum.manager "could not be loaded") → suggests a SPA plugin/handle registration problem, not ACP-specific.

Things already tried (all failed)

  • WirePlumber monitor.alsa.rules with api.alsa.use-acp = false (both matched and global ~.*) — no effect; alsa.lua hardcodes use-acp = true which overrides it.
  • libpipewire-module-adapter + factory.name = api.alsa.pcm.source to build an independent source from hw:3,0 — module loads silently, produces no node, no log.
  • Checked for missing packages (alsa-card-profiles, cma-firmware, etc.) — no clear missing dependency that would explain the factory failing to load.

Questions

  1. Why does api.alsa.acp.device fail to instantiate in this build when the symbol string is present and there are no missing dynamic dependencies?
  2. Is ACP support conditionally compiled / disabled in the Ubuntu 1.6.2 package? Which build flag or package controls it, and how to enable it?
  3. Is there a supported way to make an ACP card fall back to api.alsa.pcm.card when the ACP factory fails (so the mic at least works via plain PCM)?

GiftedScout avatar Sep 15 '26 03:09 GiftedScout

The official repository for the project is at https://gitlab.freedesktop.org/pipewire/wireplumber/

ford-prefect avatar Sep 21 '26 15:09 ford-prefect