fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
123 stars 3 forks source link

flatpak mpv pipewire no sound #570

Open fastrizwaan opened 4 months ago

fastrizwaan commented 4 months ago

silverblue 40 x86_64 workstation.

flatpak run io.mpv.Mpv -ao=pipewire VIDEO.mp4 fails to play audio. flatpak run io.mpv.Mpv -ao=pulse VIDEO.mp4 works with pulseaudio

Though pipewire with flatpak works with ● fedora:fedora/40/x86_64/silverblue Version: 40.20240522.0 (2024-05-22T00:58:59Z) BaseCommit: f4e339b385beb28685580790296a05876b04c8dfde93f563531f508c7a0e861e GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC LayeredPackages: akmod-nvidia bluez-tools cheese ddcutil encfs file-roller flatpak-builder gedit gnome-tweaks lzip speech-dispatcher-utils touchegg unrar xorg-x11-drv-nvidia-cuda Pinned: yes

also pipewire with flatpak works with fedora/39/x86_64/silverblue.

how to reproduce:

rpm-ostree update 
systemctl reboot
flatpak install mpv (either from flathub or fedora remote)
flatpak run io.mpv.Mpv -ao=pipewire VIDEO.mp4

video plays but no audio. using pulse can be a workaround for flatpak mpv.

Also I tried removing flatpak fedora remote and using only flathub https://discussion.fedoraproject.org/t/tutorial-how-to-replace-the-fedora-flatpak-repo-with-flathub/44320

but without fedora flatpak, silverblue 39 plays audio with pipewire.

travier commented 4 months ago

This is either an issue in flatpak or in mpv. Likely best to report it upstream to mpv as a first step.

fastrizwaan commented 4 months ago

the same mpv flatpak works with pipewire f39 silverblue.