Jump to content

[Plugin] Nvidia-Driver


ich777

Recommended Posts

I got this errors in case the mean something

 

Jul 18 20:20:28 Unraid kernel: NVRM: GPU at PCI:0000:04:00: GPU-f1c0f52c-e491-64c7-428c-e10038734368
Jul 18 20:20:28 Unraid kernel: NVRM: GPU Board Serial Number: 1425320036134
Jul 18 20:20:28 Unraid kernel: NVRM: Xid (PCI:0000:04:00): 13, pid='<unknown>', name=<unknown>, Graphics SM Warp Exception on (GPC 1, TPC 1): Stack Error
Jul 18 20:20:28 Unraid kernel: NVRM: Xid (PCI:0000:04:00): 13, pid='<unknown>', name=<unknown>, Graphics Exception: ESR 0x50ce48=0x170001 0x50ce50=0x0 0x50ce44=0xd3eff2 0x50ce4c=0x17f

Link to comment
7 hours ago, L0rdRaiden said:

I got this errors in case the mean something

 

there are many general reports with this failure, but when i see your message it also looks like your card aint really properly recognized, may also the reason why h264 (full hd) is working but 4k decoding (hevc) is not ... sorry, have no ideas here for you.

  • Like 1
Link to comment

I've been trying to reinstall the nvidia driver, but running into the following error messages

 

I've done a reboot, and same error afterwards.

 


plugin: installing: nvidia-driver.plg
Executing hook script: pre_plugin_checks
plugin: downloading: nvidia-driver.plg ... done

plugin: downloading: nvidia-driver-2023.07.06.txz ... done


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


-----ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR - ERROR------
---Can't get latest Nvidia driver version and found no installed local driver---
plugin: run failed: '/bin/bash' returned 1
Executing hook script: post_plugin_checks

 

Edited by Skald
Link to comment
1 hour ago, ich777 said:

Please post your Diagnostics after you got this error.

 

This will most likely solve your issue:

  1. Uninstall the Nvidia Driver
  2. Reboot
  3. Pull a fresh copy from the CA App

 

If this doesn't solve your issue pull the Diagnostics from your server and post them here.

 

Found the issue. I had a docker container that was causing me to hit the github API limit, so the script trying to get the correct version from the API was failing.

 

After stopping docker container for pi.alerts, waiting 1 hour, was able to run the script without issues.

  • Like 1
Link to comment
2 hours ago, Skald said:

Found the issue. I had a docker container that was causing me to hit the github API limit, so the script trying to get the correct version from the API was failing.

Thank you for letting me know.

I don't know exactly but I think if you are a registered user on GitHub you can pass over a application username/password for pi.alerts so that you don't exceed your "public" API calls.

Link to comment
10 minutes ago, namida said:

Update to unraid 6.12.3

When you upgrade you should get a Unraid notification which says you should wait until you get another notification that it says it is safe to reboot, in your case the download didn't finish, even the upgrade window should have told you that it found third party packages and you should wait until it says it is safe to reboot.

 

However, to solve this, please click Update & Download this should re download the driver and the plugin should then tell you to reboot if the download was successful.

Link to comment
3 minutes ago, ich777 said:

When you upgrade you should get a Unraid notification which says you should wait until you get another notification that it says it is safe to reboot, in your case the download didn't finish, even the upgrade window should have told you that it found third party packages and you should wait until it says it is safe to reboot.

 

However, to solve this, please click Update & Download this should re download the driver and the plugin should then tell you to reboot if the download was successful.

I click to re-download the driver now, but he will always be stuck in this interface. When I just updated unriad, I clicked the update card for more than an hour and there was no change, so I would like to ask if you have a manual installation method, such as the command OK, or I download the driver file on Windows and upload it to unraid

 

image.thumb.png.17e52d194a35a91e1c9e6b555e52c13e.png

Link to comment
3 minutes ago, namida said:

I click to re-download the driver now, but he will always be stuck in this interface. When I just updated unriad, I clicked the update card for more than an hour and there was no change, so I would like to ask if you have a manual installation method, such as the command OK, or I download the driver file on Windows and upload it to unraid

You have to wait until it says it is finished, like the message tells you...

 

Some users especially from China have really slow download speeds from GitHub (where the packages are located) and this can take some time.

 

From the Diagnostics that you've uploaded I see that you only have around 88MB from 210MB downloaded.

Link to comment
4 minutes ago, ich777 said:

You have to wait until it says it is finished, like the message tells you...

 

Some users especially from China have really slow download speeds from GitHub (where the packages are located) and this can take some time.

 

From the Diagnostics that you've uploaded I see that you only have around 88MB from 210MB downloaded.

In other words, the driver can only be downloaded and installed from the webui interface of the plug-in, and it is impossible to manually upload the driver file to complete the driver installation (the GitHub website I visit on Windows is smoother than that of unriad.

Link to comment
6 minutes ago, ich777 said:

You have to wait until it says it is finished, like the message tells you...

 

Some users especially from China have really slow download speeds from GitHub (where the packages are located) and this can take some time.

 

From the Diagnostics that you've uploaded I see that you only have around 88MB from 210MB downloaded.

Then you tell me to come out and see the download progress on the webui output interface of the plug-in, where else can I see the download progress, such as checking the installation progress through the command line

Link to comment
3 minutes ago, namida said:

Then you tell me to come out and see the download progress on the webui output interface of the plug-in, where else can I see the download progress, such as checking the installation progress through the command line

Can you please give me a bit? I'm working on a solution for you.

I can't display that in the webgui, that is simply not possible.

Link to comment
5 minutes ago, namida said:

Sorry, I was too impatient, very sorry, thank you for being willing to solve this problem for me

Please execute this command from a Unraid terminal:

wget -qO- https://raw.githubusercontent.com/ich777/unraid-plugin_update_helper/master/force_package_update | bash

 

This will force a download from all third party plugin packages which are supported by the Plugin Update Helper and you should also see the progress bar and at which speed it is downloading, please let this process finish, it will also show you when it's safe to reboot or better speaking should look like this:

root@Test:~# wget -qO- https://raw.githubusercontent.com/ich777/unraid-plugin_update_helper/master/force_package_update | bash
Please don't close this window until it says finished!
/boot/config/plugins/nvidia-driver/p 100%[====================================================================>] 206.36M  24.5MB/s    in 8.2s    

Finished, please take a look at your unRAID notifications if all packages where downloaded correctly!
root@Test:~#

 

It will take some time after the download finished because it also pulls the md5 sum and compares the downloaded file, this is exactly the same what the Update & Download button does.

 

17 minutes ago, namida said:

the GitHub website I visit on Windows is smoother than that of unriad

I also can't imagine that this would make a difference if you are using the same Gateway/Internet connection.

Link to comment
3 minutes ago, ich777 said:

At that topic, I'm curious what download speeds do you get and how long does it take on your system?

Actually, the word should be used as anxious,Google translation is a little inaccurate (English is very bad。
The following is the test. I set up the agent according to this blog. It seems that the download speed of this file is very fast, but the download driver is very slow


https://www.konoka.top/nas/54/



root@UNRAID:~# wget https://raw.githubusercontent.com/jellyfin/jellyfin/master/README.md && rm README.md
--2023-07-20 02:03:12-- https://raw.githubusercontent.com/jellyfin/jellyfin/master/README.md
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 127.0.0.1
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|127.0.0.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11978 (12K) [text/plain]
Saving to: ‘README.md’

README.md                            100%[====================================================================>]  11.70K  --.-KB/s    in 0s      

2023-07-20 02:03:13 (608 MB/s) - ‘README.md’ saved [11978/11978]


 

Link to comment
2 minutes ago, namida said:

It seems that the download speed of this file is very fast, but the download driver is very slow

This is not a very good test since this file is only about 12K in size.

You should rather download something bigger:

wget https://github.com/jellyfin/jellyfin/archive/refs/tags/v10.8.10.zip

(but that is also a pretty bad test since this file is also only about 3M in size)

 

 

What download speeds do you get with the command that I've sent you?

Link to comment
2 minutes ago, ich777 said:

This is not a very good test since this file is only about 12K in size.

You should rather download something bigger:

wget https://github.com/jellyfin/jellyfin/archive/refs/tags/v10.8.10.zip

(but that is also a pretty bad test since this file is also only about 3M in size)

 

 

What download speeds do you get with the command that I've sent you?

Running the command you gave did not give me the output download speed, then I ran the command you replied to the above post, the output is that the driver is downloaded, but the webui prompts that the download is not completed

 

root@UNRAID:~# wget -qO- https://raw.githubusercontent.com/ich777/unraid-plugin_update_helper/master/force_package_update | bash
Please don't close this window until it says finished!

Finished, please take a look at your unRAID notifications if all packages where downloaded correctly!
root@UNRAID:~# pcregrep -oM 'Linux kernel[\s\S]*?version\s+\K\d+(\.\d+)+' /boot/changes.txt | sort -V | tail -1
6.1.38
root@UNRAID:~# wget -qO- https://api.github.com/repos/ich777/unraid-nvidia-driver/releases/tags/6.1.38-Unraid | jq -r '.assets[].name' | grep -E -v '\.md5$' | grep "nvidia" | sort -V | tail -1
nvidia-535.86.05-6.1.38-Unraid-1.txz

image.thumb.png.ade9bbc7512a6b8f00b256e988803fd4.png

image.thumb.png.d9b337c500f8e402725a2dbe67b348ba.png

Link to comment
7 minutes ago, ich777 said:

This is not a very good test since this file is only about 12K in size.

You should rather download something bigger:

wget https://github.com/jellyfin/jellyfin/archive/refs/tags/v10.8.10.zip

(but that is also a pretty bad test since this file is also only about 3M in size)

 

 

What download speeds do you get with the command that I've sent you?

Sorry, I misunderstood what you meant just now, this is the result of the test

 

root@UNRAID:/boot/imags# wget https://github.com/jellyfin/jellyfin/archive/refs/tags/v10.8.10.zip && rm v10.8.10.zip
--2023-07-20 02:22:31-- https://github.com/jellyfin/jellyfin/archive/refs/tags/v10.8.10.zip
Resolving github.com (github.com)... 127.0.0.1
Connecting to github.com (github.com)|127.0.0.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/jellyfin/jellyfin/zip/refs/tags/v10.8.10 [following]
--2023-07-20 02:22:32-- https://codeload.github.com/jellyfin/jellyfin/zip/refs/tags/v10.8.10
Resolving codeload.github.com (codeload.github.com)... 20.205.243.165
Connecting to codeload.github.com (codeload.github.com)|20.205.243.165|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘v10.8.10.zip’

v10.8.10.zip                                       [     <=>                                                                                            ]   2.74M  2.45MB/s    in 1.1s    

2023-07-20 02:22:34 (2.45 MB/s) - ‘v10.8.10.zip’ saved [2875484]

Link to comment
13 minutes ago, namida said:

Running the command you gave did not give me the output download speed, then I ran the command you replied to the above post, the output is that the driver is downloaded, but the webui prompts that the download is not completed

I really can't tell what's going on over there on your side. Can you download this file?

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.3.13-Unraid/nvidia-535.86.05-6.3.13-Unraid-1.txz

and also this:

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.3.13-Unraid/nvidia-535.86.05-6.3.13-Unraid-1.txz.md5

 

Please don't delete those files since you will need it.

  • Confused 1
Link to comment
8 minutes ago, ich777 said:

I really can't tell what's going on over there on your side. Can you download this file?

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.3.13-Unraid/nvidia-535.86.05-6.3.13-Unraid-1.txz

and also this:

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.3.13-Unraid/nvidia-535.86.05-6.3.13-Unraid-1.txz.md5

 

Please don't delete those files since you will need it.

I can download these two files, but the download speed on the unraid side is very slow, can I use Windows to download these two files now, and then put them in the specified directory?

image.thumb.png.3910692ffca3931cc6df484fb15d0856.png

image.png.d0013b1696001a01517187977bd25370.png

Link to comment
1 minute ago, namida said:

I can download these two files, but the download speed on the unraid side is very slow, can I use Windows to download these two files now, and then put them in the specified directory?

I gave you the wrong links, sorry, these are not for 6.12.3, here are the correct ones:

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.1.38-Unraid/nvidia-535.86.05-6.1.38-Unraid-1.txz

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.1.38-Unraid/nvidia-535.86.05-6.1.38-Unraid-1.txz.md5

 

Sorry, this was done by accident.

 

You have to put them in:

/boot/config/plugins/nvidia-driver/packages/6.1.38/

 

After that reboot.

  • Like 1
Link to comment
9 minutes ago, ich777 said:

I gave you the wrong links, sorry, these are not for 6.12.3, here are the correct ones:

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.1.38-Unraid/nvidia-535.86.05-6.1.38-Unraid-1.txz

https://github.com/ich777/unraid-nvidia-driver/releases/download/6.1.38-Unraid/nvidia-535.86.05-6.1.38-Unraid-1.txz.md5

 

Sorry, this was done by accident.

 

You have to put them in:

/boot/config/plugins/nvidia-driver/packages/6.1.38/

 

After that reboot.

The driver has been successfully installed, thank you very much

非常感谢你  

ありがと

image.png.146589e93b47c66ae2b1e5a3455919f8.png

  • Like 1
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...