# No Quick Sync HW Transcoding Ubuntu 18

**URL:** <https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [April 6, 2020, 11:50pm UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246 "2020-04-06T23:50:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 6, 2020, 11:50pm UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/1 "2020-04-06T23:50:03Z")

</div>

Server Version#:1.18.9.2578  
Player Version#:  
  
Hello,  
I’m using a I5-9400F on a Gigi-Byte C246M with a K2200 GPU, I have Ubuntu 18.04 with a Raid 5 Array. I’m trying to get HW Transcoding to work and I have loaded Driver Ver 430.50 and CUDA 10.1.

There have been questions if I need Quick Sync in the processor or not, I have read “Yes” and “No”. Going through the Loggs i haven’t seen any Errors for the Transcoder like other posts.

I have also patched the driver to see if that works, It did not. Is it possible to do HW Transcodding with this setup?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [April 7, 2020, 12:02am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/2 "2020-04-07T00:02:59Z")

</div>

I suppose that’s because “it depends”.  
Having a QSV capable CPU in combination with a dedicated GPU could lead you to kind of a bumpy road if the drivers are not fully supported.  
You might want to read the related support article on how to apply it for your system.

> **[Using Hardware-Accelerated Streaming | Plex Support](https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/)**
>
> Tip!: Hardware-accelerated streaming is a premium feature and requires an active Plex Pass subscription. To play your video smoothly and...

---

<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 7, 2020, 12:14am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/3 "2020-04-07T00:14:43Z")

</div>

The quickest way to tell what is happening is to enable hardware transcoding,  
Attempt to transcode a HEVC movie,  
Allow it to fail,  
Download the logs from PMS  
Attach them here so we can post mortem analyze them.

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 12:29am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/4 "2020-04-07T00:29:18Z")

</div>

I do have a Plex Pass.  
I’m kinda new to Linux, Witch Log files do you need. It looks like there is about 20 different log files.  
I figured the Transcoding one.

[com.plexapp.system.log](https://forums.plex.tv/uploads/short-url/fomcPTlO3hK3GSbZPl9mV3dEhkG.log) (77.3 KB) [Plex Crash Uploader.1.log](https://forums.plex.tv/uploads/short-url/rGyfog23qfUdnfyYffY63DJPDae.log) (198 Bytes) [Plex Media Server.1.log](https://forums.plex.tv/uploads/short-url/mKn7W8nXvG1qgocWGc1eSE62mBt.log) (175.2 KB) [Plex Transcoder Statistics.1.log](https://forums.plex.tv/uploads/short-url/5WG8nVHj0UJVdcrD5bwimuuJ0Du.log) (36.4 KB)

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 12:43am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/5 "2020-04-07T00:43:36Z")

</div>

One thing I am noticing now is that when I do a nvidia-smi command, under processes Plex is not listed.

---

<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 7, 2020, 12:46am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/6 "2020-04-07T00:46:48Z")

</div>

Settings - Server - Troubleshooting - Download Logs gives me what I need.

you unfortunately missed. Close, but missed. 😉

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 12:49am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/7 "2020-04-07T00:49:44Z")

</div>

Sorry,  
How about this?  
[Plex Media Server Logs\_2020-04-06\_17-48-27.zip](https://forums.plex.tv/uploads/short-url/wslphE4E4cmGR7NUDccJujvFFB4.zip) (2.8 MB)

---

<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 7, 2020, 12:50am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/8 "2020-04-07T00:50:30Z")

</div>

Perfect. That’s what we request . It’s just the way we need it. I’m all set up to handle that with one click.

---

<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 7, 2020, 12:52am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/9 "2020-04-07T00:52:41Z")

</div>

Now for the news:

1. It can’t see the onboard ASIC in the CPU
2. It can’t use/see the Nvidia.

```auto
Apr 06, 2020 14:51:20.156 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 06, 2020 14:51:20.156 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Apr 06, 2020 14:51:20.156 [0x7fa5d8dd6700] DEBUG - Codecs: testing h264_nvenc (encoder)
Apr 06, 2020 14:51:20.156 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API nvenc
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: testing mpeg4 (decoder) with hwdevice vaapi
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: testing mpeg4 (decoder) with hwdevice nvdec
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API nvdec
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Scaled up video bitrate to 2554Kbps based on 1.500000x fudge factor.
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: Selected protocol dash; container: mp4
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: analyzing media item 33
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): Direct Play is disabled
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): media must be transcoded in order to use the dash protocol
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): no direct play video profile exists for http/avi/mpeg4
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): no direct play video profile exists for http/avi/mpeg4/ac3
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): avoiding video remux due to potentially unsafe container/codec combination
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: An Act of War (2015): no remuxable profile found, so video stream will be transcoded
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: testing h264_nvenc (encoder)
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API nvenc
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Cannot load libcuda.so.1
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Could not dynamically load CUDA
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: testing mpeg4 (decoder) with hwdevice vaapi
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: testing mpeg4 (decoder) with hwdevice nvdec
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] DEBUG - Codecs: hardware transcoding: testing API nvdec
Apr 06, 2020 14:51:20.157 [0x7fa5d8dd6700] ERROR - [FFMPEG] - Cannot load libcuda.so.1

```

Please go look at `/dev/dri` and see if there’s anything listed there.

“renderD128” and “renderD129” both being listed means the kernel sees the hardware.

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 12:55am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/10 "2020-04-07T00:55:57Z")

</div>

Under that Directory their are two files and one directory  
By-path (Directory)  
card0  
renderD128

---

<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 7, 2020, 12:57am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/11 "2020-04-07T00:57:11Z")

</div>

drats. it sees one of them

Now the puzzle to figure out which.

Can the Nvidia card and driver be removed ( another GPU drives the display ) ?

what does the `ls -la /dev/dri` show as the group membership and is Plex part of it?  
It should have been set by the installer

---

<div class="post-metadata">

**Author:** ![pl\_5309](https://avatars.discourse-cdn.com/v4/letter/p/2bfe46/32.png) [@pl\_5309](https://forums.plex.tv/u/pl_5309)\
**Post date:** [April 7, 2020, 12:57am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/12 "2020-04-07T00:57:56Z")

</div>

So the 9400 **F** does not have iGPU and the K2200 doesn’t have HEVC decoder.

---

<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 7, 2020, 12:59am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/13 "2020-04-07T00:59:55Z")

</div>

you’re right. I looked at [Ark.intel.com](http://Ark.intel.com) No QSV.

Sounds like you are limited to H.264 , at best.

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 1:01am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/14 "2020-04-07T01:01:39Z")

</div>

Thats OK. Im going to have only h.264 files.  
The permissions are  
Root Video 226 for card0 and renderD128

---

<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 7, 2020, 1:02am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/15 "2020-04-07T01:02:21Z")

</div>

Kevin,  
If you check the group memberships for user `plex`, you should find plex is a member of the `video` group.

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 1:05am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/16 "2020-04-07T01:05:37Z")

</div>

Correct groups=999(plex), 44(Video)

---

<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 7, 2020, 1:07am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/17 "2020-04-07T01:07:08Z")

</div>

then you have whatever the GPU can give you.

Can you exchange that 9000 cpu for a 7000 or 8000 ?

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 1:07am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/18 "2020-04-07T01:07:56Z")

</div>

Is that the only fix? If so I can save up for it and change it out.

---

<div class="post-metadata">

**Author:** ![kevin\_duerst\_yahoo\_com](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kevin\_duerst\_yahoo\_com](https://forums.plex.tv/u/kevin_duerst_yahoo_com)\
**Post date:** [April 7, 2020, 1:11am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/19 "2020-04-07T01:11:14Z")

</div>

Also I have another question, I cant get it to update to 1.19.1. I tried downloading the new .deb and unpacking and installing. It sais it upgraded it, but when I restart it always sais 1.18.9

---

<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 7, 2020, 1:17am UTC](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246/20 "2020-04-07T01:17:35Z")

</div>

I use the i7-7700 and an i7-8509g. I see no difference between them.  
For HEVC -\> H.264 either will serve you well.

The -9xxx CPUs require the iHD\_drv\_video library. That Intel driver is still buggy so best to avoid it if possible.

I wrote the DEB installer for Linux, can you show me what it says? (It’s ok to install over itself)

[Next page](https://forums.plex.tv/t/no-quick-sync-hw-transcoding-ubuntu-18/569246.md?page=2)
