Skip to content

Instantly share code, notes, and snippets.

View midi1996's full-sized avatar

Midi midi1996

View GitHub Profile
@midi1996
midi1996 / README.md
Last active May 3, 2024 22:26
M2000M passthrough experiences.

I've seen people passing their laptop dGPUs yet I haven't been successful because of a lot of reasons, mainly extracting the vbios (that somehow some laptop users can do but I cannot, and I wasn't the only one) and having it UEFI (mine wasn't which is weird as it's a SKL laptop) and they said that some Muxed laptops are easy to deal with. And after a while with the help of some people in the hackintosh discord server, we made an even larger layout list of display outputs we stumbled upon while helping some new users with their laptops (thanks /u/dhinakg):

dGPU Laptop setups

My laptop (Thinkpad P50) happened to be something like the Macbooks where there is a mux between the iGPU and dGPU to the eDP (this has been confirmed with my laptop's schematics).

Great! So you can just pass the dGPU and see stuff on either the display

@midi1996
midi1996 / win10-gvt.xml
Created April 10, 2021 20:45
Win10 VM with GVT-G and M2000M passthrough
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10-gvt</name>
<uuid>9076d4af-717a-41d3-9c2b-513059b8d721</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
@midi1996
midi1996 / 50-edk2-ovmf-x86_64-secure.json
Last active August 24, 2023 02:19 — forked from Ashymad/PKGBUILD
Slightly updated ovmf-patched-vbios (as of April 2021, now 19 September 2021)
{
"description": "UEFI firmware for x86_64, with Secure Boot and SMM",
"interface-types": [
"uefi"
],
"mapping": {
"device": "flash",
"executable": {
"filename": "/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd",
"format": "raw"