mpv-player / mpv-player/mpv

easyeffects causes `Could not wait for initialization: Connection timed out` when using `ao=pipewire`

Open
#11,801 4 comments 0 reactions 1 assignee View on GitHub

@t-8ch is already working on this.

Since Jun 17, 2023.

ao:pipewire os:linux
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

  • mpv version
    mpv 0.35.0-445-g650c53df50 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
     built on UNKNOWN
    libplacebo version: v5.264.0-296-g3df4e60d
    FFmpeg version: N-111095-g16fdb48e0d
    FFmpeg library versions:
       libavutil       58.13.101
       libavcodec      60.20.100
       libavformat     60.7.100
       libswscale      7.3.100
       libavfilter     9.8.102
       libswresample   4.11.100
    
  • Source of the mpv binary
    AUR/mpv-full-git
  • If known which version of mpv introduced the problem
    After release 0.35.1
  • Window Manager and version
    KDE Plasma 5.27.5
  • GPU driver and version
    NVIDIA 535.54.03
    mesa-git 23.2.0_devel.172839.13df91d7d7d.d41d8cd98f00b204e9800998ecf8427e-1
  • pipewire 0.3.71
  • wireplumber 0.4.14
Reproduction steps

enable easyeffects and play any audio with --ao=pipewire

Log file

mpv 0.35.1 in archlinux repo

[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 0.3.70
[ao/pipewire] Library version: 0.3.71
[ao/pipewire] Core user: brainos
[ao/pipewire] Core host: Brainos-LAPTOP
[ao/pipewire] Core version: 0.3.71
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] device buffer: 960 samples.
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp

mpv 0.35.0-445-g650c53df50

[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 0.3.71
[ao/pipewire] Library version: 0.3.71
[ao/pipewire] Core user: brainos
[ao/pipewire] Core host: Brainos-LAPTOP
[ao/pipewire] Core version: 0.3.71
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] Could not wait for initialization: Connection timed out
[ao/pipewire] device buffer: 960 samples.
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp

`[ao/pipewire] Could not wait for initialization: Connection timed out' only appears when easyeffects is enabled, but not when adding mpv to easyeffects' block list.

There are graph pipewire connections listed by qpwgraph.

mpv 0.35.0-445-g650c53df50, enable easyeffects
Screenshot_20230617_171907
mpv 0.35.0-445-g650c53df50, block mpv in easyeffects
Screenshot_20230617_172327
mpv 0.35.1 in archlinux repo, enable easyeffects
Screenshot_20230617_172938
mpv 0.35.1 in archlinux repo, block mpv in easyeffects
Screenshot_20230617_173010

And there's another problem, in mpv release 0.35.1, qpwgraph shows the media name and no need to restart. But git version will show as audio-src, media name will be shown only if qpwgraph is restarted.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.