0

We successfully installed NVIDIA VGPU Drivers in Ubuntu 24.04 on kernal 6.8.0-71-generic

But we are getting about 1.5 to 2 mins+ Boot time with the VGPU added to a Windows VM on libvirt, without VGPU in direct passthrough it takes less then 30 sec to boot.

Client Driver - 576.80 Studio Driver

** VGPU Profile **

4f3b6e47-0baa-4900-b0b1-284c1ecc192f 0000:01:00.0 nvidia-282 manual 5f3b6e47-0baa-4900-b0b1-284c1ecc192f 0000:02:00.0 nvidia-282 manual

Libvirt XML

   <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci' display='off'>

  &lt;source&gt;

    &lt;address uuid='4f3b6e47-0baa-4900-b0b1-284c1ecc192f'/&gt;

  &lt;/source&gt;

  &lt;address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/&gt;

&lt;/hostdev&gt;

Note: Removed Spice and Other VNC display and kept only the above mdev vgpu

**

DMESG:

**

1548.059249] vmbr0: port 2(vnet4) entered blocking state

[ 1548.059254] vmbr0: port 2(vnet4) entered disabled state

[ 1548.059261] vnet4: entered allmulticast mode

[ 1548.059302] vnet4: entered promiscuous mode

[ 1548.059410] vmbr0: port 2(vnet4) entered blocking state

[ 1548.059413] vmbr0: port 2(vnet4) entered forwarding state

[ 1548.163875] audit: type=1400 audit(1753797573.072:181): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-1b7796dd-91cd-4640-b4b4-0db7ee82477a" pid=8540 comm="apparmor_parser"

[ 1548.170795] audit: type=1400 audit(1753797573.079:182): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-1b7796dd-91cd-4640-b4b4-0db7ee82477a//passt" pid=8540 comm="apparmor_parser"

[ 1548.245656] NVRM: Software scheduler timeslice set to 2083uS.

[ 1548.548637] [nvidia-vgpu-vfio] 4f3b6e47-0baa-4900-b0b1-284c1ecc192f: vGPU migration enabled with upstream V2 migration protocol

That's it and no logs, even on libvirt debug mode.

Can anyone please guide what can be the cause, like the VM is waiting for the VGPU profile to be loaded or something and is there a way/patch to speed up boot under 30 sec or less.

Thank You

0 Answers0