You are not logged in.

#1 2018-10-16 20:16:42

CheckB
Member
Registered: 2018-10-16
Posts: 1

Forward GPU in Proxmox 4.4, seabios and low resolution

I’m trying to forward the RX560 to a Windows 10 machine, but I can only choose a low resolution:
https://i.imgur.com/U4gxMNo.png



What did I do:

1. In /etc/default/grub changed GRUB_CMDLINE_LINUX_DEFAULT = “quiet” to GRUB_CMDLINE_LINUX_DEFAULT = “quiet intel_iommu = on”

completed update-grub

After reboot, I checked the performance of dmesg | grep -e DMAR -e IOMMU

[0.000000] DMAR: IOMMU enabled

2. In /etc/modules added

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

3.
lspci -n -s 0a:00

0a:00.0 0300: 10de:0a65 (rev a2)
0a:00.1 0403: 10de:0be3 (rev a1)

echo «options vfio-pci ids=10de:0a65,10de:0be3» > /etc/modprobe.d/vfio.conf

echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

reboot

4. VM config:

bootdisk: sata0
cores: 12
cpu: host,hidden=1
machine: q35
memory: 2048
name: testwin
net0: e1000=32:07:9D:A9:42:B2,bridge=vmbr2
numa: 1
ostype: win10
sata0: local:107/vm-107-disk-1.raw,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=8f5ff260-1787-4c06-9545-86fc801035be
sockets: 2
hostpci0: 0a:00,pcie=1,x-vga=on

5. dmesg | grep ecap

[    0.090228] DMAR: dmar0: reg_base_addr fbffe000 ver 1:0 cap c90780106f0462 ecap f020fe

6. find /sys/kernel/iommu_groups/ -type l

/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.0
/sys/kernel/iommu_groups/2/devices/0000:00:03.0
/sys/kernel/iommu_groups/3/devices/0000:00:07.0
/sys/kernel/iommu_groups/4/devices/0000:00:09.0
/sys/kernel/iommu_groups/5/devices/0000:00:0a.0
/sys/kernel/iommu_groups/6/devices/0000:00:0d.0
/sys/kernel/iommu_groups/6/devices/0000:00:0d.1
/sys/kernel/iommu_groups/6/devices/0000:00:0d.2
/sys/kernel/iommu_groups/6/devices/0000:00:0d.3
/sys/kernel/iommu_groups/6/devices/0000:00:0d.4
/sys/kernel/iommu_groups/6/devices/0000:00:0d.5
/sys/kernel/iommu_groups/6/devices/0000:00:0d.6

Last edited by CheckB (2018-10-16 20:18:15)

Offline

Board footer

Powered by FluxBB