# Green artifacts flashing on screen when using Quicksync

**URL:** https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [July 28, 2021, 11:41pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493 "2021-07-28T23:41:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![rlando11](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rlando11](https://forums.plex.tv/u/rlando11)
#### Post date: [July 28, 2021, 11:41pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/1 "2021-07-28T23:41:42Z")

</div>

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_

 ![Screenshot from 2021-07-28 16-23-03](https://global.discourse-cdn.com/plex/original/3X/4/5/4550975b6806890e1f42c898e97b1d2e38699053.jpeg)  
 ![Screenshot from 2021-07-28 16-20-28](https://global.discourse-cdn.com/plex/original/3X/3/1/31edb6323a609bc2bca5aff8f8cf0dfb2ee2d93d.jpeg)

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

---

<div class="post-metadata">

### Author: ![furflix](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/furflix/32/12817_2.png) [@furflix](https://forums.plex.tv/u/furflix)
#### Post date: [August 6, 2021, 4:10am UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/2 "2021-08-06T04:10:48Z")

</div>

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](https://github.com/intel/compute-runtime/releases))…same issue: ![image](https://global.discourse-cdn.com/plex/original/3X/9/d/9dbcbce3aa81a2f31eb4e1b9503b1f87300d3046.jpeg)

---

<div class="post-metadata">

### Author: ![rlando11](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rlando11](https://forums.plex.tv/u/rlando11)
#### Post date: [August 6, 2021, 5:18am UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/3 "2021-08-06T05:18:34Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![rlando11](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rlando11](https://forums.plex.tv/u/rlando11)
#### Post date: [August 10, 2021, 6:00pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/4 "2021-08-10T18:00:51Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)
#### Post date: [August 10, 2021, 6:12pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/5 "2021-08-10T18:12:41Z")

</div>

Have you seen this thread?

> [@Working Rocket Lake GPU with HDR the easy way both docker and bare metal!](https://forums.plex.tv/t/working-rocket-lake-gpu-with-hdr-the-easy-way-both-docker-and-bare-metal/721200):
>
> Server Version#:1.23.2.4656 I’ve been trying to get GPU support with HDR working for a couple days now and after trying multiple ways wanted to post the easy way if your running ubuntu since i didn’t find anything clearly posted in the forums. Install 21.04, that’s it. I’m a LST person in general but 21.04 running 5.11.0-18-generic (out of the box kernel) with the intel compute runtime packages installed has GPU offload with HDR working. [Capture] The full steps of what i did: Installed 21…

---

<div class="post-metadata">

### Author: ![rlando11](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rlando11](https://forums.plex.tv/u/rlando11)
#### Post date: [August 10, 2021, 10:43pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/6 "2021-08-10T22:43:24Z")

</div>

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

---

<div class="post-metadata">

### Author: ![furflix](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/furflix/32/12817_2.png) [@furflix](https://forums.plex.tv/u/furflix)
#### Post date: [August 10, 2021, 11:11pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/7 "2021-08-10T23:11:36Z")

</div>

what do you mean by installing Intel Neo? these ones? \>\> [Releases · intel/compute-runtime · GitHub](https://github.com/intel/compute-runtime/releases)

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…

---

<div class="post-metadata">

### Author: ![scuffe](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@scuffe](https://forums.plex.tv/u/scuffe)
#### Post date: [August 11, 2021, 5:20pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/8 "2021-08-11T17:20:59Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [November 9, 2021, 5:21pm UTC](https://forums.plex.tv/t/green-artifacts-flashing-on-screen-when-using-quicksync/732493/9 "2021-11-09T17:21:51Z")

</div>

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