proxmox:gpu_passthrough:configure_vm
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proxmox:gpu_passthrough:configure_vm [2021/06/07 10:30] – created peter | proxmox:gpu_passthrough:configure_vm [2021/06/07 11:09] (current) – [Add PCI Devices (Your GPU) to VM] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proxmox - GPU Passthrough - Configure VM ====== | ====== Proxmox - GPU Passthrough - Configure VM ====== | ||
+ | |||
+ | ===== Download VirtIO drivers (Optional, but RECOMMENDED for Windows VMs) ===== | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | For the CD-Rom, it is fine if use IDE or SATA. | ||
+ | |||
+ | * Make sure CD-ROM is selected as the primary boot device under the **Options** tab, when you are done creating the VM. | ||
+ | * Ensure that VirtIO (SCSI, not VirtIO Block) is selected for the Hard disk and Network Adapter. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Enable OMVF (UEFI) for the VM ===== | ||
+ | |||
+ | Under the VM **Options** Tab, set the following: | ||
+ | |||
+ | * Boot Order: | ||
+ | * SCSI Controller: | ||
+ | * BIOS: **OMVF (UEFI)**. | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | In this case navigate to the **Hardware** Tab. | ||
+ | |||
+ | * **Add -> EFI Disk**. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Edit the VM Config File ===== | ||
+ | |||
+ | Edit **/ | ||
+ | |||
+ | Add these lines. | ||
+ | |||
+ | <file bash> | ||
+ | machine: q35 | ||
+ | cpu: host, | ||
+ | args: -cpu ' | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Add PCI Devices (The GPU) to VM ===== | ||
+ | |||
+ | Select the VM. | ||
+ | |||
+ | Under the Hardware Tab, click on the **Add** button towards the top. | ||
+ | |||
+ | Then under the drop-down menu, click **PCI Device**. | ||
+ | |||
+ | Look for the GPU in the list, and select it. | ||
+ | |||
+ | On the PCI options screen, you should only need to configure it like so: | ||
+ | |||
+ | * All Functions: **Checked**. | ||
+ | * Rom-Bar: **Checked**. | ||
+ | * Primary GPU: **Not Checked**. | ||
+ | * PCI-Express: | ||
+ | |||
+ | ---- | ||
proxmox/gpu_passthrough/configure_vm.1623061802.txt.gz · Last modified: 2021/06/07 10:30 by peter