Oki. A bit different on my case, I do use a neural network called darknet:
.
Cuda did some updates on the last weeks I did not keep track:
darknet -v
CUDA status Error: file: /home/vfbsilva/.cache/yay/darknet-alexeyab-git/src/darknet/src/dark_cuda.c : () : line: 39 : build time: Sep 8 2020 - 14:20:16
CUDA Error: CUDA driver version is insufficient for CUDA runtime version
CUDA Error: CUDA driver version is insufficient for CUDA runtime version: Success
So I had to remove it then proceed to update: sudo pacman -Rs cuda cudnn
Then follow @anon89812132 advice and reinstall darknet
But now it breaks with:
UDA status Error: file: /home/vfbsilva/.cache/yay/darknet-alexeyab-git/src/darknet/src/dark_cuda.c : () : line: 39 : build time: Sep 8 2020 - 14:20:16
CUDA Error: no CUDA-capable device is detected
CUDA Error: no CUDA-capable device is detected: Success
The culpirit is older and has not been adressed in darknet. Things is it uses old versions of:
ilmbase openexr opencv
in fact:
ilmbase-2.3.0-1-x86_64.pkg.tar.xz
opencv-4.1.0-2-x86_64.pkg.tar.xz
openexr-2.3.0-1-x86_64.pkg.tar.xz
Those are the versions you need to build. @anon89812132 I do understand your comment and I do know I haven’t added the full info. But is at least rude.
My apology if any of my comment came as rude towards you, but i asure you there was nothing of such in any of them. I have no experience with darknet and cudnn … not sure exactly how the projects are stored and how the source for them works. Was just guessing that you can add some code to each project, and simply needs a tweak.
Anyway, probably someone more experienced will pass by with a better approach for that particular error you get.
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-450xx-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
warning: nvidia-450xx-utils-450.66-1 is up to date -- skipping
warning: nvidia-prime-1.0-4 is up to date -- skipping
error: target not found: linux59-nvidia-450xx
core is up to date
extra is up to date
community is up to date
multilib is up to date
Error: pacman failed!
Error: script failed!
I’m trying to install nvidia-amd-hybrid-450xx-prime
Well, is improper to call it downgrade the kernel.
You can have linux58 and linux54 installed in the same time.
You could also have in the same time the linux59, but that one is still rc and no nvidia modules are ready for it.