GPU selection with Multiple GPUs on Server

Hi,

I am trying to run BeamNG linux on a server that has multiple Nvidia GPUs.

Currently, the simulator launches in headless mode and defaults to the first GPU.

I would like to spin up multiple instances of Beam using all GPUs available.

Is there an option to select which GPU the simulator launches?

Raymond

Hi,
we don’t expose an option to select a GPU at the moment, but you should be able to use a Docker container (we provide a template, see here: Headless Mode) and set the NVIDIA_VISIBLE_DEVICES environment variable appropriately for each instance of BeamNG: Specialized Configurations with Docker — NVIDIA Container Toolkit.