Skip to content

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

License

Notifications You must be signed in to change notification settings

64kramsystem/vga-passthrough

Repository files navigation

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 that 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. VGA Passthrough Problems
  4. Basic setup
  5. Input handling
  6. Monitors and audio
  7. Troubleshooting
  8. Possible improvements
  9. Profiling KVM
  10. Sample IOMMU groups
  11. QEMU Disk utils/LibGuestFS handy commands
  12. 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 systems

This guide has been tested on several systems (see the Sample IOMMU groups chapter), using the LTS Ubuntu versions from 16.04 onwards.

Next: Introduction to VGA Passthrough

About

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

Topics

Resources

License

Stars

Watchers

Forks