lzqsd / OptixRenderer

An optix-based GPU path tracer
MIT License
86 stars 33 forks source link

Fail to load Optix Liabrary #3

Open ypwang61 opened 2 years ago

ypwang61 commented 2 years ago

I want to use your OptixRender program and quote your paper in the research process, but we met some problems thus we ask you for help. I used the lab server for rendering and the configuration is as follows: RTX 2080 Ubuntu 16.04 (I run program in our lab's Headless server so I'm not sure whether CAN I update the Ubuntu environment) Driver Version: 460.91.03 CUDA version: 11.2 Optix: 6.5.0 (I found that Optix 7+ don't have the liboptixu. So, Thus I can not use Optix 7.4.0 to make with optix_advanced_example) But after generating OptixRender, using the command line to run the file, I get an error message:

Terminate called after throwing an instance of 'optix::Exception' what(): Failed to load OptiX library Aborted (core dumped)

I would like to know what environment the program should be running with, and if there is anything wrong with my operation?

ken2576 commented 2 years ago

It seems that it can only run on Optix 5.1.1. Anything newer could produce the error.

bring728 commented 2 years ago

I have the same problem in docker (ubunu18.04, cuda 10.2) but after changing the optix library version to 5.1.1 the problem was solved! thank you!

wl0521 commented 2 years ago

@bring728 I saw you have studied many NeRF models, that is also my research direction. Would you please add wechat or mail to contact more convenient.. my mail address wl0521@outlook.com

wl0521 commented 2 years ago

After two days, I build Optix Library successfully. Plateform: Ubuntu 1804 Driver Version: 470 CUDA:10.0 Optix: 6.0.0 GPU:RTX 2080

yuhan2615 commented 2 years ago

I build Optix Library successfully in docker container (FROM kunalg106/cuda102 as the author wrote in dockerfile) docker Plateform: Ubuntu 1804 Driver Version: 470.42.01 docker CUDA version: 10.2(the cuda version in the host machine is 11.4, and it was supposed to show 'CUDA Version: 10.2' but it still shows 'CUDA Version: 11.4' in docker container when using the command 'nvidia-smi'. I don't know why) Optix: 5.1.1 GPU: Tesla P100