vivekmiyani / osx_gvt-d Goto Github PK
View Code? Open in Web Editor NEWGuide to pass iGPU to MacOS KVM guest.
Guide to pass iGPU to MacOS KVM guest.
Hello there,
I found this repository via Reddit and I was wondering if this configuration would work on my system.
Basically I wanna passthrough a HD 530 to my current macOS Monterey VM via Proxmox, if I do it via GUI it boot loops. What I'm confused about is that you apparently need to patch OpenCore to get it working (I have v15). If I then boot the VM with the patched OpenCore image and the GPU attached, will it work or its use is not intended for that?
I've always seen that iGPU passthrough is difficult and this is the closest thing I've come across to maybe get it working.
Thanks in advance for the help.
Hi All, trying to get this to work but having some issues. Does the error below mean anything?
qemu-system-x86_64: -fw_cfg name=etc/igd-opregion,file=./i915ovmf/opregion.bin: warning: externally provided fw_cfg item names should be prefixed with "opt/"
qemu-system-x86_64: -fw_cfg name=etc/igd-bdsm-size,file=./i915ovmf/bdsmSize.bin: warning: externally provided fw_cfg item names should be prefixed with "opt/"
qemu-system-x86_64: -device vfio-pci,host=0000:00:02.0,id=hostdev0,bus=pcie.0,addr=0x2,romfile=./i915ovmf/i915ovmf.rom: vfio 0000:00:02.0: no iommu_group found: No such file or directory
modprobe: FATAL: Module vfio_pci is builtin.
modprobe: FATAL: Module vfio is builtin.
Hello, I am having some trouble. I set up a VM using OSX-KVM, and it works, this is my next step. I cannot find the files opregion.bin, bdsmSize.bin anywhere, and I do not know where to even put the rest of the files. My KVM folder has an OpenCore folder with an EFI folder, is this my working OpenCore? should I put these files in that folder, or put that folder in these files before I do ./opencore-rebuild.sh
When I initially ran the build script,
./opencore-rebuild.sh
I got an error regarding guestfish:
./opencore-image-ng.sh: line 120: guestfish: command not found
ERROR: starting guestfish failed
So I installed (apt-get install) libguestfs-tools
When I tried to re-run the script I got this error:
### partition disk image
# part-init /dev/sda gpt
# part-add /dev/sda p 2048 300000
# part-add /dev/sda p 302048 -2048
# part-set-gpt-type /dev/sda 1 C12A7328-F81F-11D2-BA4B-00A0C93EC93B
# part-set-bootable /dev/sda 1 true
# mkfs vfat /dev/sda1 label:EFI
# mkfs vfat /dev/sda2 label:OpenCoreBoot
libguestfs: error: mkfs: vfat: /dev/sda2: mkfs.vfat: Label can be no longer than 11 characters
For reference I am on proxmox
kernel version: Linux 5.13.19-2-pve #1 SMP PVE 5.13.19-4
PVE manager version: pve-manager/7.1-7/df5740ad
Also, hardware is macmini 6,2 (late 2012) with core i7 3720QM and Intel HD Graphics 4000.
Thanks in advance!
Booting the macOS installer in GVT-D passthrough (using all of the i915ovmf stuff mentioned in the repo) ends up with this kernel panic:
Using a manually-compiled version of Qemu (no libvirt or else) on Linux Mint 20.3. My iGPU is an Intel HD Graphics 620, the one within my entry-level i7-7500U CPU. I have a working, dual-booted hackintosh in the same machine, but I wanted to get rid of the dual-boot.
I have tried to write a kernel patch in OpenCore, as described here: https://forums.unraid.net/topic/84430-hackintosh-tips-to-make-a-bare-metal-macos/page/4/. No luck so far.
I will attach my OpenCore EFI folder as well, in case someone could help me with this. Thanks in advance.
OpenCore-gvtd.zip
Hello, i wanted to report that that issue can be mitigated by setting the qemu priority to Realtime priority and -20 nice (if i understand it correctly its because its priority is higher than most IRQ) this also prevent random memory corruption segfaults for some reason, also by disabling transparent hugepages it also help mitigated the issue.
After running ./boot.sh
the screen on my laptop turns off, occasionally accompanied by a blinking caps lock indicator (although I was not able to reproduce this reliably). How should I go about collecting logs for this? Redirecting the output to a file doesn't give anything. Also I should mention I'm running a 2nd gen X1 Yoga with i5-3700U and HD620 on Linux 5.10.90 LTS from Arch Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.