[Plugin] Nvidia-Driver


ich777

Recommended Posts

24 minutes ago, ich777 said:

This is not (easily) possible because of the unique design from Unraid (because it runs out of ram) and you need the GRID guest driver which is not available to the public which I can't create a plugin/package for that because distributing the GRID driver would ultimately violate the EULA from Nvidia, I've explained it a bit more in depth here:

 

Thank you for the information. That's a bummer that GRID driver is complicated to get I running in UNRAID.

Link to comment
5 minutes ago, Roland Vessalius said:

That's a bummer that GRID driver is complicated to get I running in UNRAID.

You can do it but that would be really complicated because every time a new Unraid version is released you have to compile the Kernel, afterwards you can build the driver, create a package for yourself and set it up so that it is installed on every boot.

 

Sorry for the bad news but I'm scratching my head a long time to solve this issue but there is no real good solution in sight.

Link to comment
11 hours ago, MasterPepe said:

Where exactly do you look for information?

You have a Quadro 4000 and this card is simply to old to be supported by this plugin:

Feb 28 20:55:01 Tower kernel: nvidia: loading out-of-tree module taints kernel.
Feb 28 20:55:01 Tower kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 28 20:55:01 Tower kernel: Disabling lock debugging due to kernel taint
Feb 28 20:55:01 Tower kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245
Feb 28 20:55:01 Tower kernel: NVRM: The NVIDIA Quadro 4000 GPU installed in this system is
Feb 28 20:55:01 Tower kernel: NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
Feb 28 20:55:01 Tower kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Feb 28 20:55:01 Tower kernel: NVRM:  information.  The 525.89.02 NVIDIA driver will ignore
Feb 28 20:55:01 Tower kernel: NVRM:  this GPU.  Continuing probe...
Feb 28 20:55:01 Tower kernel: NVRM: No NVIDIA GPU found.

 

For what do you want to use the GPU? This GPU won't do much in terms of transcoding because it simply too old, the next thing is that you can't use the legacy driver for Docker containers because you need at least a driver based on version 4xx.xx

  • Thanks 1
Link to comment
4 hours ago, ich777 said:

You have a Quadro 4000 and this card is simply to old to be supported by this plugin:

Feb 28 20:55:01 Tower kernel: nvidia: loading out-of-tree module taints kernel.
Feb 28 20:55:01 Tower kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 28 20:55:01 Tower kernel: Disabling lock debugging due to kernel taint
Feb 28 20:55:01 Tower kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245
Feb 28 20:55:01 Tower kernel: NVRM: The NVIDIA Quadro 4000 GPU installed in this system is
Feb 28 20:55:01 Tower kernel: NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
Feb 28 20:55:01 Tower kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Feb 28 20:55:01 Tower kernel: NVRM:  information.  The 525.89.02 NVIDIA driver will ignore
Feb 28 20:55:01 Tower kernel: NVRM:  this GPU.  Continuing probe...
Feb 28 20:55:01 Tower kernel: NVRM: No NVIDIA GPU found.

 

For what do you want to use the GPU? This GPU won't do much in terms of transcoding because it simply too old, the next thing is that you can't use the legacy driver for Docker containers because you need at least a driver based on version 4xx.xx

Oh wow... Thanks for the help.

I wanted to run the transcoding over it for Docker containers. And maybe the one or other VM.

The server is a budget solution and an old computer.
Is there a usable and cheap graphics card that can run the transcoding? And when I invest, then also in H265?

 

Don't know what to do now.....

Link to comment
10 minutes ago, MasterPepe said:

I wanted to run the transcoding over it for Docker containers. And maybe the one or other VM.

Both at the same time is not possible and I even don't recommend using it even if users are doing it that way.

 

You can use one card for multiple Docker container but not for Docker and VMs at the same time.

  • Thanks 1
Link to comment
1 hour ago, alturismo said:

anything from a 1050 up should be fine, recommended is a T400 as it has also a pretty low power consumption.

 

here a nice matrix (expand nvenc)

 

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

Thank for your help.

The T400 also has an acceptable price, if it is available.
I have seen that it "only" supports 3 sessions. Is that a issue?
For example, if I transcode movies to H265 in one session, two people can still stream. Is that correct? 

Link to comment

Beginner here, how do I actually update the plugin?

 

I clicked Update & Download, allowed the download to complete. It provided the message that it will be installed after rebooting server however I've reset twice and nothing has happened.

 

Clicking Update & Download again verifies its already downloaded, how can I ensure it installs on the system reboot? (Which I've been doing by just clicking reboot)

Link to comment
1 hour ago, ich777 said:

Both at the same time is not possible and I even don't recommend using it even if users are doing it that way.

 

You can use one card for multiple Docker container but not for Docker and VMs at the same time.

Thanks for your help.

Then the recommendation is to use two separate graphics cards. 
For now, a T400 when I get it.

 

Do I need a dedicated graphics card for the VM? Or does it depend on what you do with the VM?

If I stream without a graphics card for the moment, do I have to consider anything in the settings?
(Sorry, wrong thread)

Link to comment
13 minutes ago, MasterPepe said:

For example, if I transcode movies to H265 in one session, two people can still stream. Is that correct? 

3 transcodes at a time, so if your ppl (externally) needs a transcode, then yes, if its direct play it doesnt matter as no transcodes are involved.

  • Thanks 2
Link to comment
11 minutes ago, MasterPepe said:

Do I need a dedicated graphics card for the VM? Or does it depend on what you do with the VM?

No, if you doing just simple tasks (browsing the web, text editing) by using RDP you don't need a GPU.

 

12 minutes ago, MasterPepe said:

If I stream without a graphics card for the moment, do I have to consider anything in the settings?

Usually not. But as said, I would recommend doing only light tasks since no HW acceleration is in place in the VM and everything is done on the CPU.

  • Thanks 1
Link to comment
22 minutes ago, gronfors said:

Beginner here, how do I actually update the plugin?

Are we talking about driver updates or the actual plugin?

 

22 minutes ago, gronfors said:

I clicked Update & Download, allowed the download to complete. It provided the message that it will be installed after rebooting server however I've reset twice and nothing has happened.

What is not happening? Is the driver not working?

What do you see on the plugin page (screenshot)? You haven't provided any information what's not happening...

 

Please post your Diagnostics for further help.

Link to comment
31 minutes ago, ich777 said:

Are we talking about driver updates or the actual plugin?

 

What is not happening? Is the driver not working?

What do you see on the plugin page (screenshot)? You haven't provided any information what's not happening...

 

Please post your Diagnostics for further help.

Sorry, was thinking I just needed to update the driver - but getting the "NVIDIA-SMI has failed error" after updating my unraid OS from 6.9 to 6.11.5.

 

GPU is GTX 1080 Ti which still shows supported for 530.30.02 - Tried uninstalling / reinstalling Nvidia Driver plugin as well as rebooting.

 

Thanks for the help

 

image.thumb.png.fe80c26a1808075896e285c647d6118c.png

mumbojumbo-diagnostics-20230301-0907.zip

Edited by gronfors
Link to comment
10 minutes ago, gronfors said:

GPU is GTX 1080 Ti which still shows supported for 530.30.02 - Tried uninstalling / reinstalling Nvidia Driver plugin as well as rebooting.

The only Nvidia GPU that I see in your system is a GTX680:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 680] [10de:1180] (rev a1)
	Subsystem: eVga.com. Corp. GK104 [GeForce GTX 680] [3842:3688]
	Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)

 

And the syslog also tells you that it is a GTX680 and that this card is actually supported by the 470.xx series driver:

Mar  1 09:01:32 MumboJumbo kernel: nvidia: loading out-of-tree module taints kernel.
Mar  1 09:01:32 MumboJumbo kernel: nvidia: module license 'NVIDIA' taints kernel.
Mar  1 09:01:32 MumboJumbo kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245
Mar  1 09:01:32 MumboJumbo kernel: NVRM: The NVIDIA GeForce GTX 680 GPU installed in this system is
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  supported through the NVIDIA 470.xx Legacy drivers. Please
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  information.  The 530.30.02 NVIDIA driver will ignore
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  this GPU.  Continuing probe...
Mar  1 09:01:32 MumboJumbo kernel: NVRM: No NVIDIA GPU found.

 

Are you sure that this is actually a GTX1080Ti and that this card was working before with the 500.xx series driver?

Link to comment
9 minutes ago, ich777 said:

The only Nvidia GPU that I see in your system is a GTX680:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 680] [10de:1180] (rev a1)
	Subsystem: eVga.com. Corp. GK104 [GeForce GTX 680] [3842:3688]
	Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)

 

And the syslog also tells you that it is a GTX680 and that this card is actually supported by the 470.xx series driver:

Mar  1 09:01:32 MumboJumbo kernel: nvidia: loading out-of-tree module taints kernel.
Mar  1 09:01:32 MumboJumbo kernel: nvidia: module license 'NVIDIA' taints kernel.
Mar  1 09:01:32 MumboJumbo kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 245
Mar  1 09:01:32 MumboJumbo kernel: NVRM: The NVIDIA GeForce GTX 680 GPU installed in this system is
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  supported through the NVIDIA 470.xx Legacy drivers. Please
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  information.  The 530.30.02 NVIDIA driver will ignore
Mar  1 09:01:32 MumboJumbo kernel: NVRM:  this GPU.  Continuing probe...
Mar  1 09:01:32 MumboJumbo kernel: NVRM: No NVIDIA GPU found.

 

Are you sure that this is actually a GTX1080Ti and that this card was working before with the 500.xx series driver?

Yup, I'm dumb. Got my systems/GPUs mixed up. GTX680.

 

I'm struggling to figure out how to reinstall the older driver version now if you're able to assist on that front

Link to comment
4 minutes ago, gronfors said:

I'm struggling to figure out how to reinstall the older driver version now if you're able to assist on that front

Please try this, the issue is that I only show the latest 8 drivers in the plugin and the 470 driver version is on position 9 or even lower (I will maybe change that so the 470 driver shows up all the time, but that this will take a few days).

To install the 470 series driver issue this command:

sed -i "/driver_version=/c\driver_version=470.141.03" /boot/config/plugins/nvidia-driver/settings.cfg

from a Unraid terminal, after that go to the plugin page or simply reload it and click "Update & Download" (please note that none of the radio buttons should be selected).

 

After you did that you should see that it downloads driver version 470.141.03 (please note this will only work on 6.11.5) after it finished downloading reboot your system.

Link to comment
19 minutes ago, ich777 said:

Please try this, the issue is that I only show the latest 8 drivers in the plugin and the 470 driver version is on position 9 or even lower (I will maybe change that so the 470 driver shows up all the time, but that this will take a few days).

To install the 470 series driver issue this command:

sed -i "/driver_version=/c\driver_version=470.141.03" /boot/config/plugins/nvidia-driver/settings.cfg

from a Unraid terminal, after that go to the plugin page or simply reload it and click "Update & Download" (please note that none of the radio buttons should be selected).

 

After you did that you should see that it downloads driver version 470.141.03 (please note this will only work on 6.11.5) after it finished downloading reboot your system.

 

It's just saying can't download with this

 

Thanks for the support!

 

image.png.dfd0c165f3cbab2f65f1e1efc03fb2dc.png

Link to comment

I cannot get my GPUs to work with unraid Plex for transcoding

GPUs - 2 x 2080ti

Unraid 6.11.5

Plex Media Server 1.31.1.6733 - with Paid Plex Pass

Nvidia Driver, version: 2022.10.05

Latest v530.30.02

Plex:

I have "use hardware acceleration when available" and "use hardware-accelerated video encoding" checked off

Extra Parameters - "--runtime=nvidia"

Variable

Key: NVIDIA_VISIBLE_DEVICES

Value: GPU-33e41560-619f-f101-a85d-9046d4be040c

Description: NVIDIA_VISIBLE_DEVICES

 

Neither one of the GPU works

Suggestions on where to fix next?

Link to comment
14 minutes ago, The Acer said:

Plex Media Server 1.31.1.6733 - with Paid Plex Pass

Is this the official container?

 

14 minutes ago, The Acer said:

Description: NVIDIA_VISIBLE_DEVICES

You are missing as mentioned in the second post of this thread:

NVIDIA_DRIVER_CAPABILITIES=all

 

Both of your GPUs are recognized and ready to transcode:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] [10de:1e07] (rev a1)
	Subsystem: eVga.com. Corp. TU102 [GeForce RTX 2080 Ti Rev. A] [3842:2484]
	Kernel driver in use: nvidia
	Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation TU102 High Definition Audio Controller [10de:10f7] (rev a1)
	Subsystem: eVga.com. Corp. TU102 High Definition Audio Controller [3842:2484]
01:00.2 USB controller [0c03]: NVIDIA Corporation TU102 USB 3.1 Host Controller [10de:1ad6] (rev a1)
	Subsystem: eVga.com. Corp. TU102 USB 3.1 Host Controller [3842:2484]
	Kernel driver in use: xhci_hcd
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU102 USB Type-C UCSI Controller [10de:1ad7] (rev a1)
	Subsystem: eVga.com. Corp. TU102 USB Type-C UCSI Controller [3842:2484]
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] [10de:1e07] (rev a1)
	Subsystem: eVga.com. Corp. TU102 [GeForce RTX 2080 Ti Rev. A] [3842:2489]
	Kernel driver in use: nvidia
	Kernel modules: nvidia_drm, nvidia
02:00.1 Audio device [0403]: NVIDIA Corporation TU102 High Definition Audio Controller [10de:10f7] (rev a1)
	Subsystem: eVga.com. Corp. TU102 High Definition Audio Controller [3842:2489]
02:00.2 USB controller [0c03]: NVIDIA Corporation TU102 USB 3.1 Host Controller [10de:1ad6] (rev a1)
	Subsystem: eVga.com. Corp. TU102 USB 3.1 Host Controller [3842:2489]
	Kernel driver in use: xhci_hcd
02:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU102 USB Type-C UCSI Controller [10de:1ad7] (rev a1)
	Subsystem: eVga.com. Corp. TU102 USB Type-C UCSI Controller [3842:2489]

 

It seems to me that there is something wrong with the configuration from the container itself.

 

As mentioned above, please try to official Plex container if you are not already using it and add the variable.

Link to comment
15 hours ago, gronfors said:

It's just saying can't download with this

Sorry for the delayed answer...

 

I've pushed a update to the plugin where you now can select the driver version 470.xx

Please update the plugin and see if it fixes the issue for you.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.