-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pbrt_exe (Release) crashing #439
Comments
windows 10, cuda 12.6 Update 1, VS 2022 Community with latest update, optix 7.3/8.0, gpu:GTX 1070(sm_60) - compiling without errors, render goes normal, but output image is completely black |
@vincentsiu, thank you for pointing to the post, I missed it. Compilation and rendering are now working for me with setup:
But optix denoising fails with the message:
@kyamant, it seems that there is some problem with the light source in the killeroo-simple scene. I changed it to infinite light and scene rendering was done without crashing |
@NicNel : I just pulled from [email protected]:mmp/pbrt-v4-scenes.git. Did not pick up a new killeroo-simple. Why would it cause to fail with release but not with debug version anyway? |
@kyamant, I didn't change the scene file in the repository. I don't know why this happens, maybe there are some bugs. Try to replace text in killeroo-simple.pbrt file with this:
|
@NicNel : Your fix did not solve anything. I am including my original text. The problem is with Optix compilation! not fixable by your scene file!
|
@kyamant, ok, adding extra gpu synchronization inside render loop fix issue for me. Try to add this code in pbrt-v4/src/pbrt/wavefront/integrator.cpp and rebuild the solution
|
@NicNel : The fix you've provided made the problem go away. Could you make your fix official please? |
@mmp, what do you think about this fix, is it acceptable? Can I or someone else make a pull request? |
Is there any theory about what this is fixing why is it necessary? If it's just a random change that makes the bug go away then it doesn't make sense to merge it without understanding what the bug actually is. (I am also surprised that it would fix a bug with PTX parsing.) |
On my side, crashing goes with the message:
In util.cpp line 148: |
On my machine (RTX 3070ti) the Release version crashes but Debug works fine; which may point to a speed/synchronization issue. |
This is in addition to the issues reported in #429 !
Build fails for VS 17.11.2 with CUDA 12.6, --allow-unsupported-compiler does not help.
Using platform toolset Vısual Studio 2019 and CUDA 11.7 build succeeds.
Debug runs OK with arguments: --gpu --display-server localhost:14160 D:\Personal\Projects\ProjPhysicallyBasedRendering\pbrt-v4-scenes\killeroos\killeroo-simple.pbrt --spp 256
Release fails with the same arguments:
The text was updated successfully, but these errors were encountered: