You are not logged in.

#1 2022-11-18 12:38:00

MicTarHal
Member
Registered: 2022-06-01
Posts: 3

Video playback broken when using pipewire

Hello, after installing pipewire following wiki video playback freezes. Audio works fine, I have not noticed any issues.

Video in chrome works for a few seconds and then freezes. When I mute the audio, video fast-forwards to the playback position and works without problems.
In MPV, there is first frame and sound only. When seeking, the frame refreshes, but remains frozen. Muting trick does not work here.

Basically the same issue as mentioned here.
The difference is environment. I do not have zeroconf, nor do I have any custom environment variables set up for any audio.

I'm on wayland using sway. Which means I run chrome as: google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland

pacman -Qs pipew
local/lib32-pipewire 1:0.3.60-3
    Low-latency audio/video router and processor - 32-bit client library
local/pipewire 1:0.3.60-3
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.60-3
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:0.3.60-3
    Low-latency audio/video router and processor - Audio support
local/pipewire-pulse 1:0.3.60-3
    Low-latency audio/video router and processor - PulseAudio replacement
local/qpwgraph 0.3.6-1
    PipeWire Graph Qt GUI Interface
local/wireplumber 0.4.12-1
    Session / policy manager implementation for PipeWire

The problem disappears when I go back to pulseaudio. I have no idea how exactly the multimedia stack works, but I suspect it's some kind of timing synchronization issue in pipewire.

If anyone else solved this problem, please point me to solution. I'm also not sure if this is some issue in my environment, some missing variable, or package, or if it's bug in pipewire.
Should I open an issue there?

Last edited by MicTarHal (2022-11-18 12:40:46)

Offline

#2 2022-11-18 14:29:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Video playback broken when using pipewire

All of this works fine here, post

systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
pactl list cards
pactl list sinks
sudo fuser -v /dev/snd/*

during reproduction

Last edited by V1del (2022-11-18 14:32:13)

Offline

Board footer

Powered by FluxBB