Using Nvidia MiG instances to start X servers with nvidia-xconfig

We have a Ubuntu 22.04 server with 4 GPUs. We have been trying to use the feature for GPU partitioning. However, in our use case, we require the ability to render offscreen onto an X server with Vulkan (Unity applications). We have previously been using this command without MiG (reference):

sudo nvidia-xconfig -a --allow-empty-initial-configuration --use-display-device=None \ –virtual=1920x1200 --busid {busid}

But with MiG instances, there are no bus ids. Nvidia-xconfig doesn’t allow the use of MiG uuid instead of busid. So, we can’t spin up X servers with specific MiG instances. Is it possible to do this? If not, what are the alternatives?


could you please give a bit more background? Which GPUs do you have? You are talking about MIG and rendering which is a bit odd.
MIG is only supported on A30/A100 GPUs which are compute only, so no rendering at all on these GPUs.
Not sure what you are going to achieve.


We have 4 A100 80 GBs. We are trying to partition GPUs and do rendering on a headless X server. We can already do that without MiG. We want to split it up so that multiple users of the server can better utilise the GPU resources.