Commit 0a93ab

2025-06-12 13:01:13 deseven: -/-
Guides/VM-iGPU-Passthrough.md ..
@@ 6,6 6,38 @@
This is mostly tied to Proxmox, but should still be applicable to regular systems with KVM installed.
+ ### Configuration
+ ```bash
+ # /etc/kernel/cmdline
+ ... iommu=pt initcall_blacklist=sysfb_init
+ ```
+
+ ```bash
+ # /etc/modules
+ vfio
+ vfio_iommu_type1
+ vfio_pci
+ ```
+
+ ```bash
+ # /etc/modprobe.d/blacklist.conf
+ blacklist radeon
+ blacklist amdgpu
+ blacklist snd_hda_intel
+ ```
+
+ ```bash
+ # /etc/modprobe.d/vfio.conf
+ options vfio-pci ids=1002:1586,1002:1640 disable_vga=1
+ ```
+
+ ```bash
+ # vm.conf for QEMU
+ # don't forget to replace the IDs
+ hostpci0: 0000:c6:00.0,pcie=1,romfile=vbios_8060s.bin,x-vga=1
+ hostpci1: 0000:c6:00.1,pcie=1,romfile=AMDGopDriver.rom
+ ```
+
### Notes
- hardware IDs are `1002:1586` (iGPU) and `1002:1640` (audio)
- the 'reset bug' is here, I found no way to avoid it
@@ 13,6 45,6 @@
- [this issue](https://github.com/isc30/ryzen-gpu-passthrough-proxmox/issues/112) might be worth looking into
### Files
- (taken from [[EVO-X2 | Devices/GMKtec EVO-X2]], BIOS version 1.04)
+ (taken from [[EVO-X2 | Devices/GMKtec-EVO-X2]], BIOS version 1.04)
- [vbios_8060s.bin](./vbios_8060s.bin)
- [AMDGopDriver.rom](./AMDGopDriver.rom)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9