# Colored vertical lines when hw transcoding HEVC on 918+

**URL:** <https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747>\
**Category:** General Discussions\
**Tags:** server-synology\
**Created:** [April 1, 2020, 1:41am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747 "2020-04-01T01:41:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![toyanucci](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@toyanucci](https://forums.plex.tv/u/toyanucci)\
**Post date:** [April 1, 2020, 1:41am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/1 "2020-04-01T01:41:43Z")

</div>

I’m getting some vertical lines that almost look like deinterlacing lines whenever I transcode any HEVC file. I found a thread here that talks about it and has a script to fix it but when I try the script it makes all HEVC transcodes sw only on my system which isn’t ideal even though sw transcoding doesn’t seem to have the problem.

I read it’s an issue with the cpu in the 918+ but if that script could fix it in the past I’m just checking if there’s an up to date fix that allows hw transcoding.

Thanks

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 1, 2020, 1:58am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/2 "2020-04-01T01:58:33Z")

</div>

Can you give us a pic of it please?

Deinterlacing lines are horizontal lines across the image.

---

<div class="post-metadata">

**Author:** ![toyanucci](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@toyanucci](https://forums.plex.tv/u/toyanucci)\
**Post date:** [April 1, 2020, 5:21am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/3 "2020-04-01T05:21:55Z")

</div>

![Screenshot_20200401-002003](https://global.discourse-cdn.com/plex/original/3X/d/e/de58360e4423ca076a562930c29b945b95c18dc9.jpeg) ![Screenshot_20200401-001841](https://global.discourse-cdn.com/plex/original/3X/5/2/52702b4b200f91688dde84af7d3f5a1e50b8ac5e.jpeg) ![Screenshot_20200401-001952](https://global.discourse-cdn.com/plex/original/3X/d/1/d143471d989202ede6684e28500bb8c7a8232031.jpeg) ![Screenshot_20200401-001830](https://global.discourse-cdn.com/plex/original/3X/a/0/a0b686df5d4bf3213e04aa141628d406cbabbf0c.jpeg) ![Screenshot_20200401-001925](https://global.discourse-cdn.com/plex/original/3X/3/d/3d17307c9dbc05e3ec99aaaac0dc669a3fba9f89.jpeg) ![Screenshot_20200401-001813](https://global.discourse-cdn.com/plex/original/3X/4/b/4b800fdd6b878829bc79ce016723cc989ef299ca.jpeg)

These are screenshots without and with transcoding enabled.

It’s exactly as described [here](https://forums.plex.tv/t/veritcal-blue-artifact-lines-while-transcoding-on-ds918/238602/19)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 1, 2020, 6:03am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/4 "2020-04-01T06:03:46Z")

</div>

Thanks. I see it. That’s actually macro-blocking caused by the iHD driver.

There is a way around this (permanently).

1. Install the Synology Text Exitor (package center)
2. Stop Plex
3. Open File Station
4. Navigate into the Plex share / Library / Application Support / Plex Media Server
5. Right-click “Preferences.xml” -\> Open in Text Editor.
6. Cursor down and to the right until you get to the `/>` on the last line. You’ll see other information there which you identify as your email address, etc. This is to help confirm you’re on the right line.
7. Before the `/>` type `VaapiDriver=“i965”` (one space before and after)  
a. It will look like ` VaapiDriver="i965" />`
8. Save the file
9. Exit the Text Editor
10. Start PMS.

---

<div class="post-metadata">

**Author:** ![toyanucci](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@toyanucci](https://forums.plex.tv/u/toyanucci)\
**Post date:** [April 3, 2020, 3:15am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/5 "2020-04-03T03:15:13Z")

</div>

I actually have that setting already set. I had seen it in another thread to make the i965 driver the default driver. I had the vertical lines problem before I had made that change and after so this doesn’t fix it.

While I don’t know the technical term I don’t think it’s macro-blocking as it only happens with hardware transcoding HEVC files.

 ![Screenshot_20200402-221734](https://global.discourse-cdn.com/plex/original/3X/e/4/e44492ef39b9a24e1b37ff3045cfe7ac317b7a61.jpeg)

 ![Screenshot_20200402-221635](https://global.discourse-cdn.com/plex/original/3X/0/b/0bded8c6b18d2376a0fbedfb63439e83476a373c.jpeg)

Here it is blown up like it looks on my TV. When viewed here in this thread without it being blown up it doesn’t look as bad as it does on a bigger screen. Also see why I say it looks like deinterlacing lines but arranged vertically?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 3, 2020, 4:07am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/6 "2020-04-03T04:07:45Z")

</div>

Thank you. I can see that much more clearly and yes, it’s not macro-blocking.

That looks very much like a stride (stepping) problem.

Can you get me a piece of that file to test with here?  
I have several HEVC-capable machines. I want to determine if it’s PMS version or hardware specific.

---

<div class="post-metadata">

**Author:** ![toyanucci](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@toyanucci](https://forums.plex.tv/u/toyanucci)\
**Post date:** [April 4, 2020, 2:04am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/7 "2020-04-04T02:04:53Z")

</div>

Based on [this](https://forums.plex.tv/t/color-corruption-on-resize-when-hw-transcoding-hevc-content-to-h264-4k-subs-synology-ds918-nas/223645/18) it seems to be a hardware issue. But in this same thread they had found a work around but that doesn’t seem to work anymore. It defaults to software transcoding when I try the fix suggested there.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 4, 2020, 2:38am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/8 "2020-04-04T02:38:21Z")

</div>

That’s why I requested a piece (sample) of the file.

There is a known issue with the ApolloLake CPUs  
I would like to test the video on other CPUs to confirm whether indeed ApolloLake or something else.

---

<div class="post-metadata">

**Author:** ![toyanucci](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@toyanucci](https://forums.plex.tv/u/toyanucci)\
**Post date:** [April 4, 2020, 5:08am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/9 "2020-04-04T05:08:08Z")

</div>

I found a solution by following the instructions from [here](https://forums.plex.tv/t/color-corruption-on-resize-when-hw-transcoding-hevc-content-to-h264-4k-subs-synology-ds918-nas/223645/16) but using the updated code from [here](https://forums.plex.tv/t/color-corruption-on-resize-when-hw-transcoding-hevc-content-synology-ds918-nas/470446/7). It now does hw transcoding of HEVC without any of the visual issues that I’ve been complaining about.

---

<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:** [July 3, 2020, 5:08am UTC](https://forums.plex.tv/t/colored-vertical-lines-when-hw-transcoding-hevc-on-918/565747/10 "2020-07-03T05:08:12Z")

</div>

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