Difference between revisions of "GPU Support"
Line 7: | Line 7: | ||
! colspan="3" |Hardware | ! colspan="3" |Hardware | ||
! colspan="3" |Drivers | ! colspan="3" |Drivers | ||
! colspan="3" |[https://openmdev.io/index.php/Virtual_IO_Internals Virtualization Assistance Modes] | |||
!Kernel & Userspace | !Kernel & Userspace | ||
!Userspace | !Userspace | ||
|- | |- | ||
!Vendor | !Vendor | ||
Line 17: | Line 17: | ||
!Non-Libre Drivers | !Non-Libre Drivers | ||
![https://openmdev.io/index.php/Merged_Drivers 'Merged' Host+Guest Acceleration] | ![https://openmdev.io/index.php/Merged_Drivers 'Merged' Host+Guest Acceleration] | ||
![https://openmdev.io/index.php/Virtual_IO_Internals#Mdev_Mode Mdev Support] | ![https://openmdev.io/index.php/Virtual_IO_Internals#Mdev_Mode Mdev Support] | ||
![https://openmdev.io/index.php/Virtual_IO_Internals#SR-IOV_Mode SR-IOV Support] | ![https://openmdev.io/index.php/Virtual_IO_Internals#SR-IOV_Mode SR-IOV Support] | ||
![https://openmdev.io/index.php/Virtual_IO_Internals#SIOV_Mode SIOV Support] | ![https://openmdev.io/index.php/Virtual_IO_Internals#SIOV_Mode SIOV Support] | ||
![https://docs.linux-gvm.org/ GVM Support] | |||
![https://libvf.io/ LibVF.IO Support] | |||
|- | |- | ||
|Intel | |Intel | ||
Line 28: | Line 28: | ||
|i915 | |i915 | ||
| | | | ||
|Yes | |||
|Yes | |Yes | ||
|No | |No | ||
|No | |No | ||
|No | |No | ||
|Yes | |||
|- | |- | ||
|Intel | |Intel | ||
Line 40: | Line 40: | ||
|i915 | |i915 | ||
| | | | ||
|Yes | |||
|Yes | |Yes | ||
|No | |No | ||
|No | |No | ||
|No | |No | ||
|Yes | |||
|- | |- | ||
|Intel | |Intel | ||
Line 52: | Line 52: | ||
|i915 | |i915 | ||
| | | | ||
|Yes | |||
|Yes | |Yes | ||
|No | |No | ||
|No | |No | ||
|No | |No | ||
|Yes | |||
|- | |- | ||
|Intel | |Intel | ||
Line 64: | Line 64: | ||
|i915 | |i915 | ||
| | | | ||
|Yes | |||
|Yes | |Yes | ||
|No | |No | ||
|No | |No | ||
|No | |No | ||
|Yes | |||
|- | |- | ||
|Intel | |Intel | ||
Line 90: | Line 90: | ||
|Yes | |Yes | ||
| | | | ||
|Yes | |[https://archive.ph/0McAE#selection-4883.0-4943.35 Yes] | ||
| | | | ||
| | | | ||
|Yes | |||
|- | |- | ||
|Intel | |Intel | ||
Line 99: | Line 99: | ||
|Xe* | |Xe* | ||
|i915 | |i915 | ||
| | | | ||
|Yes | |Yes | ||
Line 106: | Line 104: | ||
|[https://archive.ph/0McAE#selection-4883.0-4943.35 Yes] | |[https://archive.ph/0McAE#selection-4883.0-4943.35 Yes] | ||
|In Development | |In Development | ||
| | |||
|Yes | |||
|- | |- | ||
|Nvidia | |Nvidia | ||
Line 114: | Line 114: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
|No | |||
|No | |||
|Yes | |Yes | ||
|Yes | |Yes | ||
|- | |- | ||
|Nvidia | |Nvidia | ||
Line 126: | Line 126: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
|No | |||
|No | |||
|Yes | |Yes | ||
|Yes | |Yes | ||
|- | |- | ||
|Nvidia | |Nvidia | ||
Line 138: | Line 138: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
|No | |||
|No | |||
|Yes | |Yes | ||
|Yes | |Yes | ||
|- | |- | ||
|Nvidia | |Nvidia | ||
Line 151: | Line 151: | ||
|Yes | |Yes | ||
|Yes | |Yes | ||
|No | |||
|Yes | |Yes | ||
|Yes | |Yes | ||
|- | |- | ||
|Nvidia | |Nvidia | ||
Line 160: | Line 160: | ||
|Nouveau (In Development), OpenRM | |Nouveau (In Development), OpenRM | ||
|Consumer Proprietary | |Consumer Proprietary | ||
|In Development | |In Development | ||
|Yes | |Yes | ||
|No | |No | ||
|No | |No | ||
|In Development | |||
|In Development | |||
|- | |- | ||
|AMD | |AMD | ||
Line 175: | Line 175: | ||
|No | |No | ||
|Yes | |Yes | ||
([https://forum.level1techs.com/t/how-to-sr-iov-mod-the-w7100-gpu/164186 patched]) | |||
|No | |||
|No | |No | ||
|Yes | |Yes | ||
|- | |- | ||
|AMD | |AMD | ||
Line 188: | Line 188: | ||
|No | |No | ||
|Yes | |Yes | ||
|No | |||
|No | |No | ||
|Yes | |Yes | ||
|- | |- | ||
|AMD | |AMD | ||
Line 197: | Line 197: | ||
|AMDGPU | |AMDGPU | ||
|AMDGPU-Pro | |AMDGPU-Pro | ||
|No | |No | ||
|Unknown | |Unknown | ||
|Yes | |Yes | ||
|No | |No | ||
|No | |||
|Unknown | |||
|- | |- | ||
|AMD | |AMD | ||
Line 209: | Line 209: | ||
|AMDGPU | |AMDGPU | ||
|AMDGPU-Pro | |AMDGPU-Pro | ||
|No | |No | ||
|Unknown | |Unknown | ||
|Yes | |Yes | ||
|No | |No | ||
|No | |||
|Unknown | |||
|} | |} | ||
Revision as of 18:10, 8 August 2022
Abstract
The following document will detail GPU Support for SR-IOV, SIOV, and VFIO-Mdev functionality.
Overview
Hardware | Drivers | Virtualization Assistance Modes | Kernel & Userspace | Userspace | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Architecture | Model | Libre Drivers | Non-Libre Drivers | 'Merged' Host+Guest Acceleration | Mdev Support | SR-IOV Support | SIOV Support | GVM Support | LibVF.IO Support |
Intel | 6th Generation (Skylake) | *HD | i915 | Yes | Yes | No | No | No | Yes | |
Intel | 7th Generation (Kaby Lake) | *HD | i915 | Yes | Yes | No | No | No | Yes | |
Intel | 8th Generation (Coffee Lake) | *HD | i915 | Yes | Yes | No | No | No | Yes | |
Intel | 9th Generation (Cannon Lake) | *HD | i915 | Yes | Yes | No | No | No | Yes | |
Intel | 10th Generation (Ice Lake) | i915 | No | No | No | No | No | No | ||
Intel | 11th Generation (Tiger Lake) | Xe* | i915 | Yes | Yes | Yes | ||||
Intel | 12th Generation (Alder Lake) | Xe* | i915 | Yes | Yes | In Development | Yes | |||
Nvidia | Maxell | *(see exceptions below) | Nouveau, OpenRM | Consumer Proprietary, Proprietary Mdev | Yes | Yes | No | No | Yes | Yes |
Nvidia | Pascal | * | Nouveau, OpenRM | Consumer Proprietary, Proprietary Mdev | Yes | Yes | No | No | Yes | Yes |
Nvidia | Turing | * | Nouveau, OpenRM | Consumer Proprietary, Proprietary Mdev | Yes | Yes | No | No | Yes | Yes |
Nvidia | Ampere | A* | Nouveau (In Development), OpenRM | Consumer Proprietary, Proprietary Mdev | Headless Mode: DisplayModeSelector | Yes | Yes | No | Yes | Yes |
Nvidia | Ampere | RTX 30** | Nouveau (In Development), OpenRM | Consumer Proprietary | In Development | Yes | No | No | In Development | In Development |
AMD | Tonga | W7100 | AMDGPU, GPU-IOV Module (Deprecated) | AMDGPU-Pro | No | No | Yes
(patched) |
No | No | Yes |
AMD | Tonga | S71** | AMDGPU, GPU-IOV Module (Deprecated) | AMDGPU-Pro | No | No | Yes | No | No | Yes |
AMD | Vega | * | AMDGPU | AMDGPU-Pro | No | Unknown | Yes | No | No | Unknown |
AMD | Navi | * | AMDGPU | AMDGPU-Pro | No | Unknown | Yes | No | No | Unknown |
Intel
This section will cover Mdev support on Intel GPUs.
Hardware
GPUs supporting GVT-g (software based mediation)[1]:
- Intel HD Graphics 5500
- Intel HD Graphics 6000
- Intel HD Graphics 510
- Intel HD Graphics 520
- Intel HD Graphics 530
- Intel HD Graphics 620
- Intel HD Graphics 630
- Intel UHD Graphics 620
- Intel UHD Graphics 630
GPUs supporting SR-IOV (hardware based mediation):
Drivers
Drivers with GVT-g support:
Drivers with SR-IOV support:
Nvidia
This section will cover Mdev support on Nvidia GPUs.
Hardware
- All(?) Volta based GPUs (V-series)
- All(?) Turing based GPUs (20-series)
- All(?) Pascal based GPUs (10-series)
- Most Maxwell based GPUs (9-series) with the following notable exceptions:
- GTX 970 (mixed FB regions)
- Quadro M2000 (mixed FB regions)
- Tesla M40 [4]
- NVIDIA A100 HGX 80GB
- NVIDIA A100 PCIe 80GB (SR-IOV: 20VF [5])
- NVIDIA A100X
- NVIDIA A100 HGX 40GB
- NVIDIA A100 PCIe 40GB (SR-IOV: 16VF [6])
- NVIDIA A40 (SR-IOV: 32VF [7])
- NVIDIA A30 (SR-IOV: 8VF [8])
- NVIDIA A30X
- NVIDIA A16 (SR-IOV: 16VF [9])
- NVIDIA A10 (SR-IOV: 32VF [10])
- NVIDIA A2 (SR-IOV: 16VF [11])
- NVIDIA RTX A6000
- NVIDIA RTX A5000
- Quadro RTX 8000 (SR-IOV: 24 VF [12])
- Quadro RTX 8000 passive
- Quadro RTX 6000 (SR-IOV: 24 VF [13])
- Quadro RTX 6000 passive
- Tesla V100
- Tesla T4 (SR-IOV: 16VF [14])
- Tesla P100
- Tesla P40
- Tesla P6
- Tesla P4
- Tesla M60
- Tesla M10
- Tesla M6
- GRID K2 (Citrix XenServer and VMware ESXi only)
- GRID K1 (Citrix XenServer and VMware ESXi only)
Drivers
The most widely used method of enabling Mdev functionality on Nvidia GPUs is via the use of Nvidia's proprietary driver package.
Nvidia's proprietary Mdev driver supports both SR-IOV as well as software based mediation. The appropriate mode is chosen between the two methods based on hardware architecture.
AMD
This section will cover Mdev support on AMD GPUs.
Hardware
Supported GPUs:
Drivers
The open source GIM driver supports AMD Tonga architecture GPUs such as the FirePro S7150/W7100. Modern kernel versions require pull request 24