Re: VGA passthrough of GTX 660 to KVM guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2013-08-28 at 18:29 +0200, Gustav Sorenson wrote:
> Hi Alex,
> 
> thanks for the info you provided, although I have to admit I didn't
> understand all of it - just so you don't overestimate my knowledge. :)
> 
> Here's the output you requested:
> 
> [    0.321111] vgaarb: device added:
> PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none
> [    0.321120] vgaarb: device added:
> PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
> [    0.321122] vgaarb: loaded
> [    0.321123] vgaarb: bridge control possible 0000:01:00.0
> [    0.321123] vgaarb: no bridge control possible 0000:00:01.0
> [   16.325255] hda-intel 0000:01:00.1: Handle VGA-switcheroo audio client
> [   36.736262] vgaarb: this pci device is not a vga device
> [   36.736274] vgaarb: this pci device is not a vga device
> [   36.736292] vgaarb: this pci device is not a vga device
> [   36.736302] vgaarb: this pci device is not a vga device
> [   36.736312] vgaarb: this pci device is not a vga device
> [   36.736322] vgaarb: this pci device is not a vga device
> [   36.736332] vgaarb: this pci device is not a vga device
> [   36.736342] vgaarb: this pci device is not a vga device
> [   36.736352] vgaarb: this pci device is not a vga device
> [   36.736362] vgaarb: this pci device is not a vga device
> [   36.736373] vgaarb: this pci device is not a vga device
> [   36.736384] vgaarb: this pci device is not a vga device
> [   36.736395] vgaarb: this pci device is not a vga device
> [   36.736406] vgaarb: this pci device is not a vga device
> [   36.736417] vgaarb: this pci device is not a vga device
> [   36.736428] vgaarb: this pci device is not a vga device
> [   36.736440] vgaarb: this pci device is not a vga device
> [   36.736452] vgaarb: this pci device is not a vga device
> [   36.736464] vgaarb: this pci device is not a vga device
> [   36.736475] vgaarb: this pci device is not a vga device
> [   36.736487] vgaarb: this pci device is not a vga device
> [   36.736499] vgaarb: this pci device is not a vga device
> [   36.736511] vgaarb: this pci device is not a vga device
> [   36.736524] vgaarb: this pci device is not a vga device
> [   36.736537] vgaarb: this pci device is not a vga device
> [   36.736549] vgaarb: this pci device is not a vga device
> [   36.736571] vgaarb: device changed decodes:
> PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none

This is a problem.  Something told the VGA arbiter that 1:00.0 (assume
this is the gtx660) does not decode VGA I/O or memory.  That means we
can't route it to the card when we try to assign it.  These "this pci
device is not a vga device" messages come from the write function
of /dev/vga_arbiter, so something in userspace is doing this, and
apparently doing it very arbitrarily since it must have tried ever
device in the system.  Are you running an X server on the host?  If so,
can you boot to a runlevel that doesn't start X and see if these
messages are still present?  Thanks,

Alex

> [   36.736593] vgaarb: this pci device is not a vga device
> [   36.736607] vgaarb: this pci device is not a vga device
> [   36.736620] vgaarb: this pci device is not a vga device
> 
> > Of course even if you get VGA working, you're still likely to get a Code
> > 43 trying to enable the Nvidia driver, but I appreciate any efforts to
> > help figure that out.  Thanks,
> 
> I'm happy to help where I can.
> 
> Thank you very much for your efforts!



--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux