I succeeded to passthrough my gpu with the following settings in proxmox 6.0 but I can't get it work on proxmox 6.1.
my pc parts are as follows
======================================================================================
motherboard: x570 aorus elite
gpu slot 1: rtx 2070 super
gpu slot 2: rx580
cpu: ryzen 3700x
======================================================================================
my settings are as follows
======================================================================================
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf
echo "options vfio-pci ids=<some ids> disable_vga=1" > /etc/modprobe.d/vfio.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
update-grub
update-initramfs -u -k all
======================================================================================
args: -cpu host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=1234567890ab,kvm=off
bios: ovmf
bootdisk: scsi0
cores: 4
cpu: host,hidden=1
efidisk0: local-lvm:vm-100-disk-1,size=128K
hostpci0: 09:00,pcie=1,x-vga=1
ide2: local:iso/Win10_1909_English_x64.iso,media=cdrom
machine: pc-q35-3.1
memory: 16384
name: win10-spicyisland
net0: virtio=F2:CD:C6:A8:27:A7,bridge=vmbr0,firewall=1
numa: 1
ostype: win10
sata0: local:iso/virtio-win-0.1.171.iso,media=cdrom,size=363020K
sata1: local:iso/nvidia-driver.iso,media=cdrom,size=587348K
scsi0: local-lvm:vm-100-disk-0,iothread=1,size=200G
scsihw: virtio-scsi-single
smbios1: uuid=55d45ec6-e7a9-42ca-88af-10cf1b80ea8d
sockets: 1
usb0: host=413c:2113
usb1: host=18f8:0fc0
vga: none
======================================================================================
This is what I do in proxmox 6.0
However it's not working on proxmox 6.1.
I tried many settings like
-machine type=q35,kernel_irqchip=on
iommu=pt
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
tried to install windows first and add gpu, add gpu as pci device,
changed q35 to pc-q35-3.1
and so on but non of them worked.
I'd like to use latest features but I can't.
Is this some kind of bug in the kernel or qemu 4.1.1 ?
my pc parts are as follows
======================================================================================
motherboard: x570 aorus elite
gpu slot 1: rtx 2070 super
gpu slot 2: rx580
cpu: ryzen 3700x
======================================================================================
my settings are as follows
======================================================================================
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf
echo "options vfio-pci ids=<some ids> disable_vga=1" > /etc/modprobe.d/vfio.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
update-grub
update-initramfs -u -k all
======================================================================================
args: -cpu host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=1234567890ab,kvm=off
bios: ovmf
bootdisk: scsi0
cores: 4
cpu: host,hidden=1
efidisk0: local-lvm:vm-100-disk-1,size=128K
hostpci0: 09:00,pcie=1,x-vga=1
ide2: local:iso/Win10_1909_English_x64.iso,media=cdrom
machine: pc-q35-3.1
memory: 16384
name: win10-spicyisland
net0: virtio=F2:CD:C6:A8:27:A7,bridge=vmbr0,firewall=1
numa: 1
ostype: win10
sata0: local:iso/virtio-win-0.1.171.iso,media=cdrom,size=363020K
sata1: local:iso/nvidia-driver.iso,media=cdrom,size=587348K
scsi0: local-lvm:vm-100-disk-0,iothread=1,size=200G
scsihw: virtio-scsi-single
smbios1: uuid=55d45ec6-e7a9-42ca-88af-10cf1b80ea8d
sockets: 1
usb0: host=413c:2113
usb1: host=18f8:0fc0
vga: none
======================================================================================
This is what I do in proxmox 6.0
However it's not working on proxmox 6.1.
I tried many settings like
-machine type=q35,kernel_irqchip=on
iommu=pt
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
tried to install windows first and add gpu, add gpu as pci device,
changed q35 to pc-q35-3.1
and so on but non of them worked.
I'd like to use latest features but I can't.
Is this some kind of bug in the kernel or qemu 4.1.1 ?
Last edited: