Windows 10 suddenly stopped folding

Moderators: Site Moderators, FAHC Science Team

russell_heater
Posts: 9
Joined: Tue Oct 06, 2020 3:28 pm

Re: failed to open dynamic library nvcuda.dll

Post by russell_heater »

I'm getting this right now for my AMD card.

02:38:59: GPU 0: Bus:3 Slot:0 Func:0 AMD:6 Navi 10 [Radeon RX 5600 OEM/5600 XT /
02:38:59: 5700/5700 XT]
02:38:59: CUDA: Not detected: Failed to open dynamic library 'nvcuda.dll': The
02:38:59: specified module could not be found.
...
02:38:59:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]. Disabling.
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: failed to open dynamic library nvcuda.dll

Post by JimboPalmer »

russell_heater, welcome to Folding@Home!

You do not give us much information about why OpenCL is not loading. If you post the first 200 lines of your log, (in a thread about YOUR problem) we would know much more about your PC environment.
viewtopic.php?f=24&t=26036
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
anandhanju
Posts: 526
Joined: Mon Dec 03, 2007 4:33 am
Location: Australia

Re: Windows 10 suddenly stopped folding

Post by anandhanju »

@russell_heater,

1. Do you have the latest motherboard drivers or AMD drivers for the card?
2. What is your Windows version (as reported by the command winver)?
Neil-B
Posts: 2027
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Windows 10 suddenly stopped folding

Post by Neil-B »

Perhaps @fah-toq can confirm whatcuda install worked? ... but obviously it might just not work for your issue even though it appears similar :( ... it is mad solution anyways !!
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
russell_heater
Posts: 9
Joined: Tue Oct 06, 2020 3:28 pm

Re: Windows 10 suddenly stopped folding

Post by russell_heater »

Responding to each point in order:

1.
- Latest AMD drivers (according to the Radeon auto-updater, which says itself was released on Oct/16. I only just installed Windows on this computer two days ago.)
- Mobo drivers are latest delivered by non-"optional" Windows Update. I supposed I can try installing the optional Windows updates...

2. Latest Windows 10 Pro (20H2)

3. After my earlier experiment, I then installed the full CUDA suite. No dice. Also, I noticed there is no "nvcuda.dll" in either of the dirs created by the installer under "c:\Program Files", so I'm not sure this file even comes from nVidia.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Windows 10 suddenly stopped folding

Post by PantherX »

Please note that installation of CUDA Toolkit currently causes issues. Just installing the latest Nvidia Driver should work. In a future version of FahCore_22, that issue can hopefully be resolved.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
russell_heater
Posts: 9
Joined: Tue Oct 06, 2020 3:28 pm

Re: Windows 10 suddenly stopped folding

Post by russell_heater »

The driver for which Nvidia card? I don't have any Nvidia cards. Should I just pick an arbitrary Nvidia card driver?
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Windows 10 suddenly stopped folding

Post by PantherX »

Oh, sorry for the confusion russell_heater. I was simply commenting that currently having CUDA Toolkit on your system will cause FahCore_22 to fallback to OpenCL instead of CUDA. To use CUDA on Nvidia GPUs, you simply need to use the latest Nvidia drivers.

In your case, you have an AMD GPU so in theory, you don't need Nvidia Drivers or CUDA Toolkit. This error in the log file is always expected on an AMD GPU system:

Code: Select all

CUDA: Not detected: Failed to open dynamic library 'nvcuda.dll': The
15:55:46:               specified module could not be found.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Windows 10 suddenly stopped folding

Post by bruce »

The FAHClient should be enhanced to count the number of AMD GPUs and the number of nV GPus. Then if there are zero nVidia GPUs, inhibit printing the warning message. Nevertheless that's an unimportant enhancement.

To discover the number of nVidia GPUs, the client needs the drivers and the nV run-time code, so it has to process the information in the opposite order. If the nvidia run-time is not present, no nV GPUs will be detected anyway so it makes sense to warn you that it won't be able to detect nV GPus if you happen to have any.

For those of you who have AMD GPUs there is no reason to install CUDA. That message does NOT indicate an error. For anyone with an nVidia GPU, that message explains why FAH may not detect your nV GPU.
psaam0001
Posts: 383
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Windows 10 suddenly stopped folding

Post by psaam0001 »

PantherX wrote:I am glad that you solved the issue... however, that's a very unusual method and one that I wouldn't think was possible. However, who am I to question the IT Gods.

The nvcuda.dll error in your log is expected since you have and AMD GPU and that error is only for CUDA detection. Given that you don't have Nvidia GPU, we won't recommend you to install any Nvidia drivers or CUDA software package.
When I look at the Software Installation tool that comes with the Fedora distributions (not the 'dnf update' process as root user in Terminal), it will offer the NVidia drivers to install when I look under 'Utilities' --> 'Hardware Drivers' tab (even though that laptop has ATI/AMD legacy graphics support). I just ignore it altogether, as: 1) even if those drivers worked for the GPU series I have in it, F@H's requirements of support for OpenCL 1.2 are not met; and 2) I'm not messing with something that may cause system instability, to the point where the only recourse is a clean reinstall.

Hopefully in the future, AMD will unify their Workstation, Gaming/Average Use GPU card, and iGPU drivers into one package (as NVidia has done). And give clearer manual installation instructions for the major Linux distributions (on their site).

Paul
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Windows 10 suddenly stopped folding

Post by bruce »

russell_heater wrote: 3. After my earlier experiment, I then installed the full CUDA suite. No dice. Also, I noticed there is no "nvcuda.dll" in either of the dirs created by the installer under "c:\Program Files", so I'm not sure this file even comes from nVidia.
You are not listening. CUDA is not for AMD GPUs; it is for nVidia GPUs. You said you have an AMD GPU. Ignore the message. It is a spurious message on systems with AMD GPUs.
anandhanju
Posts: 526
Joined: Mon Dec 03, 2007 4:33 am
Location: Australia

Re: Windows 10 suddenly stopped folding

Post by anandhanju »

@bruce, the error here: 02:38:59:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]. Disabling.

There have been a few reports of AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 XT cards not working due to this despite having the AMD drivers installed. What has confusingly worked in some cases is the installation of the CUDA tookit (I know, it sounds crazy) which has made this OpenCL detection failure go away.

I've compiled these reports into an issue in Github -- https://github.com/FoldingAtHome/fah-issues/issues/1589
Post Reply