Closed FilatovArtm closed 2 years ago
I also find this issue when running Nvdiffrast in A100 GPU, thanks for sharing the fix!! It works now!
Updates: It's still having issues when rendering in 3D, the depth is incorrect
I also find this issue when running Nvdiffrast in A100 GPU, thanks for sharing the fix!! It works now!
If you're referring to disabling depth test, please note that that changes logic: hidden surface removal won't work, you may obtain incorrect result.
Yes, you're right, it's still having issues in the 3D (the depth is incorrect)
@SteveJunGao I unfortunately cannot replicate the bug myself on any of the A100s I have access to, so I don't really have a way to proceed here. Are you able to check the VBIOS version of your A100, in case it's related? Are you seeing this consistently on all your A100s or just some of them? If you have both working and failing A100s, can you check if they have the same VBIOS version?
Yes, they have the same VBIOS. We found out that restarting GPU with nvidia-smi -r
resolves the issue.
Moreover, sometimes, during the training procedure we got CUDA_ILLEGAL_MEMORY_ADDRESS (we don't know what is the cause, we just use nvdiffrast in a straightforward manner, the same way examples demonstrate). After restarting the ipython kernel artefacts are coming back! So, somehow, they persist on the GPU until the next reset of the GPU and driver.
v0.2.8 includes a workaround that fixes this issue. Closing.
With some A100 we obtain empty pixels during rendering. The problem is reproduced only with A100 and it is random depending on the card. We checked V100, 3090Ti - they are doing great. The Nvidia forum contains similar issue (I also reported there) https://forums.developer.nvidia.com/t/nvidia-a100-opengl-drawing-issue/196672
We discovered that removing line NVDR_CHECK_GL_ERROR(glEnable(GL_DEPTH_TEST)); in rasterize.cpp fix the issue.
Driver version: 450.119.04
Code to reproduce the issue:
The results are the following:![5c28176637b6e89d7f8dd9865d07b79abe836c93](https://user-images.githubusercontent.com/9209889/148925178-bc2bc1bd-8b1f-4e66-9432-17052c7e91a3.png)