ADOP
ADOP copied to clipboard
Will Windows support be added, if so, when?
Or failing that - I'd be interested to know if it's possible to run this under WSL with the recent support for direct GPU access.
I'm currently on an internship without access to a suitable windows machine. I will try it once I'm back in January.
Or failing that - I'd be interested to know if it's possible to run this under WSL with the recent support for direct GPU access.
Hello! I have tried in WSL2 with X server GUI, but unsuccessed.
There is some render with 3D view.
But neuro render "F2" closes app.
Assertion 'cudaGraphicsGLRegisterImage(&graphic_resource, gl_buffer, gl_target, cudaGraphicsRegisterFlagsSurfaceLoadStore) == cudaSuccess' failed! File: /home/robot/neuro_render/ADOP/External/saiga/src/saiga/cuda/interop.h:72 Function: void Saiga::CUDA::Interop::initImage(unsigned int, gl::GLenum) Message: OS call failed or operation not supported on this OS Aborted
My System:
Windows 10 ver 21H2 19044.1288
WSL2 Ubuntu 20.04 ver 5.10.60.1-microsoft-standard-WSL2
Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz 2.40 GHz
16 GB RAM
x64
GeForce GTX860M
Nvidia Driver 510.06
WSL2 CUDA ver 11.4
Does the libtorch/cuda stuff work on WSL? Can you try executing the test_loss and adop_train please?
If this works I can add an option to compile the viewer without CUDA/GL interop. This might reduce performance a little bit, but at least it displays an image.
In theory WSL should work with CUDA: https://docs.nvidia.com/cuda/wsl-user-guide/index.html
I think this works on Windows 11 without needing to run a preview build. Sadly I don't have either an preview build of Windows or a Windows 11 machine available right now as I decided to wipe a box to install Linux normally.
I tried on WSL2 for Windows 10 and could not get it working. The compile works fine until make -j10 where nothing happens. Works great on Ubuntu however.
I tried on WSL2 too. And it is fully compilable, but doesn't work and doesn't render anything because of an error with syscalls in windows I think.
So I tried it in my Arch and it is doesn't compile at all.
So even if it is on Linux, it is doesn't working((
@metya What is the issue on Arch? Did you follow the install scripts?
So I tried it in my Arch and it is doesn't compile at all.
So even if it is on Linux, it is doesn't working((
That is not true, I have managed to compile on latest Arch after some tinkering. Some notable changes include:
- Install
cuda-11.1andgcc-9on your system (because in the AUR there is nocuda-11.2and I findcuda-11.1to work just fine withcudatoolkit=11.2), and prepend/opt/cuda-11.1to yourCUDA_PATHand some relevant paths to yourPATH(refer to your/etc/profile.d/cuda.sh) - Install
freeimagein your conda environment (this seems to be added since commit ec1432e) - Compile
srtwith the same environment as PyTorch and ADOP, otherwise compilation of ADOP fails at the final linking stage. You could first add https://github.com/Haivision/srt.git to submodules, then create ainstall_srt.shsimilar to theinstall_pytorch.shprovided in the repo.
I'm not here to give support, but you should certainly try harder, especially when you decided to use Arch.
@blurgyy Thanks for the short Arch guide. May I ask why you need a system-wide install of CUDA? Shouldn't the cuda toolkit which is installed in the conda environment be enough?
May I ask why you need a system-wide install of CUDA? Shouldn't the cuda toolkit which is installed in the conda environment be enough?
Oh I think I just tried to match the environment given in the repo in the first place, did not try to build with latest CUDA (11.5 on Arch). You are probably right! (Also, I just checked that I also created my environment with cudatoolkit=11.1 to match a system CUDA version 11.1)
@darglein Yes. I completely follow the install instructions and scripts row by row. since it is not very related to this issue, I create a new one.
I will try instruction from @blurgyy and if it doesn't help, I'll create a new issue and will link it here.
@blurgyy thanks! I will try it! I've installed freeimage in my conda env. But I've realized that I have cuda-11.4.2-1 in my arch. And didn't compile srt by own.
So I tried what said @blurgyy and it didn't work. I described details here #27
i can share my screen. i have win11, we can see if it works