Intel i7-6700 and HD530 passtrough with audio


coder

Recommended Posts

Hi

 

So my build is:

M/B: Gigabyte Technology Co., Ltd. H110TN Version x.x - s/n: Default string

BIOS: American Megatrends Inc. Version F24. Dated: 12/14/2017

CPU: Intel® Core™ i7-6700T CPU @ 2.80GHz

HVM: Enabled

IOMMU: Enabled

 

PCI Devices and IOMMU Groups

IOMMU group 0:[8086:191f] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)

IOMMU group 1:[8086:1912] 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

IOMMU group 2:[8086:a12f] 00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)

IOMMU group 3:[8086:a13a] 00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)

IOMMU group 4:[8086:a102] 00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)

IOMMU group 5:[8086:a114] 00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)

IOMMU group 6:[8086:a115] 00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)

IOMMU group 7:[8086:a116] 00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)

IOMMU group 8:[8086:a117] 00:1c.7 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #8 (rev f1)

IOMMU group 9:[8086:a118] 00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)

IOMMU group 10:[8086:a143] 00:1f.0 ISA bridge: Intel Corporation H110 Chipset LPC/eSPI Controller (rev 31)

[8086:a121] 00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)

[8086:a170] 00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)

[8086:a123] 00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)

 

As in this thread suggested, i added "append pcie_acs_override=downstream vfio-pci.ids=8086:a170 modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot" to Syslinux config i Unraid OS.

 

But when i create Windwos 10 VM, i cannot get even the GPU passtrough to work - no display over HDMI.

 

So can somebody help me, like with what settings should i try to create this VM  - machine/BIOS version? 

Hyper-V is set to no.

Graphics card is shown correctly: Intel HD Graphics 530

Also the sound card is detected as: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller

 

VM with Q35-3.1 and OVMF bios gives an error of: 

2019-09-07T16:15:50.825162Z qemu-system-x86_64: -device vfio-pci,host=00:02.0,id=hostdev0,bus=pcie.0,addr=0x2: Failed to mmap 0000:00:02.0 BAR 2. Performance may be slow
2019-09-07T16:15:50.825256Z qemu-system-x86_64: -device vfio-pci,host=00:02.0,id=hostdev0,bus=pcie.0,addr=0x2: IGD device 0000:00:02.0 cannot support legacy mode due to existing devices at address 1f.0

 

VM with i440fs-3.1 and SeaBIOS bios gives tons of errors with: 

2019-09-07T16:20:18.710157Z qemu-system-x86_64: vfio_region_write(0000:00:02.0:region2+0x1788, 0x0,4) failed: Device or resource busy

 

SeaBISO with i440fs-2.7 the VM picture is shown, but only if i do not mount the OS Install ISO!
When the iso is mounted it gives erros:
2019-09-07T16:36:16.614679Z qemu-system-x86_64: vfio_region_write(0000:00:02.0:region2+0x1a4424, 0x0,4) failed: Device or resource busy

 

 

NB! if somebody can help me to get it to work, i´ll be willing to do a BEER/Coffee donation via PayPal! 😉

Edited by coder
Link to comment

So with this line in Syslinux config, i was able to boot my Windows 10 VM, but after installing Intel HD graphics drivers, i get Code 43 at device manager, also audio is not working, but shown in the VM.

append pcie_acs_override=downstream vfio-pci.ids=8086:a170 modprobe.blacklist=i2c_i801,i2c_smbussnd_hda_intel video=efifb:off,vesafb:off

 

Also in the VM logs:

2019-09-08T10:47:13.195190Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism.

Link to comment
  • 4 weeks later...

Just for a bump, if anyone has a thought what else i can try?

 

EDIT:  i found the solution from the forums. First i needed to add some RAM, with 5GB the VM started, no video issues, Intel drivers installed, audio is working - so all good!

The VM had some massive memory usage, over 90% was in use with no simple reason. Then i found solution for the RAM issue:

It solved the RAM usage problem.

Edited by coder
  • Like 3
Link to comment
  • 3 months later...

I have got almost same setup as you, and your posts has helped me a lot. However, when I restart the vm, the sound card does not want to restart, and the vm hangs... I have to reboot the whole unraid for it to work. Now. I don't really need the hdmi sound card, because I got another one, but I am not able to start the machine without the hdmi soundcard.

 

Have you had this issue? And maybe found a solution to it? 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.