Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
58 lines (38 loc) · 3.47 KB

README.md

File metadata and controls

executable file
·
58 lines (38 loc) · 3.47 KB

Archival Notice

As of November 1, 2023 this project is officially archived and I will not be responsible for any past or future support, maintenance, bug fixes, or compatibility troubleshooting. Great wishes to all those who were able to get this working for their needs and thank you to everyone who helped support people to get it working.

Despite the archival, the code still works for many people. If you try to use it and require assistance or support, please check out the discord server: chat on Discord

VBIOS for Intel GPU Passthrough

This project attempts to create a UEFI driver for the intel integrated GPUS so that they can be used in VFIO Passthrough. Prior to this driver, there was no easy or reliable solution to both virtualized and direct passthrough(GVT-G/D). This driver adds an opRegion for the iGPU to utilize during the Boot Process, allowing for access to the UEFI menus and any other interfaces that are created before an operating system level driver is initialized. As a bonus, this allows for MacOS to boot in this virtual environment.

Notice

This Software deals directly with the graphics hardware and interfaces. I assume no responsibility should it cause any damage to your GPUs, Cables, Displays, Other hardware, or persons. It has been tested on my personal machine, but you are using this software at your own risk.

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.

Current Feature Support

  • Boot a virtual intel GPU(GVT-G)
  • Passthrough the entire Intel GPU (GVT-D)
    • Display Port interfaces
    • eDP interfaces, including Laptop Screens
    • HDMI interfaces
  • Theoretically compatible with any 14nm chip(Skylake, Kaby lake, Coffee Lake, Amber Lake, Whiskey Lake, Comet Lake).
  • Auto detect Outputs and types(NEW)

Possible Features to come

  • Allow for generation Specific Quirks
  • Allow for other it to work with other intel CPU Generations.

Known Issues

  • May have issues with thunderbolt eGPUs. If you encounter problems, try with it unplugged
  • GVT-G may struggle with external displays(even if through an eGPU or other GPU)
  • May cause random kernel panics with MacOS due to a low default DVMT Pre-allocated memory amount. See here for more info

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 Works on intel 14nm based CPUS and HDMI/DP/eDP displays(Inlcuding laptop Screens!).

Usage

Please see the Wiki for more information regarding compiling, usage, or further information.

License

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