Jump to content

[Plugin] Nvidia-Driver


ich777

Recommended Posts

4 hours ago, UnJustice said:

Well, I'll look for your reply and again I appreciate your time and help.

I created an Issue on GitHub over here, I hope that's okay for you and that I included a few files from the Diagnostics.

 

4 hours ago, UnJustice said:

Also, I used a totally different Plex docker image.

I always recommend to use the official image for testing purposes if you experience such issues.

Link to comment
On 8/23/2023 at 4:14 AM, UnJustice said:

Short version: The Krusader docker is causing it for some reason. I understand this isn't the place to ask for support on that, so I'm not. I'm just simply reporting that it was the thing causing the runc error.

Can you please provide a screenshot from the Docker template from this container?

 

On 8/23/2023 at 4:14 AM, UnJustice said:

Krusader was added and immediately when I stopped Plex and tried to restart it blam-o! I got the error again.

Which Krusader container are you using (repository)? Have you yet tried another Krusader container from another maintainer?

 

BTW Thanks for the detailed explanation, this might be really useful in the future. :)

Link to comment

Hello everyone!
 

Since yesterday, I've been trying to get hardware transcoding to work with my RTX but I can't. I tried with the official version of plex and also with the linuxserver version.
 

In both cases, when I launch a video and I lower the quality so that it transcodes, the video continues until the end of the buffering and loads continuously. It doesn't transcode.
 

I can't see where I'm wrong. I followed the guide of Ich777 and other indications found on the web but whatever, it does not work.
 

Here are some images that may help you find the solution, thank you

drivers.thumb.jpg.d61aa30675cd99c5543e252d55b29e88.jpg

unraid.thumb.jpg.1dbde75e6903ec88a01dcde04ff6997e.jpgdocker.thumb.jpg.748fa0a82536ee879bcf10c1d4ea2123.jpglogs.thumb.jpg.924cebbbfbb53e5ca31423c6c8caeac7.jpgplex.thumb.jpg.17564a075de4121a2223ced647c72b70.jpg

Link to comment
37 minutes ago, warzonefury said:

I can't see where I'm wrong. I followed the guide of Ich777 and other indications found on the web but whatever, it does not work.

I would recommend that you first try it with the official Plex container.

 

How are you trying to transcode? Please note that the web client from Plex has issues when enabling transcoding.

 

The driver is working properly from what I can see. The logs from Plex, especially the transcoding log would be helpful but that is something for the Docker container thread.

 

Again, I would first recommend that you try the official Plex container.

Link to comment
13 minutes ago, ich777 said:

How are you trying to transcode? Please note that the web client from Plex has issues when enabling transcoding.


That was it ! I was trying to transcode by the browser, I just tried with the application, it works flawlessly. But, the browser bug is recent? Is it related to Unraid? It's still quite annoying :(

Link to comment
13 minutes ago, warzonefury said:

Is it related to Unraid?

Why should it be related to Unraid?

 

You are using a Docker container which is isolated from the Host, you are using a browser which is running not on Unraid, you are using the Plex web client.

Hope that explains it a bit better. 😉

 

Please report that on the Plex forums if you want a fix for that.

Link to comment
3 hours ago, ich777 said:

Why should it be related to Unraid?

 

You are using a Docker container which is isolated from the Host, you are using a browser which is running not on Unraid, you are using the Plex web client.

Hope that explains it a bit better. 😉


I expressed myself badly, I mean, it comes from the plex container on unraid in general or just isolated for me? On the web app, does transcoding work for you?

Link to comment
12 minutes ago, warzonefury said:

it comes from the plex container on unraid

This is an issue from Plex on Linux, in general and AFAIK knowm by the developers, I think if you read back one or two pages you‘ll find a link to the Plex forums where multiple users reported that.

 

So to speak this affects all Linux users.

 

12 minutes ago, warzonefury said:

On the web app, does transcoding work for you?

Yes, but only because I set a limit for the maximum allowed bitrate because I don‘t use Plex, only for testing if the driver works.

(If you set a general limit it is working but not if you are changing it on the fly)

 

I‘m a Emby guy.

Link to comment
44 minutes ago, ich777 said:

This is an issue from Plex on Linux, in general and AFAIK knowm by the developers, I think if you read back one or two pages you‘ll find a link to the Plex forums where multiple users reported that.

 

So to speak this affects all Linux users.

 

Yes, but only because I set a limit for the maximum allowed bitrate because I don‘t use Plex, only for testing if the driver works.

(If you set a general limit it is working but not if you are changing it on the fly)

 

I‘m a Emby guy.

 

Thanks for all informations ! ❤️

  • Like 1
Link to comment

Hello, I am hoping to get some help or guidance with an issue. I had my GPU running in a previous system with unraid but recently bought an old T630 and installed my GPU (GTX 1070) into it with the power adapter provided from the seller. It lights up and seems to be working but after installing the app i get an error.

 

Quote

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

 

Is there anything I can do? I have done the following:

 

  • made sure the PCIe slot is enabled in the bios settings.
  • tried older driver versions.
  • uninstalled and reinstalled the app.

Now I am scratching my head wondering what other options I have.

 

Sincerely,

Sideh.

 

PS. doing the nvidia-smi in console provides the same out put as in the picture.

nvidia-smi.png

Link to comment
2 hours ago, Sideh said:

I am so sorry, can't believe I missed that. Here it is attached.

Your card is bound to VFIO:

84:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:8599]
    Kernel driver in use: vfio-pci
    Kernel modules: nvidia_drm, nvidia
84:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GP104 High Definition Audio Controller [1043:8599]
    Kernel driver in use: vfio-pci

 

 

Please unbind it from VFIO and try again, this is the entry:

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:84:00.0|10de:1b81 0000:84:00.1|10de:10f0---
Processing 0000:84:00.0 10de:1b81
Vendor:Device 10de:1b81 found at 0000:84:00.0

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:84:00.0/iommu_group/devices/0000:84:00.0
/sys/bus/pci/devices/0000:84:00.0/iommu_group/devices/0000:84:00.1

 

Link to comment
31 minutes ago, Sideh said:

omg

Can you spot the issue:

Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: GPU does not have the necessary power cables connected.
Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: RmInitAdapter failed! (0x24:0x1c:1436)
Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: rm_init_adapter failed, device minor number 0

 

Link to comment
4 minutes ago, ich777 said:

Can you spot the issue:

Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: GPU does not have the necessary power cables connected.
Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: RmInitAdapter failed! (0x24:0x1c:1436)
Aug 29 00:54:40 Daedalus-Gaming kernel: NVRM: GPU 0000:84:00.0: rm_init_adapter failed, device minor number 0

 

Well not enough power. Thanks for clearing that up. I have the power cables connected but it musn't be enough. Thanks for clearing that up for me. Apologies for wasting your time on this.

 

EDIT: Spelling

Edited by Sideh
  • Like 1
Link to comment

I previously had a 1050Ti GPU installed without issues being used with dockers for transconding. I just put in a 3050 and get no device found.

 

nvidia-smi output gives "No Devices were Found"

VFIO is unbound.

Graphics card seems functional as I have video out on the card during bootup.

Diagnostics are attached.

 

I have also tried multiple driver versions, allowing it to fully download and install and rebooted.

 

Have any other input on why it may not be visible?

Screenshot 2023-08-29 at 3.49.46 PM.png

sv1-diagnostics-20230829-1543.zip

Link to comment
9 hours ago, KrypticKahos said:

Have any other input on why it may not be visible?

Please update your BIOS, Asrock had some issues with GPU compatibility I've read in a article but that was for RTX40 series but maybe it helps in your situation too.

 

I can only see this messages over and over:

Aug 29 15:30:54 SV1 kernel: NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x25:0x65:1462)
Aug 29 15:30:54 SV1 kernel: NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0

 

This is a pretty generic message and often times means that there is a hardware incompatibility issue.

For earlier Ryzen CPUs I always recommended disabling C-States in the BIOS or forcing a specific PCIe generation in the BIOS instead of AUTO but please try upgrading the BIOS first and see if that helps.

Link to comment
15 hours ago, ich777 said:

Please update your BIOS, Asrock had some issues with GPU compatibility I've read in a article but that was for RTX40 series but maybe it helps in your situation too.

 

I can only see this messages over and over:

Aug 29 15:30:54 SV1 kernel: NVRM: GPU 0000:04:00.0: RmInitAdapter failed! (0x25:0x65:1462)
Aug 29 15:30:54 SV1 kernel: NVRM: GPU 0000:04:00.0: rm_init_adapter failed, device minor number 0

 

This is a pretty generic message and often times means that there is a hardware incompatibility issue.

For earlier Ryzen CPUs I always recommended disabling C-States in the BIOS or forcing a specific PCIe generation in the BIOS instead of AUTO but please try upgrading the BIOS first and see if that helps.

BIOS was updated, and you were correct. The notes for the new version had fixes for 40 series card compatibility. This however didn't resolve my issues.

 

I will also go and attempt disabling C-states, and forcing the PCIe generation.

Link to comment
4 hours ago, KrypticKahos said:

BIOS was updated, and you were correct. The notes for the new version had fixes for 40 series card compatibility. This however didn't resolve my issues.

 

I will also go and attempt disabling C-states, and forcing the PCIe generation.

 

Did some more testing and C-states were already disabled, and setting PCIe generation didn't help either.

 

Turns out it was because I had an odd hardware configuration. I had my GPU in the secondary PCIe slot, and my HBA card in the primary GPU slot. I did this previously because I wanted maximum bandwidth to the hard drives. Turns out that my motherboard didn't like that setup. I put the GPU in the primary slot, and HBA in the secondary and now the GPU is showing up and everything is working as expected.

  • Like 1
Link to comment

@ezhik & @giafidis thanks for the report.

I've now update the plugin_update_helper which is part of most third party driver plugins.

The upgrade process should now work as intended when you have set the Production Branch or New Feature Branch in the plugin and should not switch back to the Latest branch (which is currently also the Production Branch version).

 

The background to why it fails is that version 535.98 doesn't follow the usual versioning scheme from Nvidia and is missing .xx and comm can't compare if the versions numbers are not the same scheme.

Made a update to the plugin a few months ago but completely forgot to also update the plugin_update_helper, sorry...

 

BTW Please always report such issues in the appropriate support thread from the plugin, because the Nvidia Driver is strictly speaking not part of Unraid since it's a third party plugin.

@limetech included graciously a check for the plugin_update_helper to make sure that users are on the latest version, even if it's not part of Unraid.

 

 

Anyways, here are the tests with the updated version:

Downgrade to 6.12.13 and set the version to Production Branch (please ignore that no card is found because I currently have no card in my Test server) :

1.thumb.png.a2915568ea53588a50bc428c83acca5c.png

 

 

Pull the upgrade over the built in updater:
2.thumb.png.037cca7a24a40c5549dea903a8545836.png

 

 

Wait for the notifications to say it is safe to reboot:

3.thumb.png.8d684aa117ea2ee7f48ab5ff599e0a6f.png

 

 

After the reboot check if it still at Production Branch:

4.thumb.png.196103dcfc219085b0b5ba33f135ecc8.png

  • Thanks 1
Link to comment
3 minutes ago, capino said:

But cannot update to any driver version anymore.

Please try if you can download that file from your local PC: Click

 

Nothing has changed in terms of the download routine.

 

Please uninstall the plugin, reinstall it and see if that helps (a reboot in between would be also recommended).

Link to comment
1 hour ago, ich777 said:

Please try if you can download that file from your local PC: Click

 

Nothing has changed in terms of the download routine.

 

Please uninstall the plugin, reinstall it and see if that helps (a reboot in between would be also recommended).

Reinstalling the plugin seems to resolve the problem. (without reboot in between)

During the reinstall, driver version v535.104.05 has been downloaded.
I still have to reboot the server. This will be done somewhere this weekend since I'm not at home at the moment.

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

×
×
  • Create New...