# Hardware Transcoding - Linux - artefacts

**URL:** https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793
**Category:** General Discussions
**Created:** [October 3, 2017, 6:08pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793 "2017-10-03T18:08:36Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 6:08pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/1 "2017-10-03T18:08:36Z")

</div>

Hello, i updated the plex server on docker 🙂

and i still have really bad quality : (many artefacts )

Ubuntu 16.04 / Intel Core i7-2630QM (2.0 GHz) / HW transcoding activated and running

something to update ?

Some logs :  
“[services.d] starting services  
[services.d] done.  
Starting Plex Media Server.  
libva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/plexmediaserver/dri/i965\_drv\_video.so  
libva info: Found init function \_\_vaDriverInit\_0\_40  
failed to open /data/jenkins/pms-deps-universal-v2/BUILD\_TAG/linux-ubuntu-x86\_64/output/pms-depends-linux-ubuntu-x86\_64-release-87218f6/lib/dri/hybrid\_drv\_video.so  
Failed to wrapper hybrid\_drv\_video.so  
libva info: va\_openDriver() returns 0  
libva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/plexmediaserver/dri/i965\_drv\_video.so  
libva info: Found init function \_\_vaDriverInit\_0\_40  
failed to open /data/jenkins/pms-deps-universal-v2/BUILD\_TAG/linux-ubuntu-x86\_64/output/pms-depends-linux-ubuntu-x86\_64-release-87218f6/lib/dri/hybrid\_drv\_video.so  
Failed to wrapper hybrid\_drv\_video.so  
libva info: va\_openDriver() returns 0  
libva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/plexmediaserver/dri/i965\_drv\_video.so  
libva info: Found init function \_\_vaDriverInit\_0\_40  
failed to open /data/jenkins/pms-deps-universal-v2/BUILD\_TAG/linux-ubuntu-x86\_64/output/pms-depends-linux-ubuntu-x86\_64-release-87218f6/lib/dri/hybrid\_drv\_video.so  
Failed to wrapper hybrid\_drv\_video.so  
libva info: va\_openDriver() returns 0  
Connection to 178.79.148.211 closed by remote host.  
Connection to 178.79.186.187 closed by remote host.  
libva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/plexmediaserver/dri/i965\_drv\_video.so  
libva info: Found init function \_\_vaDriverInit\_0\_40  
failed to open /data/jenkins/pms-deps-universal-v2/BUILD\_TAG/linux-ubuntu-x86\_64/output/pms-depends-linux-ubuntu-x86\_64-release-87218f6/lib/dri/hybrid\_drv\_video.so  
Failed to wrapper hybrid\_drv\_video.so  
libva info: va\_openDriver() returns 0  
libva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/plexmediaserver/dri/i965\_drv\_video.so  
libva info: Found init function \_\_vaDriverInit\_0\_40  
failed to open /data/jenkins/pms-deps-universal-v2/BUILD\_TAG/linux-ubuntu-x86\_64/output/pms-depends-linux-ubuntu-x86\_64-release-87218f6/lib/dri/hybrid\_drv\_video.so  
Failed to wrapper hybrid\_drv\_video.so  
libva info: va\_openDriver() returns 0”

---

<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: [October 3, 2017, 6:10pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/2 "2017-10-03T18:10:53Z")

</div>

Log files please? Screenshots don’t provide anything actionable

Please also provide OS and other hardware information

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 6:11pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/3 "2017-10-03T18:11:50Z")

</div>

@ChuckPA  
i was editing my post 🙂 do you need more logs ?

---

<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: [October 3, 2017, 6:14pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/4 "2017-10-03T18:14:21Z")

</div>

Sorry about that! 🙂

Thanks. I won’t need any additional information. The artifact problem is most likely due to the limitations of CPU/GPU.

To confirm I will need the XML of what you’re playing .

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 6:18pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/5 "2017-10-03T18:18:19Z")

</div>

> @ChuckPa said:  
> Sorry about that! 🙂
> 
> The artifact problem is most likely due to the limitations of CPU/GPU.
> 
> To confirm I will need the XML of what you’re playing .  
> XML attached.

Can be fix with a futher version of VA-API driver or definately dead ?  
thanks

EDIT : same issues with 1080p movie ☹

EDIT 2 : 1080p xml attached ![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/6/6/66949d377b56e691dd31ce45da4cf8a33f4d62dd.xml)

---

<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: [October 3, 2017, 6:24pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/6 "2017-10-03T18:24:54Z")

</div>

Maxine,  
When Intel releases 2.0.0 of `libvaapi`, POSSIBLY ??. Nothing is known until we can actually try it.

As per the artifacts you’re seeing. XViD is the issue. It’s blocky to begin with and definitely not helping any. Hardware transcoding is making it worse. The bitrate is only 1.1 Mbps.

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 6:38pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/7 "2017-10-03T18:38:09Z")

</div>

> @ChuckPA said:  
> Maxine,  
> When Intel releases 2.0.0 of `libvaapi`, POSSIBLY ??. Nothing is known until we can actually try it.
> 
> As per the artifacts you’re seeing. XViD is the issue. It’s blocky to begin with and definitely not helping any. Hardware transcoding is making it worse. The bitrate is only 1.1 Mbps.

Thnaks. It’s clear…

1/ There is a way to test to test 2.0.0 of livaapi or it’s closed source ?  
2/ There is a way, it’s the same issue for all linux user, to disable HW transcoding for all low biterate file ?

On hight biterate, it seems to working.

thnaks

---

<div class="post-metadata">

### Author: ![Achilles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/achilles/32/16864_2.png) [@Achilles](https://forums.plex.tv/u/Achilles)
#### Post date: [October 3, 2017, 6:39pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/8 "2017-10-03T18:39:37Z")

</div>

@“maxime.wantiez” You can download it from Intel’s VAAPI github.

---

<div class="post-metadata">

### Author: ![mouse256](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mouse256/32/3693_2.png) [@mouse256](https://forums.plex.tv/u/mouse256)
#### Post date: [October 3, 2017, 6:57pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/9 "2017-10-03T18:57:24Z")

</div>

I also just tried this new feature transcoding a HEVC video. It indeeds looks very badly, while with software transcoding it looks good. My cpu is a i3-2100, which is the first version that supports quick sync. I assume the quality was still suboptimal back then. Maybe they should just not allow it on that version.

---

<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: [October 3, 2017, 6:59pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/10 "2017-10-03T18:59:39Z")

</div>

> @mouse256 said:  
> I also just tried this new feature transcoding a HEVC video. It indeeds looks very badly, while with software transcoding it looks good. My cpu is a i3-2100, which is the first version that supports quick sync. I assume the quality was still suboptimal back then. Maybe they should just not allow it on that version.

Or you could turn off the option to use HW transcoding ?

---

<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: [October 3, 2017, 7:01pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/11 "2017-10-03T19:01:24Z")

</div>

For supplemental information

[https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming](https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming)

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 7:02pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/12 "2017-10-03T19:02:13Z")

</div>

> @Achilles said:  
> @“maxime.wantiez” You can download it from Intel’s VAAPI github.

i launched the autogen.sh and i have :

configure: error: Package requirements (libva \>= 1.0.0) were not met:  
Requested ‘libva \>= 1.0.0’ but version of libva is 0.40.0  
Something else to do ?

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 3, 2017, 7:03pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/13 "2017-10-03T19:03:25Z")

</div>

> @ChuckPA said:  
> For supplemental information
> 
> [https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming](https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming)

no mention of linux limitation ^^

---

<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: [October 3, 2017, 7:08pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/14 "2017-10-03T19:08:23Z")

</div>

Maxine,  
So I can track along with you, autogen from what ?

---

<div class="post-metadata">

### Author: ![Achilles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/achilles/32/16864_2.png) [@Achilles](https://forums.plex.tv/u/Achilles)
#### Post date: [October 3, 2017, 7:14pm UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/15 "2017-10-03T19:14:39Z")

</div>

You will need to download libva 2.0.0.pre2 as well

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 4, 2017, 6:43am UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/16 "2017-10-04T06:43:20Z")

</div>

> @Achilles said:  
> You will need to download libva 2.0.0.pre2 as well

Thanks for your help  
I install on the host Ubuntu : [vaapi-test : Wolfgang Schupp](https://launchpad.net/~wsnipex/+archive/ubuntu/vaapi-test)  
Libva 2.0.0.pre2 and libva2

Vainfo seems to be break (something’s else Todo ?)

ibva info: VA-API version 0.40.0  
libva info: va\_getDriverName() returns 0  
libva info: Trying to open /usr/lib/x86\_64-linux-gnu/dri/i965\_drv\_video.so  
libva error: /usr/lib/x86\_64-linux-gnu/dri/i965\_drv\_video.so has no function \_\_vaDriverInit\_0\_32  
libva info: va\_openDriver() returns -1  
vaInitialize failed with error code -1 (unknown libva error),exit

Thanks 🙂

---

<div class="post-metadata">

### Author: ![maxime.wantiez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@maxime.wantiez](https://forums.plex.tv/u/maxime.wantiez)
#### Post date: [October 4, 2017, 6:45am UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/17 "2017-10-04T06:45:23Z")

</div>

> @ChuckPA said:  
> Maxine,  
> So I can track along with you, autogen from what ?

It’s the autogen file in the vaapi’s githup 🙂  
I’m trying to update vaapi’s driver in order to test if HW transcoding can be usefull on Linux server (my case)

---

<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: [October 4, 2017, 6:47am UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/18 "2017-10-04T06:47:43Z")

</div>

There is nothing more I can help with.  
Have you reviewed? [https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming](https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming)

vaapi 2.0.0pre is **untested** with PMS. Nothing can be done with it until official release.

---

<div class="post-metadata">

### Author: ![Achilles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/achilles/32/16864_2.png) [@Achilles](https://forums.plex.tv/u/Achilles)
#### Post date: [October 4, 2017, 6:54am UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/19 "2017-10-04T06:54:26Z")

</div>

Updating libva, vaapi and vainfo is outside the realm of Plex. You will be better off suited to ask how to on the Ubuntu support forums.

---

<div class="post-metadata">

### Author: ![zpaolo11x](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/zpaolo11x/32/18855_2.png) [@zpaolo11x](https://forums.plex.tv/u/zpaolo11x)
#### Post date: [October 4, 2017, 7:08am UTC](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793/20 "2017-10-04T07:08:14Z")

</div>

> @maxime.wantiez said:
> 
> > [https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming](https://support.plex.tv/hc/en-us/articles/115002178853-Using-Hardware-Accelerated-Streaming)
> 
> no mention of linux limitation ^^

In a past thread it was pretty clear that these artifacts are indeed a Linux limitation: a user tried with the very same hardware and PMS in Windows and Linux, Windows was clear, Linux was blocky. Sadly it seems we are left to wait until there’s an update of the libraries.

EDIT Found the reference: [http://forums.plex.tv/discussion/comment/1505812/#Comment\_1505812](http://forums.plex.tv/discussion/comment/1505812/#Comment_1505812)

[Next page](https://forums.plex.tv/t/hardware-transcoding-linux-artefacts/208793.md?page=2)
