Closed srama2512 closed 5 years ago
Any reason not to use the docker? In general I think it's going to be way easier to set up.
The servers I use do not support docker, unfortunately. Also, I don't think there is an X-server running. I assumed that EGL rendering is headless (like OSMESA). However, the source code seems to require a display. Could that be the issue?
The EGL rendering option will not need an X-server. We have tested that many times. I suspect this is related to your OpenGL / EGL install. There are some minimal EGL examples you could try, e.g. https://devblogs.nvidia.com/egl-eye-opengl-visualization-without-x-server/, it these can't run either then it's probably a missing library or something. You can check some of the dependencies in the readme and the dockerfile.
I am unable to resolve this issue at the moment. I am precomputing the depth and using it with the v0.1 since that's easier for the time being. I'll close this for now. Thank you!
Arriving a bit late!
Working on remote server and running a Flask app for showing images, importing matplotlib
this way for showing images succeed for me:
import matplotlib
matplotlib.use('WebAgg')
import matplotlib.pyplot as plt
I solve it by uninstall and install the Nvidia driver
sudo apt install xvfb Xvfb :99 -screen 0 1024x768x24 & export DISPLAY=:99
I was able to successfully perform a local installation of MatterSim without docker. However, running
driver.py
threw the following error:My system configurations are as follows: