#1055825 pipewire v0.3.84 breaks HDMI audio

Package:
pipewire
Source:
pipewire
Description:
audio and video processing engine multimedia server
Submitter:
Ian Bruce
Date:
2023-11-22 06:51:03 UTC
Severity:
normal
#1055825#5
Date:
2023-11-12 06:04:49 UTC
From:
To:
hardware:

# lspci | grep -i -e audio -e vga
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA) (rev 40)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio
[Radeon HD 7870 XT / 7950/7970]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]

analog speakers connected to 3.5mm audio jack on AMD-chipset motherboard

1920*1080 LCD monitor connected to DVI-D interface on R9-280 video card
1920*1080 LCD TV connected to HDMI interface on R9-280 video card


Until pipewire v0.3.83, I had some mixture of pipewire and pulseaudio
installed;
it was then possible to switch the output of a playing audio stream between the
external speakers and the TV, with the "pavucontrol" utility.

pipewire v0.3.84 broke that. It forced the removal of pulseaudio (except some
libraries),
and disabled HDMI audio completely. HDMI output can still be selected in
"pavucontrol",
and the amplitude indicator wiggles appropriately, but absolutely nothing comes
out of the
TV speakers. Switching the stream back to the analog speakers works properly;
switching
to HDMI produces silence.

I have now downgraded pipewire to v0.3.65/stable, and everything works properly
again.
A playing stream can be switched back and forth repeatedly between speakers and
TV,
with no problems. pipewire v0.3.83 is no longer available in the archive for
testing,
but something between v0.3.65 and v0.3.84 broke HDMI audio completely, at least
with this
hardware configuration, which doesn't seem particularly unusual.

Here are the relevant package versions (for working configuration);
everything else, including Linux kernel, is current Debian-testing.


# dpkg -l | grep pulse
ii  gstreamer1.0-pulseaudio:amd64    1.22.6-1+b1               amd64
GStreamer plugin for PulseAudio (transitional package)
ii  libpulse-mainloop-glib0:amd64    16.1+dfsg1-2+b1           amd64
PulseAudio client libraries (glib support)
ii  libpulse0:amd64                  16.1+dfsg1-2+b1           amd64
PulseAudio client libraries
ii  libsox-fmt-pulse:amd64           14.4.2+git20190427-3.5    amd64    SoX
PulseAudio format I/O library
ii  pipewire-pulse                   0.3.65-3                  amd64
PipeWire PulseAudio daemon
ii  xfce4-pulseaudio-plugin:amd64    0.4.8-1                   amd64    Xfce4
panel plugin to control pulseaudio

# dpkg -l | grep pipewire
ii  libpipewire-0.3-0:amd64          0.3.65-3    amd64    libraries for the
PipeWire multimedia server
ii  libpipewire-0.3-common           0.3.65-3    all      libraries for the
PipeWire multimedia server - common files
ii  libpipewire-0.3-modules:amd64    0.3.65-3    amd64    libraries for the
PipeWire multimedia server - modules
ii  pipewire:amd64                   0.3.65-3    amd64    audio and video
processing engine multimedia server
ii  pipewire-alsa:amd64              0.3.65-3    amd64    PipeWire ALSA plugin
ii  pipewire-audio                   0.3.65-3    all      recommended set of
PipeWire packages for a standard audio desktop use
ii  pipewire-bin                     0.3.65-3    amd64    PipeWire multimedia
server - programs
ii  pipewire-pulse                   0.3.65-3    amd64    PipeWire PulseAudio
daemon

#1055825#10
Date:
2023-11-20 11:20:31 UTC
From:
To:
Le dim. 12 nov. 2023 à 07:15, Ian Bruce <ian_bruce@mail.ru> a écrit :

There was no change in the packaging of pw 0.3.84 forcing the removal
of pulseaudio.

No issue here with pw 0.3.85 to switch between laptop speakers and
hdmi speakers.

If you want to test other versions, you can find all previous packages at
https://snapshot.debian.org/package/pipewire/

Best,
Dylan

#1055825#15
Date:
2023-11-22 06:29:25 UTC
From:
To:
< bob.dybian@gmail.com > wrote:
 
 
# apt-get install pipewire-audio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  pipewire-alsa
The following packages will be REMOVED:      <<<<<<======
  pulseaudio*
The following NEW packages will be installed:
  pipewire-alsa pipewire-audio
0 upgraded, 2 newly installed, 1 to remove and 4 not upgraded.
Need to get 0 B/74.4 kB of archives.
After this operation, 6378 kB disk space will be freed.
Do you want to continue? [Y/n] 
 
There certainly seems to be some conflict between them, as above.
 
 
It appears that I may have mis-characterized the problem.
 
Now testing with pipewire v0.3.85 — if the TV is on BEFORE the desktop session starts,
then HDMI audio works, and "pavucontrol" can be used to switch an audio stream back and forth
between analog speakers and HDMI.
 
However, if the TV is turned on AFTER the desktop session starts, "pavucontrol" still finds
the HDMI device, and will offer to switch the stream to it, but nothing comes out of the TV speakers.
 
There are new problems with pipewire v0.3.85 — the "pavucontrol" UI is extremely sluggish,
for some reason, and the amplitude indicator is either nonfunctional, or sometimes does not
appear at all.