Skip to content
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

Optix call 'optixInit()' failed #35

Closed
phelps-matthew opened this issue Jan 17, 2022 · 3 comments
Closed

Optix call 'optixInit()' failed #35

phelps-matthew opened this issue Jan 17, 2022 · 3 comments

Comments

@phelps-matthew
Copy link

It appears that I am able to build the source successfully, but upon running ./build/testbed --scene data/nerf/fox I receive: Uncaught exception: Optix call 'optixInit()' failed.

Do you know of any manners by which I can test/debug the working condition of Optix itself? I am having some difficulty finding this information online. Much appreciated, thank you!

( Running Tesla V100, export OptiX_INSTALL_DIR=/usr/local/NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64 )

@phelps-matthew
Copy link
Author

phelps-matthew commented Jan 17, 2022

I believe this arises from the driver compatibility for OptiX. From https://developer.nvidia.com/designworks/optix/download it is stated: 'Requires NVIDIA R495.89 driver or newer'.

Hence, for TCNN_CUDA_ARCHITECTURES <= 70, I am going to assume that one needs to run ngp in headless mode, via scripts/run.py (no gui default). However, it looks like this is just a wrapper for testbed, and thus the 'optixInit()' issue still prevents from working.

@phelps-matthew
Copy link
Author

Using OptiX-SDK-7.1.0 (compatible for R450+ NVIDIA drivers) solved my issue. Cheers!

@Tom94
Copy link
Collaborator

Tom94 commented Jan 18, 2022

Glad to hear you fixed it!

This is still great to know -- OptiX shouldn't even be initialized as long as Testbed isn't run in SDF mode. Plus, a failure to initialize should just fall back to non-OptiX behavior (rather than crashing). I'll take this issue as motivation to fix these things.

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

No branches or pull requests

2 participants