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
git clone https://git.arccompute.com/Arc-Compute/libvfio.git
cd libvfio
nimble install
mkdir /opt/arc/shells
cp example/* /opt/arc/shells
arcd deploy
Here is the nvidia specific portion of the tutorial.
Setup the MDEV Driver + create a vGPU.
arcd create $iso-file 20 --kernel=com.demo-mdev.arc --config=nvidia-mdev.yaml
Install what you need/how you need to for the mdev setup you have.
arcd start com.demo-mdev.arc --config=nvidia-mdev.yaml
Here is the AMD specific portion of the tutorial.
Setup the GIM Driver + create a vGPU.
arcd create $iso-file 20 --kernel=com.demo-amd.arc --config=gim.yaml
Install what you need/how you need to for the GIM setup you have.
arcd start com.demo-amd.arc --config=gim.yaml