From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Kristijan_Le=C4=8Dnik?= Subject: Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation Date: Sat, 31 Mar 2012 13:06:37 +0200 Message-ID: References: <4F7334D9.2020700@gmail.com> <4F73C718.9020905@gmail.com> <4F7484C0.2060009@gmail.com> <4F74AB69.4080507@gmail.com> <4F74C205.9070104@amd.com> <4F74EA35.4030305@amd.com> <20120331104907.GV12984@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2273459597395967256==" Return-path: In-Reply-To: <20120331104907.GV12984@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "Teo En Ming (Zhang Enming)" , Wei Huang , "xen-devel@lists.xen.org" , Tobias Geiger , "xen-users@lists.xen.org" , Casey DeLorme List-Id: xen-devel@lists.xenproject.org --===============2273459597395967256== Content-Type: multipart/alternative; boundary=000e0cdfd62067903c04bc87f303 --000e0cdfd62067903c04bc87f303 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, i was looking hard to get this thing working, and i somehow manage to get two ATI graphic card working under Windows 7 and Debian 6 DomU, what i learn from all this trying, that the most important thing is the motherboard! i had i7 860 with VT-D, but it was hard to find working VT-D motherboard, i try gigabyte P55-USB3 with beta bios from gigabyte and i got working 3D drivers for a few minutes and then the DomU would crash, then i wanted to try asus, but they said that P55 chipset doesnt support VT-D functions, then i look what David uses and get a MSI motherboard and its default bios has got VT-D to enable/disable currenty i have: i7 860 MSI P55 GD85 ATI H6670 - working 3D ATI H5830 - working 3D Debian 6.0, custom kernel 3.1 Xen 4.2 unstable ( from repo 2. march? ) Windows 7 64bit - virtual no extra patches but how i get it to work is strange, if i enable #gfx_passthru=3D1 then virtual machine wont start, but if its disabled it starts with virtual graphic and ATI, but with the primary the virtual graphic and when i install lates ATI drivers and reboot the machine, it use the ATI as the primary graphic and the virtual graphic has ! on it. i testes with 3D test, even play a game on it, and it works! but as soon i uninstall the drivers it goes back to virtual graphic as primary graphic card. Best Regards, Kristijan Lecnik On Sat, Mar 31, 2012 at 12:49 PM, Pasi K=E4rkk=E4inen wrote: > On Thu, Mar 29, 2012 at 06:03:17PM -0500, Wei Huang wrote: > > On 03/29/2012 04:29 PM, Casey DeLorme wrote: > > > > David, > > XenServer VGA Passthrough requires a paid/licensed copy, which cos= ts > > $2500, a bit out of my price range for experimentation. Important > to > > note that the feature is not a part of the 30-day trial license. > > However, Citrix recently visited my college and I was able to > preview > > hardware access on a laptop one of the employees had, where they > swapped > > between Ubuntu and Windows with a hotkey, and various hardware > > components including onboard GPU and the WebCam were accessible. > > In testing XenServer, I can say that if I had a business, that's t= he > > product I would use. In the past month having tried Xen and ESXi, > I was > > astonished with the ease of use for XenServer. > > As for Catalyst, version 12.2 (the latest currently) worked for me= . > > Important to note that until I followed Andrews advice to omit the > > Catalyst Control Center, the installation resulted in a BSOD. > > > > I saw similar issue whiling playing with XenClient. After discussing > with > > AMD GPU driver team, the conclusion was that the installer has a bug= . > But > > I have not received any further update from them. Also manual driver > > installation (after many tries) did fix problem for me. > > > > Good to know the manual method works. > > > > The solution, select "Custom" installation and uncheck the CCC. > After > > the installation your first reboot should run some follow-up > updates via > > cmd, you need to reboot a second time for fully functional drivers= . > > Also, I had underscan on my monitor so I went out on a limb and > re-ran > > the setup for Catalyst, and was able to get CCC installed with a > second > > run through, which allowed me to fix my underscan issue. > > My conclusion is that the CCC requires some driver functionality > that > > isn't available until after you install the drivers, this could be > on > > all systems or it might be related to how HVM's handle the PCI > devices, > > that much I can't say. > > Teo, > > I could be spouting nonsense, and if so I'm sure Wei can correct > me, but > > I am pretty sure AMD engineers have been contributing to Xen for a > > while, and some patches have already been applied. Obviously it > isn't > > flawless, I myself haven't gotten video at boot time, only at the > login > > screen. > > > > This is because VBIOS patch wasn't applied. But as I said before, my > VBIOS > > wasn't universal enough to put it as a production patch. So I am > hesitant > > to put it out. > > > > Isn't it better than nothing? More GPU support could be added later? > > > -- Pasi > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > --000e0cdfd62067903c04bc87f303 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

i was looking hard to get this thing working, and i = somehow manage to get two ATI graphic card working under Windows 7 and Debi= an 6 DomU,
what i learn from all this trying, that the most impor= tant thing is the motherboard!
i had i7 860 with VT-D, but it was hard to find working VT-D motherboa= rd, i try gigabyte P55-USB3 with beta bios from gigabyte and i got working = 3D drivers for a few minutes and then the DomU would crash,
then = i wanted to try asus, but they said that P55 chipset doesnt support VT-D fu= nctions, then i look what David uses and get a MSI motherboard and its defa= ult bios has got VT-D to enable/disable
currenty i have:
i7 860
MSI P55 GD85
ATI= H6670 - working 3D
ATI H5830 - working 3D
Debian 6.0, = custom kernel 3.1
Xen 4.2 unstable ( from repo 2. march? )
Windows 7 64bit - virtual
no extra patches

but how i get it to work is strange, if i enable #gfx_passthru=3D1 = then virtual machine wont start, but if its disabled it starts with virtual= graphic and ATI, but with the primary the virtual graphic
and when i install lates ATI drivers and reboot the machine, it use th= e ATI as the primary graphic and the virtual graphic has ! on it.
i testes with 3D test, even play a game on it, and it works! but as soon i= uninstall the drivers it goes back to virtual graphic as primary graphic c= ard.

Best Regards,
Kristijan Lecnik

=
On Sat, Mar 31, 2012 at 12:49 PM, Pasi K=E4rkk= =E4inen <pasik@iki.fi<= /a>> wrote:
On Thu, Mar 29, 2012 at 06= :03:17PM -0500, Wei Huang wrote:
> =A0 =A0On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>
> =A0 =A0 =A0David,
> =A0 =A0 =A0XenServer VGA Passthrough requires a paid/licensed copy, wh= ich costs
> =A0 =A0 =A0$2500, a bit out of my price range for experimentation. =A0= Important to
> =A0 =A0 =A0note that the feature is not a part of the 30-day trial lic= ense.
> =A0 =A0 =A0However, Citrix recently visited my college and I was able = to preview
> =A0 =A0 =A0hardware access on a laptop one of the employees had, where= they swapped
> =A0 =A0 =A0between Ubuntu and Windows with a hotkey, and various hardw= are
> =A0 =A0 =A0components including onboard GPU and the WebCam were access= ible.
> =A0 =A0 =A0In testing XenServer, I can say that if I had a business, t= hat's the
> =A0 =A0 =A0product I would use. =A0In the past month having tried Xen = and ESXi, I was
> =A0 =A0 =A0astonished with the ease of use for XenServer.
> =A0 =A0 =A0As for Catalyst, version 12.2 (the latest currently) worked= for me.
> =A0 =A0 =A0Important to note that until I followed Andrews advice to o= mit the
> =A0 =A0 =A0Catalyst Control Center, the installation resulted in a BSO= D.
>
> =A0 =A0I saw similar issue whiling playing with XenClient. After discu= ssing with
> =A0 =A0AMD GPU driver team, the conclusion was that the installer has = a bug. But
> =A0 =A0I have not received any further update from them. Also manual d= river
> =A0 =A0installation (after many tries) did fix problem for me.
>

Good to know the manual method works.


> =A0 =A0 =A0The solution, select "Custom" installation and un= check the CCC. =A0After
> =A0 =A0 =A0the installation your first reboot should run some follow-u= p updates via
> =A0 =A0 =A0cmd, you need to reboot a second time for fully functional = drivers.
> =A0 =A0 =A0Also, I had underscan on my monitor so I went out on a limb= and re-ran
> =A0 =A0 =A0the setup for Catalyst, and was able to get CCC installed w= ith a second
> =A0 =A0 =A0run through, which allowed me to fix my underscan issue. > =A0 =A0 =A0My conclusion is that the CCC requires some driver function= ality that
> =A0 =A0 =A0isn't available until after you install the drivers, th= is could be on
> =A0 =A0 =A0all systems or it might be related to how HVM's handle = the PCI devices,
> =A0 =A0 =A0that much I can't say.
> =A0 =A0 =A0Teo,
> =A0 =A0 =A0I could be spouting nonsense, and if so I'm sure Wei ca= n correct me, but
> =A0 =A0 =A0I am pretty sure AMD engineers have been contributing to Xe= n for a
> =A0 =A0 =A0while, and some patches have already been applied. =A0Obvio= usly it isn't
> =A0 =A0 =A0flawless, I myself haven't gotten video at boot time, o= nly at the login
> =A0 =A0 =A0screen.
>
> =A0 =A0This is because VBIOS patch wasn't applied. But as I said b= efore, my VBIOS
> =A0 =A0wasn't universal enough to put it as a production patch. So= I am hesitant
> =A0 =A0to put it out.
>

Isn't it better than nothing? More GPU support could be added lat= er?

--000e0cdfd62067903c04bc87f303-- --===============2273459597395967256== 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.xen.org http://lists.xen.org/xen-devel --===============2273459597395967256==--