Python version (if applicable): [e.g. Python 3.10]
SAPIEN version (pip freeze | grep sapien): sapien==2.2.2
Environment: [Desktop]
Describe the bug
When I try to run python -m sapien.example.hello_world, the error comes as followling:
Traceback (most recent call last):
File "/home/axe/miniconda3/envs/centergrasp_env/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/axe/miniconda3/envs/centergrasp_env/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/axe/miniconda3/envs/centergrasp_env/lib/python3.10/site-packages/sapien/example/hello_world.py", line 56, in <module>
main()
File "/home/axe/miniconda3/envs/centergrasp_env/lib/python3.10/site-packages/sapien/example/hello_world.py", line 19, in main
renderer = sapien.SapienRenderer() # Create a renderer
RuntimeError: createInstance: No Vulkan extensions found for window surface creation (hint: set VK_ICD_FILENAMES to `locate icd.json`).
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Is there a problem with my nvidia driver installation? The system also cannot find the libGLX_nvidia.so.0 file. Is there any other solution besides downgrading and reinstalling the nvidia driver? I am worried that it will bring other system-related package problems. My computer configuration is ubuntu20.04, NVIDIA GeForce RTX 4070. The nvidia Driver Version is 550.76 while the cuda version is 11.8.
I use locate icd.json to find the icd.json, receive that in terminal.
I use sudo apt install libvulkan1 libvulkan-dev to install the vulkan driver, use vulkaninfo to get some detail info of Vulkan, but all these did not solve the problem. There may be some useful infomation in here.
Thanks for your help!
System:
Describe the bug When I try to run
python -m sapien.example.hello_world
, the error comes as followling:Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Is there a problem with my nvidia driver installation? The system also cannot find the libGLX_nvidia.so.0 file. Is there any other solution besides downgrading and reinstalling the nvidia driver? I am worried that it will bring other system-related package problems. My computer configuration is ubuntu20.04, NVIDIA GeForce RTX 4070. The nvidia Driver Version is 550.76 while the cuda version is 11.8. I use locate icd.json to find the icd.json, receive that in terminal.
I use sudo apt install libvulkan1 libvulkan-dev to install the vulkan driver, use vulkaninfo to get some detail info of Vulkan, but all these did not solve the problem. There may be some useful infomation in here. Thanks for your help!