All Projects → vivekmiyani → OSX_GVT-D

vivekmiyani / OSX_GVT-D

Licence: other
Guide to pass iGPU to MacOS KVM guest.

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to OSX GVT-D

Z370M-ITX-ac-macOS-OpenCore
A working OpenCore configuration and files for ASRock Z370M-ITX/ac
Stars: ✭ 19 (-73.97%)
Mutual labels:  hackintosh, igpu
Osx Kvm
Run macOS on QEMU/KVM. With OpenCore + Big Sur + Monterey support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
Stars: ✭ 12,926 (+17606.85%)
Mutual labels:  kvm, hackintosh
Macos Simple Kvm
Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
Stars: ✭ 11,732 (+15971.23%)
Mutual labels:  kvm, hackintosh
Geforce-Kepler-patcher
Install Nvidia binaries files on Snapshot disk for macOS Monterey 12
Stars: ✭ 285 (+290.41%)
Mutual labels:  hackintosh
ASUS-PRIME-Z390-A-HACKINTOSH-iGPU-with-dGPU-UHD630-RX580
HACKINTOSH config files for ASUS PRIME Z390-A
Stars: ✭ 60 (-17.81%)
Mutual labels:  hackintosh
Acer-Aspire-A515-Hackintosh
Clover bootloader configuration files
Stars: ✭ 20 (-72.6%)
Mutual labels:  hackintosh
Multiboot-Toolkit
Create a bootable disk
Stars: ✭ 96 (+31.51%)
Mutual labels:  hackintosh
docker-sriov-plugin
Docker networking plugin for SRIOV and passthrough interfaces
Stars: ✭ 70 (-4.11%)
Mutual labels:  passthrough
osx86 linux
osx86 install maker and utilities for Linux
Stars: ✭ 13 (-82.19%)
Mutual labels:  hackintosh
ASRock-Z370-Fatal1ty-ITX-OpenCore-hackintosh
华擎 asrock z370 gaming itx opencore
Stars: ✭ 22 (-69.86%)
Mutual labels:  hackintosh
asus-rog-strix-z390-i-gaming-hackintosh
A guide to build your own Hackintosh based on ASUS ROG STRIX Z390-I GAMING Motherboard and AMD GPU
Stars: ✭ 102 (+39.73%)
Mutual labels:  hackintosh
vps host server
VPS Hosting Server Daemon for provisioning, monitoring, and communications with the central system.
Stars: ✭ 12 (-83.56%)
Mutual labels:  kvm
gigabyte-b360m-d3h-hackintosh-efi
Gigabyte B360M D3H Hackintosh EFI Folder For MacOS Mojave
Stars: ✭ 43 (-41.1%)
Mutual labels:  hackintosh
Hackintosh-Gigabyte-B460M-Aorus-Pro
Boot with OpenCore
Stars: ✭ 76 (+4.11%)
Mutual labels:  hackintosh
ASUS-F455LD-i5-4210u
This is my laptop's backup of CLOVER EFI bootloader.
Stars: ✭ 44 (-39.73%)
Mutual labels:  hackintosh
Hackintosh-4790K-Z97X-GTX-960
Here is a repo of all the EFI files which I use to boot my stable Hackintosh setup.
Stars: ✭ 26 (-64.38%)
Mutual labels:  hackintosh
Edit-About
Customize your About This Mac!
Stars: ✭ 40 (-45.21%)
Mutual labels:  hackintosh
CHUWI-COREBOOK-X-I5-8259U
CHUWI 驰为 CoreBook X Hackintosh OpenCore EFI share 分享
Stars: ✭ 110 (+50.68%)
Mutual labels:  hackintosh
hackintosh-hp-elitebook-840-g3
Repository contains configuration, kexts, etc for hackintosh on HP EliteBook 840 G3.
Stars: ✭ 28 (-61.64%)
Mutual labels:  hackintosh
DELL-XPS13-9360
Hackintosh OpenCore EFI for DELL XPS13 9360
Stars: ✭ 40 (-45.21%)
Mutual labels:  hackintosh

OSX GVT-D

Guide to pass iGPU to MacOS KVM guest.

Prerequisites

  • Working MacOS EFI.

Procedure

1. Fetch necessary files from i915ovmfPkg repo.

2. Configure OpenCore.

  • Replace working OpenCore EFI to OpenCore-Catalina directory.

  • Build it:

    ./opencore-rebuild.sh
  • Place BaseSystem.img and mac_hdd_ng.img to root of this repo.

3. Prepare iGPU for passthrough

  • Grab PCI ID:

    lspci -D -nn
  • Find your iGPU PCI ID and place it inside boot.sh.

  • Boot it:

    # This script will unbind iGPU from the host and make it ready for passthrough.
    # After that it will run `opencore-boot-pt.sh` which is runs `qemu` command to boot OSX.
    # On shutdown it will rebind the iGPU to the host.
    
    # TIP: Running this on ssh session will helps us a lot to debug the issue.
    sudo ./boot.sh

Notes

  • During iGPU passthrough qemu will write this,
    qemu-system-x86_64: -device vfio-pci,host=0000:00:02.0,id=hostdev0,bus=pcie.0,addr=0x2,romfile=i915ovmf.rom: IGD device 0000:00:02.0 cannot support legacy mode due to existing devices at address 1f.0
    
    but ignore that warning.
  • We just need to make sure that iGPU placed by Qemu should match the location defined in config.plist, If this thing is correct you will be good to go!!

What is working

  • QE/CI.!!

Known issues & Fixes

  1. Chrome / Electron based applications causes freeze (GPU hang/reset) or crashes the guest.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].