Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

Invalid device ID [WINDOWS]

Open DavidSeyserGit opened this issue 1 year ago • 2 comments

This is the error raised when running the visualization and rendering example from the docs on Windows.

/miniconda3/envs/genesis/lib/python3.10/site-packages/genesis/ext/pyrender/platforms/egl.py", line 84, in get_device_by_index
    raise ValueError("Invalid device ID ({})".format(device_id, len(devices)))

DavidSeyserGit avatar Dec 19 '24 23:12 DavidSeyserGit

This is the error raised when running the visualization and rendering example from the docs on Windows.这是在Windows上从文档运行可视化和渲染示例时引发的错误。

/miniconda3/envs/genesis/lib/python3.10/site-packages/genesis/ext/pyrender/platforms/egl.py", line 84, in get_device_by_index
    raise ValueError("Invalid device ID ({})".format(device_id, len(devices)))

用的什么卡跑?

dsxksss avatar Dec 20 '24 09:12 dsxksss

Hi, thanks for your comment. I'm using a RTX3060 and a Ryzen5 5600. I get this error when running in GPU and CPU mode.

DavidSeyserGit avatar Dec 20 '24 10:12 DavidSeyserGit

Is this issue still occurring ? Do you have a reproduction script ? If so, I should be able to fix it!

duburcqa avatar Feb 25 '25 07:02 duburcqa

Is this issue still occurring ? Do you have a reproduction script ? If so, I should be able to fix it!

Hi I also encountered this issue on A100/A10, Ubuntu system. Would you mind offering your solution thx!

xsp-cz avatar Feb 26 '25 02:02 xsp-cz

@duburcqa I haven't looked into it anymore and switch to Linux.

DavidSeyserGit avatar Feb 26 '25 09:02 DavidSeyserGit

Fixed by https://github.com/Genesis-Embodied-AI/Genesis/issues/110

duburcqa avatar Feb 27 '25 13:02 duburcqa