Since last update (including MESA, might be related), firefox cannot play AV1 video from youtube correctly. e.g. https://www.youtube.com/watch?v=ezCzq2VFxgg Reproducible: Always Steps to Reproduce: 1.Play a youtube video woth AV1 codec in Firefox ( e.g. https://www.youtube.com/watch?v=ezCzq2VFxgg) 2.There is some garbage on the top left corner Actual Results: Video is messed up. Expected Results: Normal video output Installed Packages Name : mesa-dri-drivers Version : 24.1.4 Release : 2.fc40
Created attachment 2040047 [details] Playing AV1 video from youtube on Firefox
System information : # Rapport d’informations du système --- - **MB :** ASRock X670E Taichi - **Memory :** 32,0 Gio - **CPU :** AMD Ryzen™ 7 7700 × 16 - **GPU :** AMD Radeon™ RX 7900 XTX - **GPU 1 :** AMD Radeon™ Graphics ## Informations liées au logiciel : - **Bios version :** 3.01 - **OS :** Fedora Linux 40 (Workstation Edition) - **Construction du système d’exploitation :** (null) - **Type de système d’exploitation :** 64 bits - **GNOME :** 46 - **display server :** Wayland - **Kernel version :** Linux 6.9.9-200.fc40.x86_64
It can start with a nice image, then turn into garbage after a few seconds (~20 seconds).
I did some more testing about this issue: I did a fresh install of F40 workstation ( Fedora-Workstation-Live-x86_64-40-1.14.iso, sha256sum: dd1faca950d1a8c3d169adf2df4c3644ebb62f8aac04c401f2393e521395d613 Fedora-Workstation-Live-x86_64-40-1.14.iso) Without no updates, just the packages from the ISO, Firefox can play AV1 videos. Then I updated to current and did nothing else. At that point it triggers the bug. Then I did downgrade all mesa packages to the previous version: Using this command I found the packages installed from mesa $ dnf list mesa* I then grabbed the previous version from this URL: https://koji.fedoraproject.org/koji/buildinfo?buildID=2485648 $ ls mesa-dri-drivers-24.1.2-8.fc40.x86_64.rpm mesa-libEGL-24.1.2-8.fc40.x86_64.rpm mesa-libGL-24.1.2-8.fc40.x86_64.rpm mesa-va-drivers-24.1.2-8.fc40.x86_64.rpm mesa-filesystem-24.1.2-8.fc40.x86_64.rpm mesa-libgbm-24.1.2-8.fc40.x86_64.rpm mesa-libglapi-24.1.2-8.fc40.x86_64.rpm mesa-vulkan-drivers-24.1.2-8.fc40.x86_64.rpm I downgraded those packages using this command: $ LC_ALL=C sudo dnf install * Last metadata expiration check: 0:00:20 ago on Sun Jul 21 10:28:22 2024. Dependencies resolved. ============================================================================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================================================================= Downgrading: mesa-dri-drivers x86_64 24.1.2-8.fc40 @commandline 26 M mesa-filesystem x86_64 24.1.2-8.fc40 @commandline 21 k mesa-libEGL x86_64 24.1.2-8.fc40 @commandline 141 k mesa-libGL x86_64 24.1.2-8.fc40 @commandline 177 k mesa-libgbm x86_64 24.1.2-8.fc40 @commandline 48 k mesa-libglapi x86_64 24.1.2-8.fc40 @commandline 51 k mesa-va-drivers x86_64 24.1.2-8.fc40 @commandline 4.0 M mesa-vulkan-drivers x86_64 24.1.2-8.fc40 @commandline 17 M Transaction Summary ============================================================================================================================================================================================================================= Downgrade 8 Packages Total size: 47 M Is this ok [y/N]:y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : mesa-filesystem-24.1.2-8.fc40.x86_64 1/16 Downgrading : mesa-va-drivers-24.1.2-8.fc40.x86_64 2/16 Downgrading : mesa-libglapi-24.1.2-8.fc40.x86_64 3/16 Downgrading : mesa-dri-drivers-24.1.2-8.fc40.x86_64 4/16 Downgrading : mesa-libgbm-24.1.2-8.fc40.x86_64 5/16 Downgrading : mesa-libEGL-24.1.2-8.fc40.x86_64 6/16 Downgrading : mesa-libGL-24.1.2-8.fc40.x86_64 7/16 Downgrading : mesa-vulkan-drivers-24.1.2-8.fc40.x86_64 8/16 Cleanup : mesa-libEGL-24.1.4-2.fc40.x86_64 9/16 Cleanup : mesa-libGL-24.1.4-2.fc40.x86_64 10/16 Cleanup : mesa-libgbm-24.1.4-2.fc40.x86_64 11/16 Cleanup : mesa-libglapi-24.1.4-2.fc40.x86_64 12/16 Cleanup : mesa-dri-drivers-24.1.4-2.fc40.x86_64 13/16 Cleanup : mesa-va-drivers-24.1.4-2.fc40.x86_64 14/16 Cleanup : mesa-filesystem-24.1.4-2.fc40.x86_64 15/16 Cleanup : mesa-vulkan-drivers-24.1.4-2.fc40.x86_64 16/16 Running scriptlet: mesa-vulkan-drivers-24.1.4-2.fc40.x86_64 16/16 Downgraded: mesa-dri-drivers-24.1.2-8.fc40.x86_64 mesa-filesystem-24.1.2-8.fc40.x86_64 mesa-libEGL-24.1.2-8.fc40.x86_64 mesa-libGL-24.1.2-8.fc40.x86_64 mesa-libgbm-24.1.2-8.fc40.x86_64 mesa-libglapi-24.1.2-8.fc40.x86_64 mesa-va-drivers-24.1.2-8.fc40.x86_64 mesa-vulkan-drivers-24.1.2-8.fc40.x86_64 Complete! After that, the video in AV1 codec from Youtube plays correctly in Firefox. Thus, AFAICT the culprit is upgrading mesa from 24.1.2-8 to 24.1.4-2.
My report seems to be a duplicate of #2299031
Yes, it is the same report as https://bugzilla.redhat.com/show_bug.cgi?id=2299031 As mentioned by Neal here: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400#note_2496638 This update should fix it: https://bodhi.fedoraproject.org/updates/FEDORA-2024-810afc5c2e *** This bug has been marked as a duplicate of bug 2299031 ***