rnd-team-dev / plotoptix

Data visualisation and ray tracing in Python based on OptiX 7.7 framework.
https://rnd.team/plotoptix
Other
499 stars 26 forks source link

OptiX initialization failed. #26

Closed rajashekhargithubb closed 2 years ago

rajashekhargithubb commented 2 years ago

` CUDAOutputBuffer destructor caught exception: CUDA call (cudaFreeHost(reinterpret_cast<void*>(m_host_zcopy_pixels)) ) failed with error: 'the provided PTX was compiled with an unsupported toolchain.' (c:\users\sulej\documents\visual studio 2017\projects\optix\cppsharpoptix7\cudaoutputbuffer.h:87)

CUDAOutputBuffer destructor caught exception: CUDA call (cudaFreeHost(reinterpret_cast<void*>(m_host_zcopy_pixels)) ) failed with error: 'the provided PTX was compiled with an unsupported toolchain.' (c:\users\sulej\documents\visual studio 2017\projects\optix\cppsharpoptix7\cudaoutputbuffer.h:87)

CUDAOutputBuffer destructor caught exception: CUDA call (cudaFreeHost(reinterpret_cast<void*>(m_host_zcopy_pixels)) ) failed with error: 'the provided PTX was compiled with an unsupported toolchain.' (c:\users\sulej\documents\visual studio 2017\projects\optix\cppsharpoptix7\cudaoutputbuffer.h:87)

CUDAOutputBuffer destructor caught exception: CUDA call (cudaFreeHost(reinterpret_cast<void*>(m_host_zcopy_pixels)) ) failed with error: 'the provided PTX was compiled with an unsupported toolchain.' (c:\users\sulej\documents\visual studio 2017\projects\optix\cppsharpoptix7\cudaoutputbuffer.h:87)

CUDAOutputBuffer destructor caught exception: CUDA call (cudaFreeHost(reinterpret_cast<void*>(m_host_zcopy_pixels)) ) failed with error: 'the provided PTX was compiled with an unsupported toolchain.' (c:\users\sulej\documents\visual studio 2017\projects\optix\cppsharpoptix7\cudaoutputbuffer.h:87)

[ERROR] (MainThread) Initial setup failed, see errors above. [ERROR] (MainThread) Geometry setup failed. [ERROR] (MainThread) Geometry setup failed. [ERROR] (MainThread) Geometry setup failed. [Py-C# interop] OptiX initialization failed. Unknown OptixResult code: Compatible device(s) not found / OptiX not initialized. PathTracer destructor failed. [ERROR] (MainThread) Camera setup failed. [ERROR] (MainThread) Current camera is not set. [ERROR] (MainThread) Need 3D coordinates for the new light. [ERROR] (MainThread) Camera setup failed. Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\rajas\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner self.run() File "C:\work\personal\plotoptix\venv\lib\site-packages\plotoptix\npoptix.py", line 390, in run assert self._is_scene_created, "Scene is not ready, see initialization messages." AssertionError: Scene is not ready, see initialization messages. ` Os Windows 10

image

robertsulej commented 2 years ago

Please, use NVIDIA driver >= r465.

rajashekhargithubb commented 2 years ago

@robertsulej Thanks It's working fine, If I use NVIDIA driver >=r465

Bortrex commented 8 months ago

What about linux ? same error with driver=525.147.05 and cuda 12

robertsulej commented 8 months ago

Please, use the newest driver. 525 is now below requirements.