Video adapter error code 12 on a VM with vGPU
On a VM with vGPU and Windows built from a custom image, Device Manager shows an error in the video adapter properties:
This device cannot find enough free resources that it can use (Code 12)
The problem occurs if the image does not have the hw_video_model=none meta tag set. In this case, the hypervisor additionally emulates a built-in video adapter for the VM, which conflicts with the vGPU video adapter during resource allocation. Because of the conflict, the vGPU driver cannot initialize correctly.
You cannot change the meta tag for an existing VM. You need to recreate the VM from an image with the meta tag set.
Was this article helpful?