# iGPU HW Transcoding not working N6000

**URL:** <https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-docker, openmediavault\
**Created:** [December 11, 2022, 1:07am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241 "2022-12-11T01:07:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 11, 2022, 1:07am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/1 "2022-12-11T01:07:21Z")

</div>

Server Version#: 1.29.2.6364  
Player Version#:

Hi im running Plex media server in docker on Openmediavault 6 which is Debian based os.

this is my stack which I used to create the stack

```auto
---
version: "2.1"
services:
  plex:
    image: ghcr.io/linuxserver/plex
    container_name: plex-hw
    network_mode: host
    environment:
      - PUID=100
      - PGID=998
      - TZ=Europe/Amsterdam
      - VERSION=latest
    devices:
      - /dev/dri:/dev/dri      

    volumes:
      - /portainer/Files/AppData/Config/Plex:/config
      - /srv/dev-disk-by-uuid-72A6FF8BA6FF4E5B/transcode:/transcode
      - /srv/dev-disk-by-uuid-72A6FF8BA6FF4E5B/Movie:/movie
      - /srv/dev-disk-by-uuid-72A6FF8BA6FF4E5B/TV:/tv

    restart: unless-stopped

```

the output from `ls -ls /dev/dri/` is this

```auto
total 0
0 drwxr-xr-x 2 root root 80 Dec 11 00:28 by-path
0 crw-rw---- 1 root video 226, 0 Dec 11 01:22 card0
0 crw-rw---- 1 root render 226, 128 Dec 11 00:28 renderD128

```

as you see in this screenshot

 ![image](https://global.discourse-cdn.com/plex/original/4X/2/6/e/26e0cac36c45e0a29937a26dcd50759eea6cc2f2.png)

HW transcoding isn’t working

my transcoding setting

 ![image](https://global.discourse-cdn.com/plex/original/4X/8/0/b/80b5e71067ecf5b080e4214b6f2dec5c92f7ebe8.jpeg)

and here is my log  
[Plex Media Server Logs\_2022-12-11\_01-05-36.zip](https://forums.plex.tv/uploads/short-url/y3Ij486XOwlinWiRUVVD9vGHaqo.zip) (816.5 KB)

my system info and docker version

 ![image](https://global.discourse-cdn.com/plex/original/4X/2/0/c/20c424bfd7bb5ef8ed354e6e996fceccb3112057.png)  
 ![image](https://global.discourse-cdn.com/plex/original/4X/b/5/4/b541d5e1a4d172eadf6978a1ef2ba4da6867ef7e.png)

i would appreciate any helps i have tried googling and Reddit and most of the solution here but doesn’t seems to work

---

<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:** [December 11, 2022, 2:27am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/2 "2022-12-11T02:27:48Z")

</div>

Intel Driver/Transcoder is crashing. Bleeding edge isn’t good for Plex, so you will either have to wait for them to catch up or drop back to a 5.15 kernel.

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 11, 2022, 2:36am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/3 "2022-12-11T02:36:13Z")

</div>

You mean the kernel? Do you happen to know how to do that ? And there is no other way around. ;/

---

<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:** [December 11, 2022, 3:49am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/4 "2022-12-11T03:49:29Z")

</div>

You could switch to the plex docker image and see if that is more stable with your setup. Wait for Plex to update sometime after Xmas or reload with stable OMV 6.0.24 and don’t upgrade.

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 11, 2022, 10:41am UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/5 "2022-12-11T10:41:13Z")

</div>

so I reloaded my OMV to the stable iso they had and changed the plex tag to docker too  
but the problem seems to be the same.

![image](https://global.discourse-cdn.com/plex/original/4X/4/c/0/4c074c17423a89a6ddaeef5eb4fc8aec4e03dd58.png)  
 ![image](https://global.discourse-cdn.com/plex/original/4X/9/d/8/9d834ae9730c0001ec6efa26140a4315ccd6b255.jpeg)

I even changed the PUID and GUID to root id as well  
[Plex Media Server Logs\_2022-12-11\_01-05-36.zip](https://forums.plex.tv/uploads/short-url/y3Ij486XOwlinWiRUVVD9vGHaqo.zip) (816.5 KB)

any other suggestion ?

---

<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:** [December 11, 2022, 1:41pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/6 "2022-12-11T13:41:19Z")

</div>

One thing Plex may be interested in related to the CPU id.

```auto
	Line 143: Dec 11, 2022 00:47:26.109 [0x7f04a757eb38] WARN - [GPU] Failed to load PCIID map: Failed to locate a readable PCIID database
	Line 144: Dec 11, 2022 00:47:26.109 [0x7f04a757eb38] DEBUG - [GPU] Got device: , intel@builtin, default true, best true, ID /dev/dri/renderD128, DevID [8086:4e71], flags 0xde

```

The Failure.

```auto
Dec 11, 2022 00:48:03.717 [0x7f04a5c7eb38] ERROR - [Req#15d/Transcode/wt247dz3rjrqpeo54ytg8er6/90552a5d-78d6-4dae-b5fc-a50e99456eb7] [h264_vaapi @ 0x7f2dad86adc0] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
Dec 11, 2022 00:48:03.717 [0x7f04a757eb38] ERROR - [Req#162/Transcode/wt247dz3rjrqpeo54ytg8er6/90552a5d-78d6-4dae-b5fc-a50e99456eb7] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

```

You could try locating the Drivers directory along your /config path and clearing it so that they re-download. Delete the docker image and change your compose to switch to the plexinc/pms-docker image.

Appropriate warning that these are the risks that a user assumes when using an unsupported OS. @ChuckPa, any guidance on the PCIID database issue?

---

<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:** [December 11, 2022, 1:52pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/7 "2022-12-11T13:52:34Z")

</div>

Another Jasper Lake thread in case there is a nugget of information that you can use: [Ubuntu Intel N5105 QSV HW Transcoder not detected](https://forums.plex.tv/t/ubuntu-intel-n5105-qsv-hw-transcoder-not-detected/803491)

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 11, 2022, 2:30pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/8 "2022-12-11T14:30:45Z")

</div>

I checked that forum too doesn’t seem like there was a solution and I tried switching to plexinc/pms-docker didn’t help i looked into the logs same issue and i did mount the volume for the drive alongside other volumes  
here the log anyway  
[Plex Media Server Logs\_2022-12-11\_15-22-29.zip](https://forums.plex.tv/uploads/short-url/fnFftLlpbAbDMqbSFgZSLi5vBf5.zip) (530.5 KB)

thanks for trying to help, maybe after weekend one of the dev shine light on this issue and help

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 2:52pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/9 "2022-12-12T14:52:34Z")

</div>

@anon18523487 could you take look at my log ? and see if you can point me in correct direction for solution? my HW transcoding refused to work

---

<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:** [December 12, 2022, 4:31pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/10 "2022-12-12T16:31:33Z")

</div>

You should ask @jamesnorth what he did since he is using OMV6.

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 4:52pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/11 "2022-12-12T16:52:05Z")

</div>

i am already on 5.16 which he state what made it work but i looked at his log he doesnt have the same error and i tried googling that error

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 12, 2022, 5:28pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/12 "2022-12-12T17:28:02Z")

</div>

These are the relevant lines in the logs:

```auto
Dec 11, 2022 00:48:03.717 [0x7f04a5c7eb38] ERROR - [Req#15d/Transcode/wt247dz3rjrqpeo54ytg8er6/90552a5d-78d6-4dae-b5fc-a50e99456eb7] [h264_vaapi @ 0x7f2dad86adc0] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
Dec 11, 2022 00:48:03.717 [0x7f04a757eb38] ERROR - [Req#162/Transcode/wt247dz3rjrqpeo54ytg8er6/90552a5d-78d6-4dae-b5fc-a50e99456eb7] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

```

In my experience, this indicates the GuC/HuC firmware has not been successfully loaded/initialized. Try running the following:  
`sudo dmesg | grep -i i915`

Look for lines to the effect that the GuC/HuC firmware failed to load. If that’s the case, you can use the information here to find the required firmware:

> [@Hardware Transcoding Problems: Jasper Lake (N5105) + Docker + OMV 6 (Debian 11)](https://forums.plex.tv/t/hardware-transcoding-problems-jasper-lake-n5105-docker-omv-6-debian-11/816679/6):
>
> This is an issue I was experiencing as well. Enabling the GuC does nothing if it cannot load the firmware. Head to the site it references and download ehl\_guc\_62.0.0.bin. Place it in /lib/firmware/i915/ and reboot. If hardware accelerated transcoding still fails, report the same output from dmesg and [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) again so we can see if the firmware was found. (Here’s a [direct link to the file](https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/ehl_guc_62.0.0.bin), if you want to use that.)

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 5:41pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/13 "2022-12-12T17:41:28Z")

</div>

```auto
root@homeserver:/sys/module/i915/drivers# sudo dmesg | grep -i i915
[3.862894] i915 0000:00:02.0: [drm] VT-d active for gfx access
[3.862905] i915 0000:00:02.0: vgaarb: deactivate vga console
[3.862983] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[3.878672] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[4.080588] i915 0000:00:02.0: firmware: direct-loading firmware i915/icl_dmc_ver1_09.bin
[4.081423] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[4.082402] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[4.084769] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[4.084907] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[4.225215] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

```

does this look normal ?

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 12, 2022, 5:48pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/14 "2022-12-12T17:48:20Z")

</div>

Hmm… Have you enabled GuC per this support topic (point 2)?

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/24):
>
> Transcoding and tone mapping with JasperLake / ElkhartLake CPUs This tip / How-To is entirely NOT-SUPPORTED by Plex. You, as the system’s owner/admin assume all risk/liability for the kernel integrity It may work for you and it may not. There are no guarantees. There has been success with for some users. Your results may vary. This How-To is written for Ubuntu/Debian distributions but should be applicable to others. Replace inte-media-va-driver with intel-media-va-driver-non-free A…

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 5:56pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/15 "2022-12-12T17:56:37Z")

</div>

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/24):
>
> - Replace `inte-media-va-driver` with `intel-media-va-driver-non-free`

how do I do this part?

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 12, 2022, 5:58pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/16 "2022-12-12T17:58:44Z")

</div>

`sudo apt install intel-media-va-driver-non-free`

But, the second point is the more important. That is, enable GuC.

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 6:18pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/17 "2022-12-12T18:18:46Z")

</div>

> [@pshanew](#):
>
> `sudo apt install intel-media-va-driver-non-free`

i think i need repo for that because im getting this

```auto
root@homeserver:/# sudo apt install intel-media-va-driver-non-free

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package intel-media-va-driver-non-free is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'intel-media-va-driver-non-free' has no installation candidate
root@homeserver:/#

```

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 12, 2022, 6:22pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/18 "2022-12-12T18:22:57Z")

</div>

Skip that for now. As I said, the second part is the more important. Enable the GuC.

---

<div class="post-metadata">

**Author:** ![engSherv](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/engsherv/32/294279_2.png) [@engSherv](https://forums.plex.tv/u/engSherv)\
**Post date:** [December 12, 2022, 6:51pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/19 "2022-12-12T18:51:57Z")

</div>

i did this

```auto
echo "options i915 enable_guc=2" >> /etc/modprobe.d/i915.conf
update-initramfs -u

```

but nothing happens

here the log  
[Plex Media Server Logs\_2022-12-12\_19-51-44.zip](https://forums.plex.tv/uploads/short-url/eCaKMyINP5U0421dbqtrlXXZ1Xl.zip) (706.0 KB)

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 12, 2022, 7:00pm UTC](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241/20 "2022-12-12T19:00:57Z")

</div>

Your logs show no new media being played.

Did you reboot? What does `sudo dmesg | grep -i i915` show now?

[Next page](https://forums.plex.tv/t/igpu-hw-transcoding-not-working-n6000/822241.md?page=2)
