Optix call (optixInit()) failed with code 7801 (line 40)

Hi,

I’ve install Optix 7.2 and have been following Optix 7 course of Siggraph:

I’m not able to run Optix, i.e I run the “Hello World” which only initialize OptiX Library.

The installation has been successfully completed without any error.

I get the following output:

#osc: initializing optix…
#osc: found 8 CUDA devices
Optix call (optixInit()) failed with code 7801 (line 40)

I have 8 Cuda devices of GeForce RTX 2080 Ti
Cuda Version: cuda-10.1
Operation System: Linux x86_64 - Ubuntu 18.04.2 LTS
Optix Version: 7.2.0
NVIDIA-SMI 450.51.06 Driver Version: 450.51.06 CUDA Version: 11.0

Hi @kfirst, welcome!

First, please try updating your driver.

From the OptiX 7.2 release notes: “OptiX 7.2.0 requires that you install a r455+ driver.” https://developer.nvidia.com/optix/downloads/7.2.0/releasenotes


David.

1 Like

@dhart Thanks, it was the problem.

#osc: initializing optix…

#osc: found 8 CUDA devices

#osc: successfully initialized optix… yay!

#osc: done. clean exit.

1 Like