Closed adevra closed 2 years ago
OpenGL/Cuda interop is unfortunately not supported in WSL2. To use the Cuda-based rasterizer in nvdiffrast instead of OpenGL, you can replace RasterizeGLContext
with RasterizeCudaContext
here in Deep3DFaceRecon_pytorch sources.
OpenGL/Cuda interop is unfortunately not supported in WSL2. To use the Cuda-based rasterizer in nvdiffrast instead of OpenGL, you can replace
RasterizeGLContext
withRasterizeCudaContext
here in Deep3DFaceRecon_pytorch sources.
Works perfectly now. I think Deep3DFaceRecon has to update it like this. Thanks a lot!
Hi, I've been trying to build Deep3DFaceRecon in WSL2 Ubuntu 20.04 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 515.65.01 Driver Version: 516.94 CUDA Version: 11.7 | |-------------------------------+----------------------+----------------------+
I get this error and nothing come out of my troubleshooting efforts, I wonder if there is an issue with WSL2 Ubuntu and nvdiffrast
I can run triangle.py with cuda just fine, but with --opengl its the same error.
Thanks in advance