Closed YouJiacheng closed 1 year ago
After I reinstall Nvidia Driver with OpenGL Driver the problem is solved.
And actually only conda install -c conda-forge glew
is needed, mesalib
(for OSMesa) and glfw
(for onscreen GPU rendering) have nothing to do with headless GPU rendering. Also, no CPATH
need to be set.
Describe the bug Failed to initialize OpenGL with message "Could not get EGL display"
To Reproduce
Expected behavior Successfully rendering offscreen
Error Messages
Desktop (please complete the following information):
Environment
ldd cymj_2.1.2.14_310_linuxgpuextensionbuilder_310.so
Additional context
cymj_2.1.2.14_310_linuxgpuextensionbuilder_310.so
is generated.eglshim
reports there are 6 GPUs.sim.render(64, 64, camera_name="cam0", device_id=device_id)
, butdevice_id
from 0 to 5 give the same error.