Question about the deployment of "pyrender" package
See original GitHub issueHi, Gyeongsik, I read your I2L-MeshNet paper recently. This work is a really great and interesting work, and I hope to follow this work in the future.
However, when I tried to deploy the “pyrender” package in our GPU server, I met a problem. Could you please help me?
When I tried to run an easy commond: import pyrender;pyrender.OffscreenRenderer(1,2,1)
, I got the error
File “/home/username/anaconda3/lib/python3.7/site-packages/pyrender/offscreen.py”, line 149, in _create self._platform.init_context() File “/home/username/anaconda3/lib/python3.7/site-packages/pyrender/platforms/pyglet_platform.py”, line 45, in init_context ‘internal error message was “{}”’.format(e) ValueError: Failed to initialize Pyglet window with an OpenGL >= 3+ context. If you’re logged in via SSH, ensure that you’re running your script with vglrun (i.e. VirtualGL). The internal error message was “Cannot connect to “None””
The GPU server is a remote machine and we log on it with SSH usually. I tried to follow the instruction in "pyrender“ to build osmesa from source code but failed.
I’m looking forward to know if you met this problem ever and how did you solve it? Could you please give me some suggestions?
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Hi, thanks for having interest in my work 😃 I also met this kind of error when I run my demo on GPU server via SSH, so I just ran the demo on my local machine. Maybe you should use x server for this error?
Got it. Thanks for such a valuable suggestion! I updated README.