You are not logged in.

#1 2020-06-19 07:03:37

s.esprizs
Member
Registered: 2020-06-19
Posts: 1

Unable to passthrough nvidia graphic card via OVFM

Hi
I'm using Asus s510 UQ and using arch linux as my host Operating System .

Now I Want To Install Windows 10 via KVM

And I want To Use My nVidia graphic Card For 10 Windows 10

arch linux use Intel VGA

This is a few line of  "lspci -v " uotput

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. UHD Graphics 620
        Flags: bus master, fast devsel, latency 0, IRQ 128
        Memory at ed000000 (64-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

and this is lspci output :

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #0 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

i think i can use "01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)"  for windows 10

when i used window 10 i could use GeForce 940MX 


I see this topic


https://wiki.archlinux.org/index.php/PC … h_via_OVMF


and i did every think he said

this is output of "dmesg | grep -i vfio"

[    1.904039] VFIO - User Level meta-driver version: 0.3
[    1.925695] vfio_pci: add [10de:134d[ffffffff:ffffffff]] class 0x000000/00000000

and this is "lspci -nnk -d 10de:134d" output

01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940MX] [10de:134d] (rev a2)
        Subsystem: ASUSTeK Computer Inc. GM108M [GeForce 940MX] [1043:164e]
        Kernel driver in use: vfio-pci
        Kernel modules: nouveau

well

i install a ovfm bases VM
and install window 10 on it

and then add "0000:01:00:0 NVIDIA Corporation GM108M [GeForce 940MX]" to hardwares list

when i start windows 10 i see "3d Controller" in unknown devises

i try to install the driver but i could not because of an error "unable to find "

"nvidia installer could not be continue
this graohics driver could not find compatiblegraphics hardwere  "

Offline

#2 2020-06-19 07:12:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,871

Re: Unable to passthrough nvidia graphic card via OVFM

You can't simply do this, "normal" passthrough requires a display attached to the "passedthrough" graphics card which isn't the case here. a googler for nvidia optimus passthrough turns up the following gist: https://gist.github.com/Misairu-G/616f7 … addc940b28 but I haven't/can't test it.

Offline

Board footer

Powered by FluxBB