An example of Steam and SteamVR working within an Ubuntu Docker container
Make sure that you have nvidia-container-toolkit
installed.
Follow this guide to install nvidia-container-toolkit
:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
Build container with:
make dev
Enter container with:
docker exec -it --privileged steamvr_dev_<user>_<branch> bash
-
Open steam (running
steam
in the container) and login to steam. Install SteamVR. -
Launch SteamVR running
steamvr
(alias for$HOME/.steam/debian-installation/steamapps/common/SteamVR/bin/vrmonitor.sh
) -
Set default runtime from the pop-up window:
-
If the pop-up window is not displayed, install an older version of SteamVR from the Betas settings section:
After configuring, set Beta Participation to None and use the latest version of SteamVR.
- Navigate to
/home/${USER}/bigym/
- Activate bigym conda environments:
conda activate bigym
- Install dependencies:
pip install -e ".[dev]"
- Run demo recorder:
python tools/demo_recorder/main.py