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

No youre mixing up the *free packages from the official Fedora repo with the listed packages from rpmfusion.

If you install ffmpeg-6.1.1-15.fc40 it replaces ffmpeg-free-6.1.1-19.fc40 from the Fedora repo.

I think the best way to switch to the rpmfusion version is documented here:
https://rpmfusion.org/Howto/Multimedia?highlight=(\bCategoryHowto\b)

1 Like

You’re completely right Mathias, i just noticed myself :sweat_smile:

Yeah I was also confused earlier … hope the ffmpeg-6.1.1-15.fc40 lands soon, for me only the -14 package is available atm.

I think i’ll stick to the downgraded official packages for now, and wait for a fix to drop there. Then we’ll have a good idea whether it’s fixed in both environments.

I can confirm that the update fixes the issue.

Do you know why gnome software center did show the possible updates to install but via dnf update they were not available?

image

so you just updated in the gnome “Software” app? or did you have to do something to get the update?

No ran software update, and the problem is back. will run the command to remove the update again.

Activated rpmfusion free repo and then updated through “Software” Application. Somehow dnf didnt show the updates…

odd, when I went to activate the rpmfusion free repo it said it was already active. I did activate the nonfree one as well. But if the free repo was already active why when I updated in “Software” did the problem come back.

after adding nonfree rpmfusion I ran “software” update and again got the problem again. going to run the dnf command to roll back the mesa update again.

I also have the same problem since the weekend. In my case the issue is only specific to Firefox. I don’t have the same problem with Brave or Firefox Nightly. Therefore I assumed that it’s a Firefox problem, but I also noticed that the problem started immediately after the mesa updates.

From what i have learned, the original problem lies in mesa, but it is triggered by something in ffmpeg. So there are multiple ways to circumvent the bug:

  • Patched mesa

This is the long term fix, but a patched version that was released yesterday appeared to be incomplete. A new patch that fixes the issue was released today for testing, and can hopefully land in the stable repo on friday.

  • Patched ffmpeg

There are patched ffmpeg packages that don’t trigger the bug in mesa, however there are multiple versions of ffmpeg going around:

Official ffmpeg (free) in the stable repo, this is not patched yet afaik
Rpmfusion ffmpeg (nonfree), this one is now patched

And last but not least, some software like Firefox ships it’s own ffmpeg version. The Firefox ffmpeg was patched for Firefox 130 which is slated for August 5. This is probably the version that you also get when you use the Firefox nightlies.

Mesa update being pushed to testing:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-face82e699

1 Like

The mesa package in testing fixes it permanently for me.

Update out today permanently fixed the issues for me.

3 Likes

I think mine is fixed too, but it was a pretty big issue. Needed to hard reset my computer a few times. The external display seemed to be a part of the crash.