-
AMD Ryzen™ AI 9 HX 370 iGPU passthrough
Just leaving a note here to anyone who is trying to figure it out. It took a lot of work and i'm new but this was what finally got the gpu passthrough and VM to show up on HDMI Boot string edit: append initrd=/bzroot initcall_blacklist=sysfb_init video=simplefb:off video=efifb:off video=vesafb:off The blacklist allowed me to finally dump my vbios rom using this command: cat /sys/firmware/acpi/tables/VFCT > /mnt/user/isos/vbios/890m_vfct.bin Used this command to trim out the vbios rom # 1. Find the byte offset where the VBIOS starts (the 55 AA signature) OFFSET=$(grep -aobU $'\x55\xAA' /mnt/user/isos/vbios/890m_vfct.bin | head -n 1 | cut -d: -f1) # 2. Extract exactly 131072 bytes (128KB) starting from that offset dd if=/mnt/user/isos/vbios/890m_vfct.bin of=/mnt/user/isos/vbios/890m_final.rom bs=1 skip=$OFFSET count=131072 And as other guides will tell you, you need to bind the gpu/audio/usb to VFIO under tools -> system devices Lastly i had to use XML edit on the VM set up because the simple view/settings just would not work for me. I can't share my hostdev lines because i've made so many edits and changes. I had to switch between VNC so many times trying to get my audio and USB mouse/keyboard working. I'm going to try setting up RDP so i can stop using VNC(which seems to create some odd display/passthrough conflicts). And the AMD driver installation in my windows 10 VM gets stuck so something isn't quite right. I'm sure i've forgotten something else but i hope this helps!
-
Minisforum N5 / N5 Pro
Just leaving a note here to anyone who is trying to figure it out. It took a lot of work and i'm new but this was what finally got the gpu passthrough and VM to show up on HDMI Boot string edit: append initrd=/bzroot initcall_blacklist=sysfb_init video=simplefb:off video=efifb:off video=vesafb:off The blacklist allowed me to finally dump my vbios rom using this command: cat /sys/firmware/acpi/tables/VFCT > /mnt/user/isos/vbios/890m_vfct.bin Used this command to trim out the vbios rom # 1. Find the byte offset where the VBIOS starts (the 55 AA signature) OFFSET=$(grep -aobU $'\x55\xAA' /mnt/user/isos/vbios/890m_vfct.bin | head -n 1 | cut -d: -f1) # 2. Extract exactly 131072 bytes (128KB) starting from that offset dd if=/mnt/user/isos/vbios/890m_vfct.bin of=/mnt/user/isos/vbios/890m_final.rom bs=1 skip=$OFFSET count=131072 Lastly i had to use XML edit on the VM set up because the simple view just would not work for me. I can't share my hostdev lines because i've made so many edits and changes. I had to switch between VNC so many times trying to get my audio and USB mouse/keyboard working. I'm going to try setting up RDP so i can stop using VNC(which seems to create some odd display/passthrough conflicts). And the AMD driver installation in my windows 10 VM gets stuck so something is isn't quite right.
-
Minisforum N5 / N5 Pro
Where you able to get gpu passthrough working with the N5 pro? that is what i am struggling with, wish i saw the earlier post about gpu passthrough not being supported earlier.
TimmyLAB
Members
-
Joined
-
Last visited