-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to initialize an OpenGL 3+ context #219
Comments
|
|
I hava the same question.Did you have solved the questions? |
I haven't solve that yet but I got around it. If you disable the viewer you can dump the video to disk without using the viewer. import genesis as gs scene = gs.Scene(show_viewer=False) plane = scene.add_entity( cam = scene.add_camera(res=(640, 480), pos = (0,3,2), lookat=(0,0,0.5), fov=30, GUI=False) for i in range(360): |
runtime error while running hello_genesis.py:
[Genesis] [21:53:58] [INFO] ╭─────────────────────────────────────────────────────────────────────────────────────╮
[Genesis] [21:53:58] [INFO] │┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉ Genesis ┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉│
[Genesis] [21:53:58] [INFO] ╰─────────────────────────────────────────────────────────────────────────────────────╯
[Genesis] [21:53:58] [INFO] Running on [11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz] with backend gs.cpu. Device memory: 31.06 GB.
[Genesis] [21:53:58] [INFO] 🚀 Genesis initialized. 🔖 version: 0.2.0, 🌱 seed: None, 📏 precision: '32', 🐛 debug: False, 🎨 theme: 'dark'.
[Genesis] [21:53:58] [INFO] Scene created.
[Genesis] [21:53:58] [INFO] Adding <gs.RigidEntity>. idx: 0, uid: <51f6c52>, morph: <gs.morphs.Plane>, material: <gs.materials.Rigid>.
[Genesis] [21:53:58] [INFO] Adding <gs.RigidEntity>. idx: 1, uid: <6ab75b7>, morph: <gs.morphs.MJCF(file='/home/gentex/miniconda3/envs/g5/lib/python3.10/site-packages/genesis/assets/xml/franka_emika_panda/panda.xml')>, material: <gs.materials.Rigid>.
[Genesis] [21:53:59] [INFO] Building scene ...
[Genesis] [21:54:02] [INFO] Compiling simulation kernels...
[Genesis] [21:54:06] [INFO] Building visualizer...
Exception in thread Thread-2 (_init_and_start_app):
Traceback (most recent call last):
File "/home/gentex/miniconda3/envs/g5/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/gentex/miniconda3/envs/g5/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/gentex/miniconda3/envs/g5/lib/python3.10/site-packages/genesis/ext/pyrender/viewer.py", line 1134, in _init_and_start_app
raise ValueError("Unable to initialize an OpenGL 3+ context")
ValueError: Unable to initialize an OpenGL 3+ context
The text was updated successfully, but these errors were encountered: