public:gpu-passthrough
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:gpu-passthrough [2015/11/13 02:02] – [Graphics Cards] squires | public:gpu-passthrough [2015/11/13 20:29] (current) – [References] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== GPU Passthrough ====== | ====== GPU Passthrough ====== | ||
| - | GPU passthrough refers to configurations where a graphics card is reserved for use by a virtual machine. Making use of VT-d, IOMMU, and related technologies, the graphics card can be used at native performance. | + | GPU passthrough refers to configurations where a graphics card is reserved for use by a virtual machine. Making use of IOMMU, the graphics card can be used at native performance. |
| This page first describes the process in general and then my specific system configurations. | This page first describes the process in general and then my specific system configurations. | ||
| Line 46: | Line 46: | ||
| If your guest graphics card is not isolated, you can try moving it to a different slot on your motherboard to see if that slot has better isolation. Some slots are connected to the processor PCI lanes, which only have isolation if your processor supports ACS. Other slots are connected to the PCH PCI lanes, which may have isolation on root ports. | If your guest graphics card is not isolated, you can try moving it to a different slot on your motherboard to see if that slot has better isolation. Some slots are connected to the processor PCI lanes, which only have isolation if your processor supports ACS. Other slots are connected to the PCH PCI lanes, which may have isolation on root ports. | ||
| - | If you don't have isolation on any PCI slot and you don't need one of the devices that share the guest graphics card's IOMMU group, you can bind the extra device to either of the vfio-pci or pci-stub drivers. | + | If you don't have isolation on any PCI slot and you don't need the devices that share the guest graphics card's IOMMU group, you can bind the extra device to either of the vfio-pci or pci-stub drivers. |
| As a last resort, you can try using the ACS override kernel patch. However, this does not create isolation. It merely hides the fact that isolation doesn' | As a last resort, you can try using the ACS override kernel patch. However, this does not create isolation. It merely hides the fact that isolation doesn' | ||
| Line 165: | Line 165: | ||
| * Use the i914.enable_hd_vgaarb patch (and lose DRI). | * Use the i914.enable_hd_vgaarb patch (and lose DRI). | ||
| * Use a guest GPU that supports UEFI and use the OVMF boot firmware to start the virtual machine. (OVMF can initialize the GPU using legacy-free UEFI, keeping DRI and bypassing VGA and the need for arbitration.) | * Use a guest GPU that supports UEFI and use the OVMF boot firmware to start the virtual machine. (OVMF can initialize the GPU using legacy-free UEFI, keeping DRI and bypassing VGA and the need for arbitration.) | ||
| - | |||
| - | ===== References ===== | ||
| - | |||
| - | [[https:// | ||
| ====== Core i5-4690K ====== | ====== Core i5-4690K ====== | ||
| Line 175: | Line 171: | ||
| ===== Kernel ===== | ===== Kernel ===== | ||
| + | |||
| + | ====== References ====== | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[https:// | ||
public/gpu-passthrough.1447380147.txt.gz · Last modified: 2015/11/13 02:02 by squires