Got an offer I couldn’t refuse on a NIB 2070 FE so I figured I’d try and get gpu passthrough/looking glass working. Vfio passthrough has been unfruitful. No video output from the card what so ever. Code 43 in device manager. When the code 43 fix is applied the card completely disappears from device manager. Also the VM will not shut down on it’s own. After force shutting it down the GPU enters a weird state and can’t be re-initialized (error 127 in vfio)
0b:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2070] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: nouveau
DMESG reports a lot of issues with FLR (which the 2070 at least, does report it supports)
No issues here with a 2080 Ti. I’ve got a 1950X though, not the second gen Threadripper.
Are you passing through all the different devices? With my Ti, there’s like four different ones… unlike most cards it also has a USB and serial bus controller.
0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GV102 [10de:1e07] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:866a]
Flags: bus master, fast devsel, latency 0, IRQ 155, NUMA node 0
Memory at ba000000 (32-bit, non-prefetchable) [size=16M]
Memory at 4820000000 (64-bit, prefetchable) [size=256M]
Memory at 4830000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
Expansion ROM at bb000000 [disabled] [size=512K]
Capabilities:
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
0a:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f7] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:866a]
Flags: bus master, fast devsel, latency 0, IRQ 156, NUMA node 0
Memory at bb080000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
0a:00.2 USB controller [0c03]: NVIDIA Corporation Device [10de:1ad6] (rev a1) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:866a]
Flags: bus master, fast devsel, latency 0, IRQ 157, NUMA node 0
Memory at 4832000000 (64-bit, prefetchable) [size=256K]
Memory at 4832040000 (64-bit, prefetchable) [size=64K]
Capabilities:
Kernel driver in use: vfio-pci
0a:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device [10de:1ad7] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:866a]
Flags: bus master, fast devsel, latency 0, IRQ 152, NUMA node 0
Memory at bb084000 (32-bit, non-prefetchable) [size=4K]
Capabilities:
Note that if you have gone from a GTX9xx series or older card once you hit the 10xx series you need to provide Qemu with your NVidia BIOS as after post the system loses access to it, which means the VM also can’t use it to re-post the card. I wouldn’t be surprised if this is the same for the 20xx series.
As for testing, development, etc… nope, I do not have the funds to buy one. At this time the only way this would happen is if someone donated a card to the LG project.
I’m not adding any BIOS file either. I do have the Nvidia driver completely blacklisted on my host, so it never attaches to the card before vfio grabs it.
I also compiled QEMU 3.0 with the patches that were posted in the thread on VFIO performance here, allowing for the full PCIe 3.0 x16 link speed to be recognized. Other than that I think my config is mostly standard.
Well that answers that question. I don’t have a choice since I am passing both my GPUs into separate VMs, one always will get posted by the bios until the manufacturers start giving us an option to disable GPU post (like that will ever happen).
I do 100% of my work in Linux and 90% of my gaming. The vm is for that last stubborn 10% of games. So the RX 590 in the top pcie slot handles linux and the 2070 can be dedicated to windows so it’s blacklisted and stubbed.