User Tools

Site Tools


proxmox:gpu_passthrough

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox:gpu_passthrough [2021/06/07 10:28] peterproxmox:gpu_passthrough [2023/06/18 18:02] (current) peter
Line 12: Line 12:
  
   * [[Proxmox:GPU Passthrough:Configure Proxmox|Configure Proxmox]]   * [[Proxmox:GPU Passthrough:Configure Proxmox|Configure Proxmox]]
 +  * [[Proxmox:GPU Passthrough:Configure VM|Configure VM]]
  
 ---- ----
  
-===== Configuring the VM =====+===== References =====
  
-==== Edit the VM Config File ==== +https://pve.proxmox.com/wiki/PCI(e)_Passthrough
- +
-Edit **/etc/pve/qemu-server/<vmid>.conf**, where <vmid> is the VM ID Number you used during the VM creation (General Tab). +
- +
-Add these lines. +
- +
-<file bash> +
-machine: q35 +
-cpu: host,hidden=1,flags=+pcid +
-args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' +
-</file> +
- +
----- +
- +
-==== Add PCI Devices (Your GPUto 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:  **Checked**.  This requires **machine: q35** in the VM config file. +
- +
----- +
- +
-===== References =====+
  
 https://passthroughpo.st/explaining-csm-efifboff-setting-boot-gpu-manually/ https://passthroughpo.st/explaining-csm-efifboff-setting-boot-gpu-manually/
  
 https://www.reddit.com/r/VFIO/ https://www.reddit.com/r/VFIO/
 +
  
proxmox/gpu_passthrough.1623061726.txt.gz · Last modified: 2021/06/07 10:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki