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

Re: [Xen-devel] RE: Help needed on gfx-passthrough


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Thu, 18 Mar 2010 11:19:32 +0100
  • Cc: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Delivery-date: Thu, 18 Mar 2010 03:20:20 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent:Cc: References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id; b=k9LGfAk66nCCZicWdHhNnGEpev81GDibewjHiX/QetQQVwHykzACPvIf jWA/N3Qu+6woMPZpWf3O0ES8V6DFUOJJw7/4xfoqAwNAXfu/KC5F0DdFO cJTcuDUcfPWAokRn+k2VxBjV9B27H4aZ++GJ5JTpj04k8/ZaRv/CvbDNS H+cSwVpbc7O5JyiA582L/ZP7OzczsP6ucgx4AJl+pTCYloinbjtuuLdhO CA2dS5FEoQfJId8a6/OnyHpggy5Ik;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Am 18.03.2010 schrieb Han, Weidong:
> There is a wiki page for xen gfx passthru: 
> http://wiki.xensource.com/xenwiki/XenVGAPassthrough. pls read it.

Yes I did this.

> 
> I didn't try your gfx card. As you know, some vbios of nVidia gfx cards have 
> vbios re-execution issue, which results in no display in VGA mode.

Yes I read this on the mailing list, you mean FLR issues?

> You can have a try with loading vbios from file and make vBAR = pBAR. You can 
> find the corresponding patches in xen-devel mailing list.

I tried this already.
I want to look a little bit deeper to understand whats going on.
I saw your igd_passthru patch qemu hw/pci.c for special handling of some 
pci config registers of the host bridge and maybe I need a similar patch
for the special PCI Express Graphics Port bridge.
My problem is that I don't see any access to extended config registers.
Therefore my question for help in debugging to see what the vgabios is doing.
Thanks.
Dietmar.
> 
> Regards,
> Weidong
> 
> 
> -----Original Message-----
> From: Dietmar Hahn [mailto:dietmar.hahn@xxxxxxxxxxxxxx] 
> Sent: Thursday, March 18, 2010 5:29 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Han, Weidong
> Subject: Help needed on gfx-passthrough
> 
> Hi list,
> 
> I try to get gfx-passthrough on a laptop:
> Intel PM45 Express chipset with extern nvidia craphics card G96M [Quadro FX 
> 770M]
> I can't see the bios boot messages and also not the grub boot loader.
> The domU linux boot messages appear on the screen.
> 
> For me it looks like the vgabios gets not started or works not well.
> In the domU I can read the vgabios from /dev/mem and it's the same as in dom0.
> If I change the hvmloader to use the standard vgabios from firmware/vgabios
> I see the bios and grub boot messages.
> 
> I added some tracing to qemu-dm (pt_*read/write and pci_*read/write) to see
> accesses to the emulated chipset and graphics card but I can see no difference
> between using the original vgabios or the emulated vgabios within the 
> hvmloader.
> 
> Now my question: how can I debug this problem. How can I see whether the 
> vgabios
> gets started and initialises the graphics card? 
> I'am not fit enough in this area and documentation is very rare!
> Thanks in advance!
> 
> Dietmar.
> 
> 
-- 
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.