Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Program crash after scene loading #2

Open
matmuze opened this issue Apr 14, 2017 · 3 comments
Open

Program crash after scene loading #2

matmuze opened this issue Apr 14, 2017 · 3 comments

Comments

@matmuze
Copy link

matmuze commented Apr 14, 2017

I was not able to run the sample program as it crashes at the beginning after completing the loading of a mesh at the fuction RtpModelUpdate in optix_prime.h.

I used VS2013 and CUDA8 on windows 10 with creators update.

(I have never tried with an other config than that before)

The sample is complied in x64 and I had problem in both debug and release.

Also I tried with different models and formats with no success.

@dylanlacewell
Copy link
Contributor

Hi. What version of OptiX were you using? I'll try to reproduce. I haven't tested this sample yet with CUDA 8.

@matmuze
Copy link
Author

matmuze commented Apr 17, 2017 via email

@dylanlacewell
Copy link
Contributor

Your (Pascal?) GPU is probably too new for the OptiX 3.9.0 binaries in nvpro-samples. You can fix this by downloading the newer OptiX 4.0.2 SDK separately from here (free registration required):

https://developer.nvidia.com/designworks/optix/download

Then you'll need to reconfigure CMake to ignore your local "shared_optix" directory and use 4.0.2 instead. One way is to remove or rename the entire "shared_optix" directory, then delete your CMake cache, then set the OPTIX_LOCATION variable to your 4.0.2 install path and press Configure in the CMake gui. If the path is correct then the other CMake variables like OPTIX_INCLUDE_DIR should be filled in automatically after the configure step. Then press Generate to save out new VS2013 solution files.

Please let me know if this fixes things. I should probably change this sample to require a separate download of OptiX, as I don't really want to keep updating the OptiX binaries on github.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants