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/
Home Products Support Community News


[Xen-devel] Re: graphics passthrough with VT-d

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: graphics passthrough with VT-d
From: Christian Tramnitz <chris.ace@xxxxxxx>
Date: Mon, 31 Aug 2009 23:14:46 +0200
Delivery-date: Mon, 31 Aug 2009 14:16:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6C1C48D.139B1%keir.fraser@xxxxxxxxxxxxx>
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: <EECC125FCE18E740AF561189E126028575C9@xxxxxxxxxxxxxxxxxxxxxxx> <C6C1C48D.139B1%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20090812)
Actually yes, that helped a lot. And finally some progress on VGA passthrough:

I have a X58 board with two ATI PCIe cards (RV770 and RV370). Currently the RV770 is the primary card that is used during bootup and also with Xorg in dom0 (radeonhd-only no fglrx). With the latest patches in this thread and a recent Xenclient kernel (haven't tested 2.6.18 in a while) I was able to passthrough the RV370 to a HVM domu, seeing the BIOS boot and the OS loading in text mode and then going into graphics mode. Windows (both pre-installed images I had and new installation attempts from CD) isn't working yet, telling me I don't have a fully ACPI compliant BIOS and quiting with a BSOD and STOP 0x5A, but I guess thats a minor thing because I've got a stock Knoppix to boot and load in gfx mode on the passthrough graphics card.

I really haven't expected that much progress since I haven't heard about any ATI tests at all for a while. Now I'm looking to get the STOP 0x5A resolved and then passthrough additional devices (USB, Sound, Network, Storage controller) and I'll also try to swap the RV370 and RV770 to get some 3D performance into the HVM domU.

Observations so far:
- when creating the domU while I'm in text mode the dom0 stalls. It doesn't lock up completely but the terminal and keyboard are frozen. When I create the domU while dom0 is running X everything is fine. - none of the HVM domU's have picked up the USB bus I tried to passthrough (with keyboard and mouse attached). Not sure if I just passed through the wrong bus or something else is broken - after a domU is stopped it will still show the last image on the passthrough gfx card (Knoppix desktop or Windows BSOD in my case) - after a couple of restarts (xm destroy/ the hard way due to lack of mouse/keyboard in domU) the secondary ATI gliteched and only showed a gren screen, had to reboot to get it working again. - I've tried Windows domUs with and without Viridian enabled, didn't make a difference in regards to the STOP

I'll continue to work on that and keep you posted. Any hints regarding the STOP 0x5A and Keyboard/Mouse passthrough would be much appreciated. (I actually have two keyboards connected, one on legacy PS/2 meant for dom0 and a USB keyboard and USB mouse that I'd like to passthrough)

Best regards,

Keir Fraser wrote:
This is probably due to c/s 20137 and now fixed by c/s 20141.


Xen-devel mailing list

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