From: wei zhou Subject: Re: Some questions of VT-D graphic passthrough Date: Thu, 16 Apr 2009 11:26:50 +0800 Message-ID: References: <14D9C9E2ED61ED41BC3B37ACDF4E880002B40FAFC4F5@heavy-vm03.heavy.org.uk> <4F65016F6CB04E49BFFA15D4F7B798D9948ADE9B@orsmsx506.amr.corp.intel.com> <831D55AF5A11D64C9B4B43F59EEBF72023122A41A3@FTLPMAILBOX02.citrite.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1136605858==" Return-path: In-Reply-To: <831D55AF5A11D64C9B4B43F59EEBF72023122A41A3@FTLPMAILBOX02.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ross Philipson Cc: "Cihula, Joseph" , Tim Moore , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1136605858== Content-Type: multipart/alternative; boundary=001636e90b77835a160467a3a2f7 --001636e90b77835a160467a3a2f7 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Unfortunately, The BIOS of my motherboard can't be updaded . Because the board is not a Intel One which just used the Q35 chips. So if i want use the PCIE NVIDIA card with the VT-D enable. I ought to follow that way. http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-incorrect-p22022061.html Use this work around and (/* the whole =A1=B0if=A1=B1 section */) and recom= pile Xen I knew which was not a good way but i have no choice.Now I have modified the source code and recompiled. Everything seems good . Domain0 works with VT-D. DomainU asigned the PCIE NVIDIA card and installed the nvidia-177-83 drivers. But I am still face the tough question mentioned before that DomainU cann't be displaied on the second screen. Booted the DomainU with console --> configured the driver for card --> startx DomainU staied on the same screen then went into black screen but still alived. 2009/4/16 Ross Philipson > Also a workaround was introduced a few months ago to work around RMRR > mapping issues in dom0. You use the parameter =A1=B0iommu_inclusive_mappi= ng=3D1=A1=B0 > 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@lists.xensource.com [mailto: > xen-devel-bounces@lists.xensource.com] *On Behalf Of *Cihula, Joseph > *Sent:* Wednesday, April 15, 2009 1:22 PM > *To:* Tim Moore; 'wei zhou' > > *Cc:* xen-devel@lists.xensource.com > *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@lists.xensource.com [mailto: > xen-devel-bounces@lists.xensource.com] *On Behalf Of *Tim Moore > *Sent:* Wednesday, April 15, 2009 3:42 AM > *To:* 'wei zhou' > *Cc:* xen-devel@lists.xensource.com > *Subject:* [Xen-devel] RE: Some questions of VT-D graphic passthrough > > > > Answers inline below=A1=AD. > > > > > I heard the good news you published from Xen Maillist.That really > inspired me. Recently i was working on vt-d graphic passthrough experimen= t. 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 informaiton= s. > 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 =A1=B0if=A1=B1 section */) and rec= ompile Xen > > > > I think VT-d is needed for this to work =A1=AD > > > 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 ca= rd > 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 th= e > xorg.conf(/etc/X11/xorg.conf) to tell the DomainU use the ATI card do ren= der > 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 =A3=A1 > =D6=DC=CE=BA > E-mail: weizhou.sir@gmail.com > --=20 Best regards =A3=A1 William zhou E-mail: weizhou.sir@gmail.com --001636e90b77835a160467a3a2f7 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
  Unfortunately, The BIOS of  my motherb= oard can't be updaded .
  Because the board is not a Intel One which just used the Q35 ch= ips.
  So if i want use the PCIE NVIDIA card with the VT-D enable.<= br>  I ought to follow that way.

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

 

Use this wo= rk around and (/* the whole “if” section */) and recompile Xen<= /span>

   I knew which was not a good way but i have no cho= ice.Now I have modified the source code and recompiled. Everything seems go= od .

   Domain0 works with VT-D.    DomainU asigned = the PCIE NVIDIA card and installed the nvidia-177-83 drivers.

&n= bsp;  But I am still face the tough question mentioned before that Dom= ainU cann't be displaied on the second screen.

    Booted the DomainU with console --> configured the = driver for card --> startx

     DomainU staied on t= he same screen then went into  black screen but still alived.   &= nbsp;  


2009/4/16 Ross Philipson <<= a href=3D"mailto:Ross.Philipson@citrix.com" target=3D"_blank">Ross.Philipso= n@citrix.com>

Also a workaro= und was introduced a few months ago to work around RMRR mapping issues in d= om0. You use the parameter “iommu_inclusive_mapping=3D1<= /span>“ on = the xen command line to map all reserved and conventional memory below 4GB = for the iommu. Maybe this would help.

 <= /p>

Thanks<= /p>

Ross

 <= /p>

From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-b= ounces@lists.xensource.com] On Behalf Of Cihula, Joseph
Sent: Wednesday, April 15, 2009 1:22 PM
To: Tim Moore; = 9;wei zhou'=20


Cc: xen-devel@lists.xensource.com
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.

 <= /p>

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

 <= /p>

Joe

 <= /p>

From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-b= ounces@lists.xensource.com] On Behalf Of Tim Moore
Sent: Wednesday, April 15, 2009 3:42 AM
To: 'wei zhou&= #39;
Cc: xen-devel@lists.xensource.com
Subject: [Xen-devel= ] RE: Some questions of VT-D graphic passthrough

 

Answers inline below<= span style=3D"color: navy; font-family: 'Times New Roman','seri= f';" lang=3D"EN-GB">….

 


  = I heard the good news you published from Xen Maillist.That really inspired= me. Recently i was working on vt-d graphic passthrough  e= xperiment. 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 res= pective cards
OS
    = ;       :  Domain0 (Gentoo X86_64 2.6.28)
       =             DomainU (Ubuntu i386 / windows = xp / RedHat Ent4.5)
       =             Xen3.3.1

At first ,I ass= umed the Matherboard integrated graphic card for Domain0 then passthrough t= he 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 wo= rk around and (/* the whole “if” section */) and recompile Xen<= /span>

 

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 c= ard 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 connec= ted 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 rende= r 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 h= elp.

Thanks so much !



--
Best regards
=A3=A1=
=D6=DC=CE=BA
E-mail: weizhou.sir@gmail.com




= --
Best regards =A3=A1
William zhou
E-mail: weizhou.sir@gmail.com

--001636e90b77835a160467a3a2f7-- --===============1136605858== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1136605858==--