NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.31k stars 139 forks source link

Cuda error: 304[cudaGraphicsGLRegisterBuffer(&s.cudaPosBuffer, s.glPosBuffer, cudaGraphicsRegisterFlagsWriteDiscard);] #87

Closed JasonLSC closed 1 year ago

JasonLSC commented 1 year ago

Hi, I come across an error Cuda error: 304[cudaGraphicsGLRegisterBuffer(&s.cudaPosBuffer, s.glPosBuffer, cudaGraphicsRegisterFlagsWriteDiscard);] Maybe it is related to my OpenGL environment?

s-laine commented 1 year ago

Most likely. Are you using the supplied Docker environment?

JasonLSC commented 1 year ago

Not yet. Maybe I will try the Docker environment later.

s-laine commented 1 year ago

If you continue to have OpenGL problems, you can now try the CUDA-based rasterizer included in v0.3.0. Closing.