Video playback freeze after a few frames with multiple players

Hello,

I have playback issues with my silverblue setup.

While it used to work (at least with Firefox) since this week-end whenever I try to play a video the first few frames (less than a second) play and then the image freeze while the sound continue. The video player stays responsive.

The issue happens with Firefox, (gnome-)Web, Chromium, Video(Totem), Celluloid.

With VLC the video plays but the sound is cut a few times per second.

Here is the result of a few command that may be relevant:

$ vainfo
Trying display: wayland
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.18 (libva 2.18.2)
vainfo: Driver version: Mesa Gallium driver 23.1.2 for AMD Radeon RX 480 Graphics (polaris10, LLVM 16.0.5, DRM 3.52, 6.3.8-200.fc38.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
$ rpm-ostree status -v
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-unverified-registry:ghcr.io/ublue-os/silverblue-main:38 (index: 0)
                   Digest: sha256:7f9639f67b18a6c76df0ffba8eb58e726ee7a8b0c1d7d208175735632e137c33
                  Version: 38.20230619.0 (2023-06-19T19:02:43Z)
               BaseCommit: fe4eb96e1f8811523add505796d9f0f40333407558aac2c03f804ea09bdd2d58
                   Commit: 3e0e44e0c8ccc3a2274cdba28fa2f5de0da85a6984a0df0d3a31436980ae00f1
                           ├─ copr:copr.fedorainfracloud.org:phracek:PyCharm (2023-05-23T12:23:04Z)
                           ├─ fedora (2023-04-13T20:37:10Z)
                           ├─ fedora-cisco-openh264 (2023-03-14T10:56:46Z)
                           ├─ fedora-modular (2023-04-13T20:30:47Z)
                           ├─ google-chrome (2023-06-16T17:23:03Z)
                           ├─ rpmfusion-free (2023-04-14T11:37:11Z)
                           ├─ rpmfusion-free-updates (2023-06-15T14:41:56Z)
                           ├─ rpmfusion-nonfree (2023-04-14T12:02:51Z)
                           ├─ rpmfusion-nonfree-nvidia-driver (2023-06-15T17:12:26Z)
                           ├─ rpmfusion-nonfree-steam (2023-05-19T19:13:13Z)
                           ├─ rpmfusion-nonfree-updates (2023-06-15T14:57:04Z)
                           ├─ updates (2023-06-19T02:02:25Z)
                           ├─ updates-archive (2023-06-16T03:08:05Z)
                           └─ updates-modular (2023-06-03T03:15:48Z)
                   Staged: no
                StateRoot: fedora
      RemovedBasePackages: firefox firefox-langpacks 114.0-1.fc38
          LayeredPackages: langpacks-fr libavcodec-freeworld lm_sensors

  ostree-unverified-registry:ghcr.io/ublue-os/silverblue-main:38 (index: 1)
                   Digest: sha256:7f9639f67b18a6c76df0ffba8eb58e726ee7a8b0c1d7d208175735632e137c33
                  Version: 38.20230619.0 (2023-06-19T19:02:43Z)
               BaseCommit: fe4eb96e1f8811523add505796d9f0f40333407558aac2c03f804ea09bdd2d58
                   Commit: 94ed6255dc52bd97aa20fdbccab7d75e59a52856816064ebb98f62c4429d4307
                           ├─ copr:copr.fedorainfracloud.org:phracek:PyCharm (2023-05-23T12:23:04Z)
                           ├─ fedora (2023-04-13T20:37:10Z)
                           ├─ fedora-cisco-openh264 (2023-03-14T10:56:46Z)
                           ├─ fedora-modular (2023-04-13T20:30:47Z)
                           ├─ google-chrome (2023-06-16T17:23:03Z)
                           ├─ rpmfusion-free (2023-04-14T11:37:11Z)
                           ├─ rpmfusion-free-updates (2023-06-15T14:41:56Z)
                           ├─ rpmfusion-nonfree (2023-04-14T12:02:51Z)
                           ├─ rpmfusion-nonfree-nvidia-driver (2023-06-15T17:12:26Z)
                           ├─ rpmfusion-nonfree-steam (2023-05-19T19:13:13Z)
                           ├─ rpmfusion-nonfree-updates (2023-06-15T14:57:04Z)
                           ├─ updates (2023-06-19T02:02:25Z)
                           ├─ updates-archive (2023-06-16T03:08:05Z)
                           └─ updates-modular (2023-06-03T03:15:48Z)
                StateRoot: fedora
      RemovedBasePackages: firefox firefox-langpacks 114.0-1.fc38
          LayeredPackages: langpacks-fr lm_sensors
flatpak --gl-drivers 
default
host
$ flatpak list | grep org.freedesktop
Freedesktop Platform	org.freedesktop.Platform	            22.08.12.1  22.08	    system
i386	                org.freedesktop.Platform.Compat.i386		        22.08	    system
Mesa	                org.freedesktop.Platform.GL.default	    23.1.1	    22.08	    system
Mesa (Extra)	        org.freedesktop.Platform.GL.default	    23.1.1	    22.08-extra	system
Mesa	                org.freedesktop.Platform.GL32.default	23.1.1	    22.08	    system
Mesa (Extra)	        org.freedesktop.Platform.GL32.default	23.1.1	    22.08-extra	system
ffmpeg-full	            org.freedesktop.Platform.ffmpeg-full		        22.08	    system
i386	                org.freedesktop.Platform.ffmpeg_full.i386		    22.08	    system
openh264	            org.freedesktop.Platform.openh264	    2.1.0	    2.2.0	    system
Freedesktop SDK	        org.freedesktop.Sdk	                    22.08.12.1	22.08	    system

I have ran out of idea about how to find the cause of this issue. Does anyone have an idea?

Unexpected twist : this could be a audio issue !

Playing a video with Celluloid, I tried to change the audio track and selected “none” … and with that the video started playing normally. Audio and video can be working at the same time with different sources.

I have still no idea what could be the root cause of this, I will be investigating some more but I would love any pointers.

I tried to create a new user to see if the issue came from the system or my user setup. Test user could play the videos just fine.

I then tried a few setting but removing all folder related to “pipewire” and “wireplumber” did the trick for me. One or the other might have been enough though.