[vfio-users] passthrough not working.

Karsten Elfenbein karsten.elfenbein at gmail.com
Wed Oct 18 15:50:13 UTC 2017


Hi,

could you check if the card works after a complete system reboot? I
had the issue that a lower GF which only worked once per Host boot.
Subsequent VM starts did not produce any output on the card.

I Decided to replace the card with a GF950 after that.


Karsten

2017-10-18 3:10 GMT+02:00  <redhat at vanvoorn.com>:
> Dear vfio-users,
>
> I am having trouble passing through my GTX 660 with KVM.
>
> When using SeaBIOS, I always get "device does not support requested feature
> x-vga". With OVMF, no matter what vbios I pass through, I get no output.
>
> Could you please take a look at it since I have been working on it for a
> while?
>
> With kind regards,
>
> Peter Alias Mazhive.
>
> Below is my specs, the exact error, and lspci info. Please let me know if
> you need anything else.
>
>
> ##########################
> fedora 26 4.13.5-200.fc26.x86_64
>
> Mobo: ASUS: Maximus viii hero
> bios : 3201x64
> ASUS : GTX660DC2O2GD5 in the first slot  a pciex16x8
>
> ###########################
> #  virt-manager error
> ########################
>
> Error starting domain: internal error: qemu unexpectedly closed the monitor:
> 2017-10-18T00:46:08.309736Z qemu-system-x86_64: -device
> vfio-pci,host=01:00.0,x-vga=on,id=hostdev0,bus=pci.0,addr=0x2: vfio error:
> 0000:01:00.0: failed getting region info for VGA region index 8: Invalid
> argument
> device does not support requested feature x-vga
>
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in
> cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
>     callback(*args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in
> newfn
>     ret = fn(self, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/domain.py", line 1505, in
> startup
>     self._backend.create()
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1039, in create
>     if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
> libvirtError: internal error: qemu unexpectedly closed the monitor:
> 2017-10-18T00:46:08.309736Z qemu-system-x86_64: -device
> vfio-pci,host=01:00.0,x-vga=on,id=hostdev0,bus=pci.0,addr=0x2: vfio error:
> 0000:01:00.0: failed getting region info for VGA region index 8: Invalid
> argument
> device does not support requested feature x-vga
> #################################################################
> lspci -vvv -s 01:00.0
> #################################################################
>
> 01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX
> 660] (rev a1) (prog-if 00 [VGA controller])
>         Subsystem: ASUSTeK Computer Inc. Device 8422
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Interrupt: pin A routed to IRQ 16
>         Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M]
>         Region 1: Memory at d0000000 (64-bit, prefetchable) [size=128M]
>         Region 3: Memory at d8000000 (64-bit, prefetchable) [size=32M]
>         Region 5: I/O ports at e000 [size=128]
>         Expansion ROM at df000000 [disabled] [size=512K]
>         Capabilities: [60] Power Management version 3
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
>                 Address: 0000000000000000  Data: 0000
>         Capabilities: [78] Express (v2) Endpoint, MSI 00
>                 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
> unlimited, L1 <64us
>                         ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
> SlotPowerLimit 75.000W
>                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
>                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
>                         MaxPayload 256 bytes, MaxReadReq 512 bytes
>                 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> TransPend-
>                 LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit
> Latency L0s <512ns, L1 <4us
>                         ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
>                 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
>                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>                 LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
> DLActive- BWMgmt- ABWMgmt-
>                 DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR-,
> OBFF Not Supported
>                          AtomicOpsCap: 32bit- 64bit- 128bitCAS-
>                 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-,
> LTR-, OBFF Disabled
>                          AtomicOpsCtl: ReqEn-
>                 LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance-
> SpeedDis-
>                          Transmit Margin: Normal Operating Range,
> EnterModifiedCompliance- ComplianceSOS-
>                          Compliance De-emphasis: -6dB
>                 LnkSta2: Current De-emphasis Level: -3.5dB,
> EqualizationComplete+, EqualizationPhase1+
>                          EqualizationPhase2+, EqualizationPhase3+,
> LinkEqualizationRequest+
>         Capabilities: [b4] Vendor Specific Information: Len=14 <?>
>         Capabilities: [100 v1] Virtual Channel
>                 Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
>                 Arb:    Fixed- WRR32- WRR64- WRR128-
>                 Ctrl:   ArbSelect=Fixed
>                 Status: InProgress-
>                 VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
>                         Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128-
> WRR256-
>                         Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
>                         Status: NegoPending- InProgress-
>         Capabilities: [128 v1] Power Budgeting <?>
>         Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1
> Len=024 <?>
>         Capabilities: [900 v1] #19
>         Kernel driver in use: vfio-pci
>         Kernel modules: nouveau
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users




More information about the vfio-users mailing list