Everything installs correctly, but when I try to run the cuda-samples (11.4 version), they don’t work.
If I run the deviceQuery one, I get this.
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 802
-> system not yet initialized
Result = FAIL
All of the cuda 11.4 samples fail the same way. I assume this means Cuda can’t see my Nvidia device. So my questions are:
Do I need to even do this?
If so, how do I troubleshoot this issue?
Should I use the proprietary Nvidia driver or are there better options?
Do you have an old mainboard with nvidia chipset?
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
All of this hardware is old, if that’s what you mean by an old mainboard. I’m trying to a low-budget proof of concept, and part of it is a text-to-speech.
Like suspected, it’s an nvidia chipset. The driver has a bug, detecting old nvidia cipsets as nvswitch systems so cuda won’t work. You might check if adding the modprobe option
options nvidia NVreg_NvLinkDisable=1
helps.
If I get another card, how do I know that it will work with CUDA, because this one that was on the list. Maybe I should look for whatever is the best card for 470 driver that I have installed. I’m happy to go newer but newer gets more expensive.