owl-project / NVISII

Apache License 2.0
327 stars 28 forks source link

terminate called after throwing an instance of 'std::system_error' #113

Closed kaixin-bai closed 3 years ago

kaixin-bai commented 3 years ago

System:

Ubuntu: 18.04
NVIDIA-SMI: 440.100      
CUDA Version: 10.2

Install:

pip3 uninstall nvisii

Error:

(ppd) kb@kb-TM1705:~/NVISII/examples$ python3 00.helloworld.py 
Optix call (optixInit()) failed with code 7801 (line 152)
terminate called after throwing an instance of 'std::system_error'
  what():  Resource deadlock avoided
Aborted (core dumped)
TontonTremblay commented 3 years ago

You have to install the right nvisii version with the drivers. As is you need r460 drivers.

Also make sure your NVIDIA drivers are up to date (default set at R460). We offer different nvisii packages for different NVIDIA driver versions. R435 pip install nvisii==1.x.70, r450 pip install nvisii==1.x.71, or R460 pip install nvisii==1.x.72 which is the default version. If you need more information about how to install NVIDIA drivers on Ubuntu please consult this.
kaixin-bai commented 3 years ago

I'll switch to another PC to test, thanks for the reply!

kaixin-bai commented 3 years ago

after update driver version to 470.57.02, everything works now.