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.

Add Intel iGPU QSV Quick Sync Encoding to Official Plex-Media-Server the easy way.

Featured Replies

10 hours ago, dirtymike0330 said:

Does this require adding /tmp in the Transcoder temporary directory of Plex>Settings>Transcoder? I currently have that in mine and I'm not sure why :D I am getting the (hw) transcode so I know something is working (I believe I initially set this up for using my cpu). 

That is for using RAM as the temporary directory rather than your SSD or spinner.  There are other parameters that need adjusting to actually make the temporary directory usable though.

  • 4 weeks later...
  • Replies 52
  • Views 97.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Please don't do it that way, it would be better to remove the lines from the go file, execute these commands from a Unraid terminal and reboot afterwards: mkdir -p /boot/config/modprobe.d echo "opt

  • For when you have multiple GPUs https://forums.plex.tv/t/preferred-hw-transcoder-linux/593507/11  

  • The classic thread is really outdated since modprobe isn't needed anymore or any modification to the go file, I really wouldn't recommend to send people to this thread...

Posted Images

Hello everyone!

 

I have an i7-6700 - Intel HD 530 iGPU.


According to "the chart", this should be able to handle transcoding just fine.

 

My issue is in both Jellyfin and Plex, the ENcoding is done by the iGPU but the DEcoding is done with my CPU.

 

I can tell because my CPU is still 90+% and in Plex, it doesn't show the "hw" next to the original format but *does* show "hw" next to the transcoded format.
My GPU stats on the dashboard start working but so does the CPU (in the red).

 

I have --device: /dev/dri:/dev/dri in my containers. (well I used the method mentioned here setting a "Device" in the container.


I have hardware acceleration selected in both Plex and Jellyfin and specifically selected my iGPU in Plex.

I have PlexPass.

 

Is there anything I could be missing guys?

 

Thank you!

Thanks for this guide,

I managed to set it up and got it working on an i7-477K.

 

However, first I installed the wrong app in unraid since ich777 image didn't appear and struggled a while until i realised it.

Could be worth a note in your main post that when searching for Intel-GPU-TOP in unraid Apps it doesnt show, I clicked show results from Dockerhub and found the wrong image.

I had to search ich777 Intel-GPU-TOP to get it to display!

 

Cheers

  • Author

@hugo_vestberg Thanks, I've added a mention to find ich777's repository.

  • 4 weeks later...

I am getting nowhere with Plex & HW encoding - the iGPU is showing zero load when playing a video.
Can anyone please assist?
Unraid 6.12.1 running on i5-7400(which IS quick-sync enabled)

From CLI:

intel_gpu_top -L
card0                    Intel Kabylake (Gen9)             pci:vendor=8086,device=5912,card=0
└─renderD128

which version of Plex is supposed to be installed?
there are 6 versions on the Apps page
I have the official (Plex) version installed
 

8 hours ago, oldfart said:

I am getting nowhere with Plex & HW encoding - the iGPU is showing zero load when playing a video.
Can anyone please assist?
Unraid 6.12.1 running on i5-7400(which IS quick-sync enabled)

From CLI:

intel_gpu_top -L
card0                    Intel Kabylake (Gen9)             pci:vendor=8086,device=5912,card=0
└─renderD128

which version of Plex is supposed to be installed?
there are 6 versions on the Apps page
I have the official (Plex) version installed
 

 

Make sure you have the hardware GPU mounted.

 

  • Edit Plex / Jellyfin container > Scroll down to Add another Path, Port, Variable, Label or Device > Config Type: Device | Name: GPU | Value: /dev/dri

 

This will make your hardware GPU available to the container.

Then go into Plex or Jellyfin and select it as your transcoder device.

 

Hope it helps!

 

image.png.5490701b9ce0e3862f116a3eb2870578.png

Edited by DevanteWeary

Maybe I should have been more specific
Have followed all the steps in this topic

Can't get it to work

any logs to look at to give a clue?

Apologies - yes it DOES work. I used a film that was direct playing, 

Tried again with a 4K film (mkv) that needed transcoding - success!!

image.png.6bb9a5a03ad82a047cf6fc1e04f7e30c.png

So I have followed this super easy guide and have had no luck getting this to work.  I have a intel i5-13600k which should definitely have quicksync. I have no other GPUs installed.  Installed the dockers, setup the plex variable container device and setup the plex hardware settings.  Plex sees the option and is selected but it never uses the GPU and just pings my CPU.  Also tried setting it in the preferences.xml.  Are there any logs or other suggestions I can try to troubleshoot this?

 

 

 

image.png

Edited by paradiesway

Are users having problems loading the intel quick sync drivers with 6.12.4? I seem to have to revert back to .3 to get intel quick sync working in my container.

Well its now working after disabling HDR Tone Mapping which is not ideal.  Any seen that before?

  • 2 weeks later...
1 hour ago, honorary-kicking8931 said:

What am I doing wrong here?

Posting in multiple threads for the same thing. Please don't do this. It makes it impossible to coordinate responses.

 

Anyone wishing to reply, please go here where there are already replies to this:

 

 

  • 1 month later...
On 2/21/2023 at 1:37 AM, ich777 said:

Please don't do it that way, it would be better to remove the lines from the go file, execute these commands from a Unraid terminal and reboot afterwards:

mkdir -p /boot/config/modprobe.d
echo "options i915 enable_fbc=1 enable_guc=3" > /boot/config/modprobe.d/i915.conf

 

With that you ensure that the module is loaded with these options without any messing around with the module when it's already loaded. ;)

This fixed it for me!

image.png.b814bafc86c087fc3a87da7ce2ba5541.png

Nice guide. Thank you!

On 9/8/2023 at 7:11 PM, david279 said:

 

Per that thread the issue where GPU Transcoding wouldn't work unless Tone Mapping was off was resolved in a late September build. My new unRaid build using the Linuxserver-Docker version of the app still has the problem. It won't use HW Transcoding unless Tone Mapping is off. Per their Github page they are on Plex build 1.32.7.7621-871adbd44-ls193 which should have the fix in it. 

 

I'm new to unRaid and am not sure the best way to proceed. Do I have a configuration issue somewhere, should I try the official or binhex version, wait for a new build to fix it or report this somewhere?  Thanks.

  • 2 weeks later...

I have also errors froms ame type with Intel iGPU

  • 3 months later...

I've followed this guide and I believe I have h/w acceleration working in Jellyfin from GPU statistics on an N100 INTEL IGP but initially when I set it up I saw both "3D render load" and "video load" using GPU about 30% and 80% respectively. Now I seem to only get "Video load" using 100% GPU and 0% on "3d render load"

 

CPU with one stream of 1080p content to 720p 6mps is at 35% avg. is this expected?

 

any ideas why?

Edited by pdampier

  • 4 months later...
On 11/27/2022 at 4:32 PM, DemoRic said:

*CONFIGURE GPU STATISTICS 

On UNRAID server go to Settings, and then click on GPU Statistics in the User Utilities area.

In the Vendor section change it to Intel

 

There is no option to select a vendor. I am using an Intel CPU: Intel Core i9-14900K. It should support Intel Quick Sync Video.

 

2024-07-07T17-16-42.png

Edited by Bob-omb

  • 1 month later...
On 11/27/2022 at 7:32 AM, DemoRic said:

NOTE: Not all intel CPU's have QUICK SYNC encoding capabilities (most do, but you'll have to check)

 

Install the following apps on your UNRAID server:  

  • Intel-GPU-TOP  (Search for ich777 to find the repository and then find Intel-GPU-TOP)
  • Plex-Media-Server
  • GPU Statistics  (GPU Statistics isn't required but is nice to have)

 

CONFIGURE PLEX ON UNRAID:  (I won't cover everything on how to install PLEX, just how to enable QSV hardware encoding.)

  1. Once you've configured PLEX to work already you will need to add the ability to use hardware encoding. 
  2. On your UNRAID Server, Goto DOCKER and left-click on the PLEX icon and select Edit. 
  3. Then "Add another Path, Port, Variable, Label or Device", name it (whatever you'd like Intel iGPU or -device /dev/dri it doesn't really matter) and give it the value:  /dev/dri/

image.thumb.png.f2b38026e16ab8bd6a628ec99f979962.png

 

PLEX ENABLE HARDWARE ENCODING:

  1. Use PLEX's WebUI and login to the admin account. Then go to settings (the little wrench icon at the top right).
  2. Then on the left panel go to Settings > Transcoder. Enable "User hardware acceleration when available"

image.thumb.png.57cc68864cc35002973506673b1a8737.png

 

*CONFIGURE GPU STATISTICS 

On UNRAID server go to Settings, and then click on GPU Statistics in the User Utilities area.

In the Vendor section change it to Intel

 

Still Not working?

If you're using ARC or multiple GPU's you may have to do some additional changes (see thread below)

 

Standing on the Shoulders of Giants:  Thanks b3rs3rk, ich777 for your work on the Apps, and Cpt. Chaz with his video showing how to do this for linuxserver's PLEX app. This easy tutorial wouldn't be possible without your work.

 

Two years later and it still works like a charm! Thank you for enhancing my Unraid and Plex experience!

  • 2 months later...

Reiterating: A couple years later, and this still works very well!

Did this with a 12th Gen Intel Core i5-12400, on an ASUSTeK COMPUTER INC. ProArt B760-CREATOR D4 motherboard.  Took all of 5 mins, just because I was playing around with GPU Statistics. ;) 

Edited by Scott Pettigrew

  • 5 months later...
On 7/7/2024 at 11:19 PM, Bob-omb said:

 

There is no option to select a vendor. I am using an Intel CPU: Intel Core i9-14900K. It should support Intel Quick Sync Video.

 

2024-07-07T17-16-42.png

 

I had the same issue, but maybe you figured it out by now but thru clicking around and trial/error, I found the option under Unit ID where you can select your Intel UHD as it should just show up like this:

 

image.thumb.png.91907520744bc295560a7e24d8b975a4.png

  • 1 month later...

WORKS FLAWLESSLY!!!
On i5-9600T

Edited by working

On 4/19/2025 at 3:29 AM, blitzio said:

 

I had the same issue, but maybe you figured it out by now but thru clicking around and trial/error, I found the option under Unit ID where you can select your Intel UHD as it should just show up like this:

 

image.png

Thanks but nothing happens when I click on the Unit ID dropdown...

  • 3 months later...

Just throwing this out there for anybody who might be pulling their hair out like I was for the past couple days.

Unraid 7.1.4
12th Gen Intel® Core i9-12900KS (QuickSync compatible with UHD 770 iGPU)

Lastest linuxsever Plex (1.42.1.10060-4e8b05daf)

Followed this guide and many others, but couldn't seem to get HW transcoding to work. After a lot of testing I found that it was only HDR content that was not utilizing HW Acceleration and was absolutely slamming my CPU. Transcoding of non-HDR video worked fine. Disabling HDR Tonemapping in Plex Transcoder settings fixed this, but I don't really consider this a real solution.

After doing some digging on the Plex forums, it looks like this is an issue more on the Plex side and rolling back to an older version could potentially work, but the Plex Team recommended the new HEVC transcoding option which has been in Beta for a while now is basically going to replace HDR Tonemapping anyways from what it sounds like. Enabling HEVC Video Encoding lets HDR content utilize HW Acceleration and eliminates the need to use HDR Tonemapping. The downsides of this are that HEVC Video Encoding will not support DoVi and some clients might not support HEVC. I think a lot of folks can probably deal with that though, especially since these transcodes might just be for relatives who could care less about quality anyways.

image.png

Hopefully this saves someone from having to go down the Github / Forum rabbithole that I had to go down!

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...

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.