Skip to content

Muehli25/vfio-passthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

VFIO Configuration

System Configuration:

  • Manjaro Linux 21.1.0 (Kernel 5.13.12) + Gnome 40
  • CPU Ryzen 9 5950x
  • MB MSI MAG x570 Tomahawk WiFi
  • RAM 32GB 3733Mhz
  • GPU Host: AMD Radeon RX 6600XT
  • GPU Guest: nVidia Geforce RTX 2080

Install hooks script

See this Repo

Disable Sleep and hibernate while vm is running

See this Script for disable sleep and hibernate.

See this Script for renable sleep and hibernate.

Disable Screens and switch input

Using wayland it isn't possible to use xrandr so a small script called gnome-randr.py. Also this script needs the user session, so I use a small hack by ssh into my user and run the scripts.

Two of my screens don't like it if there is more than one video signal, so I disable the output. After that with the usage of ddcutil the input is switched for all displays.

After the VM is shutdown the screen input will be re-enabled and the input switched.

ddcutil

Needs the module i2c-dev to be loaded.

  • Can be done manually by running sudo modprobe i2c-dev
  • or can be loaded at boot
    • add i2c-dev to the file /etc/modules-load.d/modules.conf

About

My vfio passthrough configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published