pyrender
pyrender copied to clipboard
ValueError: Invalid device ID (0)
Does anybody meet this bug when using pyrender? I only have one GPU whose number is 0, I don't know why it will tell me an Invalid device ID.
File "/home/dande/anaconda3/envs/pymafx/lib/python3.8/site-packages/pyrender/offscreen.py", line 31, in __init__
self._create()
File "/home/dande/anaconda3/envs/pymafx/lib/python3.8/site-packages/pyrender/offscreen.py", line 137, in _create
egl_device = egl.get_device_by_index(device_id)
File "/home/dande/anaconda3/envs/pymafx/lib/python3.8/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)
If anybody meets this bug too, please tell me how to handle it!!
Having the same issue
Having the same issue
https://github.com/HongwenZhang/PyMAF/issues/79
Having the same issue
Actually, I need GPU support + offscreen rendering, and osmesa
does not support this feature, does it?