NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.35k stars 144 forks source link

run sample failed #41

Closed ForrestPi closed 3 years ago

ForrestPi commented 3 years ago

python cube.py --resolution 16 --display-interval 10

got error

[F glutil.cpp:338] eglInitialize() failed Aborted (core dumped)

I have installed "apt-get install libegl1-mesa-dev" and run the demo in linux server with nvidia-gpu

s-laine commented 3 years ago

Have you tried running the sample in the provided Docker environment? EGL is tricky to set up correctly, so you should first try running in Docker. Assuming that works, you can then use the environment as a reference for manual setup.