-
Notifications
You must be signed in to change notification settings - Fork 53
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
Do we have the linux GPU version of AIDenoiser #4
Comments
Hey Bing, In the mean time however, if you already have such an environment setup on your linux machine, I would happily give some advice on how to get it to build yourself if thats something you would be interested in? Cheers, |
Yes, I already have ubuntu installed on my laptop. Could you please give me some instuctions to build the AI denoiser on ubuntu? Appreciated for your kind help! My email addr is [email protected] if it's not convinent to put up on github. |
Great, I'll likely ping you some time next week if thats ok? As I'm on holiday until Tuesday :) |
I am also working on a linux build here for CENTOS 7. I'll let you know how it goes. Great work on the denoiser, I have run it in windows and it does a fantastic job. |
Tested on Linux Ubuntu 16.04, but i have NVIDIA-OptiX-SDK-5.1.0-linux64 installed locally and CUDA under /usr/local/cuda in main.cpp changed:
to
in contrib/optix created directory lib this is edited SConstruct:
-Wl,-rpath=. needed to search local directory for libraries when running Denoiser build, then copy libraries from sdk to bin directory, or Denoiser to SDK SDK-precompiled-samples ./Denoiser -i test.png -o test_output.png Launching Nvidia AI Denoiser command line app v2.0 Thanks Declan :) |
@RicardasSim This is great, thanks for the contribution! :) |
can someone just put a precompiled linux binary up somewhere? Would you be allowed to distribute that? (an aur would be great of course ;)) |
@RicardasSim Thanks! I tested it under Fedora 29 and it also worked fine. |
@RicardasSim @jasperges Running this in Ubuntu 18.04.1 I keep getting the error "[OptiX]: std::exception" whenever I try to do the -i -o commands, did y'all run into this issue and if so how did you get over it? |
@JSMOZART I didn't have this problem. Did you compile it as RicardasSim showed? At the end of the week I can check on my work computer with proper GPU and Linux. |
@JSMOZART Do you have the correct nvidia driver installed? It requires 390.xx or higher |
Ubuntu 18.04.1 LTS builded the same way, only replaced includes with new ones, from OptiX-SDK-5.1.1 also you can change include and lib path in SConstruct to proper OptiX-SDK-5.1.1 directories but then ..... Input image: test.png first solution was to set LD_LIBRARY_PATH variable open console, run command: Created by Declan Russell (25/12/2017 ~ Merry Christmas!) also works if to copy libraries from /opt/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64 or make symlinks: liboptix_denoiser.so to /usr/local/lib wthout setting LD_LIBRARY_PATH run ldconfig maybe there is a better solution, for example to set LD_LIBRARY_PATH to OptixSDK globally, in /etc/ld.so.conf.d, but I can't do that, because I have other versions of libraries with the same names, for example newer cudnn, so can't test it |
simple script to run in the same directory as Denoiser create script (change path to OptixSDK libs if needed) cat > denoiser.sh << "EOF" export LD_LIBRARY_PATH=/opt/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64:$LD_LIBRARY_PATH ./Denoiser "$@" EOF make it executable chmod +x denoiser.sh ./denoiser.sh -i test.png -o test_o.png Launching Nvidia AI Denoiser command line app v2.0 |
from Optix SDK Version 6.0.0 Release Notes cuda toolkit 10.1.105 released with nvidia drivers 418.39 now the denoiser also works on ubuntu with optix sdk 6.0.0 |
Thanks all, i just did a quick build and test, updated the plugin a little, amazing results: My system/ tested Branch here if it helps anyone: |
I'm currently trying to get it working on Ubuntu 20.04. Here my ordeal so far is documented: grantwilk/d-noise#5 @stevefoy @RicardasSim @jasperges Do you know how to get past the cmake part? I'm completely new to it and the Cmakelists.txt is huge :-( |
Man I wish I could get this compiled. For the SDK, gives me there errors Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR) Configuring incomplete, errors occurred! Is there a binary of the SDK libs? I'm on Centos8 |
hello @DeclanRussell GeForce RTX 3060 I also fix the bug
to
|
Thanks for the efforts in the CMakeFile @pigLoveRabbit520. Thats greatly appreciated. I've never gotten around to getting things working on linux as I don't have a linux machine to hand. I would advise people to check out the |
Hi sir,
I wonder do we have the linux GPU version of AIDenoiser? I am using Linux most of the time,but now I only have the .dll files.
Best regards.
Bing
The text was updated successfully, but these errors were encountered: