Jump to content
syrys

Instructions for installing a GPU (transcoding) for unraid plex docker

5 posts in this topic Last Reply

Recommended Posts

Hey Guys,

 

Im trying to get some step by step instructions about how to actually install a GPU on my unraid server and get plex server (running as a docker on unraid) to use that GPU to do transcoding.

 

My unraid server runs on a i7 4770 cpu which isnt enough for 4k h265 transcoding, so i just installed a GTX 970 (might move to a 1030 or 1050 later) on the box. Although the hardware is installed, im not sure how to:
 

1. Check if the GPU is correctly installed (that OS/Unraid can actually see it)?

2. How to get my plex docker (linuxserver/plex) to actually make use of this GPU.

 

Ive seen couple of threads about this, but the instructions wernt too clear for me (im a noob at these things). Can someone give me some instructions if they can? would be greatly appreciated :)

 

I tried to follow this: 

 

On this step

modprobe i915
chmod -R 777 /dev/dri

 

I got the following error:

chmod: cannot access '/dev/dri ': No such file or directory

There were couple of other threads about editing syslinux.cfg and "go" file, but i have no idea where they are, how to edit them, and what to edit them to.

 

So im pretty stuck :(

 

Any help appreciated.

 

PS: im running unraid 6.6.5

 

 

Share this post


Link to post
18 minutes ago, syrys said:

How to get my plex docker (linuxserver/plex) to actually make use of this GPU.

In a nutshell you can't.  unRaid doesn't have the GPU drivers installed.  You could use a VM and passthrough the GTX to it and then run in the VM if Plex supports supports the GPU (don't use Plex, so can't say)

Share this post


Link to post
25 minutes ago, syrys said:

Im trying to get some step by step instructions about how to actually install a GPU on my unraid server and get plex server (running as a docker on unraid) to use that GPU to do transcoding.

This is not yet possible.  Only the iGPU in Intel processors with QSV support can be used for Plex transcoding with a docker running on unRAID.

 

UnRAID has no discrete nVIDIA GPU drivers and Plex does not yet support AMD on Linux.

 

There have been recent efforts by CHBMB to install nVIDIA drivers in unRAID for Plex transcoding purpose, but, he has run into some unresolved issues that causes crashes.

 

EDIT: as Squid mentioned, your only option is passing through the GPU to a Windows VM in which you run Plex. 

Edited by Hoopster

Share this post


Link to post

Hmm interesting. Thanks for the info guys.

 

So, that means, if i want to get 4k transcoding to be done in my plex docker, i need to upgrade to like a 7th/8th gen intel CPU/mobo (since GPUs arnt supported)? If i were to upgrade, does it matter what the CPU is, can i just upgrade to a cheap 8th gen i3 like the i3 8100? would that be enough?

 

I guess my alternative is to run the plex server in a windows VM, thats probably a good option. Is there any instructions on how to pass through the GPU to my windows VM? Has anyone done this successfully?

 

Share this post


Link to post
11 hours ago, syrys said:

can i just upgrade to a cheap 8th gen i3 like the i3 8100? would that be enough?

Yes, depending on how many simultaneous streams you think you need.  The i3 8100 will certainly do 4K.

 

11 hours ago, syrys said:

I guess my alternative is to run the plex server in a windows VM, thats probably a good option. Is there any instructions on how to pass through the GPU to my windows VM? Has anyone done this successfully?

Your motherboard and CPU need to support Vt-d for hardware pass through to work.  A lot also depends on how your board creates IOMMU groups; however, a GPU in a PCIe slot should be in its own group with most boards.

 

There are many discussions in these forums regarding GPU pass through in VMs.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now