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.

[Plugin] Linuxserver.io - Unraid Nvidia

Featured Replies

1 hour ago, ramblinreck47 said:

Save your money (1050TI or 1060) or pay more (1660). The new 1650 doesn’t have a Turing NVENC chip. Nvidia cheaped out.

 

https://www.reddit.com/r/hardware/comments/bgokyg/the_gtx_1650_does_not_have_turings_nvenc_encoder/?utm_source=share&utm_medium=ios_app

Pretty pathetic on Nvidia's part.

 

I bought a 1660 for the 6 gigs of vram. 4 is small and now this volta cheap out is why AMD needs to bring NAVI to market ASAP.

  • Replies 2.5k
  • Views 658.3k
  • Created
  • Last Reply
Quote

 

Here's a script I've modified that can be used via the user scripts plugin on a schedule to enable the decoding support:

https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428

 

1.) What user script schedule? When do I need to run that script? On array start? On Plex docker start (if yes, how)? ...

 

2.) And do I need to copy the complete script into a new user script then? Or is it a plugin?

 

Sorry, I've read that whole thread several times now, but I don't get it. NVENC is working perfect, but I would like to activate the NVDEC part as well.

 

Many thanks in advance.

 

Yes.

 

In the meantime I could resolve my first problem: I do have a plex-backup user-script that runs every night (including settings and SQLite dump). I had to include the NVDEC fix in that backup script.

 

Still searching for a way to apply the NVDEC fix after the plex docker is updated. It's no real problem because in the next night, after the plex-backup, it's been fixed. Would be cool to have a trigger for user-scripts like "docker named plex started" or "docker named plex updated" ...

 

31 minutes ago, hawihoney said:

 Would be cool to have a trigger for user-scripts like "docker named plex started" or "docker named plex updated" ...

 

So instead of automating docker updates through the GUI, use your script to do the whole task. The GUI is just sending CLI commands through docker anyway.

Open a console session on unraid and type docker. There is a whole world out there waiting for you to discover it. You know how we ask people to post your docker run list when you have a problem with a docker? That docker run IS a command line that can be scripted.

Did issue "docker". Looked on the docker GUI page - even with advanced view activated. Didn't find anything mentioning a run list. Can I get that without stopping a container? If yes, how?

 

And if I issue "docker start <dockername>", or Unraid does an update of a docker container, that does start that docker run list?

 

Whow, so I need to find out how to add a script to that ...

 

Edited by hawihoney

2 hours ago, jonathanm said:

You know how we ask people to post your docker run list when you have a problem with a docker? That docker run IS a command line that can be scripted.

2 hours ago, hawihoney said:

Did issue "docker". Looked on the docker GUI page - even with advanced view activated. Didn't find anything mentioning a run list.

Very first link in the Docker FAQ:

 

https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345

 

any way to add install additional or change to a different Nvidia driver version, like 340.93 ?

the most current do not support the older or rather most Quadro cards.... would make sense to pass one of my Quadro 4000 cards to plex to use for Transcoding

5 hours ago, cmdthor said:

any way to add install additional or change to a different Nvidia driver version, like 340.93 ?

the most current do not support the older or rather most Quadro cards.... would make sense to pass one of my Quadro 4000 cards to plex to use for Transcoding

Each driver and kernel version requires manual work on the part of the Linuxserver.io team, so while possible, it doesn't seem feasible.
If they do decide to support it, I would suggest they auto detect the last driver version for each card - which can be facilitated with code found in the MHWD tool for Manjaro, and Jockey for Ubuntu.

Edited by Xaero

any way to add install additional or change to a different Nvidia driver version, like 340.93 ?
the most current do not support the older or rather most Quadro cards.... would make sense to pass one of my Quadro 4000 cards to plex to use for Transcoding
Sorry, nope, we rely on upstream Slackbuilds to grab the drivers and pulling really old drivers to support old hardware is just going down a new rabbit hole of complexity that just isn't practical I'm afraid.

Sent from my Mi A1 using Tapatalk

HELP!! Im a total noob and have followed every tutorial perfectly.  however, when i use plex or emby with my hardware transcoding (which seems to be working) my CPU is still at 97%.  I have a p2000 and a Dell T3620. I bought all this stuff and some how its not working like it should (or maybe it is) Attached are a few pics of my set up and Im not sure what i am doing wrong.  At this point id be willing to pay for some 1 on 1 tech support.  I can venmo or paypal. If anyone wants to make some cash please hit me up

 

do i need a new processor, ram, motherboard? Or is it a simple fix on the docker side.  I do not know linux commands so i am trying to read these posts but get a bit lost.  

 

any help would greatly be appreciated.  

 

Screen Shot 2019-04-28 at 7.46.50 PM.png

Screen Shot 2019-04-28 at 7.48.20 PM.png

Screen Shot 2019-04-28 at 7.48.39 PM.png

Screen Shot 2019-04-28 at 7.48.53 PM.png

 

 

Screen Shot 2019-04-28 at 7.59.13 PM.png

Edited by Jamshm

3 hours ago, Jamshm said:

HELP!! Im a total noob and have followed every tutorial perfectly.  however, when i use plex or emby with my hardware transcoding (which seems to be working) my CPU is still at 97%.  I have a p2000 and a Dell T3620. I bought all this stuff and some how its not working like it should (or maybe it is) Attached are a few pics of my set up and Im not sure what i am doing wrong.  At this point id be willing to pay for some 1 on 1 tech support.  I can venmo or paypal. If anyone wants to make some cash please hit me up

 

do i need a new processor, ram, motherboard? Or is it a simple fix on the docker side.  I do not know linux commands so i am trying to read these posts but get a bit lost.  

 

any help would greatly be appreciated.  

 

Screen Shot 2019-04-28 at 7.46.50 PM.png

Screen Shot 2019-04-28 at 7.48.20 PM.png

Screen Shot 2019-04-28 at 7.48.39 PM.png

Screen Shot 2019-04-28 at 7.48.53 PM.png

 

 

Screen Shot 2019-04-28 at 7.59.13 PM.png

You have to remember that Plex only use the GPU for encoding the video. That means that the video decoding is done by your cpu. In addition, the audio will always be transcoded by your cpu.

There are multiple posts in this thread about how to get plex to decode also, but it's not support by plex.

You could try emby, but you have to pay to get hardware transcoding.

On 4/27/2019 at 3:26 PM, cmdthor said:

any way to add install additional or change to a different Nvidia driver version, like 340.93 ?

the most current do not support the older or rather most Quadro cards.... would make sense to pass one of my Quadro 4000 cards to plex to use for Transcoding

If you have a Quadro 4000, a circa 2010 card, then it seems like it's a non-issue as that card doesn't support NVENC or NVDEC for hardware transcoding according to NVIDIA's NVENC and NVDEC support matrix.

 

If you have a Quadro P4000, K4000, M4000, or RTX 4000, this NVIDIA plugin should be fine, since all these cards are supported by the 418.43 drivers.

 

It sounds like you have a Quadro 4000 based on your description and needing older drivers. Is that right?

@saarg

 

Thanks for the reply.  I do appreciate it.  I will try Emby tonight.  From everything i read my set up should be able to handle more than one transcode.  I actually found that with quick sync, i get less CPU usage.  I really do like unraid, i just might not be savvy enough to figure this out. 

6 hours ago, Jamshm said:

@saarg

 

Thanks for the reply.  I do appreciate it.  I will try Emby tonight.  From everything i read my set up should be able to handle more than one transcode.  I actually found that with quick sync, i get less CPU usage.  I really do like unraid, i just might not be savvy enough to figure this out. 

That's pretty much to be expected.
When using QuickSync, Plex will both Decode and Encode using the Quicksync pipelines exposed by your CPU. When using nvidia's nvenc, by default, Plex will use your CPU for decoding, and nvenc for encoding.

You could create a wrapper that uses -hwaccel qsv to use QuickSync for decoding, and nvenc for encoding, which would result in similar CPU usage to using QuickSync.

At the end of the day, the nvenc/nvdec support is really only useful if you have a CPU that DOES NOT have QuickSync video.

@Xaero

Well I have this P2000 that is just sitting around now.  I am probably going to do a custom build.  Ill check out that section of the Unraid threads to see what fits my budget the best. Now comes the big question, Ryzen or Xeon.

 

Essentially all i do is back up my data, dl some movies and run plex/emby.  Just dont want any hiccups.  

Can I update my P4000s drivers on unraid?

39 minutes ago, rsampayo said:

Can I update my P4000s drivers on unraid?

No. Depends on Slackbuilds doing a release of an nvidia driver.

 

Also this MAY be updated when unraid releases new versions only.

3 hours ago, Dazog said:

No. Depends on Slackbuilds doing a release of an nvidia driver.

 

Also this MAY be updated when unraid releases new versions only.

Slackbuilds *has* released the new driver.

No buildscripts available publicly though, so I can't just set up a buildbot with the copious number of CPU cores available to me to churn out builds with new nvidia driver releases sadly.

Just wanna pop into say how much I loved this plugin. With it I was able to retire my old ridiculously oversized and resource intensive Plex/Emby VM.

I use my old GTX 760 for them and hopefully I'll be able to get a P2000 sometime soon. 

RC8 uploaded, hasn't been tested by myself as I normally do as I'm in the middle of a parity check.  Uploaded it in case someone else wants to test it first.

 

@AnnabellaRenee87 Glad you like it!

RC8 uploaded, hasn't been tested by myself as I normally do as I'm in the middle of a parity check.  Uploaded it in case someone else wants to test it first.
 
[mention=73615]AnnabellaRenee87[/mention] Glad you like it!
I would test it now but it's the first of the month and parity is running, I'll try it this evening after I try compiling the latest HP RMRR patch.

Thanks
Sent from my SM-G975U using Tapatalk

@CHBMB Build RC8 installed, working fine.  I see that you also upgrade the Nvidia Driver to new version (not latest, but probably latest for slackware slackbuilds).   Booted Fine.  Tested HW Transcode in my Plex Inc. DOCKER with success. 

 

Thanks a lot !

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.