Hello,@markc I think it is a Windows Issue with the driver. I managed to pass it through, but it isn't working (device manager shows error 43).
On Ubuntu it worked with no issues. Hardware:
13900K / Asus Proart z790-Creator Wifi
It should be working. You don't need too passthrough anything to use a VM. You would just have to use a virtua GPU then.- is linux VM (e.g. ubuntu) simply working for such setup, so I did not find similar posts?
IF the passthrough is possible (I don't know if it is): You can use HDMI + Audio output as a usual Desktop. You'll just need to power on the device somehow via the Interface / a Script / whatever solution is possible to power on the VM.- does the full igpu passthrough give the full hdmi audio/video output beside the gpu access, and so the VM can be used as a desktop on external monitor?
I can confirm, AV over HDMI works well with the full gpu passtrhough for NUC13 i7 with linux VM.It should be working. You don't need too passthrough anything to use a VM. You would just have to use a virtua GPU then.
IF the passthrough is possible (I don't know if it is): Linux will just work, if mesa / kernel is as new as needed for the GPU.
IF SR/IOV is working(I don't know if it is):: Linux will just work as well.
IF the passthrough is possible (I don't know if it is): You can use HDMI + Audio output as a usual Desktop. You'll just need to power on the device somehow via the Interface / a Script / whatever solution is possible to power on the VM
Hey,I can confirm, AV over HDMI works well with the full gpu passtrhough for NUC13 i7 with linux VM.
I would love to learn how you did this. I cannot for the life of me get it to workI can confirm, AV over HDMI works well with the full gpu passtrhough for NUC13 i7 with linux VM.
root@pve:~# grep _CMDLINE_LINUX_ /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt module_blacklist=i915,snd_hda_intel,snd_hda_codec_hdmi,snd_sof_pci_intel_tg1"
root@pve:~# update-grub
root@pve:~# grep vfio /etc/modules
vfio
vfio_iommu_type1
vfio_pci
root@pve:~# cat /etc/modprobe.d/blacklist.conf
blacklist i915
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist snd_sof_pci_intel_tg1
root@pve:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=8086:a7a0,8086:51ca
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@pve:~# update-initramfs -u -k all
root@pve:~# systemctl reboot
root@pve:~# mkdir /usr/share/kvm/nuc13
root@pve:~# wget -P /usr/share/kvm/nuc13/ https://github.com/gangqizai/igd/raw/refs/heads/main/gen12_gop.rom
root@pve:~# wget -P /usr/share/kvm/nuc13/ https://github.com/gangqizai/igd/raw/refs/heads/main/gen12_igd.rom
root@pve:~# md5sum /usr/share/kvm/nuc13/*
d4a9ba02ddd8134be5abafa6dfd699cf /usr/share/kvm/nuc13/gen12_gop.rom
42abaea033982f2b2d1b616ae6062936 /usr/share/kvm/nuc13/gen12_igd.rom
root@pve:~# sed 's/[-0-9a-fA-F:]\{12,\}/xxx/' /etc/pve/local/qemu-server/100.conf
agent: 1
args: -set device.hostpci0.addr=02.0 -set device.hostpci0.x-igd-gms=0x2 -set device.hostpci0.x-igd-opregion=on -debugcon file:/root/igd_debug.log -global isa-debugcon.iobase=0x402
bios: ovmf
boot: order=scsi0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local-btrfs:100/vm-100-disk-0.raw,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:00:02.0,romfile=nuc13/gen12_igd.rom
hostpci1: 0000:00:1f.3,romfile=nuc13/gen12_gop.rom
ide2: local-btrfs:iso/Fedora-Workstation-Live-x86_64-39-1.5.iso,media=cdrom,size=2079836K
machine: q35
memory: 8192
meta: creation-qemu=8.1.2,ctime=1705861785
name: fedora
net0: virtio=xxx,bridge=vmbr0,firewall=1
numa: 1
ostype: l26
scsi0: local-btrfs:100/vm-100-disk-1.raw,discard=on,iothread=1,size=20G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=xxx
sockets: 2
usb0: host=1-7
usb1: host=1-1
vga: none
vmgenid: xxx
M8 you saved me really. With exactly your settings with minor differences i managed to passthrough from my Intel Ultra 245K the igpu to a WIndows 11 VM that i use as workstation.Sure, a few days to dig my config out.
These are my configs, the other commands are added manually (all this comes from that other thread).
You must run with the hdmi already connected. That simply works, both audio and video from VM.
I've just noticed I have duplicates in cmdline and in blacklist.
Code:root@pve:~# grep _CMDLINE_LINUX_ /etc/default/grub #GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt module_blacklist=i915,snd_hda_intel,snd_hda_codec_hdmi,snd_sof_pci_intel_tg1" root@pve:~# update-grub root@pve:~# grep vfio /etc/modules vfio vfio_iommu_type1 vfio_pci root@pve:~# cat /etc/modprobe.d/blacklist.conf blacklist i915 blacklist snd_hda_intel blacklist snd_hda_codec_hdmi blacklist snd_sof_pci_intel_tg1 root@pve:~# cat /etc/modprobe.d/vfio.conf options vfio-pci ids=8086:a7a0,8086:51ca options vfio_iommu_type1 allow_unsafe_interrupts=1 root@pve:~# update-initramfs -u -k all root@pve:~# systemctl reboot root@pve:~# mkdir /usr/share/kvm/nuc13 root@pve:~# wget -P /usr/share/kvm/nuc13/ https://github.com/gangqizai/igd/raw/refs/heads/main/gen12_gop.rom root@pve:~# wget -P /usr/share/kvm/nuc13/ https://github.com/gangqizai/igd/raw/refs/heads/main/gen12_igd.rom root@pve:~# md5sum /usr/share/kvm/nuc13/* d4a9ba02ddd8134be5abafa6dfd699cf /usr/share/kvm/nuc13/gen12_gop.rom 42abaea033982f2b2d1b616ae6062936 /usr/share/kvm/nuc13/gen12_igd.rom root@pve:~# sed 's/[-0-9a-fA-F:]\{12,\}/xxx/' /etc/pve/local/qemu-server/100.conf agent: 1 args: -set device.hostpci0.addr=02.0 -set device.hostpci0.x-igd-gms=0x2 -set device.hostpci0.x-igd-opregion=on -debugcon file:/root/igd_debug.log -global isa-debugcon.iobase=0x402 bios: ovmf boot: order=scsi0 cores: 4 cpu: x86-64-v2-AES efidisk0: local-btrfs:100/vm-100-disk-0.raw,efitype=4m,pre-enrolled-keys=1,size=528K hostpci0: 0000:00:02.0,romfile=nuc13/gen12_igd.rom hostpci1: 0000:00:1f.3,romfile=nuc13/gen12_gop.rom ide2: local-btrfs:iso/Fedora-Workstation-Live-x86_64-39-1.5.iso,media=cdrom,size=2079836K machine: q35 memory: 8192 meta: creation-qemu=8.1.2,ctime=1705861785 name: fedora net0: virtio=xxx,bridge=vmbr0,firewall=1 numa: 1 ostype: l26 scsi0: local-btrfs:100/vm-100-disk-1.raw,discard=on,iothread=1,size=20G,ssd=1 scsihw: virtio-scsi-single smbios1: uuid=xxx sockets: 2 usb0: host=1-7 usb1: host=1-1 vga: none vmgenid: xxx
We use essential cookies to make this site work, and optional cookies to enhance your experience.