-
Notifications
You must be signed in to change notification settings - Fork 551
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
[BUG]egl:ValueError: Invalid device ID (0) #267
Comments
ok, It seems that there has some elusive bug with the egl. According to the docs of pyrender, we can use osmesa instead of egl.
or then
if get this error:
change |
I met this bug
Traceback (most recent call last):
File "/opt/data/private/VIBE-master/demo.py", line 416, in
main(args)
File "/opt/data/private/VIBE-master/demo.py", line 278, in main
renderer = Renderer(resolution=(orig_width, orig_height), orig_img=True, wireframe=args.wireframe)
File "/opt/data/private/VIBE-master/lib/utils/renderer.py", line 60, in init
point_size=1.0
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/offscreen.py", line 122, in _create
egl_device = egl.get_device_by_index(device_id)
File "/opt/tools/anaconda3/envs/vibe-env/lib/python3.7/site-packages/pyrender/platforms/egl.py", line 83, in get_device_by_index
raise ValueError('Invalid device ID ({})'.format(device_id, len(devices)))
ValueError: Invalid device ID (0)
The text was updated successfully, but these errors were encountered: