[SOLVED] Proxmox 4 Passthrough Help (kind of solved)

DottedLine

New Member
Dec 13, 2015
7
0
1
I am able to get passthrough to work using unRaid, so I know that it can work. When I try to set it up in Proxmox, the VM starts without error, but I get no display from my graphics card. The VM stats show 50% of 2 CPUs and 1.58 of 2GB consistanly being used.

Steps I've taken:
  1. added intel_iommu=on ks /etc/default/grub
  2. update-grub
  3. blacklist nouveau
  4. added gpu to 100.conf

Relevant Hardware:
Mobo: GA-H77M-D3H​
CPU: Intel I5-3570​
GPU: NVidia GTX 660Ti

pveversion:
Code:
proxmox-ve: 4.1-26 (running kernel: 4.2.6-1-pve)
pve-manager: 4.1-1 (running version: 4.1-1/2f9650d4)
pve-kernel-4.2.6-1-pve: 4.2.6-26
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 0.17.2-1
pve-cluster: 4.0-29
qemu-server: 4.0-41
pve-firmware: 1.1-7
libpve-common-perl: 4.0-29
libpve-access-control: 4.0-10
libpve-storage-perl: 4.0-38
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.4-17
pve-container: 1.0-32
pve-firewall: 2.0-14
pve-ha-manager: 1.0-14
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-5
lxcfs: 0.13-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve6~jessie


lspci:
Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
05:00.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01)

dmesg | grep -e DMAR -e IOMMU:
Code:
[    0.000000] ACPI: DMAR 0x00000000CB8C38B0 0000B8 (v01 INTEL  SNB      00000001 INTL 00000001)[    0.000000] DMAR: IOMMU enabled
[    0.027371] DMAR: Host address width 36
[    0.027372] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.027380] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
[    0.027381] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.027384] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
[    0.027385] DMAR: RMRR base: 0x000000cc106000 end: 0x000000cc114fff
[    0.027386] DMAR: RMRR base: 0x000000cd800000 end: 0x000000cf9fffff
[    0.027387] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.027388] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.027389] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.027614] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.447564] DMAR: No ATSR found
[    0.447629] DMAR: dmar0: Using Queued invalidation
[    0.447981] DMAR: dmar1: Using Queued invalidation
[    0.447987] DMAR: Setting RMRR:
[    0.447995] DMAR: Setting identity map for device 0000:00:02.0 [0xcd800000 - 0xcf9fffff]
[    0.448143] DMAR: Setting identity map for device 0000:00:14.0 [0xcc106000 - 0xcc114fff]
[    0.448159] DMAR: Setting identity map for device 0000:00:1a.0 [0xcc106000 - 0xcc114fff]
[    0.448171] DMAR: Setting identity map for device 0000:00:1d.0 [0xcc106000 - 0xcc114fff]
[    0.448178] DMAR: Prepare 0-16MiB unity mapping for LPC
[    0.448183] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
[    0.448358] DMAR: Intel(R) Virtualization Technology for Directed I/O
[   10.270499] [drm] DMAR active, disabling use of stolen memory

VM 100.conf:
Code:
bootdisk: scsi0cores: 2
cpu: host
ide2: local:iso/en_windows_7_professional_x64_dvd_X15-65805.iso,media=cdrom
memory: 2048
name: test
net0: virtio=22:B7:09:17:CA:82,bridge=vmbr0
numa: 0
ostype: other
scsi0: local:100/vm-100-disk-1.qcow2,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=fcb24a54-811b-4418-bbf6-5d4fc8015f3a
sockets: 1
machine: q35
hostpci0: 01:00,x-vga=on,pcie=1

I also noticed some drm errors that I'm not sure if they are significant or not.
Code:
[    9.971333] [drm] Initialized drm 1.1.0 20060810[   10.370851] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[   10.370865] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun

What am I missing?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!