Odd behaviour launching mpv flatpak from a shell script

Since I switched to an Sway Atomic I’ve launched mpv from a shell script, so I don’t need to type as much from my terminal. The script looks like this:

#!/bin/sh
flatpak run io.mpv.Mpv "$@"

Pretty boring, always worked, meant I could type mpv videos/cat.mp4 and all was well. This worked flawlessly since Fedora 42 until my most recent rpm-ostree update (from 44.20260815.0 to 44.20261023.0.

However now the behaviour has changed. It still loads videos, but the terminal launching it becomes unresponsive, i.e. pressing space in it doesn’t pause the video, and once the video closes the terminal hangs on Exiting... (Quit) until I kill the script. This also means playing audio using mpv I can no longer seek or anything.

Weird thing is that it works fine as before if I launch it directly from the terminal like flatpak run io.mpv.Mpv videos/cat.mp4. And rolling back to 44.20260815.0 does fix it, so it is definitely something in fedora rather than the mpv flatpak.

I’d submit a bug report, but I don’t have any idea what software to even put it against. foot, maybe? bash? flatpak?

Any suggestions for debugging it?

Kind of. :wink:

flatpak run io.mpv.Mpv --msg-level=all=trace http://bigrradio.cdnstream1.com/5171_128


I think you can also save it as a text file:

flatpak run io.mpv.Mpv -v --log-file=~/mpv-debug.log http://bigrradio.cdnstream1.com/5171_128

This seems to work on my end:

flatpak run io.mpv.Mpv --"$@"

Thanks Rick.

I tried those suggestions, the logs don’t show anything when I type something in the terminal when something is playing (or after); seemingly the input is never passed through to it.

I should note that I am pretty sure this is not mpv specific, as the same version works fine on my previous fedora snapshot (still F44), but not the latest one.

This seems to work on my end:

Is that running the command through a script, though? Like I said, if I run the command directly in a foot terminal, all is fine.

Starting to sound like flatpak runtime issues:
Please add this:

flatpak run io.mpv.Mpv --version

mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.360.1
FFmpeg version: 8.0.1 (runtime 8.1.3)
FFmpeg library versions:
   libavcodec      62.11.100 (runtime 62.28.103)
   libavdevice     62.1.100 (runtime 62.3.103)
   libavfilter     11.4.100 (runtime 11.14.103)
   libavformat     62.3.100 (runtime 62.12.103)
   libavutil       60.8.100 (runtime 60.26.103)
   libswresample   6.1.100 (runtime 6.3.103)
   libswscale      9.1.100 (runtime 9.5.103)

Also this:

echo $PATH | tr ':' '\n' | grep local/bin

Also :slight_smile:

flatpak update

I created your script let me look at it BRB.

With your script I can indeed recreate your fiindings.

Thanks Rick, good to know you can reproduce it!

For the record, I’ll add the output of those commands you suggested here:

flatpak run io.mpv.Mpv --version
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.360.1 (v7.360.1)
FFmpeg version: n9.0.1
FFmpeg library versions:
   libavcodec      63.1.101
   libavdevice     63.1.101
   libavfilter     12.1.101
   libavformat     63.1.101
   libavutil       61.1.101
   libswresample   7.1.101
   libswscale      10.1.101
echo $PATH | tr ':' '\n' | grep local/bin
/home/nick/.local/bin
/usr/local/bin

There’s nothing very exotic about my system. No package layering.

I was hoping to do a rpm-ostree bisect but just realised that isn’t actually a thing that exists. Well, there is a script on github called that, but it’s 6 years old and it’s not clear to me if it would actually do what I wanted.

I did make a diff of what changed between the working version and the broken one, but unfortunately it’s ~2 months, so the answer is “quite a lot”. Still, it shows that neither foot nor bash were updated, whereas flatpak was, so at least that narrows things down a little from my original suspect list. Here’s the diff, fwiw (from=working, to=broken):

ostree diff commit from: 13d7b98739f43bf97552c89ec3d32bccdabd2879a1f375de00aa3ed088bd8b76
ostree diff commit to:   d2b658574755c370ec01b04d43e61e457f42e4a4831db7ef99302fe55742c5d5
Upgraded:
  7zip 26.02-1.fc44 -> 26.04-1.fc44
  ImageMagick 1:7.1.2.27-1.fc44 -> 1:7.1.2.34-1.fc44
  ImageMagick-libs 1:7.1.2.27-1.fc44 -> 1:7.1.2.34-1.fc44
  NetworkManager-l2tp 1.52.4-1.fc44 -> 1.52.6-1.fc44
  NetworkManager-l2tp-gnome 1.52.4-1.fc44 -> 1.52.6-1.fc44
  SDL3 3.4.14-1.fc44 -> 3.4.18-1.fc44
  amd-gpu-firmware 20260810-1.fc44 -> 20261019-1.fc44
  amd-ucode-firmware 20260810-1.fc44 -> 20261019-1.fc44
  at-spi2-atk 2.60.6-1.fc44 -> 2.60.7-1.fc44
  at-spi2-core 2.60.6-1.fc44 -> 2.60.7-1.fc44
  atheros-firmware 20260810-1.fc44 -> 20261019-1.fc44
  atk 2.60.6-1.fc44 -> 2.60.7-1.fc44
  b43-fwcutter 020-1.fc44 -> 021-1.fc44
  bind-libs 32:9.18.50-1.fc44 -> 32:9.18.51^git20261003.d0a87358-2.fc44
  bind-utils 32:9.18.50-1.fc44 -> 32:9.18.51^git20261003.d0a87358-2.fc44
  blueman 1:2.4.6-6.fc44 -> 1:2.4.6-7.fc44
  bluez 5.87-3.fc44 -> 5.87+1.git8750129efca8-1.fc44
  bluez-cups 5.87-3.fc44 -> 5.87+1.git8750129efca8-1.fc44
  bluez-libs 5.87-3.fc44 -> 5.87+1.git8750129efca8-1.fc44
  bluez-obexd 5.87-3.fc44 -> 5.87+1.git8750129efca8-1.fc44
  bootc 1.16.7-1.fc44 -> 1.17.1-1.fc44
  bootupd 0.2.35-1.fc44 -> 0.3.2-1.fc44
  brcmfmac-firmware 20260810-1.fc44 -> 20261019-1.fc44
  btrfs-progs 7.0-1.fc44 -> 7.1-1.fc44
  bubblewrap 0.11.0-4.fc44 -> 0.12.0-1.fc44
  buildah 2:1.43.2-1.fc44 -> 2:1.43.5-1.fc44
  ca-certificates 2025.2.80_v9.0.304-7.fc44 -> 2026.2.92_v9.0.319-2.fc44
  cairo 1.18.4-6.fc44 -> 1.18.6-1.fc44
  cairo-gobject 1.18.4-6.fc44 -> 1.18.6-1.fc44
  cairomm 1.14.5-15.fc44 -> 1.14.6-1.fc44
  cairomm1.16 1.18.0-16.fc44 -> 1.18.1-1.fc44
  chrony 4.8-5.fc44 -> 4.9-1.fc44
  cifs-utils 7.6-2.fc44 -> 7.9-2.fc44
  cifs-utils-info 7.6-2.fc44 -> 7.9-2.fc44
  cirrus-audio-firmware 20260810-1.fc44 -> 20261019-1.fc44
  container-selinux 4:2.250.0-1.fc44 -> 4:2.251.0-1.fc44
  containers-common 5:0.67.0-1.fc44 -> 5:0.67.2-1.fc44
  containers-common-extra 5:0.67.0-1.fc44 -> 5:0.67.2-1.fc44
  cpp 16.1.1-2.fc44 -> 16.2.1-2.fc44
  cryptsetup 2.8.7-1.fc44 -> 2.8.8-1.fc44
  cryptsetup-libs 2.8.7-1.fc44 -> 2.8.8-1.fc44
  cups-filters 1:2.0.1-14.fc44 -> 1:2.0.1-17.fc44
  cups-filters-driverless 1:2.0.1-14.fc44 -> 1:2.0.1-17.fc44
  curl 8.18.0-8.fc44 -> 8.18.0-14.fc44
  device-mapper-persistent-data 1.3.3-1.fc44 -> 1.3.4-1.fc44
  distribution-gpg-keys 1.121-1.fc44 -> 1.123-1.fc44
  dracut 108-7.fc44 -> 108-8.fc44
  elfutils-debuginfod-client 0.195-1.fc44 -> 0.196-1.fc44
  elfutils-default-yama-scope 0.195-1.fc44 -> 0.196-1.fc44
  elfutils-libelf 0.195-1.fc44 -> 0.196-1.fc44
  elfutils-libs 0.195-1.fc44 -> 0.196-1.fc44
  enchant2 2.8.19-2.fc44 -> 2.8.21-1.fc44
  exfatprogs 1.4.2-2.fc44 -> 1.4.3-1.fc44
  expat 2.8.1-1.fc44 -> 2.8.5-1.fc44
  faad2-libs 1:2.11.2-6.fc44 -> 1:2.11.4-1.fc44
  fedora-gpg-keys 44-1 -> 44-2
  fedora-repos 44-1 -> 44-2
  fedora-repos-archive 44-1 -> 44-2
  fedora-repos-ostree 44-1 -> 44-2
  ffmpeg-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  firefox 153.0.3-1.fc44 -> 158.0.1-2.fc44
  firefox-langpacks 153.0.3-1.fc44 -> 158.0.1-2.fc44
  flatpak 1.18.1-1.fc44 -> 1.18.4-1.fc44
  flatpak-selinux 1.18.1-1.fc44 -> 1.18.4-1.fc44
  flatpak-session-helper 1.18.1-1.fc44 -> 1.18.4-1.fc44
  fuse-common 3.18.2-1.fc44 -> 3.18.3-1.fc44
  fuse3 3.18.2-1.fc44 -> 3.18.3-1.fc44
  fuse3-libs 3.18.2-1.fc44 -> 3.18.3-1.fc44
  fwupd 2.1.7-1.fc44 -> 2.1.8-1.fc44
  fwupd-plugin-modem-manager 2.1.7-1.fc44 -> 2.1.8-1.fc44
  fwupd-plugin-uefi-capsule-data 2.1.7-1.fc44 -> 2.1.8-1.fc44
  gcr-libs 4.4.0.1-7.fc44 -> 4.4.1-1.fc44
  gdk-pixbuf2 2.44.4-2.fc44 -> 2.44.6^really2.44.4-3.fc44
  ghostscript 10.06.0-2.fc44 -> 10.06.0-3.fc44
  ghostscript-tools-fontutils 10.06.0-2.fc44 -> 10.06.0-3.fc44
  ghostscript-tools-printing 10.06.0-2.fc44 -> 10.06.0-3.fc44
  git-core 2.55.0-1.fc44 -> 2.56.0-1.fc44
  git-core-doc 2.55.0-1.fc44 -> 2.56.0-1.fc44
  glib2 2.88.3-1.fc44 -> 2.88.4-1.fc44
  glibc 2.43-8.fc44 -> 2.43-9.fc44
  glibc-all-langpacks 2.43-8.fc44 -> 2.43-9.fc44
  glibc-common 2.43-8.fc44 -> 2.43-9.fc44
  glibc-gconv-extra 2.43-8.fc44 -> 2.43-9.fc44
  google-noto-color-emoji-fonts 20250623-4.fc44 -> 20260921-1.fc44
  google-noto-emoji-fonts 20250623-4.fc44 -> 20260921-1.fc44
  grub2-common 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-efi-ia32 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-efi-x64 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-pc 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-pc-modules 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-tools 1:2.12-60.fc44 -> 1:2.12-66.fc44
  grub2-tools-minimal 1:2.12-60.fc44 -> 1:2.12-66.fc44
  gstreamer1 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugin-libav 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-bad-free 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-bad-free-libs 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-base 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-good 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-good-qt6 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gstreamer1-plugins-ugly-free 1.28.6-1.fc44 -> 1.28.8-1.fc44
  gtk4 4.22.4-1.fc44 -> 4.22.5-2.fc44
  gvfs 1.60.2-1.fc44 -> 1.60.3-1.fc44
  gvfs-client 1.60.2-1.fc44 -> 1.60.3-1.fc44
  gvfs-smb 1.60.2-1.fc44 -> 1.60.3-1.fc44
  hplip 3.26.4-7.fc44 -> 3.26.6-2.fc44
  hplip-common 3.26.4-7.fc44 -> 3.26.6-2.fc44
  hplip-libs 3.26.4-7.fc44 -> 3.26.6-2.fc44
  hunspell 1.7.3-1.fc44 -> 1.7.5-1.fc44
  hunspell-filesystem 1.7.3-1.fc44 -> 1.7.5-1.fc44
  hwdata 0.410-1.fc44 -> 0.412-1.fc44
  ibus-typing-booster 2.30.11-1.fc44 -> 2.31.1-1.fc44
  intel-audio-firmware 20260810-1.fc44 -> 20261019-1.fc44
  intel-gmmlib 22.10.0-1.fc44 -> 22.10.2-1.fc44
  intel-gpu-firmware 20260810-1.fc44 -> 20261019-1.fc44
  intel-lpmd 0.1.0-2.fc44 -> 0.1.0^git20260608.40d18a6-1.fc44
  intel-vpl-gpu-rt 26.1.6-1.fc44 -> 26.3.4-1.fc44
  intel-vsc-firmware 20260810-1.fc44 -> 20261019-1.fc44
  iwlegacy-firmware 20260810-1.fc44 -> 20261019-1.fc44
  iwlwifi-dvm-firmware 20260810-1.fc44 -> 20261019-1.fc44
  iwlwifi-mld-firmware 20260810-1.fc44 -> 20261019-1.fc44
  iwlwifi-mvm-firmware 20260810-1.fc44 -> 20261019-1.fc44
  javascriptcoregtk4.1 2.52.5-1.fc44 -> 2.54.1-1.fc44
  kbd 2.9.0-3.fc44 -> 2.9.0-4.fc44
  kbd-legacy 2.9.0-3.fc44 -> 2.9.0-4.fc44
  kbd-misc 2.9.0-3.fc44 -> 2.9.0-4.fc44
  kernel 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-core 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-modules 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-modules-core 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-modules-extra 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-tools 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kernel-tools-libs 7.1.8-200.fc44 -> 7.2.11-200.fc44
  kf6-filesystem 6.29.0-1.fc44 -> 6.31.0-1.fc44
  kf6-karchive 6.29.0-1.fc44 -> 6.31.0-1.fc44
  kf6-kimageformats 6.29.0-1.fc44 -> 6.31.0-1.fc44
  kf6-kwindowsystem 6.29.0-1.fc44 -> 6.31.0-1.fc44
  less 704-2.fc44 -> 710-1.fc44
  libX11 1.8.13-1.fc44 -> 1.8.13-3.fc44
  libX11-common 1.8.13-1.fc44 -> 1.8.13-3.fc44
  libX11-xcb 1.8.13-1.fc44 -> 1.8.13-3.fc44
  libadwaita 1.9.3-1.fc44 -> 1.9.4-1.fc44
  libaom 3.13.3-1.fc44 -> 3.15.2-1.fc44
  libatomic 16.1.1-2.fc44 -> 16.2.1-2.fc44
  libavcodec-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libavdevice-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libavfilter-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libavformat-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libavutil-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libcamera 0.7.1-1.fc44 -> 0.7.2-2.fc44
  libcamera-ipa 0.7.1-1.fc44 -> 0.7.2-2.fc44
  libcap-ng 0.9.3-1.fc44 -> 0.9.6-1.fc44
  libcap-ng-python3 0.9.3-1.fc44 -> 0.9.6-1.fc44
  libchewing 0.13.1-1.fc44 -> 0.13.1-4.fc44
  libcloudproviders 0.4.0-1.fc44 -> 0.4.1-1.fc44
  libcurl-minimal 8.18.0-8.fc44 -> 8.18.0-14.fc44
  libdav1d 1.5.3-1.fc44 -> 1.5.4-1.fc44
  libdeflate 1.25-3.fc44 -> 1.26-1.fc44
  libei 1.5.0-2.fc44 -> 1.6.0-2.fc44
  libertas-firmware 20260810-1.fc44 -> 20261019-1.fc44
  libevdev 1.13.6-2.fc44 -> 1.13.7-1.fc44
  libevent 2.1.12-17.fc44 -> 2.1.13-1.fc44
  libgcc 16.1.1-2.fc44 -> 16.2.1-2.fc44
  libgomp 16.1.1-2.fc44 -> 16.2.1-2.fc44
  libgs 10.06.0-2.fc44 -> 10.06.0-3.fc44
  libgsf 1.14.58-1.fc44 -> 1.14.60-1.fc44
  libheif 1.21.2-1.fc44 -> 1.23.6-1.fc44
  libibverbs 61.0-2.fc44 -> 61.1^20260812git975bdaf-1.fc44
  libical 3.0.20-7.fc44 -> 3.0.20-8.fc44
  libldb 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  libmaxminddb 1.13.3-1.fc44 -> 1.14.1-1.fc44
  libmd 1.2.0-1.fc44 -> 1.3.0-1.fc44
  libnfsidmap 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  libnotify 0.8.8-1.fc44 -> 0.8.9-1.fc44
  liboeffis 1.5.0-2.fc44 -> 1.6.0-2.fc44
  libopenmpt 0.8.7-1.fc44 -> 0.8.9-1.fc44
  libpcap 14:1.10.6-2.fc44 -> 14:1.10.7-1.fc44
  libqtxdg 4.4.0-3.fc44 -> 4.4.0-5.fc44
  librabbitmq 0.17.0-1.fc44 -> 0.18.0-1.fc44
  librepo 1.20.0-5.fc44 -> 1.21.2-1.fc44
  librsvg2 2.62.3-1.fc44 -> 2.62.4-1.fc44
  libsane-airscan 0.99.36-2.fc44 -> 0.99.38-1.fc44
  libsane-hpaio 3.26.4-7.fc44 -> 3.26.6-2.fc44
  libsecret 0.21.7-10.fc44 -> 0.21.8.2-2.fc44
  libselinux 3.11-1.fc44 -> 3.11-2.fc44
  libselinux-utils 3.11-1.fc44 -> 3.11-2.fc44
  libsmbclient 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  libsolv 0.7.39-1.fc44 -> 0.7.40-2.fc44
  libsoup3 3.6.6-9.fc44 -> 3.6.6-10.fc44
  libstdc++ 16.1.1-2.fc44 -> 16.2.1-2.fc44
  libswresample-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libswscale-free 8.1.2-4.fc44 -> 8.1.3-1.fc44
  libtiff 4.7.2-1.fc44 -> 4.7.2-3.fc44
  libtirpc 1.3.7-2.fc44 -> 1.3.8-0.fc44
  libunwind 1.8.3-1.fc44 -> 1.8.3-4.fc44
  libva-intel-media-driver 26.2.4-1.fc44 -> 26.3.5-1.fc44
  libwayland-client 1.25.0-1.fc44 -> 1.26.0-1.fc44
  libwayland-cursor 1.25.0-1.fc44 -> 1.26.0-1.fc44
  libwayland-egl 1.25.0-1.fc44 -> 1.26.0-1.fc44
  libwayland-server 1.25.0-1.fc44 -> 1.26.0-1.fc44
  libwbclient 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  libwmf-lite 0.2.13-9.fc44 -> 0.2.17-1.fc44
  linux-firmware 20260810-1.fc44 -> 20261019-1.fc44
  linux-firmware-whence 20260810-1.fc44 -> 20261019-1.fc44
  m17n-db 1.8.14-1.fc44 -> 1.8.15-1.fc44
  m17n-lib 1.8.6-3.fc44 -> 1.8.7-1.fc44
  mesa-dri-drivers 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mesa-filesystem 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mesa-libEGL 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mesa-libGL 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mesa-libgbm 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mesa-vulkan-drivers 26.1.6-1.fc44 -> 26.2.5-1.fc44
  mt7xxx-firmware 20260810-1.fc44 -> 20261019-1.fc44
  nfs-client-utils 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  nfs-common-utils 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  nfs-utils 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  nfsv3-client-utils 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  nfsv4-client-utils 1:2.8.7-6.fc44 -> 1:2.8.7-7.fc44
  nspr 4.39.0-3.fc44 -> 4.39.0-7.fc44
  nss 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nss-softokn 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nss-softokn-freebl 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nss-sysinit 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nss-tools 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nss-util 3.126.0-1.fc44 -> 3.131.0-1.fc44
  nvidia-gpu-firmware 20260810-1.fc44 -> 20261019-1.fc44
  nvme-cli 2.16-2.fc44 -> 2.16-3.fc44
  nxpwireless-firmware 20260810-1.fc44 -> 20261019-1.fc44
  openldap 2.6.13-1.fc44 -> 2.6.15-1.fc44
  openssh 10.2p1-13.fc44 -> 10.2p1-14.fc44
  openssh-clients 10.2p1-13.fc44 -> 10.2p1-14.fc44
  openssh-server 10.2p1-13.fc44 -> 10.2p1-14.fc44
  openssl-libs 1:3.5.7-2.fc44 -> 1:3.5.9-1.fc44
  openvpn 2.7.6-1.fc44 -> 2.7.8-1.fc44
  orca 50.2-1.fc44 -> 50.3-1.fc44
  ostree 2026.2-1.fc44 -> 2026.4-1.fc44
  ostree-libs 2026.2-1.fc44 -> 2026.4-1.fc44
  passt 0^20260728.gf8df3f1-2.fc44 -> 0^20261002.gcba3570-1.fc44
  passt-selinux 0^20260728.gf8df3f1-2.fc44 -> 0^20261002.gcba3570-1.fc44
  pipewire 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-alsa 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-config-raop 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-gstreamer 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-jack-audio-connection-kit 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-jack-audio-connection-kit-libs 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-libs 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-plugin-libcamera 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-pulseaudio 1.6.8-1.fc44 -> 1.6.9-1.fc44
  pipewire-utils 1.6.8-1.fc44 -> 1.6.9-1.fc44
  podman 5:5.8.4-1.fc44 -> 5:5.8.9-1.fc44
  python-pip-wheel 26.0.1-2.fc44 -> 26.0.1-3.fc44
  python-unversioned-command 3.14.6-1.fc44 -> 3.14.8-1.fc44
  python3 3.14.6-1.fc44 -> 3.14.8-1.fc44
  python3-boto3 1.43.71-1.fc44 -> 1.43.114-1.fc44
  python3-botocore 1.43.71-1.fc44 -> 1.43.114-1.fc44
  python3-libs 3.14.6-1.fc44 -> 3.14.8-1.fc44
  python3-libselinux 3.11-1.fc44 -> 3.11-2.fc44
  python3-perf 7.1.8-200.fc44 -> 7.2.11-200.fc44
  python3-regex 2026.7.19-1.fc44 -> 2026.9.10-1.fc44
  python3-urllib3 2.7.0-1.fc44 -> 2.8.0-3.fc44
  python3-urllib3+socks 2.7.0-1.fc44 -> 2.8.0-3.fc44
  qcom-wwan-firmware 20260810-1.fc44 -> 20261019-1.fc44
  qt6-filesystem 6.11.1-1.fc44 -> 6.11.2-1.fc44
  qt6-qtbase 6.11.1-1.fc44 -> 6.11.2-3.fc44
  qt6-qtbase-common 6.11.1-1.fc44 -> 6.11.2-3.fc44
  qt6-qtbase-gui 6.11.1-1.fc44 -> 6.11.2-3.fc44
  qt6-qtdeclarative 6.11.1-3.fc44 -> 6.11.2-2.fc44
  qt6-qtsvg 6.11.1-1.fc44 -> 6.11.2-1.fc44
  qt6-qttranslations 6.11.1-1.fc44 -> 6.11.2-1.fc44
  qt6-qtwayland 6.11.1-1.fc44 -> 6.11.2-1.fc44
  rdma-core-common 61.0-2.fc44 -> 61.1^20260812git975bdaf-1.fc44
  realtek-firmware 20260810-1.fc44 -> 20261019-1.fc44
  rpcbind 1.2.9-2.fc44 -> 1.3.1-0.fc44
  rpm-ostree 2026.2-1.fc44 -> 2026.3-2.fc44
  rpm-ostree-libs 2026.2-1.fc44 -> 2026.3-2.fc44
  rpm-sequoia 1.10.2-4.fc44 -> 1.10.3-1.fc44
  rsync 3.4.4-1.fc44 -> 3.5.1-1.fc44
  samba-client 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  samba-client-libs 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  samba-common 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  samba-core-libs 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  samba-ndr-libs 2:4.24.5-1.fc44 -> 2:4.24.7-1.fc44
  sane-airscan 0.99.36-2.fc44 -> 0.99.38-1.fc44
  sdl2-compat 2.32.70-1.fc44 -> 2.32.74-1.fc44
  selinux-policy 44.5-1.fc44 -> 44.11-1.fc44
  selinux-policy-targeted 44.5-1.fc44 -> 44.11-1.fc44
  shim-ia32 16.1-5 -> 16.1-7
  shim-x64 16.1-5 -> 16.1-7
  skopeo 1:1.22.2-2.fc44 -> 1:1.22.3-1.fc44
  sos 4.11.2-1.fc44 -> 4.12.1-1.fc44
  srt-libs 1.5.6-1.fc44 -> 1.5.7-1.fc44
  sudo 1.9.17-8.p2.fc44 -> 1.9.17-10.p2.fc44
  sudo-python-plugin 1.9.17-8.p2.fc44 -> 1.9.17-10.p2.fc44
  swaylock 1.8.5-1.fc44 -> 1.8.6-1.fc44
  system-config-printer 1.5.18-17.fc44 -> 1.5.18-20.fc44
  system-config-printer-libs 1.5.18-17.fc44 -> 1.5.18-20.fc44
  system-config-printer-udev 1.5.18-17.fc44 -> 1.5.18-20.fc44
  systemd 259.8-1.fc44 -> 259.10-1.fc44
  systemd-container 259.8-1.fc44 -> 259.10-1.fc44
  systemd-libs 259.8-1.fc44 -> 259.10-1.fc44
  systemd-networkd 259.8-1.fc44 -> 259.10-1.fc44
  systemd-oomd-defaults 259.8-1.fc44 -> 259.10-1.fc44
  systemd-pam 259.8-1.fc44 -> 259.10-1.fc44
  systemd-resolved 259.8-1.fc44 -> 259.10-1.fc44
  systemd-shared 259.8-1.fc44 -> 259.10-1.fc44
  systemd-sysusers 259.8-1.fc44 -> 259.10-1.fc44
  systemd-udev 259.8-1.fc44 -> 259.10-1.fc44
  tar 2:1.35-8.fc44 -> 2:1.35-9.fc44
  tesseract-common 5.5.3-1.fc44 -> 5.5.3-2.fc44
  tesseract-libs 5.5.3-1.fc44 -> 5.5.3-2.fc44
  thermald 2.5.12-2.fc44 -> 2.5.13-1.fc44
  tiwilink-firmware 20260810-1.fc44 -> 20261019-1.fc44
  tuned 2.27.0-1.fc44 -> 2.28.0-1.fc44
  tuned-ppd 2.27.0-1.fc44 -> 2.28.0-1.fc44
  tzdata 2026c-1.fc44 -> 2026e-1.fc44
  unbound-anchor 1.26.0-1.fc44 -> 1.26.1-1.fc44
  unbound-libs 1.26.0-1.fc44 -> 1.26.1-1.fc44
  unicode-ucd 17.0.0-2.fc44 -> 18.0.0-2.fc44
  upower 1.91.3-1.fc44 -> 1.91.5-1.fc44
  upower-libs 1.91.3-1.fc44 -> 1.91.5-1.fc44
  vim-data 2:9.2.920-1.fc44 -> 2:9.2.1202-1.fc44
  vim-minimal 2:9.2.920-1.fc44 -> 2:9.2.1202-1.fc44
  virtualbox-guest-additions 7.2.14-1.fc44 -> 7.2.20-1.fc44
  webkit2gtk4.1 2.52.5-1.fc44 -> 2.54.1-1.fc44
  wget2 2.2.1-2.fc44 -> 2.3.0-1.fc44
  wget2-libs 2.2.1-2.fc44 -> 2.3.0-1.fc44
  wget2-wget 2.2.1-2.fc44 -> 2.3.0-1.fc44
  wireless-regdb 2026.05.30-1.fc44 -> 2026.09.03-1.fc44
  wireplumber 0.5.14-1.fc44 -> 0.5.18-1.fc44
  wireplumber-libs 0.5.14-1.fc44 -> 0.5.18-1.fc44
  xdg-dbus-proxy 0.1.8-1.fc44 -> 0.1.9-1.fc44
  xorg-x11-server-Xwayland 24.1.13-1.fc44 -> 24.1.14-1.fc44
  xxhash-libs 0.8.3-4.fc44 -> 0.8.4-1.fc44
Removed:
  libbabeltrace-1.5.11-17.fc44.x86_64
Added:
  intel-npu-firmware-20261019-1.fc44.noarch
  iwlbluetooth-firmware-20261019-1.fc44.noarch
  libbabeltrace2-2.1.2-5.fc44.x86_64
  libheif-ffmpeg-1.23.6-1.fc44.x86_64

It may be unrelated to the topic:
cat .local/bin/mp

#!/bin/sh
flatpak run io.mpv.Mpv "$@" --gpu-sw --player-operation-mode=pseudo-gui &>/dev/null &

in neither Sway nor Atomic

Thanks for the input, @yaslanan. That --player-operation-mode=pseudo-gui flag stops the terminal interface (and I wasn’t aware of it, so thanks!), which does indeed means this issue doesn’t occur. But I still like the traditional interface including the terminal, especially for audio where I don’t particularly want a black window just for controlling it.

So, the mystery remains…

I opened a bug for this, naming flatpak as the component to blame. Still not sure if that’s fair, but hopefully we’ll find out.

On a side note, setting this up as an alias also seems to work.
alias mpv=“flatpak run io.mpv.Mpv”

Does it make a difference if you use #!/bin/bash as the shebang?

sh and bash aren’t exactly the same thing

Thanks for the suggestion. It’s the same with #!/bin/bash, too (on my Sway Atomic system, /usr/bin/sh is just a symlink to /usr/bin/bash).

Yes, it is always bash, but bash behaves differently when you call it “sh” than when you call it “bash” (just type “sh” in a shell, and you’ll see). However, since it is not the problem, we can rule this out.

What is left, are the environment variables, which are different in a “login” shell than in spawned shell.

Since the mpv command inside the flatpak is itself a sh script (which does a couple of initialization and then runs mpv-bin) you can try to see if replacing it in the script helps. But I’m not sure how deep you want to go, considering there are plenty of workarounds and it seems to be a very specific bug (I cannot reproduce it in Fedora44)

Downgrading flatpak to 18.2 makes it work, but based on the CVE’s fixed in the update I would not recommend it. Check Making sure you're not a bot! on the bugs tab.

If I had to guess it has something to do with, 2543196 – CVE-2026-97029 flatpak: flatpak: Sandboxed app can signal unsandboxed processes in the same process group [fedora-all] but haven’t really dug into it.

I was also guessing along these lines - this change is in Flatpak 1.18.4 to address the CVE.

In that case, I wonder if exec flatpak run ... instead of flatpak run ... in the script would help.

But I haven’t dug very deep either!

Adding exec appears to work. Thanks!

Thanks so much for the discussion and solution, all. I’m happy just adding exec to the flatpak invocation in my script.