IGVT-g: Difference between revisions

imported>Patryk27
No edit summary
imported>Whazor
Add note about GVT-g removal and SR-IOV future
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Intel GVT-g is a technology that allows to "slice" an Intel GPU into virtualized GPUs that can be then passed into virtual machines.
Intel GVT-g is a technology that allows to "slice" an Intel GPU into virtualized GPUs that can be then passed into virtual machines.
Note that Intel GVT-g only supports Intel Broadwell (5th gen) to Comet Lake (10th gen), where in 10th gen support for IVGT-g was removed. For 11th gen, and 12th gen, there is SR-IOV coming up for virtualized GPUs, but that did not yet arrive in Linux mainline.


== Configuring GPU ==
== Configuring GPU ==
Line 39: Line 41:
Find some variant that matches your expectations (resolution, memory size etc.), note down its name, generate a random UUID:
Find some variant that matches your expectations (resolution, memory size etc.), note down its name, generate a random UUID:


  # If you're using Nix Flakes:
  $ nix shell nixpkgs#libossp_uuid -c uuid
  a297db4a-f4c2-11e6-90f6-d3b88d6c9525
  # If you're not using Nix Flakes:
   $ nix run nixpkgs.libossp_uuid -c uuid
   $ nix run nixpkgs.libossp_uuid -c uuid
   a297db4a-f4c2-11e6-90f6-d3b88d6c9525
   a297db4a-f4c2-11e6-90f6-d3b88d6c9525
Line 60: Line 67:
</nowiki>}}
</nowiki>}}


Once again, rebuild & reboot, and voilá - your virtualized GPU is ready; now you just have to attach it to some virtual machine.
Rebuild & voilá - your virtualized GPU is ready; now you just have to attach it to some virtual machine.


== Attaching GPU ==
== Attaching GPU ==