GPU Support

From Open-IOV
Revision as of 23:44, 22 March 2022 by Arthur (talk | contribs) (Improved formatting.)
Jump to navigation Jump to search

Abstract

The following page document will detail GPU Support for SR-IOV and VFIO-Mdev functionality.

Overview

Feature Matrix
Vendor Architecture Model Libre Drivers Partially Libre Drivers (binary blobs) Non-Libre Drivers Merged Host+Guest Acceleration Vendor Disables Hardware Memory Protection

(SR-IOV)

VFIO-mdev support LibVF.IO Support Dynamic Direct Memory Access Mediation support

(arcd-ddmam)

Intel 6th Generation (Skylake) *HD i915 Yes Yes Yes Yes Yes
Intel 7th Generation (Kaby Lake) *HD i915 Yes Yes Yes Yes Yes
Intel 8th Generation (Coffee Lake) *HD i915 Yes Yes Yes Yes Yes
Intel 9th Generation (Cannon Lake) *HD i915 Yes Yes Yes Yes Yes
Intel 10th Generation (Ice Lake) i915 No Yes No No No
Intel 11th Generation (Tiger Lake) Xe* i915 No Yes
Intel 12th Generation

(Alder Lake)

Xe* i915 No Yes
Nvidia Maxell *(see exceptions below) Nouveau Consumer Proprietary, Proprietary Mdev Yes Yes Yes Yes Yes
Nvidia Pascal * Nouveau Consumer Proprietary, Proprietary Mdev Yes Yes Yes Yes Yes
Nvidia Turing * Nouveau Consumer Proprietary, Proprietary Mdev Yes Yes Yes Yes Yes
Nvidia Ampere A* Nouveau (In Development) Consumer Proprietary, Proprietary Mdev No Yes Yes Yes (Unreleased)
Nvidia Ampere RTX 30** Nouveau (In Development) Consumer Proprietary, Proprietary Mdev Yes Yes Yes Yes (Unreleased)
AMD Tonga W7100 AMDGPU GPU-IOV Module (Deprecated) AMDGPU-Pro No Yes (patched) No Yes Yes (Prototype)
AMD Tonga S71** AMDGPU GPU-IOV Module (Deprecated) AMDGPU-Pro No No No Yes Yes (Prototype)
AMD Vega v340 AMDGPU AMDGPU-Pro, GPU-IOV Module No No Unconfirmed Yes No
AMD Navi v520 AMDGPU AMDGPU-Pro, GPU-IOV Module No No Unconfirmed Yes No

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):

  • Intel Iris Xe Graphics
  • Intel Iris Xe MAX Graphics

Drivers

Drivers with GVT-g support:

  • i915

Nvidia

This section will cover Mdev support on Nvidia GPUs.

Hardware

GPUs with official support for vGPU (Source: [2]):

  • NVIDIA A100 HGX 80GB
  • NVIDIA A100 PCIe 80GB (SR-IOV: 20VF [3])
  • NVIDIA A100X
  • NVIDIA A100 HGX 40GB
  • NVIDIA A100 PCIe 40GB (SR-IOV: 16VF [4])
  • NVIDIA A40 (SR-IOV: 32VF [5])
  • NVIDIA A30 (SR-IOV: 8VF [6])
  • NVIDIA A30X
  • NVIDIA A16 (SR-IOV: 16VF [7])
  • NVIDIA A10 (SR-IOV: 32VF [8])
  • NVIDIA A2 (SR-IOV: 16VF [9])
  • NVIDIA RTX A6000
  • NVIDIA RTX A5000
  • Quadro RTX 8000 (SR-IOV: 24 VF [10])
  • Quadro RTX 8000 passive
  • Quadro RTX 6000 (SR-IOV: 24 VF [11])
  • Quadro RTX 6000 passive
  • Tesla V100
  • Tesla T4 (SR-IOV: 16VF [12])
  • 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)

Additionally supported GPUs with VGPU Unlock:

  • 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 [13]

Drivers

In order to use Mdev with Nvidia GPUs, a proprietary enterprise driver is required.

The Nvidia driver supports both SR-IOV and software based mediation and chooses between them based on what the installed GPU supports.

Licensing

Usage of the proprietary enterprise driver is subject to license fees.

AMD

This section will cover Mdev support on AMD GPUs.

Hardware

Supported GPUs:

  • AMD FirePro S7150
  • AMD Radeon Pro V520 [14]
  • AMD FirePro W7100 [15]

Drivers

The open source GIM driver supports AMD Tonga architecture GPUs such as the FirePro S7150/W7100. Modern kernel versions require pull request 24.