1/2 of youtube videos video is all garbled, audio is fine

I am using Firefox and 1/2 of Youtube videos are all garbled. I am guessing one of my codex are messed up somehow. Is there a way to fix this without reinstalling Fedora?

here are a few links of videos that are all garbled.

links removed

1 Like

Which version of Fedora?
Which version of Firefox?
What Desktop Environment?
Which GPU?
Was this after an upgrade or has it been this way?

Thanks

3 Likes

Added firefox

It happened recently, like yesterday was the first time I noticed. I assume it was due to an update.

Fedora 40 desktop workstation

Firefox Release 128.0 July 9, 2024

Gnome

Amd Radeon 6750 XT

and like i said the first time i noticed issues was yesterday, I believe an update caused this.

Did the upgrade install the 6.9.9 kernel?
Try booting into the previous kernel, does the problem go away?

I’m suggesting this because I just had a AMD GPU regression with 6.9.9.
The 6.9.8 works better for me when playing games in steam.

3 Likes
sudo dnf downgrade mesa-\*.{x86_64,i686}
5 Likes

That is not possible for my setup as libva-2.21.0-3.fc40.i686 also needs to be downgraded.

But so far booting the old 6.9.8 kernel has things working.

Doesn’t todays rpmfusion ffmpeg update address the issue?

$ rpm -qa mesa* *\ffmpeg*
mesa-libGLU-9.0.3-4.fc40.x86_64
mesa-libGLU-devel-9.0.3-4.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.x86_64
mesa-libglapi-24.1.4-2.fc40.x86_64
mesa-dri-drivers-24.1.4-2.fc40.x86_64
ffmpeg-libs-6.1.1-14.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.i686
mesa-libgbm-24.1.4-2.fc40.x86_64
mesa-libEGL-24.1.4-2.fc40.x86_64
mesa-libEGL-devel-24.1.4-2.fc40.x86_64
ffmpeg-6.1.1-14.fc40.x86_64
mesa-libGL-24.1.4-2.fc40.x86_64
mesa-va-drivers-freeworld-24.1.4-1.fc40.x86_64
mesa-vdpau-drivers-freeworld-24.1.4-1.fc40.x86_64
mesa-vulkan-drivers-24.1.4-2.fc40.x86_64
mesa-libxatracker-24.1.4-2.fc40.x86_64
mesa-libglapi-24.1.4-2.fc40.i686
mesa-dri-drivers-24.1.4-2.fc40.i686
mesa-libgbm-24.1.4-2.fc40.i686
mesa-libEGL-24.1.4-2.fc40.i686
mesa-libGL-24.1.4-2.fc40.i686
mesa-va-drivers-freeworld-24.1.4-1.fc40.i686

$ inxi -G
Graphics:
Device-1: AMD Renoir [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.1 driver: X:
loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
resolution: 3840x2160~60Hz
API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.4 renderer: AMD
Radeon Graphics (radeonsi renoir LLVM 18.1.6 DRM 3.57
6.10.0-64.fc41.x86_64)
API: Vulkan v: 1.3.283 drivers: N/A surfaces: xcb,xlib

1 Like

I’d try to test if it’s a Firefox problem by using youtube-dl to download the mp4 file, then play that directly with something like mpv or vlc. If that’s garbled then it’s not Firefox’s fault

Try that first then. Rolling back packages is always a bit tricky.

(Thats why Fedora Atomic Desktops are so great :wink: )

not sure how to download the mp4 from Youtube. I tried clicking Download, but it says that it downloaded it, but i can’t find any file anywhere. Not sure what it did.

Also I think Fedora 40 is Wayland by default… not sure what command to list all the info you listed. See yours says x11

And just reran update, but still seeing the garbled video in 1/2 of youtube.

tomporter@fedora:~$ rpm -qa mesa* *\ffmpeg*
compat-ffmpeg4-4.4.4-5.fc40.x86_64
mesa-libGLU-9.0.3-4.fc40.x86_64
vlc-plugin-ffmpeg-3.0.21-3.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.i686
mesa-va-drivers-24.1.4-2.fc40.x86_64
mesa-libglapi-24.1.4-2.fc40.x86_64
mesa-dri-drivers-24.1.4-2.fc40.x86_64
mesa-libgbm-24.1.4-2.fc40.x86_64
mesa-libEGL-24.1.4-2.fc40.x86_64
mesa-libEGL-devel-24.1.4-2.fc40.x86_64
mesa-libGL-24.1.4-2.fc40.x86_64
mesa-libOSMesa-24.1.4-2.fc40.x86_64
mesa-vulkan-drivers-24.1.4-2.fc40.x86_64
mesa-va-drivers-24.1.4-2.fc40.i686
mesa-libglapi-24.1.4-2.fc40.i686
mesa-dri-drivers-24.1.4-2.fc40.i686
mesa-libgbm-24.1.4-2.fc40.i686
mesa-libEGL-24.1.4-2.fc40.i686
mesa-libGL-24.1.4-2.fc40.i686
mesa-libOSMesa-24.1.4-2.fc40.i686
mesa-vulkan-drivers-24.1.4-2.fc40.i686
ffmpeg-libs-6.1.1-14.fc40.x86_64
ffmpeg-6.1.1-14.fc40.x86_64
tomporter@fedora:~$  inxi -G
bash: inxi: command not found...
Install package 'inxi' to provide command 'inxi'? [N/y] n

Sigh… just saw a lock up with the 6.9.8 kernel.
I expect that means that its the mesa* that is the issue for me as well.

ok I tried that, but it did not fix my issue. Tried rebooting after running command, but still some youtube videos play garbled video. (audio is fine. its just bad video)

going to update again to current version as this did not fix me.
thoughts?

tomporter@fedora:~$ sudo dnf update
[sudo] password for tomporter: 
Last metadata expiration check: 0:04:30 ago on Sun 21 Jul 2024 02:47:55 PM CDT.
Dependencies resolved.
Nothing to do.
Complete!
tomporter@fedora:~$ sudo dnf upgrade
Last metadata expiration check: 0:04:40 ago on Sun 21 Jul 2024 02:47:55 PM CDT.
Dependencies resolved.
Nothing to do.
Complete!
tomporter@fedora:~$ 

So now I can’t upgrade mesa back to normal?
thoughts?

This issue started on my system right after updating the packages below and rebooting (i have an AMD gpu).

mesa-vulkan-drivers-24.1.4-2.fc40.x86_64      Sun 21 Jul 2024 12:18:39 PM CEST
mesa-va-drivers-24.1.4-2.fc40.x86_64          Sun 21 Jul 2024 12:18:38 PM CEST
mesa-libglapi-24.1.4-2.fc40.x86_64            Sun 21 Jul 2024 12:18:38 PM CEST
mesa-libGL-24.1.4-2.fc40.x86_64               Sun 21 Jul 2024 12:18:38 PM CEST
mesa-libgbm-24.1.4-2.fc40.x86_64              Sun 21 Jul 2024 12:18:38 PM CEST
mesa-libEGL-24.1.4-2.fc40.x86_64              Sun 21 Jul 2024 12:18:38 PM CEST
mesa-filesystem-24.1.4-2.fc40.x86_64          Sun 21 Jul 2024 12:18:38 PM CEST
mesa-dri-drivers-24.1.4-2.fc40.x86_64         Sun 21 Jul 2024 12:18:38 PM CEST

Edit: downgrading to 24.0.5 fixed it

1 Like

how do you downgrade to 24.0.5? I tried the dnf downgrade mesa-* but that didn’t fix my problem.

My main desktop has AMD Radeon 6750 and is affected. I also have a laptop with a Nvidia 3050 and it works just fine. So this appears to only affect AMD GPUs.

I used the downgrade command, so i think that should be enough. Do your mesa packages now show the 24.0.5 version? Did you logout / reboot afterwards?

mesa-vulkan-drivers-24.0.5-1.fc40.x86_64      Mon 22 Jul 2024 01:35:32 AM CEST
mesa-va-drivers-24.0.5-1.fc40.x86_64          Mon 22 Jul 2024 01:35:31 AM CEST
mesa-libglapi-24.0.5-1.fc40.x86_64            Mon 22 Jul 2024 01:35:31 AM CEST
mesa-libGL-24.0.5-1.fc40.x86_64               Mon 22 Jul 2024 01:35:31 AM CEST
mesa-libgbm-24.0.5-1.fc40.x86_64              Mon 22 Jul 2024 01:35:31 AM CEST
mesa-libEGL-24.0.5-1.fc40.x86_64              Mon 22 Jul 2024 01:35:31 AM CEST
mesa-filesystem-24.0.5-1.fc40.x86_64          Mon 22 Jul 2024 01:35:31 AM CEST
mesa-dri-drivers-24.0.5-1.fc40.x86_64         Mon 22 Jul 2024 01:35:31 AM CEST
tomporter@fedora:~$ rpm -qa mesa* *\ffmpeg*

compat-ffmpeg4-4.4.4-5.fc40.x86_64
mesa-libGLU-9.0.3-4.fc40.x86_64
vlc-plugin-ffmpeg-3.0.21-3.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.i686
mesa-va-drivers-24.1.4-2.fc40.x86_64
mesa-libglapi-24.1.4-2.fc40.x86_64
mesa-dri-drivers-24.1.4-2.fc40.x86_64
mesa-libgbm-24.1.4-2.fc40.x86_64
mesa-libEGL-24.1.4-2.fc40.x86_64
mesa-libEGL-devel-24.1.4-2.fc40.x86_64
mesa-libGL-24.1.4-2.fc40.x86_64
mesa-libOSMesa-24.1.4-2.fc40.x86_64
mesa-vulkan-drivers-24.1.4-2.fc40.x86_64
mesa-va-drivers-24.1.4-2.fc40.i686
mesa-libglapi-24.1.4-2.fc40.i686
mesa-dri-drivers-24.1.4-2.fc40.i686
mesa-libgbm-24.1.4-2.fc40.i686
mesa-libEGL-24.1.4-2.fc40.i686
mesa-libGL-24.1.4-2.fc40.i686
mesa-libOSMesa-24.1.4-2.fc40.i686
mesa-vulkan-drivers-24.1.4-2.fc40.i686
ffmpeg-libs-6.1.1-14.fc40.x86_64
ffmpeg-6.1.1-14.fc40.x86_64
tomporter@fedora:~$ 
tomporter@fedora:~$ sudo dnf downgrade mesa-*~
[sudo] password for tomporter: 
Last metadata expiration check: 3:37:03 ago on Sun 21 Jul 2024 03:37:24 PM CDT.
No package mesa-*~ available.
Error: No packages marked for downgrade.
tomporter@fedora:~$ dnf downgrade mesa-*
Error: This command has to be run with superuser privileges (under the root user on most systems).
tomporter@fedora:~$ sudo dnf downgrade mesa-*
Last metadata expiration check: 3:37:43 ago on Sun 21 Jul 2024 03:37:24 PM CDT.
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 size: 49 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] mesa-dri-drivers-24.0.5-1.fc40.x86_64.rpm: Already downloaded        
[SKIPPED] mesa-filesystem-24.0.5-1.fc40.x86_64.rpm: Already downloaded         
[SKIPPED] mesa-libEGL-24.0.5-1.fc40.x86_64.rpm: Already downloaded             
[SKIPPED] mesa-libEGL-devel-24.0.5-1.fc40.x86_64.rpm: Already downloaded       
[SKIPPED] mesa-libGL-24.0.5-1.fc40.x86_64.rpm: Already downloaded              
[SKIPPED] mesa-libOSMesa-24.0.5-1.fc40.x86_64.rpm: Already downloaded          
[SKIPPED] mesa-libgbm-24.0.5-1.fc40.x86_64.rpm: Already downloaded             
[SKIPPED] mesa-libglapi-24.0.5-1.fc40.x86_64.rpm: Already downloaded           
[SKIPPED] mesa-va-drivers-24.0.5-1.fc40.x86_64.rpm: Already downloaded         
[SKIPPED] mesa-vulkan-drivers-24.0.5-1.fc40.x86_64.rpm: Already downloaded     
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'.
tomporter@fedora:~$
tomporter@fedora:~$ rpm -Va --nofiles --nodigest
tomporter@fedora:~$ rpm --rebuilddb
error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Permission denied)
tomporter@fedora:~$ 
 


Didn’t work… and tried what it told me to try, that didn’t fix anything. Not sure what else to do.

Is it possible that you didn’t type the backslash when issuing the downgrade command?

sudo dnf downgrade mesa-\*