[Plugin] Linuxserver.io - Unraid Nvidia


2468 posts in this topic Last Reply

Recommended Posts

Hey all, just thought I'd post that we are super lucky because we now have two methods of getting nvidia support in Unraid.  This plugin, which has served us well and now via a community kernel another method here

 

The main two differences with this new one are:

 

1 - You can choose any nvidia driver version you like (and change it whenever you like, or just set to latest)

2 - It supports future unraid versions (including beta versions) without having to wait for others to get around to making it work.

 

As a bonus it also includes the option of DVB drivers (previously you couldn't run both DVB and Nvidia kernels) and it also includes ZFS option, which is pretty neat.

 

I'm running it and it works well for me, just thought I should share.

 

Thanks,

 

Marshalleq.

 

Edited by Marshalleq
  • Like 1
Link to post
  • Replies 2.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

DEPRECATED

v6.8.2 uploaded.   Delayed for a few reasons, had problems (and still do) with the nvidia container runtime, worked around it in the end, but not a long term solution looking forward, I'm wo

DEPRECATED

Posted Images

On 5/31/2020 at 10:45 AM, saarg said:

It looks like the card might be faulty.

To conclude, I sourced a P620 at a good price (also HP branded) and it works perfectly.

It definitely would seem the P400 is indeed faulty.

 

Thanks for all your help with debugging!

Link to post
3 hours ago, sephallen said:

To conclude, I sourced a P620 at a good price (also HP branded) and it works perfectly.

It definitely would seem the P400 is indeed faulty.

 

Thanks for all your help with debugging!

Good to hear you got a working card.

Link to post

Hi Everyone,

 

I've been wondering why my Quadro 600 card hasn't been detected for use in a Plex docker, and found the following in the system log:-

Jun  7 19:21:50 Chewie kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 247
Jun  7 19:21:50 Chewie kernel: NVRM: The NVIDIA Quadro 600 GPU installed in this system is
Jun  7 19:21:50 Chewie kernel: NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
Jun  7 19:21:50 Chewie kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Jun  7 19:21:50 Chewie kernel: NVRM:  information.  The 440.59 NVIDIA driver will ignore
Jun  7 19:21:50 Chewie kernel: NVRM:  this GPU.  Continuing probe...

Are there any instructions on how I could get a Quadro 600 card working, or is it a dead end? Thanks.

Link to post
58 minutes ago, Pixor said:

Are there any instructions on how I could get a Quadro 600 card working, or is it a dead end? Thanks.

It's a dead end for hardware accelerated decode/encode for software like Plex, card is simply too old.

Link to post

Hi all.

 

Just put a new unraid box together, I bought a 2nd hand 1050 TI to go with it.

I'm running 6.8.3 and have installed the Nvidia drivers/version twice now incase I did it wrong the first time. I'm getting this:

Quote

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.      

I've tried the two PCIE slots the box has but it doesn't seem to pick up the card at all? The fan on the side of the card is spinning so I know it at the very least has power. Not sure what to do next.

Link to post
44 minutes ago, Dimtar said:

Hi all.

 

Just put a new unraid box together, I bought a 2nd hand 1050 TI to go with it.

I'm running 6.8.3 and have installed the Nvidia drivers/version twice now incase I did it wrong the first time. I'm getting this:

I've tried the two PCIE slots the box has but it doesn't seem to pick up the card at all? The fan on the side of the card is spinning so I know it at the very least has power. Not sure what to do next.

Is it in the nvidia plugin page you see that message?

You chose to download version 6.8.3 in the left pull down and rebooted?

Post the output of lspci -k

Link to post
5 minutes ago, saarg said:

Is it in the nvidia plugin page you see that message?

You chose to download version 6.8.3 in the left pull down and rebooted?

Post the output of lspci -k

Yes, yes and yes.

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core P                                                                             rocessor Host Bridge/DRAM Registers (rev 07)
        Subsystem: Gigabyte Technology Co., Ltd Skylake Host Bridge/DRAM Registe                                                                             rs
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
        DeviceName:  Onboard IGD
        Subsystem: Gigabyte Technology Co., Ltd HD Graphics 530
        Kernel driver in use: i915
        Kernel modules: i915
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family                                                                              USB 3.0 xHCI Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H USB 3.0 xHCI Con                                                                             troller
        Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series C                                                                             hipset Family Thermal Subsystem (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H Thermal subsyste                                                                             m
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chips                                                                             et Family MEI Controller #1 (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H CSME HECI
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 C                                                                             hipset SATA Controller [AHCI Mode] (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SATA controller                                                                              [AHCI mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #17 (rev f1)
        Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #1 (rev f1)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #4 (rev f1)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #5 (rev f1)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #9 (rev f1)
        Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #13 (rev f1)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Fami                                                                             ly Power Management Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD                                                                              Audio Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H HD Audio
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (re                                                                             v 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SMBus
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:02.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
06:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Rid                                                                             ge]
        Subsystem: Device 2222:1111
        Kernel driver in use: xhci_hcd
08:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Cont                                                                             roller (rev 10)
        Subsystem: Gigabyte Technology Co., Ltd Killer E2400 Gigabit Ethernet Co                                                                             ntroller
        Kernel driver in use: alx
        Kernel modules: alx
0a:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Cont                                                                             roller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd Device a801
        Kernel driver in use: nvme
        Kernel modules: nvme, rsnvme

 

Link to post
7 minutes ago, Dimtar said:

Yes, yes and yes.


00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core P                                                                             rocessor Host Bridge/DRAM Registers (rev 07)
        Subsystem: Gigabyte Technology Co., Ltd Skylake Host Bridge/DRAM Registe                                                                             rs
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
        DeviceName:  Onboard IGD
        Subsystem: Gigabyte Technology Co., Ltd HD Graphics 530
        Kernel driver in use: i915
        Kernel modules: i915
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family                                                                              USB 3.0 xHCI Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H USB 3.0 xHCI Con                                                                             troller
        Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series C                                                                             hipset Family Thermal Subsystem (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H Thermal subsyste                                                                             m
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chips                                                                             et Family MEI Controller #1 (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H CSME HECI
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 C                                                                             hipset SATA Controller [AHCI Mode] (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SATA controller                                                                              [AHCI mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #17 (rev f1)
        Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #1 (rev f1)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #4 (rev f1)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #5 (rev f1)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #9 (rev f1)
        Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI                                                                              Express Root Port #13 (rev f1)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Fami                                                                             ly Power Management Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD                                                                              Audio Controller (rev 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H HD Audio
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (re                                                                             v 31)
        Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SMBus
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:02.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
03:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge                                                                              4C 2015]
        Kernel driver in use: pcieport
06:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Rid                                                                             ge]
        Subsystem: Device 2222:1111
        Kernel driver in use: xhci_hcd
08:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Cont                                                                             roller (rev 10)
        Subsystem: Gigabyte Technology Co., Ltd Killer E2400 Gigabit Ethernet Co                                                                             ntroller
        Kernel driver in use: alx
        Kernel modules: alx
0a:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Cont                                                                             roller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd Device a801
        Kernel driver in use: nvme
        Kernel modules: nvme, rsnvme

 

The only GPU detected is the Intel GPU. So you either bought a dead 1050 or you killed it installing it.

Link to post
15 minutes ago, saarg said:

The only GPU detected is the Intel GPU. So you either bought a dead 1050 or you killed it installing it.

Neither of those options are good, I will do a bit more testing and see what I find. Thanks for your time.

Link to post

Given that my Quadro 600 is not going to work, can anyone recommend me an inexpensive card to encode for Plex in a docker? Max would be 2 concurrent video streams with 4k 10 bit HDR HEVC.

Edited by Pixor
Link to post
6 minutes ago, Pixor said:

Given that my Quadro 600 is not going to work, can anyone recommend me an inexpensive card to encode for Plex in a docker? Max would be 2 concurrent video streams with 4k 10 bit HDR HEVC.

Quadro P400 should do the trick and can be found on eBay for around $100

Link to post
2 hours ago, Pixor said:

Given that my Quadro 600 is not going to work, can anyone recommend me an inexpensive card to encode for Plex in a docker? Max would be 2 concurrent video streams with 4k 10 bit HDR HEVC.

I picked up a 1050ti from ebay a year ago for about £90 and it's been perfect for me.  Granted, I've only dabbled with 4K content on it so far, but it seems OK.

Link to post

I use a Palit 1050ti kalmx which works fine for me.   One of my requirements was that it should be fanless (and thus silent) which precluded any newer cards I could find.  I think you can pick that up on eBay for around £50-£60 at the moment.

Link to post

Been having issues getting my server to passthrough one GPU to a RTX 2060 to a VM. Every time libvert crash's. I don't have any hardware transcoding on or running. Today I added a Quadro 410 as my primary card for unraid with the RTX 2060 in the other x16 slot and it still crashed. I noticed also today that this plugin is giving me a bunch of errors. I cannot hit do anything in the plugin now, the errors are listed bellow.

 

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 45

Warning: file_get_contents(https://lsio.ams3.digitaloceanspaces.com/?prefix=unraid-nvidia/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 45

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 47

Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 51

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 51

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 70

Warning: array_multisort(): Argument #3 is expected to be an array or a sort flag in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 73

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 91

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 103

Link to post
1 hour ago, Remamian said:

Been having issues getting my server to passthrough one GPU to a RTX 2060 to a VM. Every time libvert crash's. I don't have any hardware transcoding on or running. Today I added a Quadro 410 as my primary card for unraid with the RTX 2060 in the other x16 slot and it still crashed. I noticed also today that this plugin is giving me a bunch of errors. I cannot hit do anything in the plugin now, the errors are listed bellow.

 

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 45

Warning: file_get_contents(https://lsio.ams3.digitaloceanspaces.com/?prefix=unraid-nvidia/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 45

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 47

Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 51

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 51

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 70

Warning: array_multisort(): Argument #3 is expected to be an array or a sort flag in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 73

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 91

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/Unraid-Nvidia/include/exec.php on line 103

You need to stub the GPU if you want to pass it through to a VM if you have the Nvidia build installed. As soon as you download and overwrite the original unraid build, the drivers will be loaded for the supported GPUs.

Link to post
44 minutes ago, saarg said:

You need to stub the GPU if you want to pass it through to a VM if you have the Nvidia build installed. As soon as you download and overwrite the original unraid build, the drivers will be loaded for the supported GPUs.

 

I got the errors all fixed when i properly setup the new Network card. But i still cant get the VM to startup with my GPU. See >> 

 

*Edit, with correct link

 

Edited by Remamian
Link to post

Hello,

 

Been working on this all morning...started with Space Invaders guide..then followed this thread and everything looks great on my end.  Do you guys have any ideas why my transcoding is not being picked up by my m4000?

 

9aMOPJS.png

KGoPqU9.png

oBT2By2.pngnQnrZPE.png

ACKDGsx.pngTT58Rny.png

 

I've also tried setting NVIDIA_VISIBLE_DEVICES = all

 

Link to post
56 minutes ago, waymon said:

Hello,

 

Been working on this all morning...started with Space Invaders guide..then followed this thread and everything looks great on my end.  Do you guys have any ideas why my transcoding is not being picked up by my m4000?

 

9aMOPJS.png

KGoPqU9.png

oBT2By2.pngnQnrZPE.png

ACKDGsx.pngTT58Rny.png

 

I've also tried setting NVIDIA_VISIBLE_DEVICES = all

 

Did you enable hardware acceleration in plex settings and do you have plexpass?

Link to post

@linuxserver.io Thanks for your work on this. I know new builds aren't typically released until a new release of Unraid is available, but there is a fairly serious bug fixed in driver version 450.36.06. 

 

Basically the new drive allows a graphics card to return to P-state P8, instead of being stuck at P-state P0.

Link to post
  • trurl locked this topic
Guest
This topic is now closed to further replies.