[6.8.3] Intel QuickSync transcoding not working with docker+PLEX


Recommended Posts

Hi,
I have an issues with getting Hardware transcoding working with Plex versions higher than 1.18.0.1846-f62172e99. 

 

I have added the the following to my go file

modprobe i915 
chmod -R 777 /dev/dri

and to my docker I have added this extra paramters:

--device=/dev/dri

From the Plex docker the igpu seems to be available 

422946647_consoleoutput.png.0d1d6c5cbb7078422940b5d0eff44d63.png

but every time I start any type of transcoding it is not in hardware.

14549311_Plextranscodestatussd.png.645402bf1a73dada06f4db183400ad68.png2114691969_Plextranscodestatus.png.47e4becc3bf16d59b931a5389aa7a175.png

 

If I add "intel_iommu=igfx_off" to syslinux.cfg then HW transcoding start working again but it is incredibly blockly and unwatchable.

image.png.a20cd796af0d580daa44c556d6c24b09.png

I have also tried deleting iHD_drv_video.so as recommended on the Plex forum, which resulting in Plex showing HW transcoding is active, but the video never starts playing. 

 

My system is based on an ASRock J5005-ITX which as a Gemini Lake CPU should support HEVC 10bit transcoding. For Plex I am using linuxserver's repo.

 

Have anyone experience something similar or just have an idea how to fix it? 

Link to comment

Since this is not about an Unraid release, but instead is about a docker, it obviously doesn't belong as a Stable Release Report. For future reference, if you think you have a bug to report, see here:

 

 

 

Also, you can go directly to the correct support thread for any of your dockers by simply clicking on its icon in the Unraid webUI and selecting Support.

Link to comment
  • 4 weeks later...
On 3/22/2020 at 11:31 AM, blackbrizz said:

Hi,
I have an issues with getting Hardware transcoding working with Plex versions higher than 1.18.0.1846-f62172e99. 

 

I have added the the following to my go file


modprobe i915 
chmod -R 777 /dev/dri

and to my docker I have added this extra paramters:


--device=/dev/dri

From the Plex docker the igpu seems to be available 

422946647_consoleoutput.png.0d1d6c5cbb7078422940b5d0eff44d63.png

but every time I start any type of transcoding it is not in hardware.

14549311_Plextranscodestatussd.png.645402bf1a73dada06f4db183400ad68.png2114691969_Plextranscodestatus.png.47e4becc3bf16d59b931a5389aa7a175.png

 

If I add "intel_iommu=igfx_off" to syslinux.cfg then HW transcoding start working again but it is incredibly blockly and unwatchable.

image.png.a20cd796af0d580daa44c556d6c24b09.png

I have also tried deleting iHD_drv_video.so as recommended on the Plex forum, which resulting in Plex showing HW transcoding is active, but the video never starts playing. 

 

My system is based on an ASRock J5005-ITX which as a Gemini Lake CPU should support HEVC 10bit transcoding. For Plex I am using linuxserver's repo.

 

Have anyone experience something similar or just have an idea how to fix it? 

I have this same issue with the ASRock J5005-itx. Did you find the solution please? any idea where /usr/lib/plexmediaserver/iHD_drv_video.so this is stored to delete? looked on the usb flash and cache and can't find it? cheers

Link to comment
  • 8 months later...
On 3/22/2020 at 7:31 AM, blackbrizz said:

Hi,
I have an issues with getting Hardware transcoding working with Plex versions higher than 1.18.0.1846-f62172e99. 

 

I have added the the following to my go file


modprobe i915 
chmod -R 777 /dev/dri

and to my docker I have added this extra paramters:


--device=/dev/dri

From the Plex docker the igpu seems to be available 

422946647_consoleoutput.png.0d1d6c5cbb7078422940b5d0eff44d63.png

but every time I start any type of transcoding it is not in hardware.

14549311_Plextranscodestatussd.png.645402bf1a73dada06f4db183400ad68.png2114691969_Plextranscodestatus.png.47e4becc3bf16d59b931a5389aa7a175.png

 

If I add "intel_iommu=igfx_off" to syslinux.cfg then HW transcoding start working again but it is incredibly blockly and unwatchable.

image.png.a20cd796af0d580daa44c556d6c24b09.png

I have also tried deleting iHD_drv_video.so as recommended on the Plex forum, which resulting in Plex showing HW transcoding is active, but the video never starts playing. 

 

My system is based on an ASRock J5005-ITX which as a Gemini Lake CPU should support HEVC 10bit transcoding. For Plex I am using linuxserver's repo.

 

Have anyone experience something similar or just have an idea how to fix it? 

 

I'm having exactly the same problem with J5040, have you found the solution?

Link to comment
On 1/3/2021 at 7:18 AM, blackbrizz said:

I kept on using plex 1.18.0.1846 but it seems to also be fixed with the latest plex 1.21.1.3830 and unraid 6.9 RC2

Thank you for your reply! Indeed! After updated to 6.9 RC2, everything works perfectly fine. I spent a lot of time debugging this.

 

Don't know whether it's a problem of older version of unRaid or Docker. I was trying out unRaid, but disappointed to see no response from unRaid in your thread. Also I found there's some other io problem with unRaid Docker running qBittorrent. I already switched to other NAS OS. But thank you very much for your reply!

Link to comment
11 minutes ago, Zohalu said:

Don't know whether it's a problem of older version of unRaid or Docker

The issue is most likely related to the Linux kernel version in unRAID 6.8.3 vs. unRAID 6.9.0 RC2.  The older kernel (4.19.xxx) in the 6.8.3 version of unRAID does not fully support the iGPU in the Gemini Lake Refresh/Ice Lake Intel processors.  The newer Linux kernel version in unRAID 6.9.0 RC2 does support it.

 

I may also have something to do with the Plex version as they also had to update Plex for the newer iGPUs.

Edited by Hoopster
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.