Bug 7007

Summary: Backport a patch for the upcoming mesa 24.1.4 to fix corrupted AV1 decoding with radeonsi
Product: Fedora Reporter: misc.widely812
Component: mesa-freeworldAssignee: Luya Tshimbalanga <luya_tfz>
Status: RESOLVED FIXED    
Severity: enhancement CC: fedora, leigh123linux, slartibart70
Priority: P1    
Version: f40   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: Proposed patch
AV1 HW Decoding broken on mesa-freeworld 24.1.4-1

Description misc.widely812 2024-07-19 10:32:47 CEST
Mesa 24.1.4 contains a regression when playing back video with hardware decode. To fix this, there is a proposed merge request that aims to fix the issue.

Issue Thread: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11533
Merge Request & Patch: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30255
Comment 1 misc.widely812 2024-07-19 10:34:31 CEST
Created attachment 2571 [details]
Proposed patch
Comment 2 misc.widely812 2024-07-20 16:05:21 CEST
Created attachment 2572 [details]
AV1 HW Decoding broken on mesa-freeworld 24.1.4-1

Can confirm it's broken on -1. Upgrading to -2 fixes it. I will mark this as thread as fixed since that version is gonna be pushed to repos very soon.
Comment 3 leigh scott 2024-07-20 16:33:32 CEST
(In reply to misc.widely812 from comment #2)
> Created attachment 2572 [details]
> AV1 HW Decoding broken on mesa-freeworld 24.1.4-1
> 
> Can confirm it's broken on -1. Upgrading to -2 fixes it. I will mark this as
> thread as fixed since that version is gonna be pushed to repos very soon.

It will be pushed next Friday as the fixed package missed the last push.
Comment 4 slartibart70 2024-07-21 12:39:12 CEST
just out of curiosity:

there is also a fix for ffmpeg (6.1.1-19) on fedora40
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400#note_2432971
and 
https://bodhi.fedoraproject.org/updates/FEDORA-2024-810afc5c2e

which lands in ffmpeg-free (fedora) and libav* files.

Isn't there a need to update rpmfusions ffmpeg repos as well?

current repo availability:
ffmpeg.x86_64  6.1.1-14.fc40  @rpmfusion-free-updates
Comment 5 Thorsten Leemhuis 2024-07-22 15:58:22 CEST
(In reply to leigh scott from comment #3)

> It will be pushed next Friday as the fixed package missed the last push.

Leigh, I'm sure you had your reason to untagged that -2 build and revert the change in the vcs for f41 and f40, but still would have been nice if you had shared your line of thought.

Was it https://bodhi.fedoraproject.org/updates/FEDORA-2024-810afc5c2e ? I guess that might have been right at the time. Whatever. But it seems Fedora is now doing what the reporter of this ticket suggested -- at least for f41: https://src.fedoraproject.org/rpms/mesa/c/bd66117503acfb8a1e8cc7961f1e8185805a3c0b?branch=rawhide

Should we follow suite?
Comment 6 Thorsten Leemhuis 2024-07-22 16:03:01 CEST
[CCing leigh to make sure this comment is noticed]

(In reply to Thorsten Leemhuis from comment #5)
> (In reply to leigh scott from comment #3)
> 
> > It will be pushed next Friday as the fixed package missed the last push.
> 
> Leigh, I'm sure you had your reason to untagged that -2 build and revert the
> change in the vcs for f41 and f40, but still would have been nice if you had
> shared your line of thought.
> 
> Was it https://bodhi.fedoraproject.org/updates/FEDORA-2024-810afc5c2e ? I
> guess that might have been right at the time. Whatever. But it seems Fedora
> is now doing what the reporter of this ticket suggested -- at least for f41:
> https://src.fedoraproject.org/rpms/mesa/c/
> bd66117503acfb8a1e8cc7961f1e8185805a3c0b?branch=rawhide
> 
> Should we follow suite?