Ability to install GPU Drivers for Hardware Acceleration.


Recommended Posts

4 hours ago, jonathanm said:

When plex fully supports nvidia, then we will be waiting on unraid. Currently, we are waiting on plex.

Seems like the information on the support articles are old, check https://forums.plex.tv/t/what-gpu-to-get-for-hardware-acceleration/227537/28 and you can see that people are running nvidia HW offload on linux and in dockers. So we are just now waiting for unRaid to support nvidia drivers

Edited by Output
Link to comment

What about AMD then? As I've seen reports of users running an AMD gpu under Linux with hardware transcoding working.

 

I don't really think we are waiting on Plex. We need drivers. Even if plex officially supported Nvidia and AMD it won't matter if unraid doesn't have the drivers.

 

It's the same as unraid dvb. Plex supports tuners but plex can't see or do anything with those tuners without the drives being supplied by the unraid dvb plugin.

 

The issue is rather simple, if the right drivers are installed into unraid then the gpu can be passed to the plex docker. The support of that gpu then falls on Plex.

 

The problem is adding drivers for gpus into unraid is not an easy or simple task. I highly doubt Lime-tech wants to spend the time/money/effort into doing so. Even though I think it may attract more customers. Therefore it would fall on the community.

 

For an idea of how much work is involved, listen to CHBMB. He knows much work is involved with compiling drivers into each new build of unraid.

 

I really want this to happen. But from what I've read and been told is not something thats going to come easy.

 

 

 

Link to comment
8 hours ago, bnevets27 said:

What about AMD then? As I've seen reports of users running an AMD gpu under Linux with hardware transcoding working.

 

I don't really think we are waiting on Plex. We need drivers. Even if plex officially supported Nvidia and AMD it won't matter if unraid doesn't have the drivers.

 

It's the same as unraid dvb. Plex supports tuners but plex can't see or do anything with those tuners without the drives being supplied by the unraid dvb plugin.

 

The issue is rather simple, if the right drivers are installed into unraid then the gpu can be passed to the plex docker. The support of that gpu then falls on Plex.

 

The problem is adding drivers for gpus into unraid is not an easy or simple task. I highly doubt Lime-tech wants to spend the time/money/effort into doing so. Even though I think it may attract more customers. Therefore it would fall on the community.

 

For an idea of how much work is involved, listen to CHBMB. He knows much work is involved with compiling drivers into each new build of unraid.

 

I really want this to happen. But from what I've read and been told is not something thats going to come easy.

 

 

 

I really dont know the complexity of getting this to work, but I would presume that having the drivers installable from the user via CA or such would be really hard. Just compiling AMD and nvidia drivers with unRaid should be the most simple way to do it. You will though loose the ability to choose driver version and not be able to install others like tuners but I think this would solve 90% of the use cases

Link to comment
  • 2 weeks later...
  • 4 weeks later...

To me, this would make the perfect unraid server, my box doesn't have the ability to install a CPU that supports quick sync and I don't fancy upgrading my server to one that does, I use dual Xeon's and the only Xeon's I can find that support Intel's quick sync cost about 4 times what I paid for mine, and even then I thought £500 a chip was pricey

Link to comment
  • 2 weeks later...
On 11/5/2017 at 2:47 PM, dee31797 said:

I second this request for GPU drivers in Unraid OS.

Edit: it works. I used bassrock/plex-nvidia-docker container to test it.

I had to pass "--device /dev/dri:/dev/dri" and turn on "Privileged:" in the plex docker setting before it would work.  Only hw encoding with nvidia card but that is Plex's fault.  Emby should work decode and encode

 

original post:

Hello gents, one of you test this out.  Could be an early Xmas gift if it works. ;-)

not my creation just found it on google

Install this plugin: https://raw.githubusercontent.com/bassrock/Unraid-NVIDIA-Plugin/master/plugins/UnraidNVIDIA.plg

more info here https://github.com/bassrock/plex-nvidia-docker

Edited by dee31797
Link to comment

Not able to test it myself but holy moly that is a game changer, how has this not blown up in international media by now?? :D

 

My hopes are that I will not need to switch to a new plex docker container but that 'linuxserver/plex' will be updated to support this.

Edited by JohanSF
Link to comment
On 10/22/2018 at 11:11 PM, bnevets27 said:

For an idea of how much work is involved, listen to CHBMB. He knows much work is involved with compiling drivers into each new build of unraid.

I have experimented with Nvidia drivers on Unraid too.  Not a trivial task, especially when trying to leverage in docker.  Nvidia doesn't support Slackware as a base for starters.

Link to comment
3 hours ago, dee31797 said:

Edit: it works. I used bassrock/plex-nvidia-docker container to test it.

I had to pass "--device /dev/dri:/dev/dri" and turn on "Privileged:" in the plex docker setting before it would work.  Only hw encoding with nvidia card but that is Plex's fault.  Emby should work decode and encode

 

original post:

Hello gents, one of you test this out.  Could be an early Xmas gift if it works. ;-)

not my creation just found it on google

Install this plugin: https://raw.githubusercontent.com/bassrock/Unraid-NVIDIA-Plugin/master/plugins/UnraidNVIDIA.plg

more info here https://github.com/bassrock/plex-nvidia-docker

I would appreciate if you're going to fork several weeks of my work and then release it as your own then it might be polite to at least speak to me first.  The whole reason I haven't released it was due to a whole raft of segfaults.

 

A real asshat move.

 

 

Link to comment
2 minutes ago, CHBMB said:

I would appreciate if you're going to fork several weeks of my work and then release it as your own then it might be polite to at least speak to me first.  The whole reason I haven't released it was due to a whole raft of segfaults.

 

A real asshat move.

 

 

what?!?! did you read it or what? you quoted my statement "not my creation just found it on google" seriously man, like, im speechless

 

edit: your github was forked by "bassrock" I don't know how to fork or code or do any of this crap. 

all the files I tested with was from bassrock, 

https://raw.githubusercontent.com/bassrock/Unraid-NVIDIA-Plugin/master/plugins/UnraidNVIDIA.plg

https://github.com/bassrock/plex-nvidia-docker

https://hub.docker.com/r/bassrock/plex-nvidia-docker

 

Edited by dee31797
  • Like 1
Link to comment

I'm very active on the forums, hell, my work is even mentioned on the thread.  You find something on google, fork it, and release it, without so much of speaking to me.  I'm all for open source, but it's not like I'm not available, a PM or message reaching out to me would be appreciated.  Instead you unilaterally decide you are going to be the one to release my work by forking it, as a possible early Christmas gift.

 

EDIT: There's no license attributable to that code either so I'm well within my rights I believe to ask you to remove it.  If you wish to get involved with development then by all means speak to me and get involved.  Until then I would appreciate if you remove my ongoing project from release, as it's not finished.

 

EDIT: Apologies then @bass_rock looks like he's responsible, but he didn't release it.....  I'll speak to him about some collaboration in that case.

 

@dee31797 Sorry I got annoyed, it's clear you're not familiar with github and etiquette regarding this stuff, so I want to apolgise, but basically, from my initial impression I thought you had forked my work and released it as your own, which was a bit of a kick in the teeth for me, as I spent a LOT of time a few months back, and many very late nights, with the other ls.io guys trying to get this fully working.  Had to put it on hold for a while as real life got in the way, so to wake up and see this was a bit of a shock.  Once again apologies.

Edited by CHBMB
Link to comment
1 minute ago, CHBMB said:

I'm very active on the forums, hell, my work is even mentioned on the thread.  You find something on google, fork it, and release it, without so much of speaking to me.  I'm all for open source, but it's not like I'm not available, a PM or message reaching out to me would be appreciated.  Instead you unilaterally decide you are going to be the one to release my work by forking it, as a possible early Christmas gift.

  

 

I didn't release shit, I found it on google.  Some guy release it got it working.  Others on this forum wanted the same thing so I posted it here that it worked for me.

your github was forked by "bassrock" I don't know how to fork or code or do any of this crap. 

all the files I tested it with was from bassrock, 

https://raw.githubusercontent.com/bassrock/Unraid-NVIDIA-Plugin/master/plugins/UnraidNVIDIA.plg

https://github.com/bassrock/plex-nvidia-docker

https://hub.docker.com/r/bassrock/plex-nvidia-docker

Link to comment
Just now, CHBMB said:

I think you should read my EDIT above.  I've reached out to bassrock and he's hit the same problem I was with segfaults and server crashes. 

gotcha.  Posted before edit

 

I didn't have a server crashed but I only tested it for about 30-45 mins.  Transcoded a few Plex streams.  Hopefully someone gets it working fully then.

Link to comment
  • 2 weeks later...

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.