Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79176 - [mpv] Failed to initialize audio driver 'pipewire'

Attached to Project: Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Sunday, 23 July 2023, 09:23 GMT
Last edited by Robin Candau (Antiz) - Sunday, 23 July 2023, 13:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Robin Candau (Antiz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Recent pipewire update to v0.3.75 broke mpv:

```
$ mpv -ao pipewire video.mp4
(+) Video --vid=1 (*) (h264 640x360 29.970fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
Using hardware decoding (vaapi-copy).
[ao] Failed to initialize audio driver 'pipewire'
Could not open/initialize audio device -> no sound.
Audio: no audio
VO: [gpu-next] 640x360 nv12
V: 00:00:01 / 03:06:06 (0%) DS: 2.000/1 Cache: 2103s/150MB
```

This has been reported as [1] and [2], and got fixed in mpv as [3].

Please pick the fix.

Thanks.

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3374
[2] https://github.com/mpv-player/mpv/issues/11995
[3] https://github.com/mpv-player/mpv/pull/11996
This task depends upon

Closed by  Robin Candau (Antiz)
Sunday, 23 July 2023, 13:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in v1:0.35.1-9 --> https://gitlab.archlinux.org/archlinux/p ackaging/packages/mpv/-/commit/97bd7a742 a48a05ad3c47178027f13af08ea491a
Comment by Robin Candau (Antiz) - Sunday, 23 July 2023, 13:17 GMT
I patched the linked fix in MPV `1:0.35.1-9` (currently in [extra-testing]) --> https://gitlab.archlinux.org/archlinux/packaging/packages/mpv/-/commit/97bd7a742a48a05ad3c47178027f13af08ea491a

Please give it a test to confirm the fix :)
Comment by Robin Candau (Antiz) - Sunday, 23 July 2023, 13:19 GMT
Comment by Oleksandr Natalenko (post-factum) - Sunday, 23 July 2023, 13:24 GMT
I confirm the fix. Thanks.

Loading...