User Tools

Site Tools


ubuntu:gpu:gpu_pass-through:configuring_the_guest

Ubuntu - GPU - GPU pass-through - Configuring the guest

Use Virtual Machine Manager or virt-install to install the guest VM.


Install the graphic card driver

Depending on the GPU follow the specific steps for that GPU.

  • Download the driver.
  • Install the downloaded driver.
  • Reboot the guest VM.

See: TODO.

NOTE: Display issues.

  • After you have installed the drivers, the Virtual Machine Manager display will lose its connection to the guest OS.
  • To access the guest VM, either login via ssh, change to the console interface, or install a dedicated VNC server in the guest.
  • To avoid a flickering screen, stop and disable the display manager:
    sudo systemctl stop display-manager && systemctl disable display-manager

Test the driver

TODO


Microsoft Windows guest

Hide the hypervisor from the drivers by using the <hidden state='on'/> directive in the guest's libvirt definition, for example:

<features>
 <acpi/>
 <apic/>
 <kvm>
  <hidden state='on'/>
 </kvm>
</features>

ubuntu/gpu/gpu_pass-through/configuring_the_guest.txt · Last modified: 2023/06/25 12:40 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki