question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about the deployment of "pyrender" package

See original GitHub issue

Hi, 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mks0601commented, Aug 25, 2020

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?

0reactions
mks0601commented, Jan 27, 2021

Got it. Thanks for such a valuable suggestion! I updated README.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Guide — pyrender 0.1.45 documentation
This package is available via pip . pip install pyrender. If you're on MacOS, you'll need to pre-install my fork of pyglet ,...
Read more >
Rendering problem · Issue #103 · mmatl/pyrender - GitHub
Actually I'm working on this Github repository which is using Pyrender. As I mentioned in issue of this repository that there is rendering ......
Read more >
Playing uploaded video with Django - Stack Overflow
Media files are uploaded files that change during the applications lifetime. They are not necessarily there at deployment but can be uploaded at ......
Read more >
Basic Installation — trimesh 3.17.1 documentation
Installing other packages adds functionality but is not required. ... off-screen support, etc) pyrender is designed to interoperate with trimesh objects.
Read more >
How To Put The Pyrender Show In The Pyqt Window - ADocLib
A set of Python utilities for rendering 3D meshes with OpenGL A 3-D triangular mesh package for Python. Questions. Jobs. Tags. Users. Badges....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found