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

tomporter@fedora:~$ sudo dnf downgrade mesa-\*
[sudo] password for tomporter: 
Last metadata expiration check: 4:03:08 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:~$ 

Seems it comes out the same.

Could you change the title to be a bit more precise? I dont know what “garbled” means here.

This may have multiple reasons.

i dont know a better word than garbled. Sorry.

What does the video do, what is wrong with it? Does it lose pixels, stutter, have the wrong color, be in bad speed, drop frames, have tearing, …

1 Like

it is pixeled, but not showing the video as intended, instead it is random gablegook. Garbled like I said is the best word I know. when the video starts it will apear as normal, but a couple seconds in most of the screen fills with like squares of different colors, part of the screen still plays as intended, but only like 1/10 of the screen. the rest is just random noise. There was someone else that was getting the same issue on an AMD card… and on my laptop that is Nvidia it works as intended. So this issue is only on AMD cards. he said he downgraded MESA but when I try to downgrade MESA it does not work.

garbled

adjective

  1. Difficult to understand because it has been distorted; scrambled.
  2. Lacking orderly continuity.
1 Like
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

Ok it wont let me because libva-2.21.0-3.fc40.i686 and mesa-va-drivers-24.1.4-2.fc40.i686 need mesa-filesystem(x86-32) is there a way to still downgrade it? or what remove these 2 packages, downgrade, then readd these packages? or what would be the fix? Maybe this type of thing is common knowledge, but not something I have ever done.

sudo dnf downgrade mesa-\*.{x86_64,i686}
sudo dnf upgrade --exclude mesa-\*

2299031 – mesa 24.1.4 breaks AV1 video playback in firefox on amdgpu

1 Like

thanks. that worked. will take some time to test, but someone else already said this fixes it.

Now what does this mean for future updates? Will I have to be careful not to do any updates for MESA until this is fixed?

1 Like

Now what does this mean for future updates?

The issue has been fixed upstream and new packages will arrive next friday:

https://bugzilla.rpmfusion.org/show_bug.cgi?id=7007

So until that moment you could choose to exclude mesa when upgrading your AMD system.

That update has been untagged and reverted, the recent ffmpeg update should fix the issue.

1 Like

Oops sorry my bad and thanks for correcting Leigh!

https://rpmfusion.ip-connect.info/free/fedora/updates/40/x86_64/repoview/ffmpeg-libs.html

1 Like

One thing i wonder is that i currently don’t have those installed on my system, only this:

# rpm -qa | grep ffmpeg
ffmpeg-free-6.1.1-14.fc40.x86_64

You will need the ‘castrated ffmpeg’ update from fedora reop.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-810afc5c2e

1 Like

I am on a 7900 xt and the recent updates including ffmpeg-free 6.1.1-19.fc40 and the other libav* updates didn’t fix the problem for me. :frowning:

I’m not sure if i missed anything, but upgrading to those advisory packages and then doing the regular mesa update made the bug reappear on my system :

# rpm -qa libav* *\ffmpeg* *\mesa*

mesa-libGLU-9.0.3-4.fc40.x86_64
libavif-1.0.4-3.fc40.x86_64
libavc1394-0.5.4-22.fc40.x86_64
libavutil-free-6.1.1-19.fc40.x86_64
libavcodec-free-6.1.1-19.fc40.x86_64
libavformat-free-6.1.1-19.fc40.x86_64
libavfilter-free-6.1.1-19.fc40.x86_64
libavdevice-free-6.1.1-19.fc40.x86_64
ffmpeg-free-6.1.1-19.fc40.x86_64
mesa-filesystem-24.1.4-2.fc40.x86_64
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-libGL-24.1.4-2.fc40.x86_64
mesa-vulkan-drivers-24.1.4-2.fc40.x86_64

Screenshot of garbled video:

Added amdgpu, f40, mesa, video, workstation

not sure how to download the mp4 from Youtube.

I just mean, find a video in Firefox on youtube and load it to a player as if you wanted to play it, right mouse click on the video pick “Copy video URL” from the menu shown. Another way would be to just right click a video in a list and use “Copy Link”. Go to a terminal window and type:

youtube-dl

Then after that right mouse click in the terminal and do a “paste” so that it looks like this example:

youtube-dl https://youtu.be/bfXXS5Z1JMc

Hit enter and youtube-dl should download the video to the current folder

I tried clicking Download, but it says that it downloaded it, but i can’t find any file anywhere. Not sure what it did.

If you use the Download functionality in Firefox, just go to the Firefox menu, select “Tools->Downloads”, and the thing you downloaded should be shown there, you can select it there, right mouse click it for the menu and pick “Show in Folder”. That way Firefox will show the file in the folder it ended up in.

Todays rpmfusion update will address the issue.

https://download1.rpmfusion.org/free/fedora/updates/40/x86_64/repoview/

Okay so the versions on that RepoView page are:

While the advised packages earlier in the thread were:

libavif-1.0.4-3.fc40.x86_64
libavc1394-0.5.4-22.fc40.x86_64
libavutil-free-6.1.1-19.fc40.x86_64
libavcodec-free-6.1.1-19.fc40.x86_64
libavformat-free-6.1.1-19.fc40.x86_64
libavfilter-free-6.1.1-19.fc40.x86_64
libavdevice-free-6.1.1-19.fc40.x86_64
ffmpeg-free-6.1.1-19.fc40.x86_64

So do you mean the new packages with the proper fix are older? It’s getting a little bit tricky now with the version numbers.