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
8 hours ago, dwgtx said:

I upgraded Unraid to 6.12.13 from 6.12.10 but missed the note on ensuring that this driver was updated to the latest version.

Did you notice the message that you should wait for third party drivers to update and to tell you that it is safe to reboot?

 

8 hours ago, dwgtx said:

After the reboot, the driver disappeared.

My comment above is maybe why it disappeared.

 

8 hours ago, dwgtx said:

I tried an install from CA but kept getting this message.

I just tried it and it is working over here:

grafik.thumb.png.2e343d4a155a6a8090735ce389af65d5.png

 

May I ask what Network gear that you have and if you do some AdBlocking on your Network?

 

The Plugin is using the GitHub API and some people reported here that Unifi network gear at times blocks access to the API or to GitHub, I'm not 100% sure since I don't own any Unifi gear, I assume it has something to do with IDS.

 

However it seems that you are running into a Checksum error which is very weird, are you sure that your USB Boot Device is okay? But I still assume that this is some kind of network error.

  • 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 appreciate the replies from the community. Here are answers to questions thus far:

  • while the message during install indicates that the "Package nvidia-driver-2024.07.10.txz installed", I see no evidence that it actually did (I'm assuming the initial install was deleted when I tried to reinstall after the 6.12.13 update). The plugin does not appear under Installed Apps/Plugins in CA; there is no nvidia-driver folder on my flash config folder nor in the plugins-error or plugins-removed folders and nothing in the /boot/config/plugins/ folder. So it's unclear how I would go about uninstalling a plugin I can't find
  • Regarding reboot after upgrading to 6.12.13, unfortunately, I did not notice the message to wait for third-party drivers to update before reboot. My bad, and now I'm paying for it
  • I'm using Sodola 2.5G network switches with an Eero Pro 6 gateway that handles DHCP and connects to my cable modem. My Unraid server has a fixed IP. There is no AdBlocking at the network level (browser only) and no AB plugins on the Unraid server
  • I'm in the process of replacing my USB Boot device to see if that is the culprit
  • Note: the current network equipment and Flash Boot device were utilized during the successful initial driver install. However, upgrading the USB device was already on a maintenance checklist. I'll provide an update when that's complete
     

Well, well, well... This was a sight for sore eyes. Or, as we say in Texas: "I'm happier than a jackrabbit at a speed dating social."
It was, in fact, the USB drive. To assist others who may encounter this issue, here are the before and after USB specs:

  • Was Using: Sandisk 32G Ultra 3.1 (in use for 2+ years and apparently wore out)
  • Replaced with: SAMSUNG BAR Plus 32G 3.1 (Spaceinvader One recommendation)

As Joan Baez aptly put it: "You don't know what you have till it's gone." I had no idea just how vital this driver was to my daily existence until I rushed through a server update without reading the (crucial-and-will-never-skip-again) installation notes. I'm grateful to the community for your time and expertise and incredibly thankful for ich777's work and commitment to his community engagement. I'm headed to his donation link and encourage everyone to do the same.
https://paypal.me/chips777

241111_NvidiaDriverSuccess.jpg

  • Author
1 hour ago, dwgtx said:

Replaced with: SAMSUNG BAR Plus 32G 3.1 (Spaceinvader One recommendation)

Maybe a recommendation from my side: Transcend 32GB USB 2.0

This is a really good device and served my server for years without any issue, as a bonus you should be still be able to get a USB 2.0 version which runs way cooler than a 3.0+ USB device, sure the boot times take a bit longer (about 10 to 20 seconds) but that is negligible.

 

Just a recommendation, if you are satisfied with your new USB Boot device no need to change. :)

 

Anyway glad that everything is solved now and you are up and running again.

I am trying to do some troubleshooting with a newly installed nVidia GPU(RTX4070 Super OC) since installing its been hanging on the USB boot process at random points. not sure at what point these drivers are loaded. but i located the directory that the drivers are in and wanted to change the version on the USB boot device, to see if this is an issue but since im unable to get to the gui atm there is no easy way, is this possible and if so, where would i get the previous version driver package built for this?

image.thumb.png.3cfbd00ae39e19ce5c05b45769f62aec.png

  • Author
14 minutes ago, J_Dub said:

I am trying to do some troubleshooting with a newly installed nVidia GPU(RTX4070 Super OC) since installing its been hanging on the USB boot process at random points. not sure at what point these drivers are loaded. but i located the directory that the drivers are in and wanted to change the version on the USB boot device, to see if this is an issue but since im unable to get to the gui atm there is no easy way, is this possible and if so, where would i get the previous version driver package built for this?

Please don't try to do this manually since it is really complicated and you maybe have to change multiple files in that process and find the right driver, I would recommend that you delete the nvidia-driver.plg and nvidia-driver folder from the directory .../config/plugins/

 

After that the server should boot without the driver you then can install the Driver again from the CA App and it should download the driver just fine, you then can choose another driver on the plugin page.

 

Can you please explain what was your issue in the first place and maybe where your server did hang in detail so that I can maybe tell more about the issue?

From time to time (maybe every 2-3 days) I will get the following errors in my syslog. They then happen every few seconds and fill up the syslog so that the gui becomes unresponsive and eventually I have to do a dirty restart.  

 

I reached out to Limetech but was told to consult this mega post.  Can anyone advise what I should do?  I have a Nvidia 3080 RTX.  Only really use it for re-encoding with ffmpeg via a Tdarr container. Stopping docker doesn't stop the errors happening once they start happening and it isn't related to activity that I can see as Tdarr only runs most days for 30 mins at most as it only reencodes new stuff in my library.

 

2024-11-14 13:31:48    Kernel.Warning    192.168.100.78    Nov 14 13:31:48 DavoUnraid kernel: NVRM: GPU 0000:10:00.0: RmInitAdapter failed! (0x62:0x65:2468)
2024-11-14 13:31:48    Kernel.Warning    192.168.100.78    Nov 14 13:31:48 DavoUnraid kernel: NVRM: GPU 0000:10:00.0: rm_init_adapter failed, device minor number 0

Hoping for some help with this.

 

Subject: nv_open_q causing CPU spikes
 

Unraid with the Nvidia driver was running fine for me on the 8GB (2x4GB) of RAM I had in there but I figured I'd replace with 16GB (2x8GB). Replaced the RAM and then rebooted. I have always ran Unraid headless but this time I happened to have a monitor hooked up so I could check to make sure that no XMP or any overclocking was set for the new RAM. After confirming that and running memtest (passed for 5+ hours) I booted and noticed that it said something about installing the nvidia open source driver? I just pressed enter and moved on and didn't think about it. 

I had already had an nvidia card installed and plugin installed with the "latest branch" nvidia driver running fine with no issues so was surprised to see the reference to the open source driver install popping up. 

Since then I keep getting CPU spiking. Everythign works as expected but CPU is always fluctuating and spiking. I run only a single Plex docker on this (binhex-plex) server, along with gpu-stats and Fix Common Problems and a couple other popular plugins. No VMs. Before, since I only run a plex server on this Unraid server and nothing else, I would never see more than 1 or 2% activity unless i was actively watching a plex stream. Now, it is constantly fluctuating CPU and spiking. When I run the top cmd I see that two processes are causing it shfs and nv_open_q, but priimarily one is causing the spiking: nv_open_q 

 

Here is what I have tried to resolve this:

1. Uninstalled and reinstalled the nvidia driver (countless times, rebooting after each install).

2. Removed the 2x4GB of RAM from slots A2 and A4 where they always were before when it was running fine, and moved the new 2x8GB into those slots.

3. Yesterday I opened top and did a kill cmd on the nv_open_q. Checked back a minute or two later and the CPU was no longer spiking. So definitely that process is the cause.

 

Attaching diagnostics and screenshots. Any help is appreciated. Only other thing I can think to try is to remove the new RAM and go back to the old RAM but I can't see how that would fix this. I think I need to remove the nv_open_q  somehow but not sure how. Uninstalling the nvidia driver hasn't accomplished that.

CleanShot 2024-11-17 at 08.24.11@2x.png

CleanShot 2024-11-17 at 08.25.29@2x.png

unraid-diagnostics-20241117-1232.zip

  • Author
1 hour ago, mark2741 said:

Yesterday I opened top and did a kill cmd on the nv_open_q. Checked back a minute or two later and the CPU was no longer spiking. So definitely that process is the cause.

Are you sure that you are not on the Dashboard when you do this because GPU Statistics will call nvidia-smi every N seconds that you've specified it in the settings from GPU Statistics, please note that any open Dashboard page on any device will cause this.

 

Please note that if you set the interval really tight (2 seconds) then it will definitely cause spikes because GPU Statistics will call every 2 seconds nvidia-smi

 

My guess is since if you installed new Hardware you where often times on the Dashboard page to see if everything is working and you now noticed that.

 

1 hour ago, mark2741 said:

nv_open_q

Please see this post:

https://github.com/NVIDIA/open-gpu-kernel-modules/discussions/615#discussioncomment-9789092

 

However I can't do anything about that since this seems to be a driver issue and not much people seem to be affected from that behaviour, I also don't think that changing the RAM will cause such a behaviour.

 

You can try to switch to a different driver verions, somethin

1 hour ago, mark2741 said:

After confirming that and running memtest (passed for 5+ hours) I booted and noticed that it said something about installing the nvidia open source driver? I just pressed enter and moved on and didn't think about it. 

Where did it say that and where did you need to press enter?

If this was the case something weird is going on on your system, you have to never press Enter or anything like that with the driver plugin, I also see from your syslog that the proprietary driver was installed and loaded:

Nov 17 09:22:13 UNRAID kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  565.57.01  Thu Oct 10 12:29:05 UTC 2024
Nov 17 09:22:13 UNRAID kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  565.57.01  Thu Oct 10 12:02:00 UTC 2024
Nov 17 09:22:13 UNRAID kernel: [drm] [nvidia-drm] [GPU ID 0x00002600] Loading driver
Nov 17 09:22:13 UNRAID kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:26:00.0 on minor 0

 

 

The drivers that you are installing and the ones are installed by default are still based on the proprietary Kernel module, only if you select the Open Source driver, which you can select no the plugin page it will use the Open Source one.

 

1 hour ago, mark2741 said:

I had already had an nvidia card installed and plugin installed with the "latest branch" nvidia driver running fine with no issues so was surprised to see the reference to the open source driver install popping up. 

I'm also surprised because I don't see any indication that it actually installed the Open Source one.

 

 

Thank you so much. You were right - this is only happening when I am viewing the Dashboard. To confirm, I opened the terminal window and then switched off of the Dashboard and immediately the nv_open_q process stopped using any resources. I will ignore when viewing that Dashboard page. I did drop the polling interval of gpu-stats to 5000ms, which reduced CPU spiking by about half but still odd to me that it would do it. Thank you for your help!

Edited by mark2741
added gpu-stat interval

On 11/15/2024 at 4:33 PM, ich777 said:

Please post your Diagnostics.

 

Do you maybe also have Diagnostics when this happens?

I didn't take diagnostics at the time. I have current diags.  When it happens next time what is the process for getting the correct diags?  It will most likely need a dirty restart. If I get the diags after restart will that work?

  • Author
1 hour ago, Davo67 said:

When it happens next time what is the process for getting the correct diags?

Connect trough SSH if the webui isn‘t responding and enter: diagnostics

This will create diagnoctigs in /boot/logs

 

If the webui is still responding the creat them the usual way.

Having issues today trying to update my plugin version

image.thumb.png.b1e62c9b5a488454402395d5f7329142.png

root@tower:~# /usr/local/emhttp/plugins/nvidia-driver/include/exec.sh update_version latest

+==============================================================================
| WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
|
| Don't close this window with the red 'X' in the top right corner until the 'DONE' button is displayed!
|
| WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
+==============================================================================

----------------Downloading Nvidia Driver Package v470.239.06-----------------
---------This could take some time, please don't close this window!------------
/boot/config/plugins/nvidia-driver/packages/6.1.106/nvidia-470.239.06-6.1.106-Unraid-1.txz
nvidia-550.107.02-6.1.106-Unraid-1.txz
nvidia-550.120-6.1.106-Unraid-1.txz
nvidia-550.127.05-6.1.106-Unraid-1.txz
nvidia-560.35.03-6.1.106-Unraid-1.txz
nvidia-565.57.01-6.1.106-Unraid-1.txz: Invalid argument

---------------Can't download Nvidia Driver Package v470.239.06----------------
root@tower:~# /usr/local/emhttp/plugins/nvidia-driver/include/exec.sh update_version latest_prb

+==============================================================================
| WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
|
| Don't close this window with the red 'X' in the top right corner until the 'DONE' button is displayed!
|
| WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
+==============================================================================

----------------Downloading Nvidia Driver Package v470.239.06-----------------
---------This could take some time, please don't close this window!------------
/boot/config/plugins/nvidia-driver/packages/6.1.106/nvidia-470.239.06-6.1.106-Unraid-1.txz
nvidia-550.107.02-6.1.106-Unraid-1.txz
nvidia-550.120-6.1.106-Unraid-1.txz
nvidia-550.127.05-6.1.106-Unraid-1.txz
nvidia-560.35.03-6.1.106-Unraid-1.txz
nvidia-565.57.01-6.1.106-Unraid-1.txz: Invalid argument

---------------Can't download Nvidia Driver Package v470.239.06----------------
root@tower:~# ll /boot/config/plugins/nvidia-driver/packages/6.1.106
total 243M
-rw------- 1 root   33 Aug 22 00:26 nvidia-560.35.03-6.1.106-Unraid-1.txz.md5
-rw------- 1 root 243M Aug 22 00:26 nvidia-560.35.03-6.1.106-Unraid-1.txz
drwx------ 2 root  16K Sep  6 07:40 ./
drwx------ 3 root  16K Sep  6 07:40 ../
root@tower:~# ll /boot/config/plugins/nvidia-driver/packages/
total 48K
drwx------ 2 root 16K Sep  6 07:40 6.1.106/
drwx------ 3 root 16K Sep  6 07:40 ./
drwx------ 3 root 16K Nov 18 19:35 ../

 

  • Author
3 hours ago, sethwv said:

Having issues today trying to update my plugin version

The plugin is broken, you‘ll see that on the two php warnings on the page.

 

Please do the following:

  1. Uninstall the Nvidia driver plugin,
  2. Reboot
  3. Pull a fresh copy from the CA App
  4. Go to the Nvidida Plugins website and slelct the driver that you want to use
  5. Reboot again

@ich777 Thank you! The provided steps & guidance worked.

Hello All,

 

HW transcode not working.

  • PMS Version 1.41.2.9200
  • Followed ICH777 instructions above
  • "Installation of Nvidia driver v565.57.01 successful"
  • GPUID in Plex docker config matches Nvidia plugin info
  • nvidia-smi sees the GPU
  • NVIDIA_VISIBLE_DEVICES added
  • I don't see any place to add:  '--runtime=nvidia' to the 'Extra Parameters

But HW transcode is not working:

Nov 22, 2024 17:35:47.787 [22699250924344] ERROR - [Req#2bd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1
Nov 22, 2024 17:35:47.787 [22699250924344] ERROR - [Req#2bd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

 

Screenshot 2024-11-22 at 8.36.16 PM.png

Edited by Bladedude

1 hour ago, Bladedude said:

But HW transcode is not working:

 

this looks more like an issue with your docker, which one are you using ?

 

and which driver version is installed on the host ?

58 minutes ago, alturismo said:

this looks more like an issue with your docker, which one are you using ?

 

and which driver version is installed on the host ?

PlexInc. Repository plexinc/pms-docker:latest

From Nvidia driver plugin: Nvidia Driver Version: 565.57.01

3 minutes ago, Bladedude said:

PlexInc. Repository plexinc/pms-docker:latest

 

looking good, may post your docker run <<click<< here and also may look at the plex forums if there are any issues with the latest update ... they are currently working on the transcoder engine.

Works now. I was missing "NVIDIA_DRIVER_CAPABILITIES" parameter.

However, when I set this up 2 months ago, I didn't have that parameter. I was following a YT from AlienTech, but this guide is much better.

And I still can't find where to add '--runtime=nvidia' to the 'Extra Parameters'" to complete all the documented steps from the guide.

 

docker run
  -d
  --name='Plex-Media-Server'
  --net='host'
  --pids-limit 2048
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="supermicro"
  -e HOST_CONTAINERNAME="Plex-Media-Server"
  -e 'PLEX_CLAIM'='Insert Token from https://plex.tv/claim'
  -e 'PLEX_UID'='99'
  -e 'PLEX_GID'='100'
  -e 'VERSION'='latest'
  -e 'NVIDIA_VISIBLE_DEVICES'='GPU-XXX'
  -e 'NVIDIA_DRIVER_CAPABILITIES'='all'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png'
  -v '/mnt/user/data/media':'/data/media':'rw'
  -v '/dev/shm':'/transcode':'rw'
  -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw'
  --runtime=nvidia 'plexinc/pms-docker'

The command finished successfully!

 

Screenshot 2024-11-23 at 12.12.12 AM.png

Edited by Bladedude

  • Author
1 minute ago, Bladedude said:

And I still can't find where to add '--runtime=nvidia' to the 'Extra Parameters'" to complete all the documented steps from the guide.

Did you follow this tutorial:


You have to enable Advanced View in the Docker template at the top right.

 

If this parameter is not present it shouldn‘t work.

17 minutes ago, ich777 said:

Did you follow this tutorial:


You have to enable Advanced View in the Docker template at the top right.

 

If this parameter is not present it shouldn‘t work.

Yes. I followed the tutorial.

Ah OK. Once Advanced View was enabled, I saw that I had already added "--runtime=nvidia" during initial setup.

 

Today I noticed HW transcode wasn't working, but had been working 1-2 months ago, so I:

1. Uninstalled, reinstalled the Nvidia plugin, and installed the latest Nvidia driver. No change, same Plex error in log

2. Followed the tutorial, and added NVIDIA_DRIVER_CAPABILITIES parameter. HW transcode works.

Not sure how HW transcode was working on initial setup w/o NVIDIA_DRIVER_CAPABILITIES set..

Edited by Bladedude

  • Author
28 minutes ago, Bladedude said:

Today I noticed HW transcode wasn't working

So it still isn‘t working?

Please post your Diagnostics.

14 minutes ago, ich777 said:

So it still isn‘t working?

Please post your Diagnostics.

It's working now, since I added NVIDIA_DRIVER_CAPABILITIES.

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.