I'm running an AMD laptop (ASUS ROG Strix G513QC with integrated AMD graphics and a dedicated NVIDIA GPU (RTX 3050). I had fixed the code 43 for a moment by disabling and re-enabling the driver but now that no longer works.
Followed https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on textonly video=efifbff video=vesafbff"
root@vpj:/etc/default# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@vpj:/etc/modprobe.d# cat blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
root@vpj:/etc/modprobe.d# cat iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@vpj:/etc/modprobe.d# cat pve-blacklist.conf
# This file contains a list of modules which are not supported by Proxmox VE
# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
root@vpj:/etc/modprobe.d# cat vfio.conf
options vfio-pci ids=10de:25a5,10de:2291 disable_vga=1
root@vpj:/etc/pve/qemu-server# cat /etc/pve/qemu-server/100.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 0
bios: ovmf
boot: order=sata0
cores: 6
cpu: host,hidden=1,flags=+pcid,hv-vendor-id=proxmox
hostpci0: 01:00.0,pcie=1,romfile=Asus.RTX3050Mobile.4096.210519.rom
hostpci1: 01:00.1,pcie=1
ide2: local:iso/virtio-win-0.1.215.iso,media=cdrom,size=528322K
machine: q35
memory: 10000
name: windows
net0: virtio=42:18:EF:5E:C1:4E,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: local-lvm:vm-100-disk-0,size=300G
scsihw: virtio-scsi-pci
smbios1: uuid=2e5a76dc-cba9-4761-bd5e-4c0702892ef5
sockets: 1
vga: none
vmgenid: e40e446e-28c9-4699-93e1-59a7ae425a62
01:00.0 VGA compatible controller: NVIDIA Corporation Device 25a5 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 10ec
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 10ec
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Have Windows 10 Pro installed with the latest NVIDIA graphics drivers (there are no beta drivers available). I have virtio-win drivers installed as well. Any ideas on what might be causing a code 43? I was told that it's because the VM knows it's a VM and the host has to trick it or something like that.
Followed https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on textonly video=efifbff video=vesafbff"
root@vpj:/etc/default# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@vpj:/etc/modprobe.d# cat blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
root@vpj:/etc/modprobe.d# cat iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@vpj:/etc/modprobe.d# cat pve-blacklist.conf
# This file contains a list of modules which are not supported by Proxmox VE
# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
root@vpj:/etc/modprobe.d# cat vfio.conf
options vfio-pci ids=10de:25a5,10de:2291 disable_vga=1
root@vpj:/etc/pve/qemu-server# cat /etc/pve/qemu-server/100.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 0
bios: ovmf
boot: order=sata0
cores: 6
cpu: host,hidden=1,flags=+pcid,hv-vendor-id=proxmox
hostpci0: 01:00.0,pcie=1,romfile=Asus.RTX3050Mobile.4096.210519.rom
hostpci1: 01:00.1,pcie=1
ide2: local:iso/virtio-win-0.1.215.iso,media=cdrom,size=528322K
machine: q35
memory: 10000
name: windows
net0: virtio=42:18:EF:5E:C1:4E,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: local-lvm:vm-100-disk-0,size=300G
scsihw: virtio-scsi-pci
smbios1: uuid=2e5a76dc-cba9-4761-bd5e-4c0702892ef5
sockets: 1
vga: none
vmgenid: e40e446e-28c9-4699-93e1-59a7ae425a62
01:00.0 VGA compatible controller: NVIDIA Corporation Device 25a5 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 10ec
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 10ec
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Have Windows 10 Pro installed with the latest NVIDIA graphics drivers (there are no beta drivers available). I have virtio-win drivers installed as well. Any ideas on what might be causing a code 43? I was told that it's because the VM knows it's a VM and the host has to trick it or something like that.
Last edited: