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

4 hours ago, mbezzo said:

Hi!

This plugin is FANTASTIC - thank you!  

 

I'm successfully using it with my dockers, but I can't seem to get a 2nd card to successfully passthrough to VM's.  This plugin wouldn't interfere with passing a GPU through to a VM would it?  To be clear, I have 2 cards in my box - one is setup to work with a docker app, the other is not and is to be passed through.  I can use each card with dockers just fine, and while they show up as passthroughable to VMs, the VM's never boot when they're attached.

 

Any ideas/pointers?

 

Thanks!

Stub the card you want to pass through to the VM so the driver doesn't get loaded.

  • Replies 2.5k
  • Views 662k
  • Created
  • Last Reply

I'll look into how to do that! Thanks for the pointer!

 

Hey Guys. im trying to get my P2000 working for plex transcoding. i just installed the Unraid Nvidia plugin and it gets stuck on the Updating available builds screen.  any ideas?

 

im running 6.8.0 image.thumb.png.c6bd2ebc15d82d8930a886453094ced3.png

Just FYI, but if it takes exactly longer than 120 seconds, it will never finish.  I believe you'd still be able to download the appropriate files manually, though others @ lsio would be able to assist.

On 12/28/2019 at 12:39 PM, Defylimits said:

I have a similar problem, the P5000 and P4000 (one in my server) are supported by this driver version (see snip)?

My 710GT and 1080 both showed up in the Info page, and the 1080 disappeared when it was being used as pass through for my VM, but the Quadro P4000 does not show up on the Info page even tho it is showing up in the system devices page.

Is there a way to get the UUID in a another manor and still try passing it through to the docker? Or will it not work at all if its not detected on the Unraid Nvidia page?

Quadro.JPG

Note that the Quadro 4000 (Released 2010)  and the Quadro P4000 (Released 2017) are two entirely different products several generations apart from one another.

Edited by Xaero

Hi guys,

 

posted this in the plex forum (lnio) but thought I should place here as well. Installed a quadro p2200 and unraid 6.8 stable and have a crazy memory leak in plex. Never had this before installing this plugin and the p2200 being added. Anyway, I'm attaching the diagnostic file here as well. Any help would greatly be appreciated.

 

ps. I had a sata error but have fixed that by moving cable to another sata connector on the motherboard..no errors with this anymore

unraid-diagnostics-20200101-0804.zip

Hi guys,
 
posted this in the plex forum (lnio) but thought I should place here as well. Installed a quadro p2200 and unraid 6.8 stable and have a crazy memory leak in plex. Never had this before installing this plugin and the p2200 being added. Anyway, I'm attaching the diagnostic file here as well. Any help would greatly be appreciated.
 
ps. I had a sata error but have fixed that by moving cable to another sata connector on the motherboard..no errors with this anymore
unraid-diagnostics-20200101-0804.zip
Memory leak in Plex is not something I can do much about with this plugin....

Sent from my Mi A1 using Tapatalk

3 hours ago, drpete said:

memory leak in plex

Are you sure it is plex to blame? I see plex getting killed in your syslog, but that might just be due to OOM deciding to kill plex because something else has filled RAM. I admit I'm not entirely sure how to interpret those parts of your syslog, but I am using LSIO plex and not having this issue.

I know its plex because I gave it 32 gig of memory initially and ran that way for years and now it used all the memory so I limited it to 16 in the parameters and it still uses it up. Not right away. I can run 10 streams and use only 1 gig of memory but as the docker runs longer then a while later I am at 50 percent memory used by plex and then within an hour or two plex has used all 16. if I reboot or stop array and start everything back up same pattern. Hope this helps. These are my two cents but I am not the sharpest tool in the shed

5 hours ago, drpete said:

I know its plex because I gave it 32 gig of memory initially and ran that way for years and now it used all the memory so I limited it to 16 in the parameters and it still uses it up. Not right away. I can run 10 streams and use only 1 gig of memory but as the docker runs longer then a while later I am at 50 percent memory used by plex and then within an hour or two plex has used all 16. if I reboot or stop array and start everything back up same pattern. Hope this helps. These are my two cents but I am not the sharpest tool in the shed

What is your transcode mapped to?

On 12/31/2019 at 12:56 PM, saarg said:

Stub the card you want to pass through to the VM so the driver doesn't get loaded.

Alright, I can't seem to find much on how to stub something.  Anybody willing to point me to a guide or something?  

 

Thanks!

 

1 hour ago, trurl said:

What is your transcode mapped to?

Sorry...not sure what you are asking? 

1 hour ago, drpete said:

Sorry...not sure what you are asking? 

In the docker container settings, What is your path for /transcode set to?

it is set to /tmp

 

I had/have "Use hardware-accelerated video encoding" checked in transcoding section. This is in addition to "Use hardware acceleration when available" being checked.

 

Reading thru the beginning of this thread it says this cant do encode. could this be the possible sources of my crashing. Also, I removed the variables added to plex to use gpu and removed the nvidia plugin and am running like I was before graphics card install and it is now 6 hours and no memory leaks or crash. Hopefully check marking the encoding wasnt what did it,dont have much hair left to pull out. lol

 

let me know if the /tmp is a problem. 

 

As always thanks for all time and help, it is greatly appreciated.

19 minutes ago, drpete said:

it is set to /tmp

 

let me know if the /tmp is a problem. 

/tmp is using the Ram as a temporary transcoding location.

What do you have in your plex settings --> transcoder --> "Transcoder temporary directory" blank?

3 hours ago, mbezzo said:

Alright, I can't seem to find much on how to stub something.  Anybody willing to point me to a guide or something?  

 

Thanks!

 

Use one like this or whatever flavor of port you have. 

5 minutes ago, rmeaux said:

Use one like this or whatever flavor of port you have. 

Thanks for the reply - but I don't think that's what he was referring to.  There's a "stub" command you can set for specific devices which seems to make the host OS ignore them? I've seen it mentioned a few times in the forum but no clear process on how to do it. Like what file is edited, etc...

 

34 minutes ago, mbezzo said:

Thanks for the reply - but I don't think that's what he was referring to.  There's a "stub" command you can set for specific devices which seems to make the host OS ignore them? I've seen it mentioned a few times in the forum but no clear process on how to do it. Like what file is edited, etc...

 

Haha, I'll learn something too. I may be doing this next week. I found this: 

 

Step 1. Go to tools -> system devices and look for the ID of what you want to stub

 

Step 2. Copy the number that looks like this:

 

8086t:8d31

 

Step 3. Go back to "Main" and click on "Flash"

 

Step 4. Add this to your syslinux config 

pci-stub.ids=8086:8d31

(replace "8086:8d31" with the number from Step 2.)

 

 

Let me know if this is helps. I already have a P2000. Getting a free 1050ti next week for gaming. May be in your shoes. 

16 hours ago, rmeaux said:

/tmp is using the Ram as a temporary transcoding location.

What do you have in your plex settings --> transcoder --> "Transcoder temporary directory" blank?

Yes. this is correct. In plex, the transcoder directory is blank, but in the docker setting it is set to /tmp (for the mapping)

4 hours ago, drpete said:

Yes. this is correct. In plex, the transcoder directory is blank, but in the docker setting it is set to /tmp (for the mapping)

Docker setting is just a suggestion. The gui is where you set it now. If it is unset, it will default to a location under /config

Haha, I'll learn something too. I may be doing this next week. I found this: 
 
Step 1. Go to tools -> system devices and look for the ID of what you want to stub
 
Step 2. Copy the number that looks like this:
 
8086t:8d31
 
Step 3. Go back to "Main" and click on "Flash"
 
Step 4. Add this to your syslinux config 
pci-stub.ids=8086:8d31

(replace "8086:8d31" with the number from Step 2.)
 
 
Let me know if this is helps. I already have a P2000. Getting a free 1050ti next week for gaming. May be in your shoes. 



Now this is what I was looking for! I’ll be trying it this weekend and will report back!

Thanks!


Sent from my iPhone using Tapatalk

Just an update on the memory issue with plex. I uninstalled the nvidia plug in and removed the parameters that were added to run the gpu (quadro p2200). I have now gone 27 hours with no crash or plex shutdown due to memory being filled. 

 

I am gonna run a few more days and make sure no more issues. The weird part is if it is stable for a few more days then that rules out plex or unraid issues. But leaves it down to drivers and/or gpu card. When I installed the card software, it was working and I saw the transcode happen when i "watch nvidia-smi". Is it possible I did something wrong typing the parameters but still allowed it to work but not properly? Could this be because I bought the P2200 and not the P2000? Any thoughts would be appreciated. As always thanks for the help.

 

ps. just wondered. My motherboard is supermicro x10sri-f. Do I need to do any bios changes (or maybe update)? Just brainstorming now for anything.

Edited by drpete
thougt of something else

51 minutes ago, drpete said:

Just an update on the memory issue with plex. I uninstalled the nvidia plug in and removed the parameters that were added to run the gpu (quadro p2200). I have now gone 27 hours with no crash or plex shutdown due to memory being filled. 

 

I am gonna run a few more days and make sure no more issues. The weird part is if it is stable for a few more days then that rules out plex or unraid issues. But leaves it down to drivers and/or gpu card. When I installed the card software, it was working and I saw the transcode happen when i "watch nvidia-smi". Is it possible I did something wrong typing the parameters but still allowed it to work but not properly? Could this be because I bought the P2200 and not the P2000? Any thoughts would be appreciated. As always thanks for the help.

 

ps. just wondered. My motherboard is supermicro x10sri-f. Do I need to do any bios changes (or maybe update)? Just brainstorming now for anything.

FWIW I'm running a P2200 for Plex without issue...

5 minutes ago, mbezzo said:

FWIW I'm running a P2200 for Plex without issue...

 

thanks..that makes me feel better...Gonna wait another day and retry the install. I read in the early posts here that copy and past of the parameters sometimes puts a blank space. Will check for this. i would imagine if I entered something wrong it wouldnt work, but may it would but cause my errors.

 

Curious if you are using encoding and decoding or just decoding? Also are you on 6.8? Thanks again

5 minutes ago, drpete said:

 

thanks..that makes me feel better...Gonna wait another day and retry the install. I read in the early posts here that copy and past of the parameters sometimes puts a blank space. Will check for this. i would imagine if I entered something wrong it wouldnt work, but may it would but cause my errors.

 

Curious if you are using encoding and decoding or just decoding? Also are you on 6.8? Thanks again

This kinda stuff usually works or it doesn't - so I think yer clearly on the works side of things :)

 

I'm doing both enc/dec and on 6.8!

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.