Jump to content
bwainhouse

Nearly through on GPU pass-through

19 posts in this topic Last Reply

Recommended Posts

Hello UNRIDER's i'm back again

New GPU

New CPU 

New PSU, Mother Board and Memory .................

Same issue! I can't get my GPU Pass-through to work  

 

I raised the same issue last year 

 

And diagnosed that it was my GPU that was not working with KVM. So i brought and built myself a new (system details below) including a GTX 1060 6gb and re-followed Spaceinvader one's excellent Video's including, removing the header from the bios using Hex editor, madesure the GPU is in its own IOMMU group. 

 

However when I try and start the VM it crashes, in the logs it's stating an issue with the GPU: 

'2019-01-08T21:59:22.873797Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5,romfile=/mnt/disk1/BIOS/MSIGTX1060.rom: Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow'

 

Please can anyone help, i'm so close to giving up on Unraid and just building a Windows machine, let me know if you need config details? 

 

System info  

IOMMU group 0:[8086:3ec2] 00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)

IOMMU group 1:[8086:1901] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)

IOMMU group 2:[8086:a2af] 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller

[8086:a2b1] 00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem

IOMMU group 3:[8086:a2ba] 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1

IOMMU group 4:[8086:2822] 00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode]

IOMMU group 5:[8086:a290] 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)

IOMMU group 6:[8086:a294] 00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)

IOMMU group 7:[8086:a2c9] 00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller

[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller

[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

IOMMU group 8:[8086:15b8] 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V

IOMMU group 9:[10de:1c03] 01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

IOMMU group 10:[10de:10f1] 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)

IOMMU group 11:[10de:128b] 03:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

IOMMU group 12:[10de:0e0f] 03:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

 

 

Share this post


Link to post

Need Diagnostics file...

 

Also, where did you get the video BIOS file?

Edited by Warrentheo

Share this post


Link to post

Hey thanks so much for replying 

 

Got out the bios from gpu-z

 

Will get the diag when I get home

Share this post


Link to post

GPU-z is only sometimes effective, I had to dump mine from the UnRaid command line to get it to work... There are videos from Space Invader that help with that...

Share this post


Link to post

#_# I ironically got it from videocards bios repository. Has worked with both my ASUS Dual 1070 and my EVGA 1080TI SC2.

Share this post


Link to post

 Thanks Jerky

 

Is that a website?

 

If so I'll try it

 

Thing is I did try my gaming pc 1070 and it works flawlessly I got the bios from this forum so perhaps it's is just the bios?

 

I'm just not convinced I'll get the FPS that I need

Share this post


Link to post
Just now, bwainhouse said:

 Thanks Jerky

 

Is that a website?

 

If so I'll try it

 

Thing is I did try my gaming pc 1070 and it works flawlessly I got the bios from this forum so perhaps it's is just the bios?

 

I'm just not convinced I'll get the FPS that I need

https://www.techpowerup.com/vgabios/

 

My system with a ton of tweaks because its a 2990wx #_# and apparently isn't super well supported by QEMU right now gets near parity with baremetal.

Edited by Jerky_san

Share this post


Link to post

 Thanks Jerky

 

Is that a website?

 

If so I'll try it

 

Thing is I did try my gaming pc and it works flawlessly and I got

Share this post


Link to post
36 minutes ago, Jerky_san said:

#_# I ironically got it from videocards bios repository. Has worked with both my ASUS Dual 1070 and my EVGA 1080TI SC2.

If you are sure, then it is a decent way to do it...  I don't think there are many scenarios that will cause this, but it may be possible to fry your card or cause wonky issues by having a slightly off bios that doesn't line up with what is on the card...  Unlikely, but still prefer to get it from the card in question...

Share this post


Link to post

hi guys

still having problems 

I have downloaded extracted the bios from the card but getting the same error image.png.4177c75f51e7463094d03e5965c956b9.png

 

any other suggestions?

Share this post


Link to post

OK so I can remotely access the VM via RDP but the card is NOT showing in device manager 

image.png.756205974df87eec08e852ffe9b0f1b9.png

 

image.png.a1ad422beb931466eed053e00913be49.png

Share this post


Link to post

This probably won't help with the error you are having but worth a try. You need to pass through the sound card that is associated with your video card. It will be identified as 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)

Share this post


Link to post
3 hours ago, GHunter said:

This probably won't help with the error you are having but worth a try. You need to pass through the sound card that is associated with your video card. It will be identified as 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)

Yah, try that...

Share this post


Link to post

Hey guys

 

Worked it out, had the card in the first slot 

Swapped the card to the second slot and it worked imediately

 

Thanks for all your help

 

My next question is why?

Edited by bwainhouse

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now