Closed prasoongoyal closed 4 years ago
It could be the display problem. Assign right display to the user might solve.
Thanks for the response! To clarify, does this need an X server, or can I use the GPU for rendering without X as well (I'm on a server that doesn't allow running X).
afaik Xorg is needed and you need to configure it. I'm not sure about whether one should use GPU or CPU on the server.
Thanks. I guess leave this open for a bit to see if someone else might be able to add something about using GPU for rendering without X.
I have the same issue, trying to run Pyrep on Google Cloud for faster Rendering
You can now do GPU rendering: https://github.com/stepjam/PyRep/blob/master/README.md#running-headless
I can run an example script using xvfb:
xvfb-run python examples/example_baxter_pick_and_pass.py
, but this doesn't use the GPU for rendering (as expected).When I try running it without xvfb --
python examples/example_baxter_pick_and_pass.py
, I get the following error:Not sure how to fix this.