mpv icon indicating copy to clipboard operation
mpv copied to clipboard

[cosmetic] warning if pipewire not active

Open pirate486743186 opened this issue 1 year ago • 6 comments

Important Information

It throws a warning about pipewire. I don't see this been mentioned anywhere. Even if already fixed, it will be documented in the issues. There's already an other pointless warning from ffmpeg about embedded images, these start to add up.

Provide following Information:

  • mpv version 35.1
  • Debian 12
  • distro package

Reproduction steps

I think it's when it's compiled with both pipewire and pulseaudio, but pipewire is not active.

Expected behavior

it shouldn't say anything. It should gracefully determine that pipewire is not there.

Actual behavior

I think this happens because the conf doesn't exist and the devs missed this case.

[W][00355.592783] pw.conf      | [          conf.c:  939 try_load_conf()] can't load config client.conf: No such file or directory
[E][00355.593459] pw.conf      | [          conf.c:  963 pw_conf_load_conf_for_context()] can't load default config client.conf: No such file or directory

pirate486743186 avatar Jun 14 '23 20:06 pirate486743186

The problem is less that pipewire is not running but more that the client config is not installed. I'm not sure if there is a way for mpv to avoid this warning or if it's even valid to install libpipewire without the client configs.

t-8ch avatar Jun 14 '23 20:06 t-8ch

I asked the PipeWire devs: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3296

t-8ch avatar Jun 17 '23 13:06 t-8ch

you can make it go away with --ao=pulse or --ao=alsa More details with -audio-device=help

pirate486743186 avatar Jul 24 '23 16:07 pirate486743186

Ah, the damn thing is still an issue....it garbled the sound ....heck

I have wiped off pipewire and installed pulseaudio and it is still a problem.

Any clue? @Dudemanguy @pirate486743186

Debian 12.5

unixbhaskar avatar Apr 24 '24 02:04 unixbhaskar

Debian 12.5

For Debian/Ubuntu, I recommend you install pipewire-audio-client-libraries, which pulls in client.conf and client-rt.conf.

$ sudo apt install pipewire-audio-client-libraries

ruihe774 avatar Apr 24 '24 03:04 ruihe774

@unixbhaskar

it garbled the sound

It would be great if you could open a bug report for that.

t-8ch avatar Apr 24 '24 05:04 t-8ch