nvdiffrec
nvdiffrec copied to clipboard
‘eglInitialize() failed’
After I solved the problem this way, I encountered a new one below:
I work on Linux, RTX6000/RTX3090(both failed). I don't know how this problem is caused.
Ubuntu = 18.04
GCC = 7.5.0
CUDA = 11.3
Pytorch = 1.12
Hi,
This error is related to nvdiffrast (which is a dependency), so i would recommend first installing and trying to run an example from nvdiffrast to see if that works. If the error persists they may know more about how to solve it. https://nvlabs.github.io/nvdiffrast/#linux
The error in question is triggered when trying to initialize OpenGL ES: https://github.com/NVlabs/nvdiffrast/blob/a4e7a4db7e09695b4efc7641cc6b044ef706f953/nvdiffrast/common/glutil.cpp#L337. It's likely that this is due to missing libary, library version conflict or driver conflict, but I've never seen it before so it's hard to say.
Hi, I'm not sure if this solves the issue but I faced the same issue earlier and I solved it by copying nvdiffrec/docker/10_nvidia.json
to /usr/share/glvnd/egl_vendor.d
.
Hi, I'm not sure if this solves the issue but I faced the same issue earlier and I solved it by copying
nvdiffrec/docker/10_nvidia.json
to/usr/share/glvnd/egl_vendor.d
.
This solved my exact same issue too.