Green artifacts flashing on screen when using Quicksync

Server Version#: 1.23.5.4862
Player Version#: Plex Web 4.62.1
CPU: i7-11700K
iGPU: Intel® UHD Graphics 750
OS: Ubuntu Server 21.04 (bare metal)

Hi folks,

I hope you’re able to help here, I’m not well versed in hardware transcoding (and most things Plex) but experienced with Linux.

When using hardware transcoding with Quicksync I get major green artifacts in the stream. I’ll screenshots below. These artifacts are almost constantly flashing on the screen, and appear on all players including web and Android TV.

I have tried installing intel-media-va-driver-non-free and i965-va-driver-shaders without luck. ffmpeg is able to render with the following parameters, but it should be noted that the output was of poor quality: sudo ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i in.mp4 -codec:v h264_vaapi output.mp4


Again, any help or tips are appreciated! Let me know if I can provide any additional info.

Ubuntu Server LTS 20.04.2 with HWE Kernel (5.11) on i5-11600k UHD 750, and with latest intel runtimes (Releases · intel/compute-runtime · GitHub)…same issue: image

I wonder if the newer kernels would handle the UHD 750 Graphics chips better. Does anyone have any experience running it on something rolling like Arch or Fedora?

I was able to transcode without any green artifacts using the following ffmpeg command, which makes me think it may be an issue with Plex specifically.

sudo ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i in.mp4 -codec:v h264_vaapi output.mp4

Wheras the same video transcoded with Plex, or using ‘Optimized Versions’ with Plex had extreme green artifacts.
Does anyone have any ideas if this is the proper command to be using hardware transcoding?

Have you seen this thread?

Thanks for sharing that @Volts , looks like they also experienced the green artifacting

I am currently on 21.04 and a 5.11 kernel, but I tried installing the Intel Neo drivers anyway and it may have fixed it. I had some weirdness going on for a little bit initially, but I cannot reproduce it and it seems to be encoding fine (although not HEVC HDR like that post said).

I’ll keep monitoring it, but this may be worth trying for you as well @furflix

what do you mean by installing Intel Neo? these ones? >> Releases · intel/compute-runtime · GitHub

if yes, Im using the latest version but the green artifacts are still there.

if you want to try, I’ve found the green artifacts are only happening when:

  1. using plex web
  2. transcoding to a higher resolution than the source. ie. the movie is 720p and the web player tries to transcode to 1080p.

otherwise, I think i cant reproduce the issue. for some unknown reason, it’s not happening with all the movies…

Hello All, There is a ton of history in my thread on the different tests and results from them .The unfortunate outcome so far is that the linux kernel doesn’t have fully integrated support for the newer intel GPU’s yet. The state of the transcoding varies with every release of plex, the kernel and the NEO runtime packages. I’ve had one really good (but not perfect) combination earlier on but now it’s a crapshoot as to the results with every update. For the most part if you are only transcoding 1 4k hrd stream it’s watchable now, every once and a while i’ll get green artifacts, the more consistent behavior now is some light static on the screen. You can see it in some of my screenshots near the bottom of the thread. I continue to test stuff out as it gets released (plex, kernel, NEO drivers) and anything else that might make a difference. If there are specific questions you have toss them into the thread, there are a bunch of people preforming lots of tests to try and make this work better. Thanks and good luck!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.