Hi,
I have the same host code on windows and linux. Ptx files are prepared on windows and then used with linux. Program inputs are the same on both systems. Hardware is the same (the same laptop, gtx 1060). Windows version runs fine, while I get an error under linux.
Log message from optixPipelineCreate is:
Windows, driver 442.59:
[ 4][COMPILE FEEDBACK]: Info: Pipeline has 5 module(s), 6 entry function(s), 4 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 221 basic block(s) in entry functions, 3408 instruction(s) in entry functions, 30 non-entry function(s), 85 basic block(s) in non-entry functions, 1070 instruction(s) in non-entry functions
Ubuntu 18.04, driver 435.21:
`[ 2][COMPILE FEEDBACK]: COMPILE ERROR: failed to create pipeline
Info: Pipeline has 5 module(s), 6 entry function(s), 4 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 221 basic block(s) in entry functions, 3405 instruction(s) in entry functions, 0 non-entry function(s), 0 basic block(s) in non-entry functions, 0 instruction(s) in non-entry functions
OPTIX_ERROR_PIPELINE_LINK_ERROR: Optix call ‘optixPipelineCreate( state.context, &_pipeline_compile_options, &pipeline_link_options, program_groups.data(), program_groups.size(), log, &sizeof_log, &state.pipeline )’ failed: PathTracer.cpp:2138)`
What are typical reasons for optixPipelineCreate failing?
Thanks for hints!