Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HW transcoding

Featured Replies

Hello,

 

I have unRaid 6.3.5  I’m trying to get Plex hardware transcoding to work. I followed the instructions from this post  https://forums.lime-technology.com/topic/53388-enabling-i915-for-host/ I edit the ._go file but nothing happened. I tried this command “ls -alh /dev/driI” and I got this “/bin/ls: cannot access '/dev/dri': No such file or directory”. Can somebody please help me?

 

 

Thanks a lot!

 

Edwin

All I did was add the following to my go file:

 

#enable module for iGPU and perms for the render device
modprobe i915
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri 

 

Then in my Plex docker (Edit -> Advanced settings -> Extra parameters) added:

 

--device /dev/dri:/dev/dri

 

Then just enable hardware transcoding in Plex.

  • Author

Thank you, I did this but it still doesn’t  work. How do you edit your go file?

 

 

I use Notepad++ from windows to edit my "go" file but since the "go" file is processed for linux line endings before execution you could use ANY text editor even just windows notepad.

  • Author

Thank you, that’s exactly what I did and nothing. Maybe my hardware is not compatible, here is the system’s diagnostics from my unRaid. 

tower-diagnostics-20171128-0132.zip

Hi emg,

 

Your hardware doesn't show an embedded graphics chip.  Normally this would be presented as device 00:02.0 in PCI devices, but most Xeon-class server chips do not include one (they are more commonly available on desktop-class chips).

 

All the best,

 

Jon

  • Author

Ok that explains why it doesn’t work for me thank you everybody for your help.

Edited by emg

  • 1 month later...

Yes, this only works on Celeron, Pentium, i3, i5 and i7 Socket 115x chips, and E3 Xeons that have a 5 or 6 at the end of their model number (eg E3-1225v3 will work, where an E3-1220v3 doesn't have a GPU so won't work).  I've also read that it's only 7th gen iGPU that works (Skylake or newer), but I'm not convinced. 

Confirming this method also works on a Celeron N3160. 

  • 2 weeks later...

Running x265 (1080p HEVC Bitrate 4000 kbps Bit Depth 10) and x264 (anything i tested) hardware transcodes on a Pentium G4600 (kaby lake) with out issues on unraid and docker. My Qnap with a Intel® Celeron® Processor J1900 hardware transcodes just fine using QSV, what is a baytrail from 2013 processor.

 

Official supported list:

2nd-generation Intel Core (Sandy Bridge, 2011) or newer

Supports Intel Quick Sync Video (Not sure? Look up your processor)
https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/

 

  • 2 weeks later...

Reading more about this, Skylake or newer can do 10-bit HEVC, where anything before can only do 8-bit.

4 hours ago, HellDiverUK said:

Reading more about this, Skylake or newer can do 10-bit HEVC, where anything before can only do 8-bit.

 

Appears for Skylake at least, the ability to do the 10-bit HEVC is dependent on the integrated iGPU. Since Skylake-x does not have a GPU, I am assuming it is not going to offer that capability.

 

I searched pretty hard but could not find it put in that plain English, but that's what I inferred.

Yes, ALL QuickSync is dependent to the iGPU.  X99, X299 etc don't and won't have QuickSync.  As I said in:

 

Edited by HellDiverUK

Indeed, the HD530 is WAY faster than a P4600 or the "Intel HD" built in to the Celeron/Pentium SOCs.

 

I haven't tried the HD630 or any of the Iris GPUs.

1 hour ago, SiNtEnEl said:

There is some difference in iGPU performance with in some Intel series, like the Intel HD 630 and Intel HD P630. But for most apply the processor generation.

What series supports what is easy to read in this list: https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding

 

According to that chart, Skylake shoiuld not be able to transcode 10-bit HEVC.  However, I ran the 10-bit HEVC 400 Mbps Jellyfish test video through my Xeon E3-1245 v5 (Skylake P530 graphics) server yesterday.  Although all processors were pegged at high utilization (87-98%) it did transcode to H.264 in hardware.  It stuttered a bit at the beginning, but, offered a steady stream once it got started.  Lowering the bit rate to 160 Mbps resulted in smooth play but still high CPU utilization.  Streaming to Plex client on my laptop seemed to offer better performance than streaming to Plex client on my Fire TV gen 2.  TV is 1080p and does not support 4K.

 

EDIT: I think this text in the linked Wikipedia article accurately reflects what I observed (hybrid/partial HEVC 10-bit support) since the chart only reflects fixed-function support:

Quote

Version 5 (Skylake)

The Skylake microarchitecture adds a full fixed-function H.265/HEVC main/8-bit encoding and decoding acceleration, hybrid and partial HEVC main10/10-bit decoding acceleration, JPEG encoding acceleration for resolutions up to 16,000×16,000 pixels, and partial VP9 encoding and decoding acceleration.[

 

Edited by Hoopster

I would like to see AMD GPUs supported, so I can use an APU.  I have a very nice little AM1 Athlon 5350 that sips power, but is a little under powered for Plex transcoding.  If Plex did AMD hardware transcoding I'd be back to using that in a heartbeat.

  • 1 month later...

It's possible to do this with an AMD igpu? I have a Ryzen 2400G

 

Does this instructions works as well?

 

On 11/26/2017 at 9:36 PM, HellDiverUK said:

All I did was add the following to my go file:

 


#enable module for iGPU and perms for the render device
modprobe i915
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri 

 

Then in my Plex docker (Edit -> Advanced settings -> Extra parameters) added:

 


--device /dev/dri:/dev/dri

 

Then just enable hardware transcoding in Plex.

 

16 minutes ago, L0rdRaiden said:

It's possible to do this with an AMD igpu? I have a Ryzen 2400G

 

Does this instructions works as well?

 

 

 

Well, since i915 is for Intel CPU with built-in gpu, it's not available for an AMD CPU. 

3 minutes ago, saarg said:

 

Well, since i915 is for Intel CPU with built-in gpu, it's not available for an AMD CPU. 

 

thanks

 

@limetech  Do you plan to support Ryzen IGPUs for docker?

If AMD's drivers were added to the unRAID kernel, there's no reason why you couldn't just modprobe the AMD driver instead of the i915 one.  Then it would probably work fine.  Only issue is Plex only supports Intel QuickSync at the moment as far as I'm aware.

 

Emby, on the other hand works on AMD and nVidia GPUs, so you should be able to get it to work, though I've never tried hardware transcoding in Emby on unRAID, only on Windows.

1 hour ago, HellDiverUK said:

If AMD's drivers were added to the unRAID kernel, there's no reason why you couldn't just modprobe the AMD driver instead of the i915 one.  Then it would probably work fine.  Only issue is Plex only supports Intel QuickSync at the moment as far as I'm aware.

 

Emby, on the other hand works on AMD and nVidia GPUs, so you should be able to get it to work, though I've never tried hardware transcoding in Emby on unRAID, only on Windows.

 

So right now it doesn't work for Docker but in a windows VM should work, right?

On 11/03/2018 at 12:04 AM, L0rdRaiden said:

 

So right now it doesn't work for Docker but in a windows VM should work, right?

 

I would assume so, yes. 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.