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] Nvidia-Driver

Featured Replies

11 minutes ago, Maxachaka said:

I get an error and it won't install.

enough space on the USB ?

USB Stick ok ?

some adblocker ... running which could block git downloads ?

...

 

and may i ask, if you already have a card for hardware transcoding (ARC) ... why not use it for both, jelly and handbrake ?

as long you are using Docker ... but thats your choice ;)

  • Replies 5.9k
  • Views 1.2m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • To utilize your Nvidia graphics card in your Docker container(s) the basic steps are:   Add '--runtime=nvidia' in your Docker template in 'Extra Parameters' (you have to enable 'Advanced

  • Recompiled the drivers and they are now just working fine (to get it working scroll down):   Please do the following (this is only necessary if you upgraded before I recompiled the dri

  • I'm currently spinning up my build VM and compiling the drivers again, currently drivers for 6.11.0 stable are not available...

Posted Images

23 minutes ago, alturismo said:

enough space on the USB ?

USB Stick ok ?

There is plenty of space on the usb stick and it has been working fine for what i have going for it. 1G out of 64G used

24 minutes ago, alturismo said:

some adblocker ... running which could block git downloads ?

I don't believe there is anything and I double checked for anything just in case and found nothing

24 minutes ago, alturismo said:

and may i ask, if you already have a card for hardware transcoding (ARC) ... why not use it for both, jelly and handbrake ?

as long you are using Docker ... but thats your choice ;)

The issue is with the Arc A380. It works perfectly for decoding AV1 media and all of the sort. However, it is the biggest pain in the ass to not only set up on unraid (I had to manually add it as a path in unraid which was a pain in the butt to figure out), but it also sucks for encoding. It encodes at ~20fps for 4k HDR AV1. My CPU does ~12-15 fps but with a much smaller file size. This is mainly for when I have to handbrake a lot of media en mass (which is when I do x265) and don't want to create a literal space heater in my small little dorm (it uses a Ryzen 9 5900X).

12 minutes ago, Maxachaka said:

but it also sucks for encoding. It encodes at ~20fps for 4k HDR AV1

but you are aware that the NV 20xx Series (also 30xx Series) cant encode to AV1 in hardware ...

 

40xx Series can ... or Intel ARC ;) if thats your main goal ... ancoding to AV1

  • Author
27 minutes ago, Maxachaka said:

There is plenty of space on the usb stick and it has been working fine for what i have going for it. 1G out of 64G used

Please post your Diagnostics.

Did you do anything custom to your Unraid installation?

 

This error usually means that either the connection to GitHub & the GitHub API does not work or something is eating up all your GitHub API tokens on your network (PiAlert was such a thing that did this <- don't know if that's fixed already).

 

27 minutes ago, Maxachaka said:

I don't believe there is anything and I double checked for anything just in case and found nothing

May I ask where you are located in the world? Do you have Unifi network gear? Please make sure to allow access to GitHub and the GitHub API.

 

28 minutes ago, Maxachaka said:

However, it is the biggest pain in the ass to not only set up on unraid (I had to manually add it as a path in unraid which was a pain in the butt to figure out), but it also sucks for encoding. It encodes at ~20fps for 4k HDR AV1. My CPU does ~12-15 fps but with a much smaller file size. This is mainly for when I have to handbrake a lot of media en mass (which is when I do x265) and don't want to create a literal space heater in my small little dorm (it uses a Ryzen 9 5900X).

Is encoding even reliably working on Linux, TBH I haven't looked into that for a long time and my ARC card is working fine on Windows and definitely can push more than 20fps <- without HDR.

21 hours ago, ich777 said:

What happens when you visit the plugin page (just to let you know it will also call nvidia-smi so a crash might also happen).

I have tried that quite many times now, without any issues. I will report back if I notice any further problems. What might be causing the GPU statistics plugin on the dashboard to crash the server?!

  • Author
51 minutes ago, _JC_ said:

I have tried that quite many times now, without any issues. I will report back if I notice any further problems. What might be causing the GPU statistics plugin on the dashboard to crash the server?!

I really don't know since this shouldn't happen maybe @SimonF has a clue?

To what update interval did you set GPU Statistics? I can only imagine if you set a really, really short interval you basically force it to crash -> I would recommend that you set it to at least 2000 or even 5000 since this means it will update every 2 or 5 seconds which should be more then enough for most users.

Always keep in mind that every status update also produces some kind of CPU load...

1 hour ago, ich777 said:

I really don't know since this shouldn't happen maybe @SimonF has a clue?

To what update interval did you set GPU Statistics? I can only imagine if you set a really, really short interval you basically force it to crash -> I would recommend that you set it to at least 2000 or even 5000 since this means it will update every 2 or 5 seconds which should be more then enough for most users.

Always keep in mind that every status update also produces some kind of CPU load...

Thanks. Maybe at some point I will test, but now I let it run without the GPU statistics :) Once when the server crashed, the boot drive got corrupted, so I had to restore it from the cloud backup :( I don't think I changed the interval from the default in the plugin config.

6 hours ago, ich777 said:

I really don't know since this shouldn't happen maybe @SimonF has a clue?

To what update interval did you set GPU Statistics? I can only imagine if you set a really, really short interval you basically force it to crash -> I would recommend that you set it to at least 2000 or even 5000 since this means it will update every 2 or 5 seconds which should be more then enough for most users.

Always keep in mind that every status update also produces some kind of CPU load...

 

4 hours ago, _JC_ said:

Thanks. Maybe at some point I will test, but now I let it run without the GPU statistics :) Once when the server crashed, the boot drive got corrupted, so I had to restore it from the cloud backup :( I don't think I changed the interval from the default in the plugin config.

If you do try again can you have logs going to a syslog server. I cannot think why it is crashing host. Maybe frequency of refresh related.

I'm having an issue where the Nvidia Driver isn't detecting/reporting GPUs. I had a 1050ti in my first PCiE slot and everything was working no problems. I recently moved the 1050ti to the 3rd slot and added a 3060 to the 1st slot. This is a configuration I had in the server a few months ago. But now the driver isn't finding the GPUs even though Unraid is and can use them in VMs. I tried deleting the plugin and driver and reinstalling but no luck, any help would be greatly appreciated.Screenshot2024-09-03at1_14_10PM.thumb.png.51c6e0f0bd7c83fc94427e6f381825ac.png

  • Author
31 minutes ago, cenzar said:

I'm having an issue where the Nvidia Driver isn't detecting/reporting GPUs. I had a 1050ti in my first PCiE slot and everything was working no problems. I recently moved the 1050ti to the 3rd slot and added a 3060 to the 1st slot. This is a configuration I had in the server a few months ago. But now the driver isn't finding the GPUs even though Unraid is and can use them in VMs. I tried deleting the plugin and driver and reinstalling but no luck, any help would be greatly appreciated.

Sorry but without Diagnostics I can't say anything.

7 hours ago, cenzar said:

Apologies, that was my mistake diagnostics attacheddiagnostics-20240903-1638.zip

may take a look at your vfio binds

 

BIND=0000:01:00.0|10de:2504 0000:01:00.1|10de:228e 0000:04:00.0|10de:1c82 0000:04:00.1|10de:0fb9

 

both slots are vfio bound, which makes then unaccessable for unraid host (VM usage only)

 

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] [10de:2504] (rev a1)
	Subsystem: Dell GA106 [GeForce RTX 3060 Lite Hash Rate] [1028:c974]
	Kernel driver in use: vfio-pci
	Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GA106 High Definition Audio Controller [10de:228e] (rev a1)
	Subsystem: Dell Device [1028:c974]
	Kernel driver in use: vfio-pci

04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] GP107 [GeForce GTX 1050 Ti] [1462:8c96]
	Kernel driver in use: vfio-pci
	Kernel modules: nvidia_drm, nvidia
04:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] GP107GL High Definition Audio Controller [1462:8c96]
	Kernel driver in use: vfio-pci

 

Hi there - I'm having issues using my 4060 in an X470D4U board with a 5950x. LSPCI sees the card but keep getting the nvidia-smi failed error. I've also made sure it's not bound to VFIO as well. Attached are the diagnostics as well. Thank you for the help!

njhome-diagnostics-20240904-0745.zip

  • Author
1 hour ago, SugiUnraid said:

Hi there - I'm having issues using my 4060 in an X470D4U board with a 5950x. LSPCI sees the card but keep getting the nvidia-smi failed error. I've also made sure it's not bound to VFIO as well. Attached are the diagnostics as well. Thank you for the help!

Please enable Above 4G decoding, Resizable BAR support and Support for large address space in your BIOS (you won't find every option in your BIOS but enable if you find anything).

 

This error indicates that something is wrong with allocating address space, please maybe also try another PCIe slot if your motherboard has another slot:

Sep  4 04:36:20 NJHome kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
Sep  4 04:36:20 NJHome kernel: NVRM: BAR0 is 0M @ 0x0 (PCI:0000:2b:00.0)
Sep  4 04:36:20 NJHome kernel: nvidia: probe of 0000:2b:00.0 failed with error -1
Sep  4 04:36:20 NJHome kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Sep  4 04:36:20 NJHome kernel: NVRM: None of the NVIDIA devices were initialized.

 

Attempted upgraded to 6.12.13 today from 6.12.11. 

The upgrade itself failed and lost both network support and found corrupted BZ files which I manually restored to USB.

Was able to reboot and find build still at 6.12.11.

Ran upgrade again and rebooted. This time on 6.12.13. Things seem to be working. HOWEVER..

No NVIDIA plug-in showing.  IOMMU does have the card showing up:

IOMMU group 28:                [8086:6f04] 00:02.0 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 2 (rev 01)
     [10de:2484] 03:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1)
     [10de:228b] 03:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)

 

is the upgrade failure/loss of NVIDIA related or a red herring? Should I attempt to reinstall the plugin?

Edited by SkepticalOptimist

  • Author
25 minutes ago, SkepticalOptimist said:

is the upgrade failure/loss of NVIDIA related or a red herring? Should I attempt to reinstall the plugin?

Yes it might be, the plugin and the Plugin Update Helper which is part of the Nvidia Plugin try to download the version that is necessary for the new Unraid version and you usually get a notification that the download is in progress/finished/save to reboot.

 

If you don't wait and directly reboot then it will most certainly fail to download and leave the plugin in bricked state.

However I can't say much since you didn't provide Diagnostics if that's really the case ore something else is going on.

 

Please remove the plugin (also check the Plugin Error tab if it's in there) and reinstall it from the CA App.

Hello, 

I went to install the new OS version, and got an error on Nvidia driver download. image.png.664a1e2878524d992c67cb0ccf414ae4.png

image.thumb.png.2612d785bf31a5417dd5fb5e6c26eaa7.png

  • Author
4 hours ago, coltonc18 said:

I went to install the new OS version, and got an error on Nvidia driver download. 

Can you please post your Diagnostics?

 

How much free space do you have on your USB Boot device?

Is your server able to communicate with GitHub and the GitHub API?

Do you have any AdBlockers on your network?

Can you post a screenshot from the Nvidia Driver plugin page, are there any errors on there displayed?

 

You could try to remove the plugin, reboot and then install the plugin again after the reboot.

11 hours ago, ich777 said:

Can you please post your Diagnostics?

 

How much free space do you have on your USB Boot device?

Is your server able to communicate with GitHub and the GitHub API?

Do you have any AdBlockers on your network?

Can you post a screenshot from the Nvidia Driver plugin page, are there any errors on there displayed?

 

You could try to remove the plugin, reboot and then install the plugin again after the reboot.

looks like removing the plugin and reinstalling did it.....

The upgrade got hung up trying to upgrade third party drivers after that, but I cancelled the upgrade, and redid it, and that seems to have done it.  It didn't recognize any issues at that point.  

Thanks!

Hi I just installed unraid for the first time. so I'm completely green in the area :) I want to start transcoding on jellyfin but it's not going so well. Have an i5 6600k cpu and a GTX 1050. want to use the graphics card for transcoding. Have tried to follow a lot of different guaids but nothing wants to work.

 

The last one I tried is from the jellyfin forum.

 

Extra Parameters: -e NVIDIA_DRIVER_CAPABILITIES=all  -e NVIDIA_VISIBLE_DEVICES=all  --gpus all
That's the exact line I used, I copy and pasted exactly that, obviously without the Extra Parameters part.
Than I created 2 variables in the container editor.

Variable 1:
Name: NVIDIA_VISIBLE_DEVICES
Key: NVIDIA_VISIBLE_DEVICES
value: all

Variable 2:
Name: NVIDIA_DRIVER_CAPABILITIES
Key: NVIDIA_DRIVER_CAPABILITIES
Value: all

 

Is there something obvious I'm missing?

GPU.jpg

GPU2.jpg

Jellyfin.jpg

kraken-diagnostics-20240910-2125.zip

How about this, from the first page of this thread:

 

Bildschirmfoto_2020-11-15_22-07-28.png.7

First thing i tried.

  • Author
1 hour ago, lacariuz said:

Is there something obvious I'm missing?

Please read the second post again:

Quote
  1. Add '--runtime=nvidia' in your Docker template in 'Extra Parameters' (you have to enable 'Advanced view' in the template to see this option)
  2. Add a variable to your Docker template with the Key: 'NVIDIA_VISIBLE_DEVICES' and as Value: 'YOURGPUUUID' (like 'GPU-9cfdd18c-2b41-b158-f67b-720279bc77fd')
  3. Add a variable to your Docker template with the Key: 'NVIDIA_DRIVER_CAPABILITIES' and as Value: 'all'
  4. Make sure to enable hardware transcoding in the application/container itself

 

You never mentioned --runtime=nvidia and this is also a really important part.

Please post your docker run command if possible (just click the link to read how to do that).

I tried that but did not get it to work.

 

will try to fix ” Docker run ” after work today.

  • Author
1 hour ago, lacariuz said:

I tried that but did not get it to work.

What container are you using? Do you use the official one? I would recommend you go with the official one first.

 

From what I saw this can only be a configuration error since your GPU seems to work fine.

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...

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.