[Plugin] Nvidia-Driver


ich777

Recommended Posts

1 hour ago, ich777 said:

For what would you use it with the legacy drivers? This card isn't even capable of transcoding most of the things out there today.

Also the legacy drivers won't work properly with Docker container in general.

 

I can recommend you to get a Nvidia T400 you can get them brand new for about $130,- (2GB Turing card).

https://superstore.foletti.com/products/5038974
this one ?

  • Like 1
Link to comment
37 minutes ago, milfer322 said:

I installed that plugin with Unraid 6.9.2 and restart the server.

After restart dont start the docker service.

image.thumb.png.a04ec3f9e07fd92a023c72ed6a7c007a.png

What can I do?
I tried disable and enable the service via gui, and restart the server and  uninstall plugin and restart server.

 

Thanks so much!!

 

 


I see, my problem seem its caused by Unassigned Devices plugin.
thanks.

Edited by milfer322
  • Like 1
Link to comment
1 hour ago, Zakikun said:

I have installed all things I can and the Nvidia Driver seems works fine.

1.thumb.png.660fe904c91b3796bd7a6e79134b8dd2.png

 

But it's werid that I can't startup the Emby Container with "--runtime=nvidia".

2.png.e117c4fd1016e87c32534f5623c052cf.png

 

Alright, I think I figured it out by myself. I just add runtimes in /etc/docker/daemon.json and restart docker function once. Then the Emby container could use the nvidia runtime by adding extra parameters now.

 

It‘s troublesome that I can't access domain or website related to Unraid and the plugin cannot be installed normally because I'm living in China. I'm expecting editing http proxy via webUI in future version.

Link to comment
6 hours ago, Zakikun said:

Alright, I think I figured it out by myself. I just add runtimes in /etc/docker/daemon.json and restart docker function once. Then the Emby container could use the nvidia runtime by adding extra parameters now.

What? Why? Have you restarted the Docker Daemon once or even read the first post or the red warning about that you have to restart the Docker Daemon once?

 

6 hours ago, Zakikun said:

It‘s troublesome that I can't access domain or website related to Unraid and the plugin cannot be installed normally because I'm living in China. I'm expecting editing http proxy via webUI in future version.

I think someone already forked my driver and also the repo and made it available, please ask in the Chinese language subforums.

Link to comment

Alright, Ive spent hours reading and trying to get this to work, but I just cant get nvidia-smi to work with my card.

 

Failure and card info:

root@Singularity:~# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

root@Singularity:~# lspci -k | grep -i NVI
84:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)
        Kernel modules: nvidia_drm, nvidia
84:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)

 

It is supported.

I do not have it part of a group attached to a VM:

 

YzrW8nS.png

 

I have ACS override disabled:

tlftyVk.png

 

Still cant get it to communicate. 

 

Any help would be appreciated. 

 

 

singularity-diagnostics-20220104-2015.zip

Link to comment
7 hours ago, redwards said:

does this driver version support the M series cards?  M10? 

On the first page in the Troubleshooting section I've linked the Nvidia Unix Driver page where you can see which cards are supported by which driver (click on the driver version and on "Supported Products").

 

I don't think that a Tesla card is supported by this driver because these are Datacenter cards.

Link to comment
4 hours ago, Singularity42 said:

Still cant get it to communicate. 

You have stubbed the card in your syslinux.config:

BOOT_IMAGE=/bzimage pci-stub.ids=10de:1184 initrd=/bzroot

 

...and here you can see that it uses pci-stub instead of the nvidia module:

84:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 770] [10de:1184] (rev a1)
	Subsystem: eVga.com. Corp. GK104 [GeForce GTX 770] [3842:3774]
	Kernel driver in use: pci-stub
	Kernel modules: nvidia_drm, nvidia
84:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
	Subsystem: eVga.com. Corp. GK104 HDMI Audio Controller [3842:3774]

 

 

Please remove the part 'pci-stub.ids=10de:1184' and it should work fine (go to Main -> click on the blue text that says "Flash" -> remove the mentioned part -> click "Apply" -> "Reboot").

Link to comment
19 hours ago, ich777 said:

You have stubbed the card in your syslinux.config:

BOOT_IMAGE=/bzimage pci-stub.ids=10de:1184 initrd=/bzroot

 

...and here you can see that it uses pci-stub instead of the nvidia module:

84:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 770] [10de:1184] (rev a1)
	Subsystem: eVga.com. Corp. GK104 [GeForce GTX 770] [3842:3774]
	Kernel driver in use: pci-stub
	Kernel modules: nvidia_drm, nvidia
84:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
	Subsystem: eVga.com. Corp. GK104 HDMI Audio Controller [3842:3774]

 

 

Please remove the part 'pci-stub.ids=10de:1184' and it should work fine (go to Main -> click on the blue text that says "Flash" -> remove the mentioned part -> click "Apply" -> "Reboot").

 

I totally forgot I did this!!  Thanks!

  • Like 1
Link to comment

My install gets stuck here...... i have a quadro p1000

plugin: installing: https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg
plugin: downloading https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg
plugin: downloading: https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg ... done

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


--------------------Nvidia driver v470.94 found locally---------------------

-----------------Installing Nvidia Driver Package v470.94-------------------

Link to comment
3 hours ago, mattybeens said:

My install gets stuck here...... i have a quadro p1000

plugin: installing: https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg
plugin: downloading https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg
plugin: downloading: https://github.com/ich777/unraid-nvidia-driver/raw/master/nvidia-driver.plg ... done

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


--------------------Nvidia driver v470.94 found locally---------------------

-----------------Installing Nvidia Driver Package v470.94-------------------

Can you post your Diagnostics please?

It says that the driver package was found locally, are you updating the package or how did you get to this window?

Link to comment

I have tried to install more than once but the initial install froze at the same stage (Installing Nvidia Driver Package v470.94). this message was at the install plugin screen, the same one that says dont click the "X". the install never finishes, i sat at this window for hours during the initial install and finally clicked the x. It appears that it gets halfway installed because in settings>userutilities i see the "nvidia driver" listed.
image.thumb.png.6542e7ee2da19a671a29d4ffbd11b716.png

Link to comment
2 hours ago, mattybeens said:

It appears that it gets halfway installed because in settings>userutilities i see the "nvidia driver" listed.

Actually not, only the plugin page but not the driver is installed, have you tried to click the "Download" button on the driver page itself yet?

 

What card are you using? Can you try to switch to the latest production version and then click the Download button?

 

If that also doesn't work can you try if this download is working for you: Click

Have you installed AdGuard, PiHole or any other blocking software in your network, maybe try to disable it when downloading the driver.

Link to comment
10 minutes ago, ich777 said:

Actually not, only the plugin page but not the driver is installed, have you tried to click the "Download" button on the driver page itself yet?

 

What card are you using? Can you try to switch to the latest production version and then click the Download button?

 

If that also doesn't work can you try if this download is working for you: Click

Have you installed AdGuard, PiHole or any other blocking software in your network, maybe try to disable it when downloading the driver.

The download button worked and everything is working now.

  • Like 1
Link to comment
7 hours ago, casperuk819 said:

I have a GTX 960 that is on the list of supported devices, and the device shows up in the hardware list, but nvidia-smi states no driver loaded as no hardware ? 

Please try to boot with Legacy mode instead of UEFI mode and make sure that you've enable "Above 4G Decoding" and "Resizable BAR Support" in your BIOS (maybe you got only the "Above 4G Decoding" option).

 

Here is the error that the plugin reports and is most likely related to Above 4G Decoding beeing disabled:

nvidia-nvlink: Nvlink Core is being initialized, major device number 245
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR3 is 0M @ 0x0 (PCI:0000:06:00.0)
nvidia: probe of 0000:06:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA devices were initialized.
nvidia-nvlink: Unregistered the Nvlink Core, major device number 245
nvidia-nvlink: Nvlink Core is being initialized, major device number 245
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR3 is 0M @ 0x0 (PCI:0000:06:00.0)
nvidia: probe of 0000:06:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA devices were initialized.
nvidia-nvlink: Unregistered the Nvlink Core, major device number 245

 

Link to comment
28 minutes ago, casperuk819 said:

Thank you so much ! Not sure I have that option in my BIOS I am running a T310 with external GPU setup. Will have a look but if not is my option to ha e a card below 2G ?

I think if you don't have this option in your BIOS you will be out of luck, but I think you should at least have somewhere a similar option for Above 4G Decoding, I'm not too familiar how Dell names things in the BIOS.

 

EDIT: Sorry forgot to say that this has nothing to do with the memory of the card, this option is for reserving memory regions for the hardware.

Link to comment

Is there anyone that could help me out with this issue.   I cannot get the HW transcoding working on Plex.  

Things I have confirmed.   

Latest Nvidia plugin.

GPU parameters on the docker.

Running latest Unraid 6.10-rc2

Running a EVGA GTX 1060 6GB

Using the standard plexinc docker with plex pass.

 

Followed the steps outlined at the beginning of this thread.   

 

Here is my nvidia-smi output:

Mon Jan 10 16:50:03 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46       Driver Version: 495.46       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:09:00.0 Off |                  N/A |
|  0%   36C    P0    24W / 120W |      0MiB /  6077MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

 

 

But I'm also seeing these errors in my Plex Server.   

 

Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 10, 2022 16:33:47.889 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open DRM render node for device 0.
Jan 10, 2022 16:33:47.889 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open a VA display from DRM device (null).
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264_vaapi
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264_nvenc (encoder)
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc
Jan 10, 2022 16:33:47.889 [0x14d316557b38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jan 10, 2022 16:33:47.889 [0x14d316557b38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264_nvenc
Jan 10, 2022 16:33:47.891 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jan 10, 2022 16:33:47.891 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Rescanning for external libs: '/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/fb9eae3-4185-linux-x86_64/'
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 10, 2022 16:33:47.892 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open DRM render node for device 0.
Jan 10, 2022 16:33:47.892 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open a VA display from DRM device (null).
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264
Jan 10, 2022 16:33:47.893 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec

Edited by KennySPT
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.