Glitchy video playback after dnf update

After running dnf update and rebooting my computer, video playback on YouTube (AV1 codec) is unwatchably glitchy. Notably, this only occurs at resolutions > 240p, with the 240p and 144p behaving normally.

Attached is an image of what YouTube/HQ AV1 playback looks like for me:

It is not just YouTube: Using an alternative playback frontend such as Invidious does not fix this issue.

The following old package versions were affected by this upgrade:

"botan2-2.19.4-2.fc40.x86_64".
"dracut-101-1.fc40.x86_64".
"dracut-config-rescue-101-1.fc40.x86_64".
"dracut-live-101-1.fc40.x86_64".
"dracut-network-101-1.fc40.x86_64".
"dracut-squash-101-1.fc40.x86_64".
"emacs-filesystem-1:29.4-8.fc40.noarch".
"ffmpeg-free-6.1.1-14.fc40.x86_64".
"gom-0.5.1-1.fc40.x86_64".
"gtk-update-icon-cache-3.24.42-2.fc40.x86_64".
"gtk3-3.24.42-2.fc40.i686".
"gtk3-3.24.42-2.fc40.x86_64".
"gtk3-devel-3.24.42-2.fc40.x86_64".
"ibus-typing-booster-2.25.11-1.fc40.noarch".
"kernel-devel-matched-6.9.8-200.fc40.x86_64".
"libavcodec-free-6.1.1-14.fc40.x86_64".
"libavdevice-free-6.1.1-14.fc40.x86_64".
"libavfilter-free-6.1.1-14.fc40.x86_64".
"libavformat-free-6.1.1-14.fc40.x86_64".
"libavutil-free-6.1.1-14.fc40.x86_64".
"libpostproc-free-6.1.1-14.fc40.x86_64".
"librados2-2:18.2.3-1.fc40.x86_64".
"librbd1-2:18.2.3-1.fc40.x86_64".
"libswresample-free-6.1.1-14.fc40.x86_64".
"libswscale-free-6.1.1-14.fc40.x86_64".
"mesa-dri-drivers-24.1.2-8.fc40.i686".
"mesa-dri-drivers-24.1.2-8.fc40.x86_64".
"mesa-filesystem-24.1.2-8.fc40.i686".
"mesa-filesystem-24.1.2-8.fc40.x86_64".
"mesa-libEGL-24.1.2-8.fc40.i686".
"mesa-libEGL-24.1.2-8.fc40.x86_64".
"mesa-libEGL-devel-24.1.2-8.fc40.x86_64".
"mesa-libGL-24.1.2-8.fc40.i686".
"mesa-libGL-24.1.2-8.fc40.x86_64".
"mesa-libOSMesa-24.1.2-8.fc40.i686".
"mesa-libOSMesa-24.1.2-8.fc40.x86_64".
"mesa-libgbm-24.1.2-8.fc40.i686".
"mesa-libgbm-24.1.2-8.fc40.x86_64".
"mesa-libglapi-24.1.2-8.fc40.i686".
"mesa-libglapi-24.1.2-8.fc40.x86_64".
"mesa-va-drivers-24.1.2-8.fc40.i686".
"mesa-va-drivers-24.1.2-8.fc40.x86_64".
"mesa-vulkan-drivers-24.1.2-8.fc40.i686".
"mesa-vulkan-drivers-24.1.2-8.fc40.x86_64".
"qt5-qtbase-5.15.14-1.fc40.x86_64".
"qt5-qtbase-common-5.15.14-1.fc40.noarch".
"qt5-qtbase-gui-5.15.14-1.fc40.x86_64".
"qt5-qtdeclarative-5.15.14-1.fc40.x86_64".
"qt5-srpm-macros-5.15.14-1.fc40.noarch".
"qt6-qtbase-6.7.2-3.fc40.x86_64".
"qt6-qtbase-common-6.7.2-3.fc40.noarch".
"qt6-qtbase-gui-6.7.2-3.fc40.x86_64".
"qt6-qtdeclarative-6.7.2-1.fc40.x86_64".
"qt6-srpm-macros-6.7.2-1.fc40.noarch".
"selinux-policy-40.23-1.fc40.noarch".
"selinux-policy-devel-40.23-1.fc40.noarch".
"selinux-policy-targeted-40.23-1.fc40.noarch".
"virtualbox-guest-additions-7.0.18-1.fc40.x86_64".
"vlc-libs-1:3.0.21-1.fc40.x86_64".
"vlc-plugins-base-1:3.0.21-1.fc40.x86_64".
"kernel-6.9.6-200.fc40.x86_64".
"kernel-core-6.9.6-200.fc40.x86_64".
"kernel-devel-6.9.6-200.fc40.x86_64".
"kernel-modules-6.9.6-200.fc40.x86_64".
"kernel-modules-core-6.9.6-200.fc40.x86_64".
"kernel-modules-extra-6.9.6-200.fc40.x86_64".

After the update, I am running Kernel 6.9.9-200.fc40.x68_64. I am using an AMD Radeon RX 6700 to process my video output - the internal GPU of my CPU is disabled in the BIOS.

My suspicions are, that the updated mesa-firmware is what is causing the issue. However, I lack the knowledge for how I would debug this further.

Other, perhaps notable information:

  • Browser used: Firefox 128.0 (128.0-2.fc40) via RPM/dnf, NOT flatpak.
  • Other rendering works fine: 3D Games and, for example, accessing Jellyfin Videos, is unaffected by this.
    I’d be thankful for suggestions/tips on how I could debug or fix this! :slight_smile:

Cheers

2 Likes

Can you boot to the 6.9.8 kernel and see if that resolves the issues?

Similar issues,

2 Likes

Hi. Thanks for getting back to me so quickly.

Sadly, kernel 6.9.8 does not seem to fix the issues for me. Thank you for pointing me to similar issues! I swear that I tried to search before posting, but I did not end up finding any similar threads with the search terms I used.

The Issue stays unresolved for me, as downgrading the mesa packages is not possible:

sudo dnf downgrade mesa-\*
[sudo] password for star: 
Last metadata expiration check: 0:11:22 ago on Sun 21 Jul 2024 21:42:39 CEST.
Package mesa-demos of lowest version already installed, cannot downgrade it.
Package mesa-libGLU of lowest version already installed, cannot downgrade it.
Dependencies resolved.
==============================================================================================================================================================================================================================================================
 Package                                                              Architecture                                            Version                                                           Repository                                               Size
==============================================================================================================================================================================================================================================================
Downgrading:
 mesa-dri-drivers                                                     x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   25 M
 mesa-filesystem                                                      x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   20 k
 mesa-libEGL                                                          x86_64                                                  24.0.5-1.fc40                                                     fedora                                                  132 k
 mesa-libEGL-devel                                                    x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   23 k
 mesa-libGL                                                           x86_64                                                  24.0.5-1.fc40                                                     fedora                                                  176 k
 mesa-libOSMesa                                                       x86_64                                                  24.0.5-1.fc40                                                     fedora                                                  3.2 M
 mesa-libgbm                                                          x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   47 k
 mesa-libglapi                                                        x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   51 k
 mesa-va-drivers                                                      x86_64                                                  24.0.5-1.fc40                                                     fedora                                                  4.0 M
 mesa-vulkan-drivers                                                  x86_64                                                  24.0.5-1.fc40                                                     fedora                                                   17 M

Transaction Summary
==============================================================================================================================================================================================================================================================
Downgrade  10 Packages

Total download size: 49 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): mesa-filesystem-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                              117 kB/s |  20 kB     00:00    
(2/10): mesa-libEGL-devel-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                            535 kB/s |  23 kB     00:00    
(3/10): mesa-libEGL-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                                  494 kB/s | 132 kB     00:00    
(4/10): mesa-libGL-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                                   1.1 MB/s | 176 kB     00:00    
(5/10): mesa-libgbm-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                                  878 kB/s |  47 kB     00:00    
(6/10): mesa-libglapi-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                                939 kB/s |  51 kB     00:00    
(7/10): mesa-va-drivers-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                              7.3 MB/s | 4.0 MB     00:00    
(8/10): mesa-libOSMesa-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                               3.7 MB/s | 3.2 MB     00:00    
(9/10): mesa-vulkan-drivers-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                          7.8 MB/s |  17 MB     00:02    
(10/10): mesa-dri-drivers-24.0.5-1.fc40.x86_64.rpm                                                                                                                                                                            6.9 MB/s |  25 MB     00:03    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                         8.9 MB/s |  49 MB     00:05     
Running transaction check
Error: transaction check vs depsolve:
mesa-filesystem(x86-32) is needed by (installed) libva-2.21.0-3.fc40.i686
mesa-filesystem(x86-32) = 24.1.4-2.fc40 is needed by (installed) mesa-va-drivers-24.1.4-2.fc40.i686
mesa-filesystem(x86-32) = 24.1.4-2.fc40 is needed by (installed) mesa-dri-drivers-24.1.4-2.fc40.i686
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

Edit: After trying to downgrade the packages, upgrading them to their latest respective versions was not possible anymore for me. I do have backups though, so I could simply revert back.

1 Like

I’m having the same problem, using Firefox too. Weird is that some videos still play fine, but most dont.
I’m also having some issues playing videos on VLC.

Keeping an eye here to see if there are any solutions.

EDIT: I also have and 6700 xt.

1 Like

I’m having similar setup and same type of problem. I have tried to run Firefox in “troubleshoot mode” in which it’s possible to view youtube videos with substantial lag. Tried to run in normal mode without any extensions but that did not help. Also having problems using VLC.

I have a RX 7600 XT.

see: 1/2 of youtube videos video is all garbled, audio is fine - #45 by mentropy

1 Like

I’d like to mark this as resolved as mesa updates have seemed to fix this.