#1072645 pipewire: Apps using pipewire broken

Package:
pipewire
Source:
pipewire
Description:
audio and video processing engine multimedia server
Submitter:
Helge Kreutzmann
Date:
2024-08-04 08:45:03 UTC
Severity:
normal
#1072645#5
Date:
2024-06-05 17:43:04 UTC
From:
To:
I upgraded from stable to testing a few days ago. In stable all video
and audio applications worked as expected, e.g. vlc, mpv, cmus,
mpg123, ogg123 …

Now many apps don't. Some (like cmus) produce output, but e.g. vlc and
mpv do not. The only difference I could determine is using pipewire.
The effect is that the first video frame is shown, then the
application freezes/stops.

Examples:
helge@twentytwo:~/download/Video/View$ mpv Cher\ -\ If\ I\ Could\ Turn\ Back\ Time\ \(Official\ Video\)\ \[9n3A_-HRFfc\].webm
 (+) Video --vid=1 (*) (vp9 1920x1080 23.980fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 1920x1080 yuv420p
AV: 00:00:00 / 00:04:05 (0%) A-V: -0.078 Dropped: 1
Exiting... (Quit)

helge@twentytwo:~/download/Video/View$ LC_ALL=C vlc Cher\ -\ If\ I\ Could\ Turn\ Back\ Time\ \(Official\ Video\)\ \[9n3A_-HRFfc\].webm
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[0000563ca387e400] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[00007f4f1cc07d90] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[vp9 @ 0x7f4f1cc44ac0] Failed setup for format vdpau: hwaccel initialisation returned error.
[00007f4f1cc07d90] avcodec decoder error: existing hardware acceleration cannot be reused
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0

pavucontrol only shows a dummy output.

I tried downgrading pipewire to the stable version, but this is not
possible (maybe rebuilding works, did not try).

To get mpv to work again, I read its man page and found the following
working command line:
mpv --audio-device=alsa/plughw:CARD=Generic_1,DEV=0 Cher\ -\ If\ I\ Could\ Turn\ Back\ Time\ \(Official\ Video\)\ \[9n3A_-HRFfc\].webm

Please tell me which additional information you need to track this
down.

#1072645#10
Date:
2024-06-09 06:44:20 UTC
From:
To:
Hello,
I tried to figure out how to configure pipewire to detect my sound
devices. But I could not determine this.

apt-get install pulseaudio
fixed the sound output (this removed pipewire-pulse).

So possibly pipewire-pulse is not yet ready.

Greetings

          Helge

#1072645#15
Date:
2024-07-09 15:29:03 UTC
From:
To:
Hi,

Le mer. 5 juin 2024 à 19:45, Helge Kreutzmann <debian@helgefjell.de> a écrit :

How did you install pipewire?
Did you install pipewire-audio or wireplumber?

It seems that the pipewire's session manager (wireplumber) has
a problem or is missing.

Best regards,
Dylan

#1072645#20
Date:
2024-08-04 08:42:12 UTC
From:
To:
Hello Dylan,
excuse my late response, I was on vacation.

Am Tue, Jul 09, 2024 at 05:29:03PM +0200 schrieb Dylan Aïssi:

Not on purpose. I upgraded from bookworm and did not manually install
pipewire or wirepulumber.

Neither, I simply took what "apt-get dist-ugprade" told me.

Simply tell me what I should try, which additional output you need
etc.

(I can temprarily deinstall pulseaudio again and reinstall
pipewire-pulse).

Greetings

         Helge