We are currently supporting both NVIDIA MDEV, and AMD GIM VFIO passthrough. For this reason this tutorial covers both senarios.
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
Follow the installation guide here: https://arccompute.com/blog/libvfio-commodity-gpu-multiplexing/
To pull the latest LibVF.IO source use the following commands:
git clone https://git.arccompute.com/Arc-Compute/libvfio.git
cd libvfio
nimble install -y
arcd deploy
Here is the nvidia specific portion of the tutorial.
Setup the MDEV Driver + create a vGPU.
arcd create nvidia-mdev.yaml $iso-file 20
Install what you need/how you need to for the mdev setup you have.
arcd start nvidia-mdev.yaml
Here is the AMD specific portion of the tutorial.
Setup the GIM Driver + create a vGPU.
arcd create amd-mdev.yaml $iso-file 20
Install what you need/how you need to for the GIM setup you have.
arcd start amd-mdev.yaml