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

  • Author
5 minutes ago, GigaGrim said:

Any suggestions for additional troubleshooting would be greatly appreciated.

It would be super cool to have Diagnostics...

  • 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

I'm on mobile, but I'll upload when I'm home from work.

  • Author
23 minutes ago, GigaGrim said:

I'm on mobile, but I'll upload when I'm home from work.

No worries, just to let you know I'll go to sleep in the meantime. 😴

2 hours ago, GigaGrim said:

Attached

may some points ahead

 

Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: GPU at PCI:0000:01:00: GPU-9ca54a51-4546-a724-ffa0-10f03b790518
Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: Xid (PCI:0000:01:00): 79, pid=4874, GPU has fallen off the bus.
Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.

 

take a look if the Power supply is sufficient and its sitting properly in the socket

 

may slso 2 more software questions

 

1/ you are using the "old" 470 driver Version ? tried an actual driver ?

2/ pcie acs downstream enabled ? tried with default setting ? or why did you enable it ?

  • Author
4 hours ago, GigaGrim said:

Attached

In addition to @alturismo's answer, this pretty much also applies to your error:

(except for the part with the UPS)

14 hours ago, alturismo said:

may some points ahead

 

Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: GPU at PCI:0000:01:00: GPU-9ca54a51-4546-a724-ffa0-10f03b790518
Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: Xid (PCI:0000:01:00): 79, pid=4874, GPU has fallen off the bus.
Sep 24 21:00:41 POSEIDON-SERVER kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.

 

take a look if the Power supply is sufficient and its sitting properly in the socket

 

may slso 2 more software questions

 

1/ you are using the "old" 470 driver Version ? tried an actual driver ?

2/ pcie acs downstream enabled ? tried with default setting ? or why did you enable it ?

This was purely for troubleshooting, I attempted the New Feature branch as well, it just happened to be on the 470 driver for this diag.

 

I considered the power supply as the issue, it's a 650w Gold on an otherwise fairly low power system, but it's possible there's something wrong with it. It's been through a few systems at this point. I tried the other GPU cables I had for it and in both GPU outputs from the PSU.

 

As for PCIe ACS downstream, again just for troubleshooting. I don't have a real reason I enabled it other than grasping at straws for why the GPU would continue to disappear after booting.

 

I'll update the driver, disable PCIe ACS downstream, and pull a power supply out of another machine to see if that fixes my problem.

 

 

Thanks!

I initially installed the plugin and correctly modified the container settings, and the GPU could be used properly. However, after I rebooted the Unraid server, the containers using the GPU could not be started, with the following error: 'Error response from daemon: unknown or invalid runtime name: nvidia.' (also can be seen in the screenshots below).

 

2024-09-3014_58_05.thumb.png.c4272ef2244dd7c3a12b2eef2b92f462.png

 

I tried changing 'Enable Docker' from 'Yes' to 'No' and 'No' to 'Yes,' but it still didn't work. The plugin page shows as usual, and the nvidia-smi command returns results, but containers using the GPU still cannot be started.

 

2024-09-3014_55_21.thumb.png.a15dde80da564a230be74a2757b08f99.png

 

2024-09-3014_54_10.thumb.png.d3bbce71890f7d8bdb8e6d3a50f16d8d.png

 

Thank you for your support, please let me know if you need any further information!

  • Author
1 hour ago, tonywang1201 said:

Thank you for your support, please let me know if you need any further information!

Please post your Diagnostics, it is really hard to troubleshoot without them.

questions
will this plugin support vgpu instances?

Both a virtulized gpu in say a proxmox vm and/or a say grid k2 example...
I ask because i finally got my hands on a quadro a6000

but the production, lattest and open source driver doesn't seem to detect my card

Example
lspci
04:00.0 VGA compatible controller: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] (rev a1)

 

image.png.d6be1dcbd910ac546d955312c62e8199.png

image.thumb.png.0fb9c2f806fc570192d562f758049d07.png

curious with 


as the open source driver is getting vgpu support?
https://www.phoronix.com/news/NVIDIA-Open-GPU-Virtualization

Edited by bmartino1

  • Author
47 minutes ago, bmartino1 said:

will this plugin support vgpu instances?

I don‘t think so since I assume you want to pass theough a vGPU to Unraid and then use this driver to utilize the vGPU.

 

Please do keep in mind that I can‘t give support for virtualized GPUs or passed through GPUs since there are too many variables involved.

Multiple people who virtualize Unraid on Proxmox or VMWare have reported issue with that since they forgot to set a flag while passing through the GPU.

 

If you pass through a whole card to a VM you don‘t need the plugin.

 

47 minutes ago, bmartino1 said:

as the open source driver is getting vgpu support?

Yeah but I don‘t think that‘s already implemented correct?

However if the OpenSource driver get‘s this feature the driver should support it.

 

Please note that these driver plugins that I provide are just downloading precompiled driver for the Unraid version you are running.

When the driver is installed you can do whatever you like with the driver so to speak, if the driver supports it then yes you should be able to create vGPUs and use it in VMs but this is will be not part of this plugin if additional steps are necessary.

  • 2 weeks later...

I just upgraded from Unraid 7 beta 2 to Unraid 7 beta 3 and received this warning:

Quote

Nvidia Driver v470.239.06 download failed, please go to the support thread for this plugin and make a post with a screenshot from this error!

I don't know why it's saying to add a screenshot without giving any additional useful information. Anyway, why is it trying to download such an old driver version? The current "production" version is v550.120 and the current installed version is v550.107.02. Is this error legit or am I safe to reboot into the new version?

26 minutes ago, FlexibleToast said:

Is this error legit or am I safe to reboot into the new version?

may reboot and see what happens, looks more like a plugin issue while upgrading.

 

are your plugins "up to date" ?

 

if it fails on reboot, may remove / reinstall the plugin and reboot once more

The Nvidia plugin is up to date. I have the auto update plugin and set it to update every Friday any update that is over 3 days old. I travel for work every week, so I'm not going to attempt the reboot until Friday. I'll report back if I have any issues.

  • Author
2 hours ago, FlexibleToast said:

Anyway, why is it trying to download such an old driver version?

I suspect a corrupt plugin, can you please post a screenshot from the full plugin page?

 

To fix a faulty plugin, uninstall the plugin, reboot, install the plugin again, reboot again (you could also disable and enable Docker once but I would recommend rebooting) and everything should work as before.

I had this running great, following these instructions.  I was trying to upgrade my RAM and ran into a cascade of problems, one of which is now any attempt to reinstall the NVIDIA driver causes my entire system to freeze, requiring a hard reset.  I had to remove & replace the GPU to get to the RAM slots.  UNRAID sees the device, the install works fine, but when I go to look at the NVIDIA driver information under settings, the entire system freezes within 20 seconds, and I never get any the NVIDIA driver page to come up.

 

Any help would be appreciated.

 

PLEASE NOTE:  All equipment in my device is the same as it was before, when the GPU was humming along.  The only difference is I had to replace my parity drive.  Parity has been re-written, and parity check has run a few times.  I had a massive Docker issue at the same time I was wrestling with the GPU, which required me to reinstall the docker.img file

Screenshot 2024-10-14 100656.png

hwProf.xml tower-diagnostics-20241014-1006.zip

16 hours ago, ich777 said:

I suspect a corrupt plugin, can you please post a screenshot from the full plugin page?

 

To fix a faulty plugin, uninstall the plugin, reboot, install the plugin again, reboot again (you could also disable and enable Docker once but I would recommend rebooting) and everything should work as before.

To be clear, the running state it is in right now works. I followed the upgrade messages that said not to reboot until I receive a notification saying it was okay to. I can get the screenshot of the plugin page, but like I said I travel for work and I don't want to reboot a working system while I'm away. I can do that part of the troubleshooting Friday.

  • Author
8 hours ago, FlexibleToast said:

To be clear, the running state it is in right now works.

The driver package and the plugin are two separate things, so to speak, I suspect the plugin package on your system is broken but not the driver.

So to speak if you see error messages on the plugin page you have to remove the plugin, reboot, install the plugin and preferably reboot again.

 

8 hours ago, FlexibleToast said:

but like I said I travel for work and I don't want to reboot a working system while I'm away. I can do that part of the troubleshooting Friday.

No worries, take your time.

  • Author
8 hours ago, JokerzWild said:

NVIDIA driver

Please try to install the Nvidia driver, then pull the Diagnostics (which might can take a bit longer than usual) and post them here.

 

Are you sure that no BIOS settings changed and so on?

You can also try to re-seat the card in the slot and check if the external power cables are plugged in correctly.

Hi,

 

Im currently having an issue with my nvidia card with the system crashing randomly every couple of hours, Ive removed the plugin as per recommendation from another mod however i still need my gpu for transcoding etc, Ive managed to get everything working however im not able to get around the crashing.

Please see attached diagnostics as well as syslog at the time of the crash

syslogs.txt imteounraid-diagnostics-20241013-1504.zip

  • Author
52 minutes ago, IVIazor said:

Please see attached diagnostics as well as syslog at the time of the crash

First of all please remove those two lines from your go file since they aren't needed:

modprobe i915
chmod -R 777 /dev/dri

 

 

From what I can see in your logs where the crash happened you have a XID 119 error:

Oct 13 21:37:45	192.168.0.100	ImTeoUnraid	kern	warning	kernel	NVRM: GPU at PCI:0000:01:00: GPU-e895e0b5-fa25-4886-be12-f2baf798032f
Oct 13 21:37:45	192.168.0.100	ImTeoUnraid	kern	warning	kernel	NVRM: Xid (PCI:0000:01:00): 119, pid=1208, name=nv_open_q, Timeout after 6s of waiting for RPC response from GPU0 GSP! Expected function 103 (GSP_RM_ALLOC) (0x80 0x38).
Oct 13 21:37:45	192.168.0.100	ImTeoUnraid	kern	warning	kernel	NVRM: GPU0 GSP RPC buffer contains function 103 (GSP_RM_ALLOC) and data 0x0000000000000080 0x0000000000000038.

You can read more about and what maybe causes that here.

 

However this XID error is pretty much useless in terms of what could be the cause of the issue.

 

I would recommend doing the following:

  1. Upgrade to Unraid 6.12.13
  2. Upgrade your BIOS
  3. Make sure in the BIOS Above 4G Decoding is enabled
  4. Make sure in the BIOS Resizable BAR is enabled

 

What Power Supply are you using?

Are you sure it is still up to the task?

May I ask for what do you use the dGPU?

Was the GPU working before or did you just put it in the system?

13 hours ago, ich777 said:

Please try to install the Nvidia driver, then pull the Diagnostics (which might can take a bit longer than usual) and post them here.

 

Are you sure that no BIOS settings changed and so on?

You can also try to re-seat the card in the slot and check if the external power cables are plugged in correctly.

Thanks for the reply @ich777 !

 

I will have to find a time window to reinstall the Nvidia driver, i.e. a moment where I won't get yelled at for bringing down Plex, lol. 

 

Here's my parade of problems, leading up to this:

 

1) Attempted to upgrade RAM from 24 GB to 64 GB.  Had to remove GPU to get access to half of the clips.

2) Broke flimsy antenna, the one connected to my WiFi card (NBD, not planning on using it).

3) Broke off the plastic tab off my parity Hard Disk, taking some connection needles with it.  Had to replace the hard drive and SATA cable on that one.

4) RAM upgrade prevented the system from booting.  No POST errors, not loading to BIOS, no video output, nothing.  Had to roll back to my old RAM.

5) Rebuilt Parity

6) Rebuilt Docker stack.

7)  After crashing UNRAID three times from NVIDIA driver installs, gave up.

\8) I did realize the power cables to the GPU were not the way they were supposed to be, so I switched them back (same power plugs though) - still crashed after driver install. 

9) I am getting video output from GPU.  Physical connection (DVI) works fine.

10) Previous attempts to run diag with the Nvidia driver installed causes unraid to freeze (froze on nvidia-smi), so I'm a bit hesitant to try this again, though I will once I have a good window.  Previous attempts included having the GPU with reversed power plugs, so that could be part of the problem.

11) BIOS settings having changed since I enabled virtualization about a month ago.

 

I will try the diag dump with the driver installed.  Hopefully switching the power cables back resolve that issue.

Edited by JokerzWild

  • Author
12 hours ago, JokerzWild said:

9) I am getting video output from GPU.  Physical connection (DVI) works fine.

Are you also sure that the GPU is working properly, just because you get a output without the driver installed doesn't mean that the GPU is working.

If possible try to put the GPU in another system, install the drivers and put some 3D load on it like FurMark for an hour or so to check if the card is in fact working.

 

12 hours ago, JokerzWild said:

7)  After crashing UNRAID three times from NVIDIA driver installs, gave up.

Just to make your life easier, Stop the Array, go to the CA App and then install the driver plugin since this will ensure that you don't have to run a parity check after the reboot and even if a parity check is starting after the crash it is safe to abort it since the Array wasn't started. Hope that makes sense to you.

You can also disable Autostart from the Array in the Disk Settings since this will safe you a lot of time and headache.

6 hours ago, ich777 said:

Are you also sure that the GPU is working properly, just because you get a output without the driver installed doesn't mean that the GPU is working.

If possible try to put the GPU in another system, install the drivers and put some 3D load on it like FurMark for an hour or so to check if the card is in fact working.

 

 

Thanks again @ich777!

 

GPU for sure isn't working properly.  My comment about the video output was more to the effect of "it's not 100% fried" than the GPU being OK.  It was OK before I started messing with it ( sigh ).  Sadly, I don't have another system to test it on as my old NAS platform died.

 

Thanks for the reminder on the Array management - I did start halting the array about half-way through my repeated tests.  I did totally forget about disabling Autostart though...Thanks!

 

I will likely get a chance today to do some more troubleshooting.  Thanks again!

I had a chance to bring the array down and try the nvidia install again, which worked fine.  Like last time the diagnostics froze on 'nvidia-smi --query 2' command.  I ran it manually within the console and it also hung up.  Two CPU cores were pegged at 100% during both of these.  

 

And because I like poking my tongue on a painful tooth, I also tried going to Settings->Nvidia, which froze UNRAID again.  I hard reset it, removed the nvidia driver, and restarted the array without issue.  I'm beginning to think that I damaged the GPU during my work on the chassis last week.

 

I tried going to the root of the flash to find the temporary diagnostic folder the diag operation makes, but it got deleted with the reboot.  Other diags still exist on boot/logs.

 

 

installNvidia_20241016.png

diagPostNvidiaDriver_20241016.png

cpuConsump_20241016.png

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.