I am using OptiX within a Docker container built by myself. I already overcome some of the problems related to using OptiX in docker and I got to the point of compiling SDK examples.
After compiling with CMake both optixHello and optixCurves without errors I stumble in the same error while trying to run the executable (e.g. as ./optixHello
). The error is showed below. I was wondering if the error is related to the compilation (which returns me no errors and correctly creates the executable) or it is a runtime error.
Also it seems to be related with optixModuleCreate()
function and the exceptions is marked as OPTIX_ERROR_INVALID_INPUT
meaning that maybe the input are wrong, even if I am using the code from optixHello without modifying it by any mean.
My specs are:
- Driver Version: 535.154.05
- CUDA Version: 12.3
- Optix 7.7.0
[ 4][ KNOBS]: All knobs on default.
[ 4][ DISKCACHE]: Opened database: "/var/tmp/OptixCache_jordydalcorso/optix7cache.db"
[ 4][ DISKCACHE]: Cache data size: "0 Bytes"
[ 4][ DISKCACHE]: Cache miss for key: ptx-18300-keybdf11a81558d66d0c9907cf3f6caf3bf-sm_61-rtc0-drv535.154.05
minor Version (60) newer than tool (should be 59)
minor NvvmIRVersion (63) newer than tool (should be 58)
[ 2][ COMPILER]: COMPILE ERROR:
Caught exception: OPTIX_ERROR_INVALID_INPUT: Optix call 'optixModuleCreate( context, &module_compile_options, &pipeline_compile_options, input, inputSize, LOG, &LOG_SIZE, &shading_module )' failed: /opt/optix/NVIDIA-OptiX-SDK-7.7.0-linux64-x86_64/SDK/optixCurves/optixCurves.cpp:483)
Log:
COMPILE ERROR: