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] VGA passthrough to HVM

To: <enming.teo@xxxxxxxxxxxxxxx>, <timothy.moore@xxxxxxxxxxx>
Subject: RE: [Xen-devel] VGA passthrough to HVM
From: "Teo En Ming (Zhang Enming)" <enming.teo@xxxxxxxxxxxxxxx>
Date: Fri, 28 Aug 2009 10:19:42 +0800
Cc: Xci-devel@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Aug 2009 19:20:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <97939E266CFB407494D09D01104C4C61@ASOITIS16>
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>
Reply-to: enming.teo@xxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcomQBvSCgNYFJZcTI6qiAu1gqwgrAAAuhHwAAD6fmAAAndgsAAAVNewAA1DnbAADcQSgAAAocqAADE001A=
Dear Tim Moore,

Could you help me verify that my findings here
http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01032.html are
correct and whether anything more should be done?

Thank you.

Regards,
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Teo En Ming
(Zhang Enming)
Sent: Thursday, August 27, 2009 11:00 AM
To: enming.teo@xxxxxxxxxxxxxxx; timothy.moore@xxxxxxxxxxx
Cc: Xci-devel@xxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] VGA passthrough to HVM

Here are my explanations on why we couldn't reproduce Peter van der Maas's
work:

1) Our setups are vastly different

2) Peter van der Maas is using Intel DQ35JO while I am using Intel DQ45CB
with different chipsets (Q35 vs Q45)

3) We are using different display card brand/model and different
primary/secondary video controller setups

4) Peter van der Maas was using Xen unstable as of Jan 2009, while I am
using Xen 3.5-unstable as of August 2009 

5) Peter van der Maas was using Linux-2.6.18.8-xen Domain 0 NON-paravirt-ops
kernel. He mentioned using pciback which I cannot use at all. I am using
Jeremy Fitzhardinge's 2.6.31-rc6 Dom 0 pv-ops kernel. I can only use
pci-stub compiled in or as module.

6) Peter van der Maas was using Windows XP Professional SP3 32-bit. I am
using Windows XP Home SP3 32-bit.

We have too many variables in our experimental setups. In order to reproduce
and validate another scientist's work, we should have exactly the same
setups.


Regards,
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Teo En Ming
(Zhang Enming)
Sent: Thursday, August 27, 2009 10:40 AM
To: timothy.moore@xxxxxxxxxxx
Cc: Xci-devel@xxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] VGA passthrough to HVM

Dear Timothy,

Thank you for compiling all the links to the currently available work on Xen
PCI/PCI-E/PEG VGA pass through to Windows HVM guests.

When I looked at Peter J. van der Maas's reported success, I have some
doubts.

Intel Desktop Board DQ35JO only has an onboard graphics and an external
PCI-E x16 slot. How was Peter J. van der Maas able to use two external
display cards?

Assuming that his nVidia GeForce2 MX200 is a PCI card, and his nVidia 9500GT
is a PCI-e x16 card, this resolves the above doubt.

Even then, when you plug in both PCI and PEG graphics card at the same time,
as is with the case on my Intel Desktop Board DQ45CB, only the PCI VGA card
will work and display to the monitor. The PCI-E x16 display card will not
work. When the PCI display card is plugged in, my motherboard DQ45CB can't
even detect how many lanes my PEG display card is using (should be 16
lanes).

Regards,
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tim Moore
Sent: Thursday, August 27, 2009 5:09 AM
To: 'enming.teo@xxxxxxxxxxxxxxx'
Cc: 'Xci-devel@xxxxxxxxxxxxxxxxxxx'; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] VGA passthrough to HVM

Hi Teo,

We have all been eagerly awaiting the PCI Passthrough for VGA patches to be
released by the Xen-Devel community .. but from the sounds of the guys at
Intel - it's not ready for public testing and it will most probably generate
more questions for them to answer. Ultimately this is a distraction and will
only delay the release of this functionality.

The closest you will get at the moment is the patches which form part of the
XCI build tree and support is limited to the Intel chipset and onboard Intel
graphics controller. I believe Ian Jackson also has some success with ATI
but NVidia cards are known not to work.

There are other examples available including the "Neo 1:1 patch" which is
based on an older version of Xen (I think 3.2).

NOTE: This ONLY applies to HVM, VGA Passthrough using xen-unstable and Linux
non-HVM DomU is working, I have success with many Nvidia cards using this
setup. You can use this to prove your Xen in preparation for the HVM patches
and to ensure that your VT-d and Dom0 are sound.

Peter J. van der Maas inspired us all with his announcement, but no one has
ever been able to reproduce:
http://www.nabble.com/Successful-PCIe-Graphics-VT-d-Passthrough-to-Win32-Dom
U,-Q35-chipset-td21671745.html

Myself and Beng Heng also got to the same point as yourself, with issues on
vBar<>pBar mapping and VGA BIOS. In all cases, the VGA card is visible in
Device Manager in the DomU but the driver does not load. On My 8800GTS, the
VGA Card FAN spins down the same as when booting under native XP but still
the driver does not load.

Here are some good links with relevant information.

http://staff.science.uva.nl/~delaat/sne-2008-2009/p22/presentation.pdf

http://staff.science.uva.nl/~delaat/sne-2008-2009/p22/report.pdf

http://www.eecs.umich.edu/~bengheng/pubs/vgapt_techreport.pdf

http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00579.html

This is where I admit defeat and hand over to the brilliance of the Xen
developers!

My last state is captured here:
http://markmail.org/message/y476tymnhu2wrc47

The most success I have evidence of is from Alex Bebbington here:
http://markmail.org/message/mjiv437pva2yrhvp

If you look closely, this feature is on the Offical Xen Roadmap for Xen 4.0
captured here:
http://wiki.xensource.com/xenwiki/XenRoadMap

{XCI}
There is sufficient information for the XCI project to build and create a
demo install for the enthusiast:
http://wiki.xensource.com/xenwiki/XCI

http://xenbits.xen.org/xenclient/

I was downloading and building XCI before the above information was
available by reading the XCI build tree and patches. The code is quite well
structured along with containing some additional information on the xenvm
and xenops commands:
http://xenbits.xen.org/gitweb?p=xenclient/toolstack.git;a=blob;f=xenvm/xenvm
.readme

Hopefully this pulls together all the information that is available on Xen
VGA Passthrough.

Rgds,
Tim Moore

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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.67/2326 - Release Date: 08/25/09
18:07:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.67/2326 - Release Date: 08/26/09
12:16:00



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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.67/2326 - Release Date: 08/26/09
12:16:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.67/2326 - Release Date: 08/26/09
12:16:00



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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.67/2326 - Release Date: 08/26/09
12:16:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.69/2328 - Release Date: 08/27/09
18:02:00



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

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