NVIDIA / gvdb-voxels

Sparse volume compute and rendering on NVIDIA GPUs
Other
672 stars 144 forks source link

GVDB CUDA ERROR: the provided PTX was compiled with an unsupported toolchain #120

Closed meherniger24 closed 3 years ago

meherniger24 commented 3 years ago

This error just hit out of nowhere. I was perfectly using gImportVDB module and other modules. Then, yesterday it started showing me this error when I run the gImportVDB module (and also for any other module).

Debug Error!

C:.....\gImportVDB.exe abort() has been called.

And showing this GVDB CUDA Error:

GVDB CUDA ERROR: Launch status: the provided PTX was compiled with an unsupported toolchain. Kernel status: no error Caller: VolumeGVDB::LoadFunction Call: cuModuleLoad Args: cuda_gvdb_module.ptx Generating assert so you can examine call stack. Assertion failed: 0, file C:\gvdb-2\gvdb-voxels2\source\gvdb_library\src\gvdb_allocator.cpp, line 1027

Any idea why this is happening? This is my configuration:

nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_May__3_19:41:42_Pacific_Daylight_Time_2021
Cuda compilation tools, release 11.3, V11.3.109
Build cuda_11.3.r11.3/compiler.29920130_0
NBickford-NV commented 3 years ago

Hi meherniger24! Is it possible your system might have changed its graphics driver to an earlier version? CUDA 11.3 requires driver version at least 465.89 (on the compatibility platform it can go back to driver 456.38 though - see this table). This can be checked in the NVIDIA Control Panel.

The CUDA SDK installs the needed driver version by default, but if your system changed to an earlier version, you might get this error, and the solution is to update your drivers to a newer version. (See Robert Crovella's answer to a similar issue here.)

Thanks!

meherniger24 commented 3 years ago

hey. thanks for helping. The problem is solved.