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

[Xen-devel] RE: Some questions of VT-D graphic passthrough

To: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, Tim Moore <timothy.moore@xxxxxxxxxxx>, 'wei zhou' <weizhou.sir@xxxxxxxxx>
Subject: [Xen-devel] RE: Some questions of VT-D graphic passthrough
From: Ross Philipson <Ross.Philipson@xxxxxxxxxx>
Date: Wed, 15 Apr 2009 13:28:26 -0400
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Apr 2009 10:28:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4F65016F6CB04E49BFFA15D4F7B798D9948ADE9B@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: <d485c38e0904140055r4e5e7b54v35e0612ffcac7c57@xxxxxxxxxxxxxx> <14D9C9E2ED61ED41BC3B37ACDF4E880002B40FAFC4F5@xxxxxxxxxxxxxxxxxxxxxxx> <4F65016F6CB04E49BFFA15D4F7B798D9948ADE9B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acm81ly9gkp+5z50Qc2jbIX4HafkHgA4C0eAAA376kAAADLQwA==
Thread-topic: Some questions of VT-D graphic passthrough

Also a workaround was introduced a few months ago to work around RMRR mapping issues in dom0. You use the parameter “iommu_inclusive_mapping=1“ on the xen command line to map all reserved and conventional memory below 4GB for the iommu. Maybe this would help.

 

Thanks

Ross

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Cihula, Joseph
Sent: Wednesday, April 15, 2009 1:22 PM
To: Tim Moore; 'wei zhou'
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: Some questions of VT-D graphic passthrough

 

 And Everytime i use the PCIE card render for Domain0, the VT-D can't be Enable Because of the RMMR incorrect.

 

Are you using the latest BIOS version?  There have been several BIOS releases that have improved VT-d and TXT support.

 

Joe

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tim Moore
Sent: Wednesday, April 15, 2009 3:42 AM
To: 'wei zhou'
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: Some questions of VT-D graphic passthrough

 

Answers inline below.

 


   I heard the good news you published from Xen Maillist.That really inspired me. Recently i was working on vt-d graphic passthrough  experiment. That was a real tough job for me. I faced some problems that you may also met before. So i hope you can give me any advises or informaitons.
   Any reply  appreciated!

HardWare:
  Q35 matherboard + PCIE NVIDIA 9400 + PCI ATI R128 + IGD Intel
                   Two Monitors connected with respective cards
OS
           :  Domain0 (Gentoo X86_64 2.6.28)
                   DomainU (Ubuntu i386 / windows xp / RedHat Ent4.5)
                   Xen3.3.1

At first ,I assumed the Matherboard integrated graphic card for Domain0 then passthrough the PCIE NVIDIA graphic card for DomainU.
But My Matherboard cann't support those two cards work together.
 And Everytime i use the PCIE card render for Domain0, the VT-D can't be Enable Because of the RMMR incorrect.

 

See:

http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-incorrect-p22022061.html

 

Use this work around and (/* the whole “if” section */) and recompile Xen

 

I think VT-d is needed for this to work …


Considered that reason , the PCIE card was aborted in my experiment.
Now I use the integrated card as the primary card ,the ATI PCI graphic card as the secondly.
Now i face the problem is that the DomainU asigned the ATI card can't displaied on the Monitor connected with the ATI card.

From you information on Xen maillist,
you passthrough the PCIE NVIDIA card to DomainU --> boot from console
  --> setup the proper driver for that card --> startx --> then the DomainU display on the second Monitor
Any other works ?
Is that right?
  You didn't change any source codes. The whole process are works about configurations.
I tried install a R128 driver in DomainU for the ATI card and Modified the xorg.conf(/etc/X11/xorg.conf) to tell the DomainU use the ATI card do render work.
whatever i do the DomainU always stay on the same screen.

Now i have none idea for the next step .
Hope you can give me some help.

Thanks so much !



--
Best regards

周魏
E-mail: weizhou.sir@xxxxxxxxx

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