Peter J. van der Maas
2009-Jan-26 19:16 UTC
[Xen-users] Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
I am happy to announce that I have successfully (and finally!) been able to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. About time! Config: -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d enabled -nVidia 9500GT (for VT-d passthrough - DomU) -nVidia GeForce2 MX200 (Dom0 console) -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) -DomU: Windows XP (pro, sp3, 32-bit) Once the VT-d bugs were recently corrected (thank you, xen-devel!), everything went fairly smoothly. Still very buggy yet (its xen-unstable!), but overall it works. Make sure support for the PCI-backend is compiled into the kernel (not just a module) and that you have your pciback.hide options in grub (late-binding may work, but I haven''t tried). Good luck! -Peter van der Maas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Neo Jia
2009-Jan-26 19:23 UTC
Re: [Xen-users] Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
On Mon, Jan 26, 2009 at 11:16 AM, Peter J. van der Maas <peter@pjv-c.com> wrote:> I am happy to announce that I have successfully (and finally!) been able to > pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. > > > > About time! > > > > Config: > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d > enabled > > -nVidia 9500GT (for VT-d passthrough - DomU)What is the driver version you are using? Thanks, Neo> > -nVidia GeForce2 MX200 (Dom0 console) > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > everything went fairly smoothly. Still very buggy yet (its xen-unstable!), > but overall it works. > > > > Make sure support for the PCI-backend is compiled into the kernel (not just > a module) and that you have your pciback.hide options in grub (late-binding > may work, but I haven''t tried). > > > > Good luck! > > > > > > -Peter van der Maas > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- I would remember that if researchers were not ambitious probably today we haven''t the technology we are using! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Kao
2009-Jan-26 21:44 UTC
Re: [Xen-users] Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
This is great news! I have the exact same motherboard but the PCIe slot is currently used by a PERC5/i flashed with LSI firmware for an 8x750GB RAID-5 array. It''ll be interesting to see if DXVA for PureVideo HD (e.g. GPU offloaded H264/MPEG2/VC1) and CUDA works in your Windows HVM. If it does, I''d be tempted to pick up an nVidia 9x00 to test VDPAU (i.e. MythTV, VDR, etc.) acceleration under a VT-d domU. Cheers, Daniel -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. Peter J. van der Maas wrote: I am happy to announce that I have successfully (and finally!) been able to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. About time! Config: -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d enabled -nVidia 9500GT (for VT-d passthrough - DomU) -nVidia GeForce2 MX200 (Dom0 console) -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) -DomU: Windows XP (pro, sp3, 32-bit) Once the VT-d bugs were recently corrected (thank you, xen-devel!), everything went fairly smoothly. Still very buggy yet (its xen-unstable!), but overall it works. Make sure support for the PCI-backend is compiled into the kernel (not just a module) and that you have your pciback.hide options in grub (late-binding may work, but I haven’t tried). Good luck! -Peter van der Maas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
andrewyates
2009-Feb-14 23:26 UTC
Re: [Xen-users] Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
Peter J. van der Maas wrote:> > I am happy to announce that I have successfully (and finally!) been able > to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >This is probably a stupid question, but: how do you share your keyboard and mouse between the DomU and the Dom0? That isn''t a problem with the normal Xen VNC/SSH/RDP access methods, but I''m not sure of a good way to do it with two video cards and a second monitor for the DomU. -- View this message in context: http://www.nabble.com/Successful-PCIe-Graphics-VT-d-Passthrough-to-Win32-DomU%2C-Q35-chipset-tp21671745p22017315.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Age_M
2009-Feb-15 10:26 UTC
Re: [Xen-users] Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
Hi there, andrewyates wrote:> This is probably a stupid question, but: how do you share your > keyboard and > mouse between the DomU and the Dom0?you could use synergy [1] to solve this problem :-D Greetz Age_M [1] http://synergy2.sourceforge.net/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Tramnitz
2009-Mar-02 03:49 UTC
[Xen-users] Re: Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
Hello Peter, is this still working for you with current Xen-unstable or did one of the recent changesets break things in your setup? I''m trying to achieve the same (on a VT-d enabled X58 board), but can''t get the Windows domU recognize the (ATI) video card, although it works fine with a PCIe NIC and the on-board SAS controller... Did you have to use any additional patches to get rid of the cirrus card and map the VGA BIOS? Which PCI device model are you using (virtual bus, passthrough, ...)? Best regards, Christian Peter J. van der Maas schrieb:> I am happy to announce that I have successfully (and finally!) been able > to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. > > > > About time! > > > > Config: > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d > enabled > > -nVidia 9500GT (for VT-d passthrough - DomU) > > -nVidia GeForce2 MX200 (Dom0 console) > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > everything went fairly smoothly. Still very buggy yet (its > xen-unstable!), but overall it works. > > > > Make sure support for the PCI-backend is compiled into the kernel (not > just a module) and that you have your pciback.hide options in grub > (late-binding may work, but I haven’t tried). > > > > Good luck! > > > > > > -Peter van der Maas_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexia Benington
2009-Mar-20 19:11 UTC
[Xen-devel] Re: [Xen-users] Re: Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
Hi, I''ve tried going through Xen-unstable (as of Changeset 19400), and I believe that the necessary code to make VGA passthrough work correctly has not been incorporated into Xen-unstable yet. The closest that I ever got was that DomU can detect the VGA card. I had to disable the Cirrus or Std VGA bios loaded by hvmloader. But DomU still can''t make use of the card properly. For Windows, it shows Error Code 10 in Device Manager. I was also expecting video output on the monitor connected to the passed through card. However, that wasn''t the case. -Alex On Sun, Mar 1, 2009 at 11:49 PM, Christian Tramnitz <chris.ace@gmx.net> wrote:> Hello Peter, > > is this still working for you with current Xen-unstable or did one of the > recent changesets break things in your setup? > > I''m trying to achieve the same (on a VT-d enabled X58 board), but can''t get > the Windows domU recognize the (ATI) video card, although it works fine with > a PCIe NIC and the on-board SAS controller... > > Did you have to use any additional patches to get rid of the cirrus card and > map the VGA BIOS? > > Which PCI device model are you using (virtual bus, passthrough, ...)? > > > Best regards, > Christian > > Peter J. van der Maas schrieb: >> >> I am happy to announce that I have successfully (and finally!) been able >> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >> >> >> About time! >> >> >> Config: >> >> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >> >> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >> enabled >> >> -nVidia 9500GT (for VT-d passthrough - DomU) >> >> -nVidia GeForce2 MX200 (Dom0 console) >> >> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >> >> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >> >> -DomU: Windows XP (pro, sp3, 32-bit) >> >> >> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >> everything went fairly smoothly. Still very buggy yet (its xen-unstable!), >> but overall it works. >> >> >> Make sure support for the PCI-backend is compiled into the kernel (not >> just a module) and that you have your pciback.hide options in grub >> (late-binding may work, but I haven’t tried). >> >> >> Good luck! >> >> >> >> -Peter van der Maas > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hello Peter, Some people have been asking for tips about Nvidia Xen VGA passthru, so maybe you could help? Could you post the exact steps you did? Have you tried with Xen 4.0.x after your initial experiments in 2009? Thanks! -- Pasi On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote:> I am happy to announce that I have successfully (and finally!) been able > to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. > > > > About time! > > > > Config: > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d > enabled > > -nVidia 9500GT (for VT-d passthrough - DomU) > > -nVidia GeForce2 MX200 (Dom0 console) > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > everything went fairly smoothly. Still very buggy yet (its > xen-unstable!), but overall it works. > > > > Make sure support for the PCI-backend is compiled into the kernel (not > just a module) and that you have your pciback.hide options in grub > (late-binding may work, but I haven''t tried). > > > > Good luck! > > > > > > -Peter van der Maas> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. Sorry I could not be of more help. Peter van der Maas peter&pjv-c.com -----Original Message----- From: Pasi Kärkkäinen [mailto:pasik@iki.fi] Sent: Saturday, January 29, 2011 2:04 PM To: Peter van der Maas Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com Subject: Nvidia 9500GT Xen VGA passthru Hello Peter, Some people have been asking for tips about Nvidia Xen VGA passthru, so maybe you could help? Could you post the exact steps you did? Have you tried with Xen 4.0.x after your initial experiments in 2009? Thanks! -- Pasi On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote:> I am happy to announce that I have successfully (and finally!) been able > to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. > > > > About time! > > > > Config: > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d > enabled > > -nVidia 9500GT (for VT-d passthrough - DomU) > > -nVidia GeForce2 MX200 (Dom0 console) > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > everything went fairly smoothly. Still very buggy yet (its > xen-unstable!), but overall it works. > > > > Make sure support for the PCI-backend is compiled into the kernel (not > just a module) and that you have your pciback.hide options in grub > (late-binding may work, but I haven''t tried). > > > > Good luck! > > > > > > -Peter van der Maas> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote:> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. > > I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. > > If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >Ok. I mainly meant if you remember what custom patches did you have to use/create? Most probably you had to do some vBar=pBar hacking, right? I guess I''ll have to try this myself one day and document the process with current Xen versions.. -- Pasi> Sorry I could not be of more help. > > Peter van der Maas > peter&pjv-c.com > > -----Original Message----- > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > Sent: Saturday, January 29, 2011 2:04 PM > To: Peter van der Maas > Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com > Subject: Nvidia 9500GT Xen VGA passthru > > > Hello Peter, > > Some people have been asking for tips about Nvidia Xen VGA passthru, > so maybe you could help? > > Could you post the exact steps you did? > > Have you tried with Xen 4.0.x after your initial experiments in 2009? > > Thanks! > > -- Pasi > > On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: > > I am happy to announce that I have successfully (and finally!) been able > > to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. > > > > > > > > About time! > > > > > > > > Config: > > > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d > > enabled > > > > -nVidia 9500GT (for VT-d passthrough - DomU) > > > > -nVidia GeForce2 MX200 (Dom0 console) > > > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > > everything went fairly smoothly. Still very buggy yet (its > > xen-unstable!), but overall it works. > > > > > > > > Make sure support for the PCI-backend is compiled into the kernel (not > > just a module) and that you have your pciback.hide options in grub > > (late-binding may work, but I haven''t tried). > > > > > > > > Good luck! > > > > > > > > > > > > -Peter van der Maas > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have this almost working now, I think the only thing that i need to change is to add a gfx_passthru=2 option to let xen know not to read from /dev/mem then an option to tell it what VGA rom to use. Are there any patches for 4.01 for this? Thanks Anish On 01/31/11 06:50, Pasi Kärkkäinen wrote:> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >> >> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >> >> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >> > Ok. > > I mainly meant if you remember what custom patches did you have to use/create? > Most probably you had to do some vBar=pBar hacking, right? > > I guess I''ll have to try this myself one day and document the process > with current Xen versions.. > > -- Pasi > > >> Sorry I could not be of more help. >> >> Peter van der Maas >> peter&pjv-c.com >> >> -----Original Message----- >> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >> Sent: Saturday, January 29, 2011 2:04 PM >> To: Peter van der Maas >> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >> Subject: Nvidia 9500GT Xen VGA passthru >> >> >> Hello Peter, >> >> Some people have been asking for tips about Nvidia Xen VGA passthru, >> so maybe you could help? >> >> Could you post the exact steps you did? >> >> Have you tried with Xen 4.0.x after your initial experiments in 2009? >> >> Thanks! >> >> -- Pasi >> >> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>> I am happy to announce that I have successfully (and finally!) been able >>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>> >>> >>> >>> About time! >>> >>> >>> >>> Config: >>> >>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>> >>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>> enabled >>> >>> -nVidia 9500GT (for VT-d passthrough - DomU) >>> >>> -nVidia GeForce2 MX200 (Dom0 console) >>> >>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>> >>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>> >>> -DomU: Windows XP (pro, sp3, 32-bit) >>> >>> >>> >>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>> everything went fairly smoothly. Still very buggy yet (its >>> xen-unstable!), but overall it works. >>> >>> >>> >>> Make sure support for the PCI-backend is compiled into the kernel (not >>> just a module) and that you have your pciback.hide options in grub >>> (late-binding may work, but I haven''t tried). >>> >>> >>> >>> Good luck! >>> >>> >>> >>> >>> >>> -Peter van der Maas >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote:> I have this almost working now, I think the only thing that i need to > change is to add a gfx_passthru=2 option to let xen know not to read > from /dev/mem then an option to tell it what VGA rom to use. Are there > any patches for 4.01 for this? >I think gfx_passthru can only use 0 or 1 nowadays. Patches probably need to be forward-ported to current Xen.. most of them are for xen-unstable from the Xen 3.5 days.. -- Pasi> > Thanks > Anish > On 01/31/11 06:50, Pasi Kärkkäinen wrote: >> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>> >>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>> >>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>> >> Ok. >> >> I mainly meant if you remember what custom patches did you have to use/create? >> Most probably you had to do some vBar=pBar hacking, right? >> >> I guess I''ll have to try this myself one day and document the process >> with current Xen versions.. >> >> -- Pasi >> >> >>> Sorry I could not be of more help. >>> >>> Peter van der Maas >>> peter&pjv-c.com >>> >>> -----Original Message----- >>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>> Sent: Saturday, January 29, 2011 2:04 PM >>> To: Peter van der Maas >>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>> Subject: Nvidia 9500GT Xen VGA passthru >>> >>> >>> Hello Peter, >>> >>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>> so maybe you could help? >>> >>> Could you post the exact steps you did? >>> >>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>> >>> Thanks! >>> >>> -- Pasi >>> >>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>> I am happy to announce that I have successfully (and finally!) been able >>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>> >>>> >>>> >>>> About time! >>>> >>>> >>>> >>>> Config: >>>> >>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>> >>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>> enabled >>>> >>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>> >>>> -nVidia GeForce2 MX200 (Dom0 console) >>>> >>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>> >>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>> >>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>> >>>> >>>> >>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>> everything went fairly smoothly. Still very buggy yet (its >>>> xen-unstable!), but overall it works. >>>> >>>> >>>> >>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>> just a module) and that you have your pciback.hide options in grub >>>> (late-binding may work, but I haven''t tried). >>>> >>>> >>>> >>>> Good luck! >>>> >>>> >>>> >>>> >>>> >>>> -Peter van der Maas >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi All, I have managed to get the 2nd vga passed though. I had to use AMD/ATI card to get this done. Thanks Anish On 01/31/11 14:26, Pasi Kärkkäinen wrote:> On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >> I have this almost working now, I think the only thing that i need to >> change is to add a gfx_passthru=2 option to let xen know not to read >> from /dev/mem then an option to tell it what VGA rom to use. Are there >> any patches for 4.01 for this? >> > I think gfx_passthru can only use 0 or 1 nowadays. > > Patches probably need to be forward-ported to current Xen.. > most of them are for xen-unstable from the Xen 3.5 days.. > > -- Pasi > >> Thanks >> Anish >> On 01/31/11 06:50, Pasi Kärkkäinen wrote: >>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>>> >>>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>>> >>>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>>> >>> Ok. >>> >>> I mainly meant if you remember what custom patches did you have to use/create? >>> Most probably you had to do some vBar=pBar hacking, right? >>> >>> I guess I''ll have to try this myself one day and document the process >>> with current Xen versions.. >>> >>> -- Pasi >>> >>> >>>> Sorry I could not be of more help. >>>> >>>> Peter van der Maas >>>> peter&pjv-c.com >>>> >>>> -----Original Message----- >>>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>>> Sent: Saturday, January 29, 2011 2:04 PM >>>> To: Peter van der Maas >>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>>> Subject: Nvidia 9500GT Xen VGA passthru >>>> >>>> >>>> Hello Peter, >>>> >>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>> so maybe you could help? >>>> >>>> Could you post the exact steps you did? >>>> >>>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>>> >>>> Thanks! >>>> >>>> -- Pasi >>>> >>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>>> I am happy to announce that I have successfully (and finally!) been able >>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>>> >>>>> >>>>> >>>>> About time! >>>>> >>>>> >>>>> >>>>> Config: >>>>> >>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>> >>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>>> enabled >>>>> >>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>> >>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>> >>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>> >>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>> >>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>> >>>>> >>>>> >>>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>>> everything went fairly smoothly. Still very buggy yet (its >>>>> xen-unstable!), but overall it works. >>>>> >>>>> >>>>> >>>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>>> just a module) and that you have your pciback.hide options in grub >>>>> (late-binding may work, but I haven''t tried). >>>>> >>>>> >>>>> >>>>> Good luck! >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -Peter van der Maas >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xensource.com >>>>> http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Feb 01, 2011 at 02:26:33PM -0500, Anish Patel wrote:> Hi All, > I have managed to get the 2nd vga passed though. I had to use > AMD/ATI card to get this done. >Nice! Please post the details: - VGA card model - Xen version - Dom0 kernel version - DomU OS/version/kernel - Any custom/additional patches used -- Pasi> > Thanks > Anish > > On 01/31/11 14:26, Pasi Kärkkäinen wrote: >> On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >>> I have this almost working now, I think the only thing that i need to >>> change is to add a gfx_passthru=2 option to let xen know not to read >>> from /dev/mem then an option to tell it what VGA rom to use. Are there >>> any patches for 4.01 for this? >>> >> I think gfx_passthru can only use 0 or 1 nowadays. >> >> Patches probably need to be forward-ported to current Xen.. >> most of them are for xen-unstable from the Xen 3.5 days.. >> >> -- Pasi >> >>> Thanks >>> Anish >>> On 01/31/11 06:50, Pasi Kärkkäinen wrote: >>>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>>>> >>>>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>>>> >>>>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>>>> >>>> Ok. >>>> >>>> I mainly meant if you remember what custom patches did you have to use/create? >>>> Most probably you had to do some vBar=pBar hacking, right? >>>> >>>> I guess I''ll have to try this myself one day and document the process >>>> with current Xen versions.. >>>> >>>> -- Pasi >>>> >>>> >>>>> Sorry I could not be of more help. >>>>> >>>>> Peter van der Maas >>>>> peter&pjv-c.com >>>>> >>>>> -----Original Message----- >>>>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>>>> Sent: Saturday, January 29, 2011 2:04 PM >>>>> To: Peter van der Maas >>>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>>>> Subject: Nvidia 9500GT Xen VGA passthru >>>>> >>>>> >>>>> Hello Peter, >>>>> >>>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>>> so maybe you could help? >>>>> >>>>> Could you post the exact steps you did? >>>>> >>>>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>>>> >>>>> Thanks! >>>>> >>>>> -- Pasi >>>>> >>>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>>>> I am happy to announce that I have successfully (and finally!) been able >>>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>>>> >>>>>> >>>>>> >>>>>> About time! >>>>>> >>>>>> >>>>>> >>>>>> Config: >>>>>> >>>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>>> >>>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>>>> enabled >>>>>> >>>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>>> >>>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>>> >>>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>>> >>>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>>> >>>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>>> >>>>>> >>>>>> >>>>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>>>> everything went fairly smoothly. Still very buggy yet (its >>>>>> xen-unstable!), but overall it works. >>>>>> >>>>>> >>>>>> >>>>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>>>> just a module) and that you have your pciback.hide options in grub >>>>>> (late-binding may work, but I haven''t tried). >>>>>> >>>>>> >>>>>> >>>>>> Good luck! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -Peter van der Maas >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xensource.com >>>>>> http://lists.xensource.com/xen-users >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sander Eikelenboom
2011-Feb-01 20:41 UTC
Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
Hello Anish, Could you post some information about your setup, so others can benefit from it ? - dom0 kernel version / config ? - Xen hypervisor version ? - domU OS and graphics driver version ? - domU config file ? - Additional patches applied to xen ? - Brand/model primary graphics card ? - Brand/model secondary graphics card ? - Intel (vt-d) or AMD (iommu) platform ? I have done some attempts my self, but only succeeded to get vga safe mode in windows XP so far. -- Sander Tuesday, February 1, 2011, 8:26:33 PM, you wrote:> Hi All, > I have managed to get the 2nd vga passed though. I had to use > AMD/ATI card to get this done.> Thanks > Anish> On 01/31/11 14:26, Pasi Kärkkäinen wrote: >> On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >>> I have this almost working now, I think the only thing that i need to >>> change is to add a gfx_passthru=2 option to let xen know not to read >>> from /dev/mem then an option to tell it what VGA rom to use. Are there >>> any patches for 4.01 for this? >>> >> I think gfx_passthru can only use 0 or 1 nowadays. >> >> Patches probably need to be forward-ported to current Xen.. >> most of them are for xen-unstable from the Xen 3.5 days.. >> >> -- Pasi >> >>> Thanks >>> Anish >>> On 01/31/11 06:50, Pasi Kärkkäinen wrote: >>>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>>>> >>>>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>>>> >>>>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>>>> >>>> Ok. >>>> >>>> I mainly meant if you remember what custom patches did you have to use/create? >>>> Most probably you had to do some vBar=pBar hacking, right? >>>> >>>> I guess I''ll have to try this myself one day and document the process >>>> with current Xen versions.. >>>> >>>> -- Pasi >>>> >>>> >>>>> Sorry I could not be of more help. >>>>> >>>>> Peter van der Maas >>>>> peter&pjv-c.com >>>>> >>>>> -----Original Message----- >>>>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>>>> Sent: Saturday, January 29, 2011 2:04 PM >>>>> To: Peter van der Maas >>>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>>>> Subject: Nvidia 9500GT Xen VGA passthru >>>>> >>>>> >>>>> Hello Peter, >>>>> >>>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>>> so maybe you could help? >>>>> >>>>> Could you post the exact steps you did? >>>>> >>>>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>>>> >>>>> Thanks! >>>>> >>>>> -- Pasi >>>>> >>>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>>>> I am happy to announce that I have successfully (and finally!) been able >>>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>>>> >>>>>> >>>>>> >>>>>> About time! >>>>>> >>>>>> >>>>>> >>>>>> Config: >>>>>> >>>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>>> >>>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>>>> enabled >>>>>> >>>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>>> >>>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>>> >>>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>>> >>>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>>> >>>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>>> >>>>>> >>>>>> >>>>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>>>> everything went fairly smoothly. Still very buggy yet (its >>>>>> xen-unstable!), but overall it works. >>>>>> >>>>>> >>>>>> >>>>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>>>> just a module) and that you have your pciback.hide options in grub >>>>>> (late-binding may work, but I haven''t tried). >>>>>> >>>>>> >>>>>> >>>>>> Good luck! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -Peter van der Maas >>>>>> _______________________________________________ >>>>>> Xen-users mailing list >>>>>> Xen-users@lists.xensource.com >>>>>> http://lists.xensource.com/xen-users-- Best regards, Sander mailto:linux@eikelenboom.it _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi All, I will post the full patch set soon there are still a couple of bugs i need to work out. System - Phenom x6 2.8 16 gig DDR3 BIOSTAR 890FX board with latest bios. Dom 0 config 4 cores, ATI 5450 with open source drivers. Dom U WinXP HVM, 5770 passed through to Dom, 2 cores, 2 gigs memory. Please give me a couple days and i will post a full write up I can probably get this to work with the nvidia card as well, but need to figure out the pBAR/vBAR stuffs. Thanks Anish On 02/01/11 14:55, Pasi Kärkkäinen wrote:> On Tue, Feb 01, 2011 at 02:26:33PM -0500, Anish Patel wrote: >> Hi All, >> I have managed to get the 2nd vga passed though. I had to use >> AMD/ATI card to get this done. >> > Nice! > > Please post the details: > > - VGA card model > - Xen version > - Dom0 kernel version > - DomU OS/version/kernel > - Any custom/additional patches used > > > -- Pasi > >> Thanks >> Anish >> >> On 01/31/11 14:26, Pasi Kärkkäinen wrote: >>> On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >>>> I have this almost working now, I think the only thing that i need to >>>> change is to add a gfx_passthru=2 option to let xen know not to read >>>> from /dev/mem then an option to tell it what VGA rom to use. Are there >>>> any patches for 4.01 for this? >>>> >>> I think gfx_passthru can only use 0 or 1 nowadays. >>> >>> Patches probably need to be forward-ported to current Xen.. >>> most of them are for xen-unstable from the Xen 3.5 days.. >>> >>> -- Pasi >>> >>>> Thanks >>>> Anish >>>> On 01/31/11 06:50, Pasi Kärkkäinen wrote: >>>>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>>>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>>>>> >>>>>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>>>>> >>>>>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>>>>> >>>>> Ok. >>>>> >>>>> I mainly meant if you remember what custom patches did you have to use/create? >>>>> Most probably you had to do some vBar=pBar hacking, right? >>>>> >>>>> I guess I''ll have to try this myself one day and document the process >>>>> with current Xen versions.. >>>>> >>>>> -- Pasi >>>>> >>>>> >>>>>> Sorry I could not be of more help. >>>>>> >>>>>> Peter van der Maas >>>>>> peter&pjv-c.com >>>>>> >>>>>> -----Original Message----- >>>>>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>>>>> Sent: Saturday, January 29, 2011 2:04 PM >>>>>> To: Peter van der Maas >>>>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>>>>> Subject: Nvidia 9500GT Xen VGA passthru >>>>>> >>>>>> >>>>>> Hello Peter, >>>>>> >>>>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>>>> so maybe you could help? >>>>>> >>>>>> Could you post the exact steps you did? >>>>>> >>>>>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -- Pasi >>>>>> >>>>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>>>>> I am happy to announce that I have successfully (and finally!) been able >>>>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>>>>> >>>>>>> >>>>>>> >>>>>>> About time! >>>>>>> >>>>>>> >>>>>>> >>>>>>> Config: >>>>>>> >>>>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>>>> >>>>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>>>>> enabled >>>>>>> >>>>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>>>> >>>>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>>>> >>>>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>>>> >>>>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>>>> >>>>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>>>> >>>>>>> >>>>>>> >>>>>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>>>>> everything went fairly smoothly. Still very buggy yet (its >>>>>>> xen-unstable!), but overall it works. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>>>>> just a module) and that you have your pciback.hide options in grub >>>>>>> (late-binding may work, but I haven''t tried). >>>>>>> >>>>>>> >>>>>>> >>>>>>> Good luck! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -Peter van der Maas >>>>>>> _______________________________________________ >>>>>>> Xen-users mailing list >>>>>>> Xen-users@lists.xensource.com >>>>>>> http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Congrats to all that got it working! For a while, I thought it must have been a miracle or some other divine intervention as it was taking me so long. Glad to see others making progress, though I must say I am surprised that Xen, Intel, etc. have not made this easier since I worked on this last over 2 years ago. For the rest, hang in there and keep at it! You will get it! -Peter -----Original Message----- From: Anish Patel [mailto:anish.mailing.list@gmail.com] Sent: Thursday, February 03, 2011 1:07 PM To: Pasi Kärkkäinen Cc: Peter van der Maas; xen-users@lists.xensource.com; xen-devel@lists.xensource.com Subject: Re: Nvidia 9500GT Xen VGA passthru Hi All, I will post the full patch set soon there are still a couple of bugs i need to work out. System - Phenom x6 2.8 16 gig DDR3 BIOSTAR 890FX board with latest bios. Dom 0 config 4 cores, ATI 5450 with open source drivers. Dom U WinXP HVM, 5770 passed through to Dom, 2 cores, 2 gigs memory. Please give me a couple days and i will post a full write up I can probably get this to work with the nvidia card as well, but need to figure out the pBAR/vBAR stuffs. Thanks Anish On 02/01/11 14:55, Pasi Kärkkäinen wrote:> On Tue, Feb 01, 2011 at 02:26:33PM -0500, Anish Patel wrote: >> Hi All, >> I have managed to get the 2nd vga passed though. I had to use >> AMD/ATI card to get this done. >> > Nice! > > Please post the details: > > - VGA card model > - Xen version > - Dom0 kernel version > - DomU OS/version/kernel > - Any custom/additional patches used > > > -- Pasi > >> Thanks >> Anish >> >> On 01/31/11 14:26, Pasi Kärkkäinen wrote: >>> On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote: >>>> I have this almost working now, I think the only thing that i need to >>>> change is to add a gfx_passthru=2 option to let xen know not to read >>>> from /dev/mem then an option to tell it what VGA rom to use. Are there >>>> any patches for 4.01 for this? >>>> >>> I think gfx_passthru can only use 0 or 1 nowadays. >>> >>> Patches probably need to be forward-ported to current Xen.. >>> most of them are for xen-unstable from the Xen 3.5 days.. >>> >>> -- Pasi >>> >>>> Thanks >>>> Anish >>>> On 01/31/11 06:50, Pasi Kärkkäinen wrote: >>>>> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>>>>> I really have not played with too much after the proof of concept. I do recall something eventually breaking the config, perhaps a Xen update. I''ve since put the hardware to better use, although I am still intrigued by Xen. At the time, I was working with a team that was giving serious consideration to virtualizing their platform, and what better way to learn than dig in and get my hands dirty. >>>>>> >>>>>> I tried to include as much detail at the time, with the plethora of different Xen builds, BIOS''s updates, etc. >>>>>> >>>>>> If someone has something specific I can try to help, but doubtful I will be of any use. For example, I did not realize Xen 4.x was even released. Recent projects I''ve been working on do not lend themselves well to virtualization; however, I might have to give Xen 4.0 shot - just to play, of course. There were some serious changes happening with Xen, the Linux kernel, and KVM when I stopped playing. >>>>>> >>>>> Ok. >>>>> >>>>> I mainly meant if you remember what custom patches did you have to use/create? >>>>> Most probably you had to do some vBar=pBar hacking, right? >>>>> >>>>> I guess I''ll have to try this myself one day and document the process >>>>> with current Xen versions.. >>>>> >>>>> -- Pasi >>>>> >>>>> >>>>>> Sorry I could not be of more help. >>>>>> >>>>>> Peter van der Maas >>>>>> peter&pjv-c.com >>>>>> >>>>>> -----Original Message----- >>>>>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>>>>> Sent: Saturday, January 29, 2011 2:04 PM >>>>>> To: Peter van der Maas >>>>>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; xen-devel@lists.xensource.com >>>>>> Subject: Nvidia 9500GT Xen VGA passthru >>>>>> >>>>>> >>>>>> Hello Peter, >>>>>> >>>>>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>>>>> so maybe you could help? >>>>>> >>>>>> Could you post the exact steps you did? >>>>>> >>>>>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -- Pasi >>>>>> >>>>>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>>>>> I am happy to announce that I have successfully (and finally!) been able >>>>>>> to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU. >>>>>>> >>>>>>> >>>>>>> >>>>>>> About time! >>>>>>> >>>>>>> >>>>>>> >>>>>>> Config: >>>>>>> >>>>>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>>>>> >>>>>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d >>>>>>> enabled >>>>>>> >>>>>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>>>>> >>>>>>> -nVidia GeForce2 MX200 (Dom0 console) >>>>>>> >>>>>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>>>>> >>>>>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>>>>> >>>>>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>>>>> >>>>>>> >>>>>>> >>>>>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>>>>> everything went fairly smoothly. Still very buggy yet (its >>>>>>> xen-unstable!), but overall it works. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Make sure support for the PCI-backend is compiled into the kernel (not >>>>>>> just a module) and that you have your pciback.hide options in grub >>>>>>> (late-binding may work, but I haven''t tried). >>>>>>> >>>>>>> >>>>>>> >>>>>>> Good luck! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -Peter van der Maas >>>>>>> _______________________________________________ >>>>>>> Xen-users mailing list >>>>>>> Xen-users@lists.xensource.com >>>>>>> http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tobias Geiger
2011-Feb-05 12:44 UTC
[Xen-users] Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
Hi, its running here with (XEN) Xen version 4.1-unstable (XEN) Latest ChangeSet: Fri May 07 19:22:28 2010 +0100 21331:bbf009817ffb rather old, but xen4 . http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html contains all i applied to get it working (03_dsdt contains the vBAR/pBAR 1:1 Mapping) Hardware is Corei7 CPU on Intel DX58SO Passed-through-GFX is 03:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1) GFX for Dom0 is: 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1) Dom0 Kernel: 2.6.34.7 from http://code.google.com/p/gentoo-xen-kernel/ its working flawless with winxp (but i can only boot the domU once, shuting it down and recreating it, makes domu AND dom0 hang... i can live with that limitation for now) whats not working is windows7 or vista; can''t figure out why Greetings Tobias On Monday 31 January 2011 12:50:21 Pasi Kärkkäinen wrote:> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: > > I really have not played with too much after the proof of concept. I do > > recall something eventually breaking the config, perhaps a Xen update. > > I''ve since put the hardware to better use, although I am still intrigued > > by Xen. At the time, I was working with a team that was giving serious > > consideration to virtualizing their platform, and what better way to > > learn than dig in and get my hands dirty. > > > > I tried to include as much detail at the time, with the plethora of > > different Xen builds, BIOS''s updates, etc. > > > > If someone has something specific I can try to help, but doubtful I will > > be of any use. For example, I did not realize Xen 4.x was even > > released. Recent projects I''ve been working on do not lend themselves > > well to virtualization; however, I might have to give Xen 4.0 shot - > > just to play, of course. There were some serious changes happening with > > Xen, the Linux kernel, and KVM when I stopped playing. > > Ok. > > I mainly meant if you remember what custom patches did you have to > use/create? Most probably you had to do some vBar=pBar hacking, right? > > I guess I''ll have to try this myself one day and document the process > with current Xen versions.. > > -- Pasi > > > Sorry I could not be of more help. > > > > Peter van der Maas > > peter&pjv-c.com > > > > -----Original Message----- > > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > > Sent: Saturday, January 29, 2011 2:04 PM > > To: Peter van der Maas > > Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; > > xen-devel@lists.xensource.com Subject: Nvidia 9500GT Xen VGA passthru > > > > > > Hello Peter, > > > > Some people have been asking for tips about Nvidia Xen VGA passthru, > > so maybe you could help? > > > > Could you post the exact steps you did? > > > > Have you tried with Xen 4.0.x after your initial experiments in 2009? > > > > Thanks! > > > > -- Pasi > > > > On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: > > > I am happy to announce that I have successfully (and finally!) been > > > able to pass a PCIe graphics card via VT-d to a Windows XP HVM > > > DomU. > > > > > > > > > > > > About time! > > > > > > > > > > > > Config: > > > > > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > > > > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and > > > VT-d enabled > > > > > > -nVidia 9500GT (for VT-d passthrough - DomU) > > > > > > -nVidia GeForce2 MX200 (Dom0 console) > > > > > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > > > > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > > > > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > > > > > > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > > > everything went fairly smoothly. Still very buggy yet (its > > > xen-unstable!), but overall it works. > > > > > > > > > > > > Make sure support for the PCI-backend is compiled into the kernel > > > (not just a module) and that you have your pciback.hide options in > > > grub (late-binding may work, but I haven''t tried). > > > > > > > > > > > > Good luck! > > > > > > > > > > > > > > > > > > -Peter van der Maas > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Peter van der Maas
2011-Feb-05 16:28 UTC
RE: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
<quote> its working flawless with winxp (but i can only boot the domU once, shuting it down and recreating it, makes domu AND dom0 hang... i can live with that limitation for now) </quote> I recall this being a problem for me, too, using the Win XP DomU way back when. Just curious, has Citrix solved this on the commercial side? -Peter -----Original Message----- From: Tobias Geiger [mailto:tobias.geiger@vido.info] Sent: Saturday, February 05, 2011 7:44 AM To: xen-devel@lists.xensource.com Cc: Pasi Kärkkäinen; Peter van der Maas; xen-users@lists.xensource.com; anish.mailing.list@gmail.com Subject: Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru Hi, its running here with (XEN) Xen version 4.1-unstable (XEN) Latest ChangeSet: Fri May 07 19:22:28 2010 +0100 21331:bbf009817ffb rather old, but xen4 . http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html contains all i applied to get it working (03_dsdt contains the vBAR/pBAR 1:1 Mapping) Hardware is Corei7 CPU on Intel DX58SO Passed-through-GFX is 03:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1) GFX for Dom0 is: 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1) Dom0 Kernel: 2.6.34.7 from http://code.google.com/p/gentoo-xen-kernel/ its working flawless with winxp (but i can only boot the domU once, shuting it down and recreating it, makes domu AND dom0 hang... i can live with that limitation for now) whats not working is windows7 or vista; can''t figure out why Greetings Tobias On Monday 31 January 2011 12:50:21 Pasi Kärkkäinen wrote:> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: > > I really have not played with too much after the proof of concept. I do > > recall something eventually breaking the config, perhaps a Xen update. > > I''ve since put the hardware to better use, although I am still intrigued > > by Xen. At the time, I was working with a team that was giving serious > > consideration to virtualizing their platform, and what better way to > > learn than dig in and get my hands dirty. > > > > I tried to include as much detail at the time, with the plethora of > > different Xen builds, BIOS''s updates, etc. > > > > If someone has something specific I can try to help, but doubtful I will > > be of any use. For example, I did not realize Xen 4.x was even > > released. Recent projects I''ve been working on do not lend themselves > > well to virtualization; however, I might have to give Xen 4.0 shot - > > just to play, of course. There were some serious changes happening with > > Xen, the Linux kernel, and KVM when I stopped playing. > > Ok. > > I mainly meant if you remember what custom patches did you have to > use/create? Most probably you had to do some vBar=pBar hacking, right? > > I guess I''ll have to try this myself one day and document the process > with current Xen versions.. > > -- Pasi > > > Sorry I could not be of more help. > > > > Peter van der Maas > > peter&pjv-c.com > > > > -----Original Message----- > > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > > Sent: Saturday, January 29, 2011 2:04 PM > > To: Peter van der Maas > > Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; > > xen-devel@lists.xensource.com Subject: Nvidia 9500GT Xen VGA passthru > > > > > > Hello Peter, > > > > Some people have been asking for tips about Nvidia Xen VGA passthru, > > so maybe you could help? > > > > Could you post the exact steps you did? > > > > Have you tried with Xen 4.0.x after your initial experiments in 2009? > > > > Thanks! > > > > -- Pasi > > > > On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: > > > I am happy to announce that I have successfully (and finally!) been > > > able to pass a PCIe graphics card via VT-d to a Windows XP HVM > > > DomU. > > > > > > > > > > > > About time! > > > > > > > > > > > > Config: > > > > > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > > > > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and > > > VT-d enabled > > > > > > -nVidia 9500GT (for VT-d passthrough - DomU) > > > > > > -nVidia GeForce2 MX200 (Dom0 console) > > > > > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > > > > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > > > > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > > > > > > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > > > everything went fairly smoothly. Still very buggy yet (its > > > xen-unstable!), but overall it works. > > > > > > > > > > > > Make sure support for the PCI-backend is compiled into the kernel > > > (not just a module) and that you have your pciback.hide options in > > > grub (late-binding may work, but I haven''t tried). > > > > > > > > > > > > Good luck! > > > > > > > > > > > > > > > > > > -Peter van der Maas > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2011-Feb-06 14:04 UTC
[Xen-users] Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
On Sat, Feb 05, 2011 at 11:28:15AM -0500, Peter van der Maas wrote:> <quote> > its working flawless with winxp (but i can only boot the domU once, shuting it > down and recreating it, makes domu AND dom0 hang... i can live with that > limitation for now) > </quote> > > I recall this being a problem for me, too, using the Win XP DomU way back when. > > Just curious, has Citrix solved this on the commercial side? >I think Citrix XenServer only supports VGA passthru of "virtualization friendly" cards that are designed for VGA passthru (eg. some nvidia quadro "multi-OS" models) -- Pasi> > -Peter > > > > > -----Original Message----- > From: Tobias Geiger [mailto:tobias.geiger@vido.info] > Sent: Saturday, February 05, 2011 7:44 AM > To: xen-devel@lists.xensource.com > Cc: Pasi Kärkkäinen; Peter van der Maas; xen-users@lists.xensource.com; anish.mailing.list@gmail.com > Subject: Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru > > Hi, > > its running here with > > (XEN) Xen version 4.1-unstable > (XEN) Latest ChangeSet: Fri May 07 19:22:28 2010 +0100 21331:bbf009817ffb > > rather old, but xen4 . > http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html > contains all i applied to get it working (03_dsdt contains the vBAR/pBAR 1:1 > Mapping) > > Hardware is > Corei7 CPU on Intel DX58SO > > Passed-through-GFX is > 03:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] > (rev a1) > > GFX for Dom0 is: > 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] > (rev a1) > Dom0 Kernel: 2.6.34.7 from http://code.google.com/p/gentoo-xen-kernel/ > > its working flawless with winxp (but i can only boot the domU once, shuting it > down and recreating it, makes domu AND dom0 hang... i can live with that > limitation for now) > whats not working is windows7 or vista; can''t figure out why > > Greetings > Tobias > > > On Monday 31 January 2011 12:50:21 Pasi Kärkkäinen wrote: > > On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: > > > I really have not played with too much after the proof of concept. I do > > > recall something eventually breaking the config, perhaps a Xen update. > > > I''ve since put the hardware to better use, although I am still intrigued > > > by Xen. At the time, I was working with a team that was giving serious > > > consideration to virtualizing their platform, and what better way to > > > learn than dig in and get my hands dirty. > > > > > > I tried to include as much detail at the time, with the plethora of > > > different Xen builds, BIOS''s updates, etc. > > > > > > If someone has something specific I can try to help, but doubtful I will > > > be of any use. For example, I did not realize Xen 4.x was even > > > released. Recent projects I''ve been working on do not lend themselves > > > well to virtualization; however, I might have to give Xen 4.0 shot - > > > just to play, of course. There were some serious changes happening with > > > Xen, the Linux kernel, and KVM when I stopped playing. > > > > Ok. > > > > I mainly meant if you remember what custom patches did you have to > > use/create? Most probably you had to do some vBar=pBar hacking, right? > > > > I guess I''ll have to try this myself one day and document the process > > with current Xen versions.. > > > > -- Pasi > > > > > Sorry I could not be of more help. > > > > > > Peter van der Maas > > > peter&pjv-c.com > > > > > > -----Original Message----- > > > From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > > > Sent: Saturday, January 29, 2011 2:04 PM > > > To: Peter van der Maas > > > Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; > > > xen-devel@lists.xensource.com Subject: Nvidia 9500GT Xen VGA passthru > > > > > > > > > Hello Peter, > > > > > > Some people have been asking for tips about Nvidia Xen VGA passthru, > > > so maybe you could help? > > > > > > Could you post the exact steps you did? > > > > > > Have you tried with Xen 4.0.x after your initial experiments in 2009? > > > > > > Thanks! > > > > > > -- Pasi > > > > > > On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: > > > > I am happy to announce that I have successfully (and finally!) been > > > > able to pass a PCIe graphics card via VT-d to a Windows XP HVM > > > > DomU. > > > > > > > > > > > > > > > > About time! > > > > > > > > > > > > > > > > Config: > > > > > > > > -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) > > > > > > > > -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and > > > > VT-d enabled > > > > > > > > -nVidia 9500GT (for VT-d passthrough - DomU) > > > > > > > > -nVidia GeForce2 MX200 (Dom0 console) > > > > > > > > -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) > > > > > > > > -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) > > > > > > > > -DomU: Windows XP (pro, sp3, 32-bit) > > > > > > > > > > > > > > > > Once the VT-d bugs were recently corrected (thank you, xen-devel!), > > > > everything went fairly smoothly. Still very buggy yet (its > > > > xen-unstable!), but overall it works. > > > > > > > > > > > > > > > > Make sure support for the PCI-backend is compiled into the kernel > > > > (not just a module) and that you have your pciback.hide options in > > > > grub (late-binding may work, but I haven''t tried). > > > > > > > > > > > > > > > > Good luck! > > > > > > > > > > > > > > > > > > > > > > > > -Peter van der Maas > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anish Patel
2011-Feb-08 16:25 UTC
[Xen-users] Re: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
Hi All, Have any of you guys run any 3d benchmarks on your systems? I have a ~7605 in 3dmark 2k6 with my ATI 5770 (eng sample), 3GB RAM, and 2 cores of my AMD x6 2.8 1055T assigned to the XP vm. Thanks Anish On 02/05/11 07:44, Tobias Geiger wrote:> Hi, > > its running here with > > (XEN) Xen version 4.1-unstable > (XEN) Latest ChangeSet: Fri May 07 19:22:28 2010 +0100 21331:bbf009817ffb > > rather old, but xen4 . > http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html > contains all i applied to get it working (03_dsdt contains the vBAR/pBAR 1:1 > Mapping) > > Hardware is > Corei7 CPU on Intel DX58SO > > Passed-through-GFX is > 03:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] > (rev a1) > > GFX for Dom0 is: > 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] > (rev a1) > Dom0 Kernel: 2.6.34.7 from http://code.google.com/p/gentoo-xen-kernel/ > > its working flawless with winxp (but i can only boot the domU once, shuting it > down and recreating it, makes domu AND dom0 hang... i can live with that > limitation for now) > whats not working is windows7 or vista; can''t figure out why > > Greetings > Tobias > > > On Monday 31 January 2011 12:50:21 Pasi Kärkkäinen wrote: >> On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote: >>> I really have not played with too much after the proof of concept. I do >>> recall something eventually breaking the config, perhaps a Xen update. >>> I''ve since put the hardware to better use, although I am still intrigued >>> by Xen. At the time, I was working with a team that was giving serious >>> consideration to virtualizing their platform, and what better way to >>> learn than dig in and get my hands dirty. >>> >>> I tried to include as much detail at the time, with the plethora of >>> different Xen builds, BIOS''s updates, etc. >>> >>> If someone has something specific I can try to help, but doubtful I will >>> be of any use. For example, I did not realize Xen 4.x was even >>> released. Recent projects I''ve been working on do not lend themselves >>> well to virtualization; however, I might have to give Xen 4.0 shot - >>> just to play, of course. There were some serious changes happening with >>> Xen, the Linux kernel, and KVM when I stopped playing. >> Ok. >> >> I mainly meant if you remember what custom patches did you have to >> use/create? Most probably you had to do some vBar=pBar hacking, right? >> >> I guess I''ll have to try this myself one day and document the process >> with current Xen versions.. >> >> -- Pasi >> >>> Sorry I could not be of more help. >>> >>> Peter van der Maas >>> peter&pjv-c.com >>> >>> -----Original Message----- >>> From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>> Sent: Saturday, January 29, 2011 2:04 PM >>> To: Peter van der Maas >>> Cc: xen-users@lists.xensource.com; anish.mailing.list@gmail.com; >>> xen-devel@lists.xensource.com Subject: Nvidia 9500GT Xen VGA passthru >>> >>> >>> Hello Peter, >>> >>> Some people have been asking for tips about Nvidia Xen VGA passthru, >>> so maybe you could help? >>> >>> Could you post the exact steps you did? >>> >>> Have you tried with Xen 4.0.x after your initial experiments in 2009? >>> >>> Thanks! >>> >>> -- Pasi >>> >>> On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote: >>>> I am happy to announce that I have successfully (and finally!) been >>>> able to pass a PCIe graphics card via VT-d to a Windows XP HVM >>>> DomU. >>>> >>>> >>>> >>>> About time! >>>> >>>> >>>> >>>> Config: >>>> >>>> -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think) >>>> >>>> -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and >>>> VT-d enabled >>>> >>>> -nVidia 9500GT (for VT-d passthrough - DomU) >>>> >>>> -nVidia GeForce2 MX200 (Dom0 console) >>>> >>>> -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST) >>>> >>>> -Dom0: Linux-2.6.18.8-xen (via xen-unstable.hg) >>>> >>>> -DomU: Windows XP (pro, sp3, 32-bit) >>>> >>>> >>>> >>>> Once the VT-d bugs were recently corrected (thank you, xen-devel!), >>>> everything went fairly smoothly. Still very buggy yet (its >>>> xen-unstable!), but overall it works. >>>> >>>> >>>> >>>> Make sure support for the PCI-backend is compiled into the kernel >>>> (not just a module) and that you have your pciback.hide options in >>>> grub (late-binding may work, but I haven''t tried). >>>> >>>> >>>> >>>> Good luck! >>>> >>>> >>>> >>>> >>>> >>>> -Peter van der Maas >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Successful PCIe Graphics VT-d Passthrough to Win32 DomU, Q35 chipset
- VGA passthrough nVidia NVS 295
- Bug: Limitation of <=2GB RAM in domU persists with 4.3.0
- DQ35JO (Q35 chipset), Q6600, xen-unstable (~12/21), RMRR/DMAR error
- [PATCH 2/2] graphics passthrough with VT-d