Skip to content

Latest commit

 

History

History
executable file
·
34 lines (23 loc) · 1.41 KB

README.md

File metadata and controls

executable file
·
34 lines (23 loc) · 1.41 KB

VBIOS for Intel GPU Passthrough

Disclaimer: When used in direct passthrough, this VBIOS could produce bad pixel clock that can potentially damage your monitor! Make sure your monitor has protections against that. I'm not responsible for any monitor damage.

What is this

This is an independent Video BIOS for Intel integrated GPUs. It provides a boot display and sets up an OpRegion so that Windows guests can produce monitor output.

The OpRegion code comes from IgdAssignmentDxe and should work everywhere. The boot display works for GVT-g and can safely replace ramfb. For direct passthrough, the boot display only works with the exact combination of an HDMI monitor and an Intel Skylake processor.

How to build

First, download EDK II and put it in ~/edk2. Then check out this project to ~/i915ovmfPkg. Then do some preparation:

# Create symlink in edk2
cd
ln -s `pwd`/i915ovmfPkg ../edk2/
# Create an empty FAT disk image 
dd if=/dev/zero of=disk bs=128M count=1
sudo mkfs.vfat disk

Then run ./t to build and test. Due to GVT-g and EFI shenanigans, the testing process needs root.

If you just want to use it for your VM, grab the rom file in Releases.

License

I have no idea what this should be licensed in, but the code came from: