You are not logged in.

#1 2021-05-15 09:21:53

nikitau
Member
Registered: 2021-05-15
Posts: 2

VAAPI decoding on Gen 12 Intel yields green artifacts

I'm currently trying to make VAAPI work on Gnome on an i5-11600K (Intel UHD 750). Unfortunately I haven't managed to get it working on any application besides mpv. I installed intel-media-driver since this one should support my graphics card. HW accelerated video decoding does indeed seem to work as confirmed by intel_gpu_top, but unless played mpv with "vaapi-copy" as the decoding method, the videos yield green artifacts.

vainfo output

MPV h264 video with vaapi-copy: log image
Hardware decoding works, output is normal

MPV h264 video with vaapi: log image
Falls back to software decoding

VLC h264 Video: log image
HW decoding working, green artifacts.

Firefox VP9 on Wayland: log image
HW decoding, green artifacts.

Firefox VP9 video on X11: log image
HW decoding, same green artifacts.

MPV AV1 video: log image
This shows another kind of artifaction and is a known issue with Rocket Lake chips. Currently being worked on in ffmpeg.

Although I'm currently running on Wayland, the issue is reproducible on Xorg as well as seen for firefox.

Apart from AV1, which seems like another issue, given the fact that mpv can properly decode and render using "vaapi-copy" makes me believe the green artifacts are a rendering bug, not decoding itself, but that's just my haunch.

Has anyone else experience this on gen 12 or otherwise when using Intel VAAPI?

Last edited by nikitau (2021-05-15 10:43:45)

Offline

#2 2021-07-01 07:17:59

deadite66
Member
Registered: 2015-06-13
Posts: 31

Re: VAAPI decoding on Gen 12 Intel yields green artifacts

not sure if you've been seeing this drama unfold, waiting for either intel or the kodi team to admit to being wrong (likely intel is wrong here)

https://github.com/intel/media-driver/issues/1210

https://forum.kodi.tv/showthread.php?tid=362073

Offline

#3 2021-07-01 08:09:26

nikitau
Member
Registered: 2021-05-15
Posts: 2

Re: VAAPI decoding on Gen 12 Intel yields green artifacts

deadite66 wrote:

not sure if you've been seeing this drama unfold, waiting for either intel or the kodi team to admit to being wrong (likely intel is wrong here)

https://github.com/intel/media-driver/issues/1210

https://forum.kodi.tv/showthread.php?tid=362073

Wow. I was not aware of this, but I've posted this bug on multiple sources and saw that people on kodi were reporting it the most. This may be it, tho. It's definitely not the Gen 11 AV1 decoding bug, which was caused by ffmpeg.

If the issue really is that it's an intel media driver bug, it would explain why it affects both kodi and other ffmpeg-based video players (eg. firefox, mpv, vlc).

Gen 11/12 aren't really that popular in today market and are usually powerful enough to do software decoding w/o the user noticing degraded performance so maybe that's the reason why it's underreported.

Last edited by nikitau (2021-07-01 08:12:03)

Offline

#4 2021-07-11 06:53:59

deadite66
Member
Registered: 2015-06-13
Posts: 31

Re: VAAPI decoding on Gen 12 Intel yields green artifacts

looks like kodi playback is fixed in intel-media-driver git.

Offline

Board footer

Powered by FluxBB