corehacker / vga-passthrough

Up to date (2017) reference for setting up a VGA passthrough on (Ubuntu) Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

General introduction

This repository includes my notes for setting up a VGA Passthrough on a Linux machine (it's targeted to Ubuntu; more advanced users can adapt it to other distributions).

VGA passthrough is a setup which allows virtualized environments (QEMU, in this case) to perform 3D acceleration at near native speed.

The rationale for this document is that the information on the subject is spread, confusing and outdated, so I've decided to create a single, consistent document - a reference.

Table of contents

  1. General introduction
  2. Introduction to VGA Passthrough
  3. Basic setup
  4. Possible improvements
  5. Profiling KVM
  6. QEMU Disk utils/LibGuestFS handy commands
  7. References

Help/Contributions

Contributions or any other form of help (improvements, extensions...) are very appreciated.

The main area to look at is Possible improvements; possibly, minor things can be improved in Basic setup.

The best workflow is to create a Pull request with the modifications, but you can also send me an email.

Reference system

This guide has been executed on the following system:

  • Ubuntu 16.04 x86-64
  • ASRock Mini ITX FATAL1TY Z170 Gaming-ITX/AC
  • Intel i7-6770K
  • Gigabyte GTX 960 GV-N960IXOC-2GD

there are also references to my previous one:

  • Gigabyte GA-F2A88XN-WIFI FM2+ Mini ITX
  • AMD A10-7800
  • Gigabyte GTX 960 GV-N960IXOC-2GD

Next: Introduction to VGA Passthrough

About

Up to date (2017) reference for setting up a VGA passthrough on (Ubuntu) Linux.

License:Creative Commons Attribution Share Alike 4.0 International