I’m trying to setup an OptiX environment under CentOS 7. I’ve got a GeForce RTX 2080 Ti and I installed the Nvidia driver (version 418.56). I also installed Cuda-toolkit-10.1 and OptiX-SKD-6.0.0.
When I run the Cuda samples, everything goes well (see code snippet 2), but when I run the OptiX samples I got the error : “OptiX error: A supported NVIDIA GPU could not be found”.
I know there is already a thread about this error. But for him the problem came from the driver version, he was under 418.40 and he solved the problem by installing the version 418.56. Me, I am already under the version 418.56, so I guess the problem does not come from the driver.
Also, I set the LD_LIBRARY_PATH to the OptiX libraries. And I tried with the CUDA_VISIBLE_DEVICES variable too.
Here is the nvidia-smi command output:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.40.04 Driver Version: 418.56 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 208... On | 00000000:65:00.0 On | N/A |
| 27% 40C P8 13W / 250W | 416MiB / 10981MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
Here is the “deviceQuery” cuda sample output (only relevant info):
Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce RTX 2080 Ti"
CUDA Driver Version / Runtime Version 10.1 / 10.1
CUDA Capability Major/Minor version number: 7.5
.
.
.
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 1
Result = PASS