WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] RE: Help needed on gfx-passthrough
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=dietmar.hahn@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1268907817; x=1300443817; h=from:to:subject:date:cc:references:in-reply-to: mime-version:content-transfer-encoding:message-id; z=From:=20Dietmar=20Hahn=20<dietmar.hahn@xxxxxxxxxxxxxx> |To:=20xen-devel@xxxxxxxxxxxxxxxxxxx|Subject:=20Re:=20[Xe n-devel]=20RE:=20Help=20needed=20on=20gfx-passthrough |Date:=20Thu,=2018=20Mar=202010=2011:19:32=20+0100|Cc:=20 "Han,=20Weidong"=20<weidong.han@xxxxxxxxx>|References:=20 <201003181029.11631.dietmar.hahn@xxxxxxxxxxxxxx>=20<1A42C E6F5F474C41B63392A5F80372B21D5F3A28@xxxxxxxxxxxxxxxxxxxxx tel.com>|In-Reply-To:=20<1A42CE6F5F474C41B63392A5F80372B2 1D5F3A28@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>|MIME-Version:=201. 0|Content-Transfer-Encoding:=207bit|Message-Id:=20<201003 181119.32389.dietmar.hahn@xxxxxxxxxxxxxx>; bh=o7Ko+kfNh8umvY8rYeJK8Bmk5wWyvnbvkSIeKsqLIiQ=; b=WjWjoK3BdXCow0Jlqu+QjtJAhWSRtmQTDB5yiYehybMbz3bHSm0ZJaeq 1bWv8Rzaaiw6Nrcx00pH/AqwYOLrhZ7YC6oeZp9UBJOXZN/KoC6drgNjn Nknh99hbn3EZpjTKe3dWcx5K8flJQbZ0MnfRPrnrk4DmNv96BDcPXladV thbOtMKtxv61rIyFQIqVmiulTQiV7cdzyFHOn1I6Iv3IyQI3h7VAi1etk RCR8xtq7DeZZEVQLdl5EUaTISK0zs;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1A42CE6F5F474C41B63392A5F80372B21D5F3A28@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201003181029.11631.dietmar.hahn@xxxxxxxxxxxxxx> <1A42CE6F5F474C41B63392A5F80372B21D5F3A28@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.1 (Linux/2.6.31.12-0.1-desktop; KDE/4.4.1; x86_64; ; )
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

<Prev in Thread] Current Thread [Next in Thread>