From: wei zhou Subject: Re: RE: Some questions of VT-D graphic passthrough Date: Wed, 15 Apr 2009 19:39:33 +0800 Message-ID: References: <14D9C9E2ED61ED41BC3B37ACDF4E880002B40FAFC4F5@heavy-vm03.heavy.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1478544441==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: "xen-devel@lists.xensource.com" , Tim Moore List-Id: xen-devel@lists.xenproject.org --===============1478544441== Content-Type: multipart/alternative; boundary=000e0cd1744ec3823f046796669f --000e0cd1744ec3823f046796669f Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable That means the proper graphic driver can make the DomainU displaied on the seconed screen. It that all right ? Without any patch or source modification. 2009/4/15 Jean Guyader > Hi, > > 2009/4/15 Tim Moore : > > 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 > experiment. > > That was a real tough job for me. I faced some problems that you may al= so > > 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 Inte= l > > 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 b= e > > 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 r= ecompile 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 > 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. > > > > ATI graphic driver doesn't work with vt-d. > > > 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 a= re > > 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. > > > > Usually the linux drivers are a bit more flexible. And works with vt-d. > > -- > Jean Guyader > --=20 Best regards =A3=A1 William zhou E-mail: weizhou.sir@gmail.com --000e0cd1744ec3823f046796669f Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable That means  the proper graphic driver can make the DomainU displaied o= n the seconed screen.
It that all right ?
Without any patch or source= modification.


2009/4/15 Jean Guyader= <jean.guyad= er@gmail.com>
Hi,

2009/4/15 Tim Moore <timoth= y.moore@expidas.net>:
> Answers inline below….
>
>
>
>    I heard the good news you published from Xen Maillist.Tha= t 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 a= lso
> 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 + IG= D Intel
>            &nbs= p;       Two Monitors connected with respecti= ve cards
> OS           : = Domain0 (Gentoo X86_64 2.6.28)
>            &nbs= p;       DomainU (Ubuntu i386 / windows xp / = RedHat Ent4.5)
>            &nbs= p;       Xen3.3.1
>
> At first ,I assumed the Matherboard integrated graphic card for Domain= 0 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 c= an't be
> Enable Because of the RMMR incorrect.
>
>
>
> See:
>
> http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-inco= rrect-p22022061.html
>
>
>
> Use this work around and (/* the whole “if” section */) an= d 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= 9;t
> displaied on the Monitor connected with the ATI card.
>

ATI graphic driver doesn't work with vt-d.

> From you information on Xen maillist,
> you passthrough the PCIE NVIDIA card to DomainU --> boot from conso= le  -->
> setup the proper driver for that card --> startx --> then the Do= mainU
> 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.
>

Usually the linux drivers are a bit more flexible. And works with vt-= d.

--
Jean Guyader



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

--000e0cd1744ec3823f046796669f-- --===============1478544441== 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 --===============1478544441==--