Closed hilookas closed 4 months ago
Is your numpy < 2.0? Also ensure that the 3 nvidia json files exist according to troubleshooting. CUDA needs to >=11.8.
You can create a fake display using
tmux new -s 1
sudo X :0 &
[exit tmux]
export DISPLAY=:0
Thanks for your solution! Because the server is down, I could not try this solution 😂. I will temporarily mark this issue as closed and reopen it when necessary in the future.
The same problem on V100 and this solution did not work for me.
You can create a fake display using
tmux new -s 1 sudo X :0 & [exit tmux] export DISPLAY=:0
Try xvfb-run -a CUDA_VISIBLE_DEVICES=0 python {}
?
I have tried the suggested xvfb-run method, but it still does not work. Additionally, I have successfully run the mani_skill demo programs using X11-Forwarding with the following commands:
python -m mani_skill.utils.download_asset "ReplicaCAD"
python -m mani_skill.examples.demo_random_action -e "ReplicaCAD_SceneManipulation-v1" --render-mode="rgb_array" --record-dir="videos" # run headless and save video
python -m mani_skill.examples.demo_random_action -e "ReplicaCAD_SceneManipulation-v1" --render-mode="human" # run with GUI (recommended!)
However, when I add ray-tracing and run the following commands, I still encounter an error:
python -m mani_skill.utils.download_asset "ReplicaCAD"
python -m mani_skill.examples.demo_random_action -e "ReplicaCAD_SceneManipulation-v1" --render-mode="human" --shader="rt-fast"
The output I receive is:
opts: []
env_kwargs: {}
Segmentation fault (core dumped)
Any further suggestions or assistance would be greatly appreciated.
Best regards,
oh, render_mode="human" will open up a window for visualization; so you can't use it on server
Using the following command will cause the same problem:
python -m mani_skill.examples.demo_random_action -e "ReplicaCAD_SceneManipulation-v1" --render-mode="rgb_array" --shader="rt-fast"
When I delete
--enable-raytracing
option fromSimplerEnv/scripts/openvla_drawer_variant_agg.sh
, it seems works fine, but when i add this option back, the env crashed and reported:Env:
Server with 4xA800