Skip to content

Instantly share code, notes, and snippets.

@Letterus
Created June 9, 2022 18:39
Show Gist options
  • Save Letterus/8b1bfcf24a2f926d20c50790717a966c to your computer and use it in GitHub Desktop.
Save Letterus/8b1bfcf24a2f926d20c50790717a966c to your computer and use it in GitHub Desktop.
Notes to fix GPI passthrough for QEMU on Debian Bullseye

QEMU GPU Passthrough

Fix to free screen (via sudo):

#!/bin/bash
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
  • EFI: disable secure boot
  • make sure AppArmor is not prohibiting file access to dirs necessary for saving nvram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment