← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2120236] Re: WirePlumber on Ubuntu 24.04 ignores all configuration overrides for AMD HDMI audio (alsa_card.pci-0000_06_00.1)

 

> A .lua script in ~/.config/wireplumber/main.lua.d/

Please can show the lua script you are trying to install? It would also
be helpful to list the commands you are running to test. I'd expect
something like,

mkdir -pv ~/.config/wireplumber/main.lua.d/
cat <<EOF>~/.config/wireplumber/main.lua.d/99-hdmi-ac3.lua
rule = {
  matches = {
    {
      { "node.name", "matches", "<your node.name>" },
    },
  },
  apply_properties = {
    ["iec958.codecs"] = "[ AC3 ]",
  },
}
table.insert(alsa_monitor.rules, rule)
EOF

Would work. If it still doesn't do anything, try stopping the user
service with `systemctl --user stop wireplumber`, and the run it
manually with with `WIREPLUMBER_DEBUG=D /usr/bin/wireplumber` &> log`.
See if there's any clues what is going wrong in the log file.

** Changed in: pipewire (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to pipewire in Ubuntu.
https://bugs.launchpad.net/bugs/2120236

Title:
  WirePlumber on Ubuntu 24.04 ignores all configuration overrides for
  AMD HDMI audio (alsa_card.pci-0000_06_00.1)

Status in pipewire package in Ubuntu:
  Incomplete

Bug description:
  Hardware:
  Motherboard: Gigabyte B450M-DS3H (S/PDIF: Realtek ALC887-VD)
  Graphics Card: AMD Radeon RX 470/480/570/580/590
  Display: Vizio M556-G4 TV connected via HDMI

  Problem Summary:
  The Vizio TV provides a blank EDID, which was worked around by forcing a manual EDID file via a kernel parameter (drm.edid_firmware).
  The kernel driver is now proven to be functional for 6-channel LPCM audio via a direct speaker-test -D hw:0,9 -c 6 test.
  The TV cannot handle 6-channel LPCM from external sources, but it can handle compressed AC3 (Dolby Digital), as proven by its native apps.
  The goal is to force PipeWire to encode the HDMI audio to AC3.
  The issue is that PipeWire/WirePlumber ignores all attempts to add the iec958.codecs = [ "AC3" ] property. I have tried user-level .lua scripts, system-level .conf overrides in /etc/pipewire, and system-level .conf overrides in /etc/wireplumber. In every case, wpctl inspect says that the property is not being applied or updated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/2120236/+subscriptions



References