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

Error trying to reinstall the drivers after upgrading to UnRaid 7 and downgrade 6.12.14, how can I properly remove the existing install and then re-install?

 

plugin: installing: nvidia-driver.plg Executing hook script: pre_plugin_checks plugin: downloading: nvidia-driver.plg ... done plugin: downloading: nvidia-driver-2024.12.08.txz ... done +============================================================================== | Skipping package nvidia-driver-2024.12.08 (already installed) +============================================================================== -----ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR------ ---Can't get latest Nvidia driver version and found no installed local driver--- plugin: run failed: '/bin/bash' returned 1 Executing hook script: post_plugin_checks

 

System log
 

Jan 23 13:24:35 SamsNas01 root: plugin: creating: /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz - downloading from URL https://github.com/ich777/unraid-nvidia-driver/raw/master/packages/nvidia-driver-2024.12.08.txz Jan 23 13:24:36 SamsNas01 root: plugin: checking: /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz - MD5 Jan 23 13:24:36 SamsNas01 root: plugin: running: upgradepkg --install-new /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz Jan 23 13:24:36 SamsNas01 root: plugin: creating: /usr/local/emhttp/plugins/nvidia-driver/README.md - from INLINE content

unraid.nvidia.png

  • 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

  • Author
10 minutes ago, SamH said:

Error trying to reinstall the drivers after upgrading to UnRaid 7 and downgrade 6.12.14, how can I properly remove the existing install and then re-install?

Diagnostics would be very helpful.

 

To properly reinstall do that:

  1. Remove the plugin (also check the Plugin Error tab within the Plugins)
  2. Reboot
  3. Install the plugin again

 

May I ask why you downgraded to 6.12.14? Have you seen the linked post below already, that's why 6.12.15 was released.
Was something not working on Unraid 7.0.0?

 

 

25 minutes ago, ich777 said:

Diagnostics would be very helpful.

 

To properly reinstall do that:

  1. Remove the plugin (also check the Plugin Error tab within the Plugins)
  2. Reboot
  3. Install the plugin again

 

May I ask why you downgraded to 6.12.14? Have you seen the linked post below already, that's why 6.12.15 was released.
Was something not working on Unraid 7.0.0?

 

 

The plugin does not show as installed anywhere so I can't remove it. when I tried the downgrade to go back to where I started from the option was 6.12.14.
I downgraded because the drivers did not update and would not install on 7 so I tried the downgrade in an attempt to get back to the previous state.samsnas01-diagnostics-20250123-1451.zip

  • Author
19 minutes ago, SamH said:

The plugin does not show as installed anywhere so I can't remove it.

Are you also sure that you don't have this tab:
grafik.png.a439befa113cbad64e30a0d7ce3dc994.png

 

However I would recommend that you upgrade to Unraid 7.0.0 when the reason you downgraded was just the Nividia Driver not working.

 

When upgrading did you see the message to wait until you are notified it is safe to upgrade, this should look something like this here.

 

1 hour ago, SamH said:

unraid.nvidia.png

If you get that message this usually means that your Unraid Server is not able to communicate with GitHub, this is where all the driver packages and version files are located.

 

Did you by any chance change your network gear recently or did you install any AdBlocking software recently?

Most of the times Unifi Routers with enabled IDS/IPS or AdBlocking software on the local network can cause issues.

 

Please do the following:

  1. Turn of any AdBlocking/IDS/IPS in your Firewall for the time doing these steps here
  2. Run the upgrade assistant to upgrade to Unraid 7.0.0
  3. Reboot
  4. Download the driver plugin again

 

26 minutes ago, SamH said:

I downgraded because the drivers did not update and would not install on 7 so I tried the downgrade in an attempt to get back to the previous state.

From your Diagnostics I see that the Nvidia Driver plugin tried to upgrade to the appropriate package for Unraid 7.0.0 but it failed like when you did it manually:

Jan 21 13:21:55 SamsNas01 rc.local: +==============================================================================
Jan 21 13:21:55 SamsNas01 rc.local: | Installing new package /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz
Jan 21 13:21:55 SamsNas01 rc.local: +==============================================================================
Jan 21 13:21:55 SamsNas01 rc.local: Verifying package nvidia-driver-2024.12.08.txz.
Jan 21 13:21:55 SamsNas01 rc.local: Installing package nvidia-driver-2024.12.08.txz:
Jan 21 13:21:55 SamsNas01 rc.local: PACKAGE DESCRIPTION:
Jan 21 13:21:55 SamsNas01 rc.local: Package nvidia-driver-2024.12.08.txz installed.
Jan 21 13:21:56 SamsNas01 rc.local: -----ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR------
Jan 21 13:21:56 SamsNas01 rc.local: ---Can't get latest Nvidia driver version and found no installed local driver---

 

This is probably caused because of something blocking access to GitHub.

Please try the things that I pointed out above and see if it is working afterward.

2 hours ago, ich777 said:

Are you also sure that you don't have this tab:
grafik.png.a439befa113cbad64e30a0d7ce3dc994.png

 

However I would recommend that you upgrade to Unraid 7.0.0 when the reason you downgraded was just the Nividia Driver not working.

 

When upgrading did you see the message to wait until you are notified it is safe to upgrade, this should look something like this here.

 

If you get that message this usually means that your Unraid Server is not able to communicate with GitHub, this is where all the driver packages and version files are located.

 

Did you by any chance change your network gear recently or did you install any AdBlocking software recently?

Most of the times Unifi Routers with enabled IDS/IPS or AdBlocking software on the local network can cause issues.

 

Please do the following:

  1. Turn of any AdBlocking/IDS/IPS in your Firewall for the time doing these steps here
  2. Run the upgrade assistant to upgrade to Unraid 7.0.0
  3. Reboot
  4. Download the driver plugin again

 

From your Diagnostics I see that the Nvidia Driver plugin tried to upgrade to the appropriate package for Unraid 7.0.0 but it failed like when you did it manually:

Jan 21 13:21:55 SamsNas01 rc.local: +==============================================================================
Jan 21 13:21:55 SamsNas01 rc.local: | Installing new package /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz
Jan 21 13:21:55 SamsNas01 rc.local: +==============================================================================
Jan 21 13:21:55 SamsNas01 rc.local: Verifying package nvidia-driver-2024.12.08.txz.
Jan 21 13:21:55 SamsNas01 rc.local: Installing package nvidia-driver-2024.12.08.txz:
Jan 21 13:21:55 SamsNas01 rc.local: PACKAGE DESCRIPTION:
Jan 21 13:21:55 SamsNas01 rc.local: Package nvidia-driver-2024.12.08.txz installed.
Jan 21 13:21:56 SamsNas01 rc.local: -----ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR------
Jan 21 13:21:56 SamsNas01 rc.local: ---Can't get latest Nvidia driver version and found no installed local driver---

 

This is probably caused because of something blocking access to GitHub.

Please try the things that I pointed out above and see if it is working afterward.

I did see the message about waiting for the background update of drivers, this appeared to stall and after 2 hours with no new log entries and no obvious system activity I used the cancel option, the system rebooted to 7 and not the previous version as expected. There are no changes to the network other than Unifi updates since I set up my unraid nas

 

I tried manually running through the steps and am able to download the tar 

 

root@SamsNas01:/boot/config/plugins/nvidia-driver# wget https://github.com/ich777/unraid-nvidia-driver/raw/master/packages/nvidia-driver-2024.12.08.txz
--2025-01-23 17:29:34-- https://github.com/ich777/unraid-nvidia-driver/raw/master/packages/nvidia-driver-2024.12.08.txz
Resolving github.com (github.com)... 20.26.156.215
Connecting to github.com (github.com)|20.26.156.215|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/ich777/unraid-nvidia-driver/master/packages/nvidia-driver-2024.12.08.txz [following]
--2025-01-23 17:29:34-- https://raw.githubusercontent.com/ich777/unraid-nvidia-driver/master/packages/nvidia-driver-2024.12.08.txz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31752 (31K) [application/octet-stream]
Saving to: ‘nvidia-driver-2024.12.08.txz’

nvidia-driver-2024.12.08.txz                            100%[===============================================================================================================================>]  31.01K  --.-KB/s    in 0.005s

2025-01-23 17:29:34 (6.49 MB/s) - ‘nvidia-driver-2024.12.08.txz’ saved [31752/31752]

root@SamsNas01:/boot/config/plugins/nvidia-driver# ls
nvidia-driver-2024.12.08.txz
root@SamsNas01:/boot/config/plugins/nvidia-driver# upgradepkg --install-new /boot/config/plugins/nvidia-driver/nvidia-driver-2024.12.08.txz

+==============================================================================
| Skipping package nvidia-driver-2024.12.08 (already installed)
+==============================================================================

  • Author
31 minutes ago, SamH said:

I tried manually running through the steps and am able to download the tar 

But could something mess or block the GitHub API on your network?

 

Did you yet try to disable AdBlocking or IDS/IPS completely? Keep in mind that Unifi can automatically update and also update certain rules. Another user in another thread was having similar issues due to Unifi IDS/IPS being to strict (in his case nothing with Tailscale was working correctly).

 

May I ask where are you located in the world?

24 minutes ago, ich777 said:

But could something mess or block the GitHub API on your network?

 

Did you yet try to disable AdBlocking or IDS/IPS completely? Keep in mind that Unifi can automatically update and also update certain rules. Another user in another thread was having similar issues due to Unifi IDS/IPS being to strict (in his case nothing with Tailscale was working correctly).

 

May I ask where are you located in the world?

I am in the UK.
I turned off traffic security and I put a specific rule in place to allow any traffic from the unraid server to anywhere but get the same result, i also tried a different plugin to see if that worked (which it did) output below, I am back on 7 now as well,

 

Jan 23 17:52:11 SamsNas01 plugin-manager: running: 'anonymous' Jan 23 17:52:11 SamsNas01 plugin-manager: creating: /boot/config/plugins/unraid.patch/unraid.patch-2024.12.24-x86_64-1.txz - downloading from URL https://raw.github.com/unraid/unraid.patch/main/archive/unraid.patch-2024.12.24-x86_64-1.txz Jan 23 17:52:12 SamsNas01 plugin-manager: checking: /boot/config/plugins/unraid.patch/unraid.patch-2024.12.24-x86_64-1.txz - MD5 Jan 23 17:52:12 SamsNas01 plugin-manager: running: upgradepkg --install-new /boot/config/plugins/unraid.patch/unraid.patch-2024.12.24-x86_64-1.txz Jan 23 17:52:12 SamsNas01 plugin-manager: running: 'anonymous' Jan 23 17:52:12 SamsNas01 root: Checking for patches for OS version 7.0.0 Jan 23 17:52:13 SamsNas01 root: No patches found Jan 23 17:52:13 SamsNas01 plugin-manager: unraid.patch.plg installed

Edited by SamH

  • Author
2 minutes ago, SamH said:

also tried a different plugin to see if that worked output below

I see that but you have to understand that the driver plugins work differently.

 

In case of the Nvidia Driver plugin it installs fine on your system too but where it fails is at the download from the driver package because the plugin itself actually doesn't come with the driver.

 

Behind the curtains it works like that:

  1. The Nvidia Driver plugin is installed (which works for you)
  2. Then the plugin on it's own searches for a local available driver
  3. If no driver is found locally it tries to get the latest version numbers via the GitHub API
  4. If that fails then you'll see this message

 

Please execute this command from an Unraid terminal and post the output:

wget -qO- https://api.github.com/rate_limit | jq -r '.rate'

 

Maybe something is using all of your free API tokens and that's why it's failing to install.

32 minutes ago, ich777 said:

I see that but you have to understand that the driver plugins work differently.

 

In case of the Nvidia Driver plugin it installs fine on your system too but where it fails is at the download from the driver package because the plugin itself actually doesn't come with the driver.

 

Behind the curtains it works like that:

  1. The Nvidia Driver plugin is installed (which works for you)
  2. Then the plugin on it's own searches for a local available driver
  3. If no driver is found locally it tries to get the latest version numbers via the GitHub API
  4. If that fails then you'll see this message

 

Please execute this command from an Unraid terminal and post the output:

wget -qO- https://api.github.com/rate_limit | jq -r '.rate'

 

Maybe something is using all of your free API tokens and that's why it's failing to install.

root@SamsNas01:/boot/config/plugins/nvidia-driver# wget -qO- https://api.github.com/rate_limit | jq -r '.rate'
{
  "limit": 60,
  "remaining": 0,
  "reset": 1737660527,
  "used": 60,
  "resource": "core"
}
 

  • Author
6 minutes ago, SamH said:

...

"remaining": 0,

...

"used": 60,

...

There is your issue, something in your network is eating up all your GitHub API Calls.

 

I can't quite remember there was a monitoring container out there which was using all API Calls but I can't remember what name it was, it was something with "Pi"...

4 minutes ago, ich777 said:

There is your issue, something in your network is eating up all your GitHub API Calls.

 

I can't quite remember there was a monitoring container out there which was using all API Calls but I can't remember what name it was, it was something with "Pi"...

I have shutdown all containers although i don't see anything that should be using any API calls, I will wait to see what happens when the next hours reset happens

  • Author
1 minute ago, SamH said:

I have shutdown all containers although i don't see anything that should be using any API calls, I will wait to see what happens when the next hours reset happens

Are you maybe behind a CG-NAT where maybe other users are using all the API Calls?

Just now, ich777 said:

Are you maybe behind a CG-NAT where maybe other users are using up the API Calls?

I have a sneaking suspicion that it was VSCode or at least one of the extensions that was using up all my free API requests, will need to dig in to that but for now the drivers have now installed successfully.

Thank you for al your help and patience!!

  • Author

@the-un-unraider is your problem solved?

 

The Webclient and Nvidia is known to cause issues if you change the quality settings on the fly.

I would recommend that you use a native app and then change the quality.

@ich777

No the problem‘s still here but i figured it‘s a plex issue. It also happens on the native Windows client though.

Wondering if someone can help me fix the issue with RTX 4090 - issue seems when daily backup runs, the nvidia gpu was being dropped for some reason. As a fix - i removed the driver and the steps to reinstall.

GPU is only assigned to ollama docker container - and after the backup ran last night this morning it seems the issue has occurred again.

Seems to have only started since I updated to Unraid 7

 

Here are some outputs - if someone can help troubleshoot please

 

CleanShot2025-01-30at08_34_05.thumb.png.cf5a13f5bd629aeabed9b78252098ae6.png

 

Docker run settings for ollama:

CleanShot2025-01-30at08_37_25.png.ee834cf17895327169c38b2013c86af3.png

 

Edit: seeing this in syslog
CleanShot2025-01-30at08_49_10.thumb.png.2cb302055bb9f5fd7db93911f69e4939.png

 

Attached - nvidia-bug-report

nvidia-bug-report.log-2.gz

Edited by m0dded

  • Author
32 minutes ago, m0dded said:

Seems to have only started since I updated to Unraid 7

Can you please upload your Diagnostics instead of the Nvidia bug report when the error occurs? Are you also sure that the power supply is up to the task?

 

However what you are seeing is probably caused by a C library that is shipped with the container.

Are you also sure that the card isn't overheating or similar issues?

@ich777 thanks for the quick reply.

The issue is occurring at night during backup - however i just ran a manual backup after a reboot and the issue didn't occur.

Will get the diagnostics to you overnight.

PSU is LianLi 1000W EG1000.BE so don't think that is an issue - I have stress tested the gpu and there was no crash.

 

Would really like to solve this issue and achieve stability, so appreciate your help.

I do see this in syslog when the container starts:
 

Jan 30 09:34:31 Trinity kernel: br-5f6600742638: port 4(vethacf6d46) entered disabled state
Jan 30 09:34:31 Trinity kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20230628/dsfield-184)
Jan 30 09:34:31 Trinity kernel: ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20230628/dswload2-477)
Jan 30 09:34:31 Trinity kernel: ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20230628/psparse-529)
Jan 30 09:34:32 Trinity kernel: eth0: renamed from vethb22b052
Jan 30 09:34:32 Trinity kernel: br-5f6600742638: port 4(vethacf6d46) entered blocking state
Jan 30 09:34:32 Trinity kernel: br-5f6600742638: port 4(vethacf6d46) entered forwarding state
Jan 30 09:34:33 Trinity kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.PEG1.PEGP._DSM.USRG], AE_ALREADY_EXISTS (20230628/dsfield-184)
Jan 30 09:34:33 Trinity kernel: ACPI Error: AE_ALREADY_EXISTS, CreateBufferField failure (20230628/dswload2-477)
Jan 30 09:34:33 Trinity kernel: ACPI Error: Aborting method \_SB.PC00.PEG1.PEGP._DSM due to previous error (AE_ALREADY_EXISTS) (20230628/psparse-529)

This was in the bug report - not sure if it helps:

 

(['[  265.363644] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  565.77  Wed Nov 27 23:33:08 UTC 2024\n',
  '[38542.793206] NVRM: GPU at PCI:0000:01:00: GPU-68a24a84-1227-c298-42fe-359fe10a2390\n',
  "[38542.793209] NVRM: Xid (PCI:0000:01:00): 79, pid='<unknown>', name=<unknown>, GPU has fallen off the bus.\n",
  '[38542.793213] NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.\n',
  '[38542.793240] NVRM: A GPU crash dump has been created. If possible, please run\n',
  '               NVRM: nvidia-bug-report.sh as root to collect this data before\n',
  '               NVRM: the NVIDIA kernel module is unloaded.\n',
  "[38542.793341] NVRM: Xid (PCI:0000:01:00): 154, pid='<unknown>', name=<unknown>, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)\n",
  'ERROR: An internal driver error occurred\n',
  'ERROR: An internal driver error occurred\n',
  'ERROR: An internal driver error occurred\n',
  "ERROR: Error while querying valid values for attribute 'OperatingSystem' on [gpu:0] (No such attribute).\n",
  'ERROR: An internal driver error occurred\n',
  "ERROR: Error while querying valid values for attribute 'Ubb' on [gpu:0] (No such attribute).\n",
  'ERROR: An internal driver error occurred\n',
  "ERROR: Error while querying valid values for attribute 'Overlay' on [gpu:0] (No such attribute).\n",
  'ERROR: An internal driver error occurred\n',
  "ERROR: Error while querying valid values for attribute 'Stereo' on [gpu:0] (No such attribute).\n",
  'ERROR: An internal driver error occurred\n',
  "ERROR: Error while querying valid values for attribute 'TwinView' on [gpu:0] (No such attribute).\n"],
 ['[  265.363644] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  565.77  Wed Nov 27 23:33:08 UTC 2024\n'],
 ['[    0.000000] Linux version 6.6.68-Unraid (root@Develop) (gcc (GCC) 14.2.0, GNU ld version 2.43.1-slack151) #1 SMP PREEMPT_DYNAMIC Tue Dec 31 13:42:37 PST 2024\n',
  'Linux version 6.6.68-Unraid (root@Develop) (gcc (GCC) 14.2.0, GNU ld version 2.43.1-slack151) #1 SMP PREEMPT_DYNAMIC Tue Dec 31 13:42:37 PST 2024\n'])

 

@m0dded reseat the gpu in the pcie slot

2 minutes ago, mcmasterp said:

@m0dded reseat the gpu in the pcie slot

@mcmasterp - have done that and the power cable too. Strangest thing is its stable when it gets used. Issue started to occur post Unraid 7 and I am assuming after backup as it seems to be overnight

 

  • Author
8 hours ago, m0dded said:

This was in the bug report

Please always include your Diagnostics since it has more and clearer information in it as the Nvidia bug report script.

 

4 hours ago, m0dded said:

Issue started to occur post Unraid 7

Have you ever considered that this is probably not the issue here since we are talking about a Docker container it could be also the case that it got upgraded and that's why this error came up?

Nothing changed in terms of the driver or the Base OS.

 

However as previously said this seems to be an issue with a library in the container and why your GPU falls from the bus:

8 hours ago, m0dded said:
Xid (PCI:0000:01:00): 79, pid='<unknown>', name=<unknown>, GPU has fallen off the bus.\n",

 

You have a Xid 79 error here, you can read more about that here:

https://docs.nvidia.com/deploy/xid-errors/index.html#xid-error-listing

 

However this error is pretty random and everything could be the cause of the issue, it could even be a system memory error.

Simply doing the os update from 6.12.13 > 7.0 and get the following in red and a message not to reboot...

Can't seem to figure out why. 

 

30-01-2025 14:22Plugin Update HelperNotificationDownload from plugin package(s): Nvidia Driver for unRAID v7.0.0 failed! Please visit the support thread(s) before rebooting to avoid plugin issues!alert

30-01-2025 14:22Plugin Update HelperNotificationNvidia Driver v download failed, please go to the support thread for this plugin and make a post with a screenshot from this error!

Screenshot 2025-01-30 at 2.27.19 PM.png

Edited by mkyb14

  • Author
6 hours ago, mkyb14 said:

Can't seem to figure out why. 

Please reboot, the reboot will take a bit longer since the driver plugin will download the driver on boot. (~220MB).

 

Sorry this was my fault since I introduced a change yesterday but should now work fine.

no fault here, you're doing us a favor making the package for us!  appreciate you

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.