isaac-sim / IsaacGymEnvs

Isaac Gym Reinforcement Learning Environments
Other
1.77k stars 389 forks source link

Video capturing does not work #187

Open y8han opened 7 months ago

y8han commented 7 months ago

Hi, thank you for offering such a wonderful tool! I have encountered a problem when trying to capture the video, and any help would be appreciated! At first, I typed in the command python3 train.py task=Ant test=True capture_video=True force_render=False, and I got the following error

FileNotFoundError: [Errno 2] No such file or directory: 'Xvfb': 'Xvfb'.

As suggested in this issue, I installed the following dependencies: sudo apt-get install xvfb xserver-xephyr tigervnc-standalone-server x11-utils gnumeric. However, I got another error

h, w, pixfmt = frame_shape ValueError: not enough values to unpack (expected 3, got 0)

Unlike his case, I am using Ubuntu 20.04 and Wayland has already been disabled as shown in /etc/gdm3/custom.conf. So even though I have rebooted the system, I still got the same error.

Any ideas on how to solve this problem? Thanks in advance!

MickyFlowers commented 7 months ago

I've met the same problem. Any ideas on how to solve this problem?

TAEM1N2 commented 5 months ago

I'm using ubuntu 20.04 and met a same problem.

paLeziart commented 1 month ago

@MickyFlowers @TAEM1N2 Check #194 #126 for possible solutions