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

2 hours ago, jm028 said:

Things I've tried:

  • Update mobo bios

  • Update gpu vbios using the nvidia update tool

  • Enable resizable bar

  • updated Unraid to 7.1.4

  • Verified I don't have the gpu stats plugin installed

what you see is

Jun 25 20:38:20 WHALE kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239

Jun 25 20:38:20 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jun 25 20:38:20 WHALE kernel: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0)

Jun 25 20:38:20 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jun 25 20:38:20 WHALE kernel: NVRM: BAR2 is 0M @ 0x0 (PCI:0000:0a:00.0)

assuming PSU is fine, may try a different pcie slot

  • 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

10 hours ago, alturismo said:

what you see is

Jun 25 20:38:20 WHALE kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239

Jun 25 20:38:20 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jun 25 20:38:20 WHALE kernel: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0)

Jun 25 20:38:20 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jun 25 20:38:20 WHALE kernel: NVRM: BAR2 is 0M @ 0x0 (PCI:0000:0a:00.0)

assuming PSU is fine, may try a different pcie slot

PSU should be fine.

Any idea why this would be happening? The top pcie x16 slot is the appropriate slot for a GPU. I think any other slot will result in a performance hit.

1 hour ago, jm028 said:

Any idea why this would be happening? The top pcie x16 slot is the appropriate slot for a GPU. I think any other slot will result in a performance hit.

1st approach, exclude issue with pcie1 ...

about performance hit, well, you are using your GPU on the host for some dockers, lxc, whatever ... you wont see any real difference anyway, in a Gaming VM it would, but therefore we dont need this driver plugin ;)

so, to exclude some issue with your pcie slot and rbar reservation, give it a try ...

  • Author
15 hours ago, jm028 said:

Any idea why this would be happening?

To me this seems like a firmware issue, however have you yet tried to limit the PCIe Generation to something like Gen4 or even lower to Gen3 to see if that fixes the issue.

About the performance I'm on the same page as @alturismo because for transcoding it doesn't matter much however for AI related stuff you would need as much bandwidth as possible but I'm not sure if dropping down the PCIe Generation would have such a significant impact (at least not to Gen4) in a real world scenario.

Hey all- I have been troubleshooting an issue were my server has been locking up randomly. I believe now it is because docker and my VM are fighting over the GPU. Anytime I stop my docker instances to backup and upgrade, the GPU seems to be taken by my VM. Does anyone in this thread know of a way to bind the GPU to docker only or a way to deny the GPU from the VM Manager? I have IOMMU on and would like to leave it on incase I want to do something in the future.. but would it be as easy as turning off IOMMU?

Edited by kbareis

  • Author
47 minutes ago, kbareis said:

Does anyone in this thread know of a way to bind the GPU to docker only or a way to deny the GPU from the VM Manager?

Diagnostics would help a lot to troubleshoot your issue.

On 6/24/2025 at 9:26 PM, musicking said:

This gives me hope, but I rather not completely restore.

I can rebuild the flash, but I would be restoring my backup and might not help.

Would be nice to know what on the flash is causing it.

UPDATE - Without GPU statistics installed, system is faster and no more error messages. I will wait and see what happens.

Well, errors returned in logs and device vanishes off and on :(

Thought I fixed it.

I will try a new flash drive at some point.

  • Author
1 hour ago, musicking said:

Well, errors returned in logs and device vanishes off and on :(

Are you sure that this isn't possibly a problem that a container causes?

I had many issues back in the days with Tdarr crashing servers for example.

Sorry if this has been asked/discussed already.

I have an RTX 4070 Super (ASUS Dual) running on my UnRaid Box and about every 6 or so days the GPU seems to disappear from the "Installed GPU(s)" list when viewing the NVidia-Driver plugin. Rebooting seems to fix it for another 6 or so days then I have to rinse and repeat. This has been an issue for the last few versions of UnRaid going back to I think maybe 7.0 or so. I am not running the OpenSource version (for no particular reason). I can switch if that's the actual fix. What the functional difference between the opensource version and the other one? I only use the GPU in docker containers. No VMs use/need the GPU. Am I the only one seeing this? Any suggestions?

Mobo : ASUS Pro-WS-X570-ACE (Workstation Motherboard)
GPU : ASUS Dual NVidia RTX 4070 Super (Single GPU)
UnRaid : 7.1.4
NVidia Driver : 575.64

image.png

On 6/27/2025 at 9:35 AM, ich777 said:

Diagnostics would help a lot to troubleshoot your issue.


Here's diagnostics and a screen recording of how I fix it. I have posted all the things I have been trying to https://forums.unraid.net/topic/191495-unraid-714-random-errors-unsure-where-to-start-troubleshooting/#comment-1563921 as well.

It seems like when the Backup/Restore Appdata plugin runs, the VM that I have takes the GPU over. Even though the graphics driver is set to using a virtual driver.

oldtown-diagnostics-20250628-1220.zip

  • Author
27 minutes ago, Wedgetastic said:

It seems like when the Backup/Restore Appdata plugin runs, the VM that I have takes the GPU over. Even though the graphics driver is set to using a virtual driver.

Can you possibly try to not stop the containers that use the Nvidia GPU when running appdata backup, I would also report that in the CA Backup/Restore thread since this not seems like a driver issue to me, a running VM usually don't takes over a GPU.

BTW, did you know that I and @Joly0 have a LXC container for AMP ready?

You can also try to uninstall GPU Statistics since it seems to cause issues for a few users lately and see if that fixes the issue.

On 6/24/2025 at 10:02 PM, tykateetee said:

See my messages on this page and the previous one as they may help you. I had the same issue and it was not related to my GPU dying, but something that was present on my flash device. I had no issues for years and then I had my log filled with these errors too. I think it has something to do with updating Unraid to 7.x.x as from 6.x.x as that was roughly when my issues started. I ended up reinstalling and the issue went away.

It’s not related to Unraid 7 because when I posted last week, I was still on 6.12.15. I just tried updating to 7 now and it made no difference.

11 hours ago, Wedgetastic said:

It seems like when the Backup/Restore Appdata plugin runs, the VM that I have takes the GPU over. Even though the graphics driver is set to using a virtual driver.

that is as mentioned ... lets say uncommon ;) but your video looks like it ...weird.

what we see in your logs, many errors like this

Jun 27 05:04:07 Oldtown kernel: NVRM: GPU 0000:09:00.0: RmInitAdapter failed! (0x62:0x51:2584)

Jun 27 05:04:07 Oldtown kernel: NVRM: GPU 0000:09:00.0: rm_init_adapter failed, device minor number 0

Jun 27 05:04:07 Oldtown kernel: NVRM: GPU 0000:09:00.0: RmInitAdapter failed! (0x22:0x51:884)

Jun 27 05:04:07 Oldtown kernel: NVRM: GPU 0000:09:00.0: rm_init_adapter failed, device minor number 0

and looks like not only when plugin runs and so on ...

copy your vm vdisk to sample /domains/amp2/vdisk1.img

may just to make sure, may create a new vm with the same settings like AMP, pointing to the copied vdisk image, make sure you dont select the Nvidia card (also not the audio !!!), try again. VM should run like your original one ... just to exclude something stuck somewhere in libvirt on your AMP VM in terms you played with nvidia passthrough in that VM sometime ...

overall, the vm normally wont take over a pcie gpu while running ... should may even crash the server immediately on startup if it tries while docker/s using it ... really weird ;)

20 hours ago, Groto said:

It’s not related to Unraid 7 because when I posted last week, I was still on 6.12.15. I just tried updating to 7 now and it made no difference.

Good catch. I think I jumped from 6.12.10 to 6.12.14 first and that was more when the issue started for me. At this point, I really don't remember and my guestimates should be taken with a grain of salt. Still a weird issue that I feel was amplified by GPU Statistics constantly polling the card but I don't feel that my issue was caused by it. Had it back for almost 2 weeks now and still no issues after reinstalling.

I'm having a weird bug where on boot my GPU is found fine, but then I go check later and it says Installed GPU(s): No devices were found

However Plex can see it; image.png

And plex thumbnail generator script that uses the GPU is running right now.

There was nothing on the gpu stats dashboard plugin panel, until I selected the igpu;

image.png

nvidia smi;

image.png

Right now I am on v575.51.02 because I started from the latest (didn't detect on bootup) and went backwards until I found one that worked, but then it disappeared like this again, and I went back even more.

What has happened recently to cause people so many problems?

  • Author
5 minutes ago, paradoxum said:

What has happened recently to cause people so many problems?

Sorry but not many people having issues, if you read through the posts these are mostly compatibility issues and possibly dying cards or other issues which of most are probably solved by now, I admit not all but most of them.

Usually people come here to report issues and not to say that everything is working fine. 🙂

Please keep in mind that about 16k people have installed the driver plugin and I would not say that many poeple have issues otherwise this thread would be full of support requests lately.

6 minutes ago, paradoxum said:

And plex thumbnail generator script that uses the GPU is running right now.

Can you possibly post your Diagnostics after the error occurs so that we can diagnose the issue further otherwise troubleshoting the issue is really hard and I even can‘t see which system you are having or what possibly could be the cause of the issue.

33 minutes ago, ich777 said:

Sorry but not many people having issues, if you read through the posts these are mostly compatibility issues and possibly dying cards or other issues which of most are probably solved by now, I admit not all but most of them.

Usually people come here to report issues and not to say that everything is working fine. 🙂

Please keep in mind that about 16k people have installed the driver plugin and I would not say that many poeple have issues otherwise this thread would be full of support requests lately.

Can you possibly post your Diagnostics after the error occurs so that we can diagnose the issue further otherwise troubleshoting the issue is really hard and I even can‘t see which system you are having or what possibly could be the cause of the issue.

I can post it now, I haven't rebooted since because i'm currently parity syncing, the plex thumbnail generator is still running, etc.

I'll edit this in a min.

orbitalhub-diagnostics-20250701-2236.zip

Edited by paradoxum

6 hours ago, paradoxum said:

I can post it now, I haven't rebooted since because i'm currently parity syncing, the plex thumbnail generator is still running, etc.

you may should remove all these vfio binds, doesnt look really good to me (even the Nvidia aint vfio bound, but many other "sys" devices are ...)

BIND=0000:00:02.0|8086:9bc5 0000:00:08.0|8086:1911 0000:00:1f.0|8086:4385 0000:00:1f.3|8086:f0c8 0000:00:1f.4|8086:43a3 0000:00:1f.5|8086:43a4

may test without all these binds ...

  • Author
13 hours ago, paradoxum said:

I'll edit this in a min.

I think this is your issue:

Jul 1 13:18:36 OrbitalHub kernel: NVRM: GPU at PCI:0000:02:00: GPU-257c8daf-576b-fa9e-c3c1-94f40e3e4347

Jul 1 13:18:36 OrbitalHub kernel: NVRM: GPU Board Serial Number: 1422019097083

Jul 1 13:18:36 OrbitalHub kernel: NVRM: Xid (PCI:0000:02:00): 79, GPU has fallen off the bus.

Jul 1 13:18:36 OrbitalHub kernel: NVRM: GPU 0000:02:00.0: GPU has fallen off the bus.

Jul 1 13:18:36 OrbitalHub kernel: NVRM: GPU 0000:02:00.0: GPU serial number is 1422019097083.

Jul 1 13:18:36 OrbitalHub kernel: NVRM: A GPU crash dump has been created. If possible, please run

Jul 1 13:18:36 OrbitalHub kernel: NVRM: nvidia-bug-report.sh as root to collect this data before

Jul 1 13:18:36 OrbitalHub kernel: NVRM: the NVIDIA kernel module is unloaded.

Jul 1 13:18:36 OrbitalHub kernel: NVRM: Xid (PCI:0000:02:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required)

However as you can see you even got a Xid error which you can learn more about here:

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

(in your Case you got Error 79)

Does this happen often for you or did this just happen for the first time? If this happened for the first time was this possibly during the Parity check or on the beginning from the Parity check?

If this happened during the Parity check for the first time make sure that your Power Supply is up to the task since such errors can happen at peaks where the Power Supply delivers power a bit too late or even to less which is required by the GPU.

Don't forget that power supplies also degrade over time.

Just because I saw it, please remove the file /boot/config/modprobe.d/nvidia.conf <- this isn't needed anymore, you also don't have the correct driver installed anyways.
You can also remove it by issuing this command from a Unraid Terminal:

rm -f /boot/config/modprobe.d/nvidia.conf

Long time no post (yey! for troublefree use until....), really appreciate this plugin!

Joining the camp for the "RmInitAdapter failed!" messages it seems. ☹️

Currently on 7.1.4 with a T400 running the 574.64 driver. I do not recall seeing these on v6 of UnRAID, but know others in their situation have said they did. So not very helpful.

Not too much has changed on my end to cause these. I started noticing some hard lockups lately, and started to investigate to find these messages.

Working with Gemini on some possible fixes, I am current running with "extra_args=NVreg_EnableGpuFirmware=0 NVreg_PowerMizerMode=0x1" in my settings.cfg. Neither argument has helped to resolve the ""RmInitAdapter failed!" messages.

However, I used to have also a "GSP Timeout" message as well, and one of the above arguments seemed to have resolved that one (it was the first one intended to resolve it; see older syslog snippet attached).

I was originally running the open source driver when I noticed this, which was v.570x. I switched to the production branch at the time to troubleshoot (which also allowed one of the arguments added). Same situation.

At times I see the message in the Plugin that no compatible cards are installed. I believe at that time is when these messages are appearing.

I only use this GPU for use with Emby. The VM is headless/virtual, and the host is using the IPMI video card.

A couple things to mention:

  • ~6 months ago I went back to this hardware (X11/Xeon) as my primary newer MB went defective. I say this as there might still be some old arguments, etc.. in my configuration. However, again I never noticed these errors up until recently, and the same GPU was used with this current configuration, and the newer one as well.

  • I've removed the GPU Statistics plugin, however this same error occurs.

  • Between all changes (driver, removing GPU statistics, adding extra args,...) I have restarted the server.

Please let me know what else I may be able to try to resolve this issue.

Appreciate the support!

Edit: I also added an older syslog snippet of the full output I used to receive prior to adding in the extra arguments (and now only getting the much less verbose RMInit failure)

Edit2 (as I troubleshoot): I cleared all extra arguments, fresh install of the plugin, also enable Above 4G decoding (didn't know it was disabled).🤞

server-diagnostics-20250704-0736.zip

OlderSyslog snippet.txt

Edited by bungee91

I'm glad I'm not alone with these errors as I keep on having them.

Card works perfectly for awhile and then keeps "disconnecting" and stopping docker containers that use the card (Plex and TDARR) and starting them back up seems to stable things out for a bit. It's almost like too many requests to the card causes it to lock up :(

  • Author
41 minutes ago, musicking said:

TDARR

And you are certain that this isn't the issue?

As said, in the past I had a few reports tdarr crashing Servers.

However did you already try to lower the PCIe Gen in your BIOS?

  • Author
On 7/4/2025 at 2:56 PM, bungee91 said:

Please let me know what else I may be able to try to resolve this issue.

Oh, interesting you have a Xid error 119, this is completely different than all other issues reported so far.

This basically mean that the GSP (GPU System Processor) times out which can be possibly also be caused by link instability.

On 7/4/2025 at 2:56 PM, bungee91 said:

extra_args=NVreg_EnableGpuFirmware=0 NVreg_PowerMizerMode=0x1

What do you mean by that, where did you enable this? Usually you pass this over in your syslinux.conf

On 6/26/2025 at 11:39 AM, alturismo said:

1st approach, exclude issue with pcie1 ...

about performance hit, well, you are using your GPU on the host for some dockers, lxc, whatever ... you wont see any real difference anyway, in a Gaming VM it would, but therefore we dont need this driver plugin ;)

so, to exclude some issue with your pcie slot and rbar reservation, give it a try ...

On 6/27/2025 at 2:21 AM, ich777 said:

To me this seems like a firmware issue, however have you yet tried to limit the PCIe Generation to something like Gen4 or even lower to Gen3 to see if that fixes the issue.

About the performance I'm on the same page as @alturismo because for transcoding it doesn't matter much however for AI related stuff you would need as much bandwidth as possible but I'm not sure if dropping down the PCIe Generation would have such a significant impact (at least not to Gen4) in a real world scenario.

Sorry for the delayed reply, I was able to swap my GPU to the other PCIe slot, but the problem is still presenting itself in the same way. I'm still seeing "no devices" when I check the driver settings and nvidia-smi. Still seeing errors in the logs. I've attached an updated diagnostics file.

Are there any other motherboard settings I might need to switch in BIOS? I'm using a ROG STRIX B550-F GAMING (WI-FI).

Any assistance would be appreciated.

whale-diagnostics-20250706-1336.zip

30 minutes ago, jm028 said:

Any assistance would be appreciated.

sorry, AMD devices im out ...

you still have thiis error

Jul 6 13:28:46 WHALE kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239

Jul 6 13:28:46 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jul 6 13:28:46 WHALE kernel: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:04:00.0)

Jul 6 13:28:46 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jul 6 13:28:46 WHALE kernel: NVRM: BAR2 is 0M @ 0x0 (PCI:0000:04:00.0)

Jul 6 13:28:46 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jul 6 13:28:46 WHALE kernel: NVRM: BAR3 is 0M @ 0x0 (PCI:0000:04:00.0)

Jul 6 13:28:46 WHALE kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:

Jul 6 13:28:46 WHALE kernel: NVRM: BAR4 is 0M @ 0x0 (PCI:0000:04:00.0)

Jul 6 13:28:46 WHALE kernel: nvidia 0000:04:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem

Jul 6 13:28:46 WHALE kernel: NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 575.57.08 Release Build (dvs-builder@U22-I3-H04-01-5) Sat May 24 07:03:13 UTC 2025

Jul 6 13:28:46 WHALE kernel: nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64 575.57.08 Release Build (dvs-builder@U22-I3-H04-01-5) Sat May 24 06:53:21 UTC 2025

personally looking like issues with rbar addressing ... but there others may can say something with AMD hardware.

you also tried already hard fixing pcie gen on your slot and so on, like described in some threads already.

also enabling rbar support on your mainboard etc ...

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.