Open sebastianas opened 2 weeks ago
Please check the details in https://github.com/intel/media-driver/issues/1832
This is caused by lack of filmgram kernel with free kernel build. AV1 will not work without it on tgl, but there will be no kernel dependency anymore from mtl+.
Didn't realize this is a duplicate of the other bug. What I don't understand after reading the other report, is this a situation that will change soon or unlikely to change at all? If it won't change, wouldn't it be sane to remove the acceleration from the "free" driver (and keep it only in the "non-free" driver) rather than keeping the support enabled keep crashing?
Will not change at all on tgl/dg1/dg2, yeah we need to remove it from 'free' driver feature list for these platforms.
@Jexu , how about just remove film grain feature , still support AV1d?
@XinfengZhang It needs a lot of works to refine the code to separate filmgrain and I think it will not be priorized since driver has moved to fix function from mtl. Btw, filmgrain apply is frame leve syntax, it means some of the frame could apply filmgrain, some of them doesn;t need. You cannot know if frame sequences need it before decoding.
Which component impacted?
Decode
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
It works without vaapi. It woirks with vaapi and non-free kernels. The media files is provided in the debug section.
What's the usage scenario when you are seeing the problem?
Playback
What impacted?
I was never able to play a AV1 encoded media on this hardware as long as I have it. I initially worked around it by disabling hardware acceleration hoping it will resolve on its own but didn't so far. The free kernels are shipped in Debian by default. I just learned today (while debugging) that non-free kernels in a different package also exists.
Debug Information
intel-media-va-driver:amd64 24.2.5+dfsg1-1
$ ls /dev/dri/ by-path card0 renderD128
https://github.com/user-attachments/assets/3731fef0-096b-4750-9681-afea1caeea52
libva_trace.log.txt vainfo.txt
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
Do you want to contribute a patch to fix the issue?
Yes, I'm glad to submit a patch to fix it