pbrt-v4: ERROR OptiX: Module compilation failed

Environment: Windows10 + RTX2080TI + CUDA 11.0 + Optix 7.1 Testing scene: Each scene of pbrt-v4-scenes

CMD: H:\pbrt-v4-scenes\lte-orb\lte-orb-silver.pbrt --gpu --log-level verbose

it said : ERROR OptiX: COMPILE FEEDBACK: COMPILE ERROR: Module compilation failed

Error Message:

pbrt version 4 (built Nov 24 2020 at 12:44:42)
Copyright (c)1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys.
The source code to pbrt (but *not* the book contents) is covered by the Apache 2.0 License.
See the file LICENSE.txt for the conditions of the license.
[ 19452.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 10
[ 51848.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 5
[ 34676.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 6
[ 29124.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 9
[ 15732.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 3
[ 26572.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 11
[ 39020.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 1
[ 26252.000 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:34 ] VERBOSE GPU CUDA driver 11.0, CUDA runtime 11.0
[ 19964.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 8
[ 43316.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 7
[ 52980.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 4
[ 25312.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 19
[ 28916.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 15
[ 17468.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 13
[ 30368.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 18
[ 10116.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 14
[ 11840.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 12
[ 31516.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 2
[ 35156.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 17
[ 42384.000 20201124.134326 H:\pbrt-v4\src\pbrt\util\parallel.cpp:113 ] VERBOSE Started execution in worker thread 16
[ 19452.010 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 51848.005 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 34676.006 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 29124.009 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 15732.003 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 26572.011 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 39020.001 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 26252.000 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:53 ] VERBOSE CUDA device 0 (GeForce RTX 2080 SUPER) with 8192 MiB, 48 SMs running at 1815 MHz with shader model 7.5
[ 19964.008 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 43316.007 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 52980.004 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 25312.019 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 28916.015 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 17468.013 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 30368.018 20201124.134326 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 10116.014 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 11840.012 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 31516.002 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 35156.017 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 42384.016 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:93 ] VERBOSE Selecting GPU device 0
[ 26252.000 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:66 ] VERBOSE Selecting GPU device 0
[ 26252.000 20201124.134327 H:/pbrt-v4/src/pbrt/gpu/init.cpp:82 ] VERBOSE Reset stack size to 8192
[ 26252.000 20201124.134327 H:\pbrt-v4\src\pbrt\parser.cpp:121 ] VERBOSE Creating Tokenizer for H:\pbrt-v4-scenes\lte-orb\lte-orb-silver.pbrt
[ 26252.000 20201124.134327 H:\pbrt-v4\src\pbrt\parser.cpp:121 ] VERBOSE Creating Tokenizer for H:\pbrt-v4-scenes\lte-orb\geometry\geometry.pbrt
[ 26252.000 20201124.134328 H:\pbrt-v4\src\pbrt/film.h:189 ] VERBOSE Created film with full resolution [ 1200, 1200 ], pixelBounds [ [ 0, 0 ] - [ 1200, 1200 ] ]
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/cameras.cpp:230 ] VERBOSE Camera min pos differentials: [ 0, 0, 0 ], [ 0, 0, 0 ]
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/cameras.cpp:232 ] VERBOSE Camera min dir differentials: [ -0.00043843873, 0.0001963973, -2.3841858e-7 ], [ -0.0001511816, -0.00045591593, -1.7881393e-7 ]
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:558 ] VERBOSE OptiX: KNOBS: All knobs on default.

[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:558 ] VERBOSE OptiX: DISK CACHE: Opened database: "C:\Users\Administrator\AppData\Local\NVIDIA\OptixCache\cache7.db"
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:558 ] VERBOSE OptiX: DISK CACHE:     Cache data size: "61.3 KiB"
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:601 ] VERBOSE Optix version 7.1.0 successfully initialized
[ 26252.000 20201124.134329 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:558 ] VERBOSE OptiX: DISKCACHE: Cache miss for key: ptx-2243550-key2243bbb10836ce22fa478a9c3657a098-sm_75-rtc1-drv452.06
[ 26252.000 20201124.134332 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:556 ] ERROR OptiX: COMPILE FEEDBACK: COMPILE ERROR: Module compilation failed
Info: Pipeline parameter "params" size is 80 bytes
Info: Module uses 3 payload values. Pipeline configuration: 3.
Info: Module uses 4 attribute values. Pipeline configuration: 4.
Info: Entry function "__raygen__findClosest" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 10 basic block(s), 692 instruction(s)
Info: Entry function "__miss__noop" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__closesthit__triangle" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 472 basic block(s), 9021 instruction(s)
Info: Entry function "__anyhit__triangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 275 basic block(s), 2992 instruction(s)
Info: Entry function "__anyhit__shadowTriangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 280 basic block(s), 3015 instruction(s)
Info: Entry function "__raygen__shadow" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 8 basic block(s), 168 instruction(s)
Info: Entry function "__miss__shadow" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__raygen__shadow_Tr" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 1005 basic block(s), 10315 instruction(s)
Info: Entry function "__miss__shadow_Tr" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__closesthit__quadric" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 655 basic block(s), 9490 instruction(s)
Info: Entry function "__anyhit__shadowQuadric" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 7 basic block(s), 27 instruction(s)
Info: Entry function "__intersection__quadric" with semantic type INTERSECTION has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2418 basic block(s), 23196 instruction(s)
Info: Entry function "__closesthit__bilinearPatch" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 266 basic block(s), 6534 instruction(s)
Info: Entry function "__anyhit__shadowBilinearPatch" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 7 basic block(s), 27 instruction(s)
Info: Entry function "__intersection__bilinearPatch" with semantic type INTERSECTION has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 100 basic block(s), 1471 instruction(s)
Info: Entry function "__raygen__randomHit" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 9 basic block(s), 482 instruction(s)
Info: Entry function "__anyhit__randomHitTriangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 244 basic block(s), 3146 instruction(s)
Info: Entry function "__anyhit__randomHitBilinearPatch" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 40 basic block(s), 740 instruction(s)
Info: Entry function "__anyhit__randomHitQuadric" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 427 basic block(s), 3541 instruction(s)
Info: 7 non-entry function(s) have 42 basic block(s), 616 instruction(s)

[ 26252.000 20201124.134332 H:/pbrt-v4/src/pbrt/gpu/accel.cpp:642 ] FATAL OptiX call optixModuleCreateFromPTX(optixContext, &moduleCompileOptions, &pipelineCompileOptions, ptxCode.c_str(), ptxCode.size(), log, &logSize, &optixModule) failed with code 7299: "Internal compiler error"
Logs: COMPILE ERROR: Module compilation failed
Info: Pipeline parameter "params" size is 80 bytes
Info: Module uses 3 payload values. Pipeline configuration: 3.
Info: Module uses 4 attribute values. Pipeline configuration: 4.
Info: Entry function "__raygen__findClosest" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 10 basic block(s), 692 instruction(s)
Info: Entry function "__miss__noop" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__closesthit__triangle" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 472 basic block(s), 9021 instruction(s)
Info: Entry function "__anyhit__triangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 275 basic block(s), 2992 instruction(s)
Info: Entry function "__anyhit__shadowTriangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 280 basic block(s), 3015 instruction(s)
Info: Entry function "__raygen__shadow" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 8 basic block(s), 168 instruction(s)
Info: Entry function "__miss__shadow" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__raygen__shadow_Tr" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 1005 basic block(s), 10315 instruction(s)
Info: Entry function "__miss__shadow_Tr" with semantic type MISS has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2 basic block(s), 3 instruction(s)
Info: Entry function "__closesthit__quadric" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 655 basic block(s), 9490 instruction(s)
Info: Entry function "__anyhit__shadowQuadric" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 7 basic block(s), 27 instruction(s)
Info: Entry function "__intersection__quadric" with semantic type INTERSECTION has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 2418 basic block(s), 23196 instruction(s)
Info: Entry function "__closesthit__bilinearPatch" with semantic type CLOSESTHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 266 basic block(s), 6534 instruction(s)
Info: Entry function "__anyhit__shadowBilinearPatch" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 7 basic block(s), 27 instruction(s)
Info: Entry function "__intersection__bilinearPatch" with semantic type INTERSECTION has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 100 basic block(s), 1471 instruction(s)
Info: Entry function "__raygen__randomHit" with semantic type RAYGEN has 1 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 9 basic block(s), 482 instruction(s)
Info: Entry function "__anyhit__randomHitTriangle" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 244 basic block(s), 3146 instruction(s)
Info: Entry function "__anyhit__randomHitBilinearPatch" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 40 basic block(s), 740 instruction(s)
Info: Entry function "__anyhit__randomHitQuadric" with semantic type ANYHIT has 0 trace call(s), 0 continuation callable call(s), 0 direct callable call(s), 427 basic block(s), 3541 instruction(s)
Info: 7 non-entry function(s) have 42 basic block(s), 616 instruction(s)

(H:\pbrt-v4\src\pbrt\util\check.cpp      )      0x00007FF6376E1910 - pbrt::PrintStackTrace + line 120
(H:\pbrt-v4\src\pbrt\util\check.cpp      )      0x00007FF6376E1CD0 - pbrt::CheckCallbackScope::Fail + line 148
(H:\pbrt-v4\src\pbrt\util\log.cpp        )      0x00007FF63729BF00 - pbrt::LogFatal + line 177
(H:\pbrt-v4\src\pbrt\util\log.h          )      0x00007FF6377E3880 - pbrt::LogFatal<int,char const *,char (&)[4096]> + line 112
(H:\pbrt-v4\src\pbrt\gpu\accel.cpp       )      0x00007FF6377D1500 - pbrt::GPUAccel::GPUAccel + line 638
(H:\pbrt-v4\src\pbrt\gpu\pathintegrator.cpp)    0x00007FF637352750 - pbrt::GPUPathIntegrator::GPUPathIntegrator + line 158
(H:\pbrt-v4\src\pbrt\gpu\pathintegrator.cpp)    0x00007FF637350F00 - pbrt::GPURender + line 552
(H:\pbrt-v4\src\pbrt\cmd\pbrt.cpp        )      0x00007FF637259910 - main + line 237
(D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl)       0x00007FF637BCC720 - invoke_main + line 79
(D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl)       0x00007FF637BCC4D0 - __scrt_common_main_seh + line 288
(D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl)       0x00007FF637BCC4B0 - __scrt_common_main + line 331
(D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp) 0x00007FF637BCC7E0 - mainCRTStartup + line 17
(unknown                                 )      0x00007FFFFBA97C10 - BaseThreadInitThunk
(unknown                                 )      0x00007FFFFC06D4B0 - RtlUserThreadStart

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (9 by maintainers)

Commits related to this issue

Most upvoted comments

The most recent optix launch error above should now be fixed (for a start…)

@safes don’t tell anyone, but sometime this Fall https://pbr-book.org/4ed-2021 might go somewhere interesting. Or maybe this Winter. 😃