Tim Moore
2009-Apr-12 23:03 UTC
[Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Platform : Nehalem, official Intel x58 with Core i7 920 (dx58so) Main (Console): Nvidia 9500 GT PCI Express Secondary: Nvidia 8800 GTS PCI Express Yes, I binned the ASUS P6T due to bad VT-d support in the BIOS. With the latest BIOS from Intel, the dx58so has enable/disable for VT-d, ICH FLR and Interrupt Mapping! Helped a lot with getting this working ... Dom0: 2.6.18-xen0 (built from xen-3.4-rc1) DomU: 2.6.26-1-xen-amd64 (deb lenny shipped) SUCCESS! - Linux DomU with the official drivers from Nvidia (180.44) .. boot DomU into console, patch and install Nvidia driver, then started X using defaults. gdm chooser appeared on Secondary screen!! So far, i`m using VNC or Synergy to control the DomU (from Dom0 also running X/gdm) and it is good and stable. ISSUES: This is only possible after a clean restart of the physical machine. Dom0 kernel seems to have problems with the IRQ. BUG trap: "irq has gone away" after attempting to start DomU a second time, Dom0 kernel displays: Disabling IRQ#. (the IRQ IS being shared on Dom0 with a usb controller, but im assuming this is already patched from reading xen history) Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, this could be due to the IRQ corruption but i`m not really sure, in both cases the PCI device is visible but the driver will not load :( As these vga cards dont support FLR, would the FLR code when attempting d3r or sbr cause the interrupt corruption ? Some steer and some assistance would help here, i`m trying to get this working for HVM too !? BTW: I`m eagerly awaiting Jeremy Fitzhardinge to bring pciback.ko to the modern kernels ! Support for this chipset in 2.6.18 is not very good and i would like to try pvops and PCI passthrough. (although, got a hang with x2apic and IRQ mapping enabled) I`m willing to help move the development of xen forwards with any testing or assistance you guys need! Thanks, Tim http://www.linkedin.com/in/tmoore _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-15 03:34 UTC
[Xen-devel] Re:good progress on pci vga passthrough in xen-3.4-rc1
*Platform : Nehalem, official Intel x58 with Core i7 920 (dx58so) Main (Console): Nvidia 9500 GT PCI Express Secondary: Nvidia 8800 GTS PCI Express Yes, I binned the ASUS P6T due to bad VT-d support in the BIOS. With the latest BIOS from Intel, the dx58so has enable/disable for VT-d, ICH FLR and Interrupt Mapping! Helped a lot with getting this working ... Dom0: 2.6.18-xen0 (built from xen-3.4-rc1) DomU: 2.6.26-1-xen-amd64 (deb lenny shipped) SUCCESS! - Linux DomU with the official drivers from Nvidia (180.44) .. boot DomU into console, patch and install Nvidia driver, then started X using defaults. gdm chooser appeared on Secondary screen!! So far, i`m using VNC or Synergy to control the DomU (from Dom0 also running X/gdm) and it is good and stable. ISSUES: This is only possible after a clean restart of the physical machine. Dom0 kernel seems to have problems with the IRQ. BUG trap: "irq has gone away" after attempting to start DomU a second time, Dom0 kernel displays: Disabling IRQ#. (the IRQ IS being shared on Dom0 with a usb controller, but im assuming this is already patched from reading xen history) Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, this could be due to the IRQ corruption but i`m not really sure, in both cases the PCI device is visible but the driver will not load :( As these vga cards dont support FLR, would the FLR code when attempting d3r or sbr cause the interrupt corruption ? Some steer and some assistance would help here, i`m trying to get this working for HVM too !? BTW: I`m eagerly awaiting Jeremy Fitzhardinge to bring pciback.ko to the modern kernels ! Support for this chipset in 2.6.18 is not very good and i would like to try pvops and PCI passthrough. (although, got a hang with x2apic and IRQ mapping enabled) I`m willing to help move the development of xen forwards with any testing or assistance you guys need!* Hi Tim : I heard the good news you published from Xen Maillist.That really inspired me. Recently i was working on vt-d graphic passthrough experiment. That was a real tough job for me. I faced some problems that you may also met before. So i hope you can give me any advises or informaitons. Any reply appreciated! HardWare: Q35 matherboard + PCIE NVIDIA 9400 + PCI ATI R128 + IGD Intel Two Monitors connected with respective cards OS : Domain0 (Gentoo X86_64 2.6.28) DomainU (Ubuntu i386 / windows xp / RedHat Ent4.5) Xen3.3.1 At first ,I assumed the Matherboard integrated graphic card for Domain0 then passthrough the PCIE NVIDIA graphic card for DomainU. But My Matherboard cann''t support those two cards work together. And Everytime i use the PCIE card render for Domain0, the VT-D can''t be Enable Because of the RMMR incorrect. Considered that reason , the PCIE card was aborted in my experiment. Now I use the integrated card as the primary card ,the ATI PCI graphic card as the secondly. Now i face the problem is that the DomainU asigned the ATI card can''t displaied on the Monitor connected with the ATI card.>From you information on Xen maillist,you passthrough the PCIE NVIDIA card to DomainU --> boot from console --> setup the proper driver for that card --> startx --> then the DomainU display on the second Monitor Any other works ? Is that right? You didn''t change any source codes. The whole process are works about configurations. I tried install a R128 driver in DomainU for the ATI card and Modified the xorg.conf(/etc/X11/xorg.conf) to tell the DomainU use the ATI card do render work. whatever i do the DomainU always stay on the same screen. Now i have none idea for the next step . Hope you can give me some help. Thanks so much ! -- Best regards ! 周魏 E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bryan York
2009-Apr-15 03:37 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Working on something similar. Have you contacted Peter J. van der Maas regarding this? He has the Q35 intel board, but was able to fully pass through an nvidia card to a Windows HVM DomU. You can see his latest message on Thu, Apr 9, 2009 at 5:54 PM in the xen-users list. He may have some more technical details regarding this, but he seems hesitant to provide more details to these lists. -Bryan On Sun, Apr 12, 2009 at 4:03 PM, Tim Moore <timothy.moore@expidas.net>wrote:> Platform : Nehalem, official Intel x58 with Core i7 920 (dx58so) > Main (Console): Nvidia 9500 GT PCI Express > Secondary: Nvidia 8800 GTS PCI Express > > Yes, I binned the ASUS P6T due to bad VT-d support in the BIOS. > > With the latest BIOS from Intel, the dx58so has enable/disable for VT-d, > ICH FLR and Interrupt Mapping! Helped a lot with getting this working ... > > Dom0: 2.6.18-xen0 (built from xen-3.4-rc1) > DomU: 2.6.26-1-xen-amd64 (deb lenny shipped) > > SUCCESS! - Linux DomU with the official drivers from Nvidia (180.44) .. > boot DomU into console, patch and install Nvidia driver, then started X > using defaults. gdm chooser appeared on Secondary screen!! > > So far, i`m using VNC or Synergy to control the DomU (from Dom0 also > running X/gdm) and it is good and stable. > > ISSUES: > This is only possible after a clean restart of the physical machine. Dom0 > kernel seems to have problems with the IRQ. BUG trap: "irq has gone away" > after attempting to start DomU a second time, Dom0 kernel displays: > Disabling IRQ#. (the IRQ IS being shared on Dom0 with a usb controller, but > im assuming this is already patched from reading xen history) > > Also confirmed that this is NOT possible under a HVM or running Windows in > a DomU, this could be due to the IRQ corruption but i`m not really sure, in > both cases the PCI device is visible but the driver will not load :( > > As these vga cards dont support FLR, would the FLR code when attempting d3r > or sbr cause the interrupt corruption ? > > Some steer and some assistance would help here, i`m trying to get this > working for HVM too !? > > BTW: I`m eagerly awaiting Jeremy Fitzhardinge to bring pciback.ko to the > modern kernels ! Support for this chipset in 2.6.18 is not very good and i > would like to try pvops and PCI passthrough. (although, got a hang with > x2apic and IRQ mapping enabled) > > I`m willing to help move the development of xen forwards with any testing > or assistance you guys need! > > Thanks, > Tim > http://www.linkedin.com/in/tmoore > > > > > _______________________________________________ > 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
Tim Moore
2009-Apr-15 08:28 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Bryan I think my email to Peter along with emails from probably yourself and other people in the community is what prompted his reply to xen-users. There seems to be a general reluctance to move this forwards within the Xen developers, I think this may be due to the current status of some of the commercial vendors that are working on the "next big thing" for Virtualisation. Neocleus and XCI seem to be the products that will bring this to market.. it seems that the open source community may be being left out at this stage!? Tim ________________________________ From: Bryan York [mailto:bryan.york@gmail.com] Sent: 15 April 2009 04:37 To: Tim Moore Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Working on something similar. Have you contacted Peter J. van der Maas regarding this? He has the Q35 intel board, but was able to fully pass through an nvidia card to a Windows HVM DomU. You can see his latest message on Thu, Apr 9, 2009 at 5:54 PM in the xen-users list. He may have some more technical details regarding this, but he seems hesitant to provide more details to these lists. -Bryan On Sun, Apr 12, 2009 at 4:03 PM, Tim Moore <timothy.moore@expidas.net<mailto:timothy.moore@expidas.net>> wrote: Platform : Nehalem, official Intel x58 with Core i7 920 (dx58so) Main (Console): Nvidia 9500 GT PCI Express Secondary: Nvidia 8800 GTS PCI Express Yes, I binned the ASUS P6T due to bad VT-d support in the BIOS. With the latest BIOS from Intel, the dx58so has enable/disable for VT-d, ICH FLR and Interrupt Mapping! Helped a lot with getting this working ... Dom0: 2.6.18-xen0 (built from xen-3.4-rc1) DomU: 2.6.26-1-xen-amd64 (deb lenny shipped) SUCCESS! - Linux DomU with the official drivers from Nvidia (180.44) .. boot DomU into console, patch and install Nvidia driver, then started X using defaults. gdm chooser appeared on Secondary screen!! So far, i`m using VNC or Synergy to control the DomU (from Dom0 also running X/gdm) and it is good and stable. ISSUES: This is only possible after a clean restart of the physical machine. Dom0 kernel seems to have problems with the IRQ. BUG trap: "irq has gone away" after attempting to start DomU a second time, Dom0 kernel displays: Disabling IRQ#. (the IRQ IS being shared on Dom0 with a usb controller, but im assuming this is already patched from reading xen history) Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, this could be due to the IRQ corruption but i`m not really sure, in both cases the PCI device is visible but the driver will not load :( As these vga cards dont support FLR, would the FLR code when attempting d3r or sbr cause the interrupt corruption ? Some steer and some assistance would help here, i`m trying to get this working for HVM too !? BTW: I`m eagerly awaiting Jeremy Fitzhardinge to bring pciback.ko to the modern kernels ! Support for this chipset in 2.6.18 is not very good and i would like to try pvops and PCI passthrough. (although, got a hang with x2apic and IRQ mapping enabled) I`m willing to help move the development of xen forwards with any testing or assistance you guys need! Thanks, Tim http://www.linkedin.com/in/tmoore _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto: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
Stefano Stabellini
2009-Apr-15 09:10 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Tim Moore wrote:> Hi Bryan > > > > I think my email to Peter along with emails from probably yourself and > other people in the community is what prompted his reply to xen-users. > > > > There seems to be a general reluctance to move this forwards within the > Xen developers, I think this may be due to the current status of some of > the commercial vendors that are working on the “next big thing” for > Virtualisation. Neocleus and XCI seem to be the products that will bring > this to market.. it seems that the open source community may be being > left out at this stage!? >Come on, XCI sources are fully open source and available on the web! The plain truth is that graphic card passtrough doesn''t always work at the moment, most of the problems come from the rexecution of the vga bios (or the lack of thereof). You can read the workaround we have in place in XCI in tools/libxc/xc_hvm_build.c:setup_vga_pt, but even that one doesn''t work all the times. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Moore
2009-Apr-15 09:20 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Stefano, Thanks for your reply. This is the first time that I have been provided with some pointers where to look.. like I said in previous emails, I can work on this but I didn''t write Xen or any of these workarounds! I also posted the [attached] question about XCI - no one answers :( Can you help answer? Thank you again, Tim I`m assumingalos, that Citrix Project "Independence" is simply a name for XCI? -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 15 April 2009 10:10 To: Tim Moore Cc: ''Bryan York''; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Tim Moore wrote:> Hi Bryan > > > > I think my email to Peter along with emails from probably yourself and > other people in the community is what prompted his reply to xen-users. > > > > There seems to be a general reluctance to move this forwards within the > Xen developers, I think this may be due to the current status of some of > the commercial vendors that are working on the "next big thing" for > Virtualisation. Neocleus and XCI seem to be the products that will bring > this to market.. it seems that the open source community may be being > left out at this stage!? >Come on, XCI sources are fully open source and available on the web! The plain truth is that graphic card passtrough doesn''t always work at the moment, most of the problems come from the rexecution of the vga bios (or the lack of thereof). You can read the workaround we have in place in XCI in tools/libxc/xc_hvm_build.c:setup_vga_pt, but even that one doesn''t work all the times. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Apr-15 09:26 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
On 15/04/2009 10:20, "Tim Moore" <timothy.moore@expidas.net> wrote:> Thanks for your reply. This is the first time that I have been provided with > some pointers where to look.. like I said in previous emails, I can work on > this but I didn''t write Xen or any of these workarounds! > > I also posted the [attached] question about XCI - no one answers :(Are there more than three main gfx vendors? ;-) The passthru has been got working on at least one example of each of ATI, nVidia and Intel integrated gfx. That doesn''t necessarily mean it will work for your chip, with your BIOS. Getting it working can on some systems be quite a pain in the arse, even if a developer has local access to the system. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2009-Apr-15 09:34 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Tim Moore wrote:> Thread-Topic: > [XCI] Question? > Thread-Index: > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> Message-ID: > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk> > Accept-Language: > en-US > X-MS-Exchange-Organization-SCL: > -1 > Content-Type: > multipart/alternative; > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > MIME-Version: > 1.0 > > > Hi J/Ross, Hope you can help … > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > mentions that: > > > > * Multiple graphics cards are working with recent patches (3 Main > vendors) > > > > Do we know which 3x Graphics card vendors are working? > > > > I have built the XCI source from xenbits and whilst using it seems that > the VGA card support is still quite specific … >The VGA support in XCI at the moment is Intel specific. However videocard passthrough should work OK with most graphic cards if you passthrought the videocard to the guest as a secondary card (you do not disable the emulated cirrus vga). The problem with this approach is that you are not able to see anything on the screen until the guest enables the secondary card so you may need to configure the guest using vnc fron another machine, at least the first time. On the other hand if you disable the emulated vga so the pt graphic card happers as a primary in the guest, you should be able to see output on the screen since the beginning of the guest boot sequence, but then you are going to have more vga bios problems. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Moore
2009-Apr-15 09:41 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Kier, I have an nvidia nv4 (8800 GTS) and 9500 GT and they do not work under XCI (as primary or secondary cards) and the same problem under xen-rc1. I have also tried ATI cards to no avail. Will it be possible to get a list of bios + vendors /drivers that have been tested / compatible? I will even offer to maintain the Wiki with such information!! Cheers, Tim -----Original Message----- From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] Sent: 15 April 2009 10:26 To: Tim Moore; Stefano Stabellini Cc: xen-devel@lists.xensource.com; ''Bryan York'' Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 On 15/04/2009 10:20, "Tim Moore" <timothy.moore@expidas.net> wrote:> Thanks for your reply. This is the first time that I have been provided with > some pointers where to look.. like I said in previous emails, I can work on > this but I didn''t write Xen or any of these workarounds! > > I also posted the [attached] question about XCI - no one answers :(Are there more than three main gfx vendors? ;-) The passthru has been got working on at least one example of each of ATI, nVidia and Intel integrated gfx. That doesn''t necessarily mean it will work for your chip, with your BIOS. Getting it working can on some systems be quite a pain in the arse, even if a developer has local access to the system. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Moore
2009-Apr-15 09:46 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Thanks Stefano, I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. Can I get some dmesg / logs that will help to analyse further? As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. Cheers, Tim -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 15 April 2009 10:34 To: Tim Moore Cc: ''Bryan York''; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Tim Moore wrote:> Thread-Topic: > [XCI] Question? > Thread-Index: > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> Message-ID: > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk> > Accept-Language: > en-US > X-MS-Exchange-Organization-SCL: > -1 > Content-Type: > multipart/alternative; > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > MIME-Version: > 1.0 > > > Hi J/Ross, Hope you can help ... > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > mentions that: > > > > * Multiple graphics cards are working with recent patches (3 Main > vendors) > > > > Do we know which 3x Graphics card vendors are working? > > > > I have built the XCI source from xenbits and whilst using it seems that > the VGA card support is still quite specific ... >The VGA support in XCI at the moment is Intel specific. However videocard passthrough should work OK with most graphic cards if you passthrought the videocard to the guest as a secondary card (you do not disable the emulated cirrus vga). The problem with this approach is that you are not able to see anything on the screen until the guest enables the secondary card so you may need to configure the guest using vnc fron another machine, at least the first time. On the other hand if you disable the emulated vga so the pt graphic card happers as a primary in the guest, you should be able to see output on the screen since the beginning of the guest boot sequence, but then you are going to have more vga bios problems. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2009-Apr-15 09:46 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Tim, Here is the current status for the different vendors. Nvidia graphic cards don''t work as primaries, there are some issue with the bios rexecution. Nvidia cards should work as a seconday display adapter side by side with the cirrus. So far ATI doesn''t support vt-d. Intel graphic card only works as a primary. Jean 2009/4/15 Tim Moore <timothy.moore@expidas.net>:> Kier, > > I have an nvidia nv4 (8800 GTS) and 9500 GT and they do not work under XCI (as primary or secondary cards) and the same problem under xen-rc1. I have also tried ATI cards to no avail. > > Will it be possible to get a list of bios + vendors /drivers that have been tested / compatible? I will even offer to maintain the Wiki with such information!! > > Cheers, > Tim > > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: 15 April 2009 10:26 > To: Tim Moore; Stefano Stabellini > Cc: xen-devel@lists.xensource.com; ''Bryan York'' > Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 > > On 15/04/2009 10:20, "Tim Moore" <timothy.moore@expidas.net> wrote: > >> Thanks for your reply. This is the first time that I have been provided with >> some pointers where to look.. like I said in previous emails, I can work on >> this but I didn''t write Xen or any of these workarounds! >> >> I also posted the [attached] question about XCI - no one answers :( > > Are there more than three main gfx vendors? ;-) > > The passthru has been got working on at least one example of each of ATI, > nVidia and Intel integrated gfx. That doesn''t necessarily mean it will work > for your chip, with your BIOS. Getting it working can on some systems be > quite a pain in the arse, even if a developer has local access to the > system. > > -- Keir > > > > _______________________________________________ > 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
Stefano Stabellini
2009-Apr-15 09:50 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Tim Moore wrote:> Thanks Stefano, > > I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. > > Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. > > Can I get some dmesg / logs that will help to analyse further? > > As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >In this case you are interested in the qemu and xen logs. For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen compile the hypervisor with debug = y (in Config.mk) and keep an eye on the serial. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi Stefano, Please find attached, logs from XCI and a quick jpg of the WinXP host. I will compile Xen for XCI with debug if necessary? Cheers, Tim -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 15 April 2009 10:50 To: Tim Moore Cc: ''Bryan York''; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Tim Moore wrote:> Thanks Stefano, > > I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. > > Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. > > Can I get some dmesg / logs that will help to analyse further? > > As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >In this case you are interested in the qemu and xen logs. For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen compile the hypervisor with debug = y (in Config.mk) and keep an eye on the serial. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Apr 15, 2009 at 7:28 PM, Tim Moore <timothy.moore@expidas.net> wrote:> Hi Stefano, > > Please find attached, logs from XCI and a quick jpg of the WinXP host. > > I will compile Xen for XCI with debug if necessary?Could you explain why you use XCI for this kind of thing (video passthrough)? Because it provides better support? Thanks, Jun> -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: 15 April 2009 10:50 > To: Tim Moore > Cc: ''Bryan York''; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 > > Tim Moore wrote: > >> Thanks Stefano, >> >> I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. >> >> Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. >> >> Can I get some dmesg / logs that will help to analyse further? >> >> As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >> > > > In this case you are interested in the qemu and xen logs. > For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen > compile the hypervisor with debug = y (in Config.mk) and keep an eye on > the serial. > > _______________________________________________ > 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
XCI is supposed to provide more rounded support as it seems that most development of vendor workarounds are in XCI. Not official answer, maybe Xen developers can give a better steer? -----Original Message----- From: Jun Koi [mailto:junkoi2004@gmail.com] Sent: 15 April 2009 11:32 To: Tim Moore Cc: Stefano Stabellini; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] RE: [XCI] result of pci vga passthrough On Wed, Apr 15, 2009 at 7:28 PM, Tim Moore <timothy.moore@expidas.net> wrote:> Hi Stefano, > > Please find attached, logs from XCI and a quick jpg of the WinXP host. > > I will compile Xen for XCI with debug if necessary?Could you explain why you use XCI for this kind of thing (video passthrough)? Because it provides better support? Thanks, Jun> -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: 15 April 2009 10:50 > To: Tim Moore > Cc: ''Bryan York''; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 > > Tim Moore wrote: > >> Thanks Stefano, >> >> I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. >> >> Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. >> >> Can I get some dmesg / logs that will help to analyse further? >> >> As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >> > > > In this case you are interested in the qemu and xen logs. > For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen > compile the hypervisor with debug = y (in Config.mk) and keep an eye on > the serial. > > _______________________________________________ > 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
Jean Guyader
2009-Apr-15 10:44 UTC
Re: [Xen-devel] RE: [XCI] result of pci vga passthrough
Hi, XCI support pass through as a primary display adpater, the patch are not into xen unstable. For nvidia graphic card as a seconday it shouldn''t make any different because nvidia only works as secondary. Jean 2009/4/15 Tim Moore <timothy.moore@expidas.net>:> XCI is supposed to provide more rounded support as it seems that most development of vendor workarounds are in XCI. > > Not official answer, maybe Xen developers can give a better steer? > > -----Original Message----- > From: Jun Koi [mailto:junkoi2004@gmail.com] > Sent: 15 April 2009 11:32 > To: Tim Moore > Cc: Stefano Stabellini; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] RE: [XCI] result of pci vga passthrough > > On Wed, Apr 15, 2009 at 7:28 PM, Tim Moore <timothy.moore@expidas.net> wrote: >> Hi Stefano, >> >> Please find attached, logs from XCI and a quick jpg of the WinXP host. >> >> I will compile Xen for XCI with debug if necessary? > > Could you explain why you use XCI for this kind of thing (video > passthrough)? Because it provides better support? > > Thanks, > Jun > > > > >> -----Original Message----- >> From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] >> Sent: 15 April 2009 10:50 >> To: Tim Moore >> Cc: ''Bryan York''; xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 >> >> Tim Moore wrote: >> >>> Thanks Stefano, >>> >>> I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. >>> >>> Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. >>> >>> Can I get some dmesg / logs that will help to analyse further? >>> >>> As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >>> >> >> >> In this case you are interested in the qemu and xen logs. >> For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen >> compile the hypervisor with debug = y (in Config.mk) and keep an eye on >> the serial. >> >> _______________________________________________ >> 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 >-- Jean Guyader _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Apr 15, 2009 at 7:44 PM, Jean Guyader <jean.guyader@gmail.com> wrote:> Hi, > > XCI support pass through as a primary display adpater, the patch are > not into xen unstable.Does that mean we use only 1 video card (primary), and use it for DomU? Then Dom0 has no video card? Thanks, Jun> 2009/4/15 Tim Moore <timothy.moore@expidas.net>: >> XCI is supposed to provide more rounded support as it seems that most development of vendor workarounds are in XCI. >> >> Not official answer, maybe Xen developers can give a better steer? >> >> -----Original Message----- >> From: Jun Koi [mailto:junkoi2004@gmail.com] >> Sent: 15 April 2009 11:32 >> To: Tim Moore >> Cc: Stefano Stabellini; xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] RE: [XCI] result of pci vga passthrough >> >> On Wed, Apr 15, 2009 at 7:28 PM, Tim Moore <timothy.moore@expidas.net> wrote: >>> Hi Stefano, >>> >>> Please find attached, logs from XCI and a quick jpg of the WinXP host. >>> >>> I will compile Xen for XCI with debug if necessary? >> >> Could you explain why you use XCI for this kind of thing (video >> passthrough)? Because it provides better support? >> >> Thanks, >> Jun >> >> >> >> >>> -----Original Message----- >>> From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] >>> Sent: 15 April 2009 10:50 >>> To: Tim Moore >>> Cc: ''Bryan York''; xen-devel@lists.xensource.com >>> Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 >>> >>> Tim Moore wrote: >>> >>>> Thanks Stefano, >>>> >>>> I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. >>>> >>>> Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. >>>> >>>> Can I get some dmesg / logs that will help to analyse further? >>>> >>>> As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >>>> >>> >>> >>> In this case you are interested in the qemu and xen logs. >>> For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen >>> compile the hypervisor with debug = y (in Config.mk) and keep an eye on >>> the serial. >>> >>> _______________________________________________ >>> 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 >> > > > > -- > Jean Guyader >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2009-Apr-15 10:58 UTC
Re: [Xen-devel] RE: [XCI] result of pci vga passthrough
2009/4/15 Jun Koi <junkoi2004@gmail.com>:> On Wed, Apr 15, 2009 at 7:44 PM, Jean Guyader <jean.guyader@gmail.com> wrote: >> Hi, >> >> XCI support pass through as a primary display adpater, the patch are >> not into xen unstable. > > Does that mean we use only 1 video card (primary), and use it for > DomU? Then Dom0 has no video card? > >I mean pass through as a primary in the guest, for doing so we have to: - Rexecute the bios - Map the legacy iomem - Map the legacy ioport dom0 could have a graphic card be it''s not required. Thanks, Jean _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Apr 15, 2009 at 7:58 PM, Jean Guyader <jean.guyader@gmail.com> wrote:> 2009/4/15 Jun Koi <junkoi2004@gmail.com>: >> On Wed, Apr 15, 2009 at 7:44 PM, Jean Guyader <jean.guyader@gmail.com> wrote: >>> Hi, >>> >>> XCI support pass through as a primary display adpater, the patch are >>> not into xen unstable. >> >> Does that mean we use only 1 video card (primary), and use it for >> DomU? Then Dom0 has no video card? >> >> > > I mean pass through as a primary in the guest, for doing so we have to: > - Rexecute the bios > - Map the legacy iomem > - Map the legacy ioport > > dom0 could have a graphic card be it''s not required.So we can have 2 cards, and pass one to DomU, and DomU sees that as primary video card? I searched around, but dont see where to download XCI?? Thanks, Jun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2009-Apr-15 11:06 UTC
Re: [Xen-devel] RE: [XCI] result of pci vga passthrough
2009/4/15 Jun Koi <junkoi2004@gmail.com>:> On Wed, Apr 15, 2009 at 7:58 PM, Jean Guyader <jean.guyader@gmail.com> wrote: >> 2009/4/15 Jun Koi <junkoi2004@gmail.com>: >>> On Wed, Apr 15, 2009 at 7:44 PM, Jean Guyader <jean.guyader@gmail.com> wrote: >>>> Hi, >>>> >>>> XCI support pass through as a primary display adpater, the patch are >>>> not into xen unstable. >>> >>> Does that mean we use only 1 video card (primary), and use it for >>> DomU? Then Dom0 has no video card? >>> >>> >> >> I mean pass through as a primary in the guest, for doing so we have to: >> - Rexecute the bios >> - Map the legacy iomem >> - Map the legacy ioport >> >> dom0 could have a graphic card be it''s not required. > > So we can have 2 cards, and pass one to DomU, and DomU sees that as > primary video card? > > I searched around, but dont see where to download XCI?? >Yes, that the tricks to make it works with intel graphic card, but I thing it won''t change anything for nvidia or ati card. http://xenbits.xen.org/xenclient/ clone build.git and then there is a readme inside. Don''t hesitate if you have any further questions. Thanks, Jean _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2009-Apr-15 11:08 UTC
[Xen-devel] Re: [XCI] result of pci vga passthrough
Tim Moore wrote:> Hi Stefano, > > Please find attached, logs from XCI and a quick jpg of the WinXP host. > > I will compile Xen for XCI with debug if necessary? >You have some stuff in the qemu logs I am not familiar with. Where do all the: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE and XenNet --> XenNet_ConnectBackend come from? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano / Jean, I am looking through these logs and nothing seems to be wrong ! no error mapping i/o or mem for Xen or Qemu, for all intents and purpose this should work? I feel like i`m cracking up! Additional info attached. What IS strange is that the card is detected as PCIe V1.0 not V2.0 which it is. When using pv DomU this does show as a PCIe v2.0 card ... but not under HVM. Cheers, Tim ________________________________________ From: xen-devel-bounces@lists.xensource.com [xen-devel-bounces@lists.xensource.com] On Behalf Of Tim Moore [timothy.moore@expidas.net] Sent: 15 April 2009 11:28 To: ''Stefano Stabellini'' Cc: xen-devel@lists.xensource.com Subject: [Xen-devel] RE: [XCI] result of pci vga passthrough Hi Stefano, Please find attached, logs from XCI and a quick jpg of the WinXP host. I will compile Xen for XCI with debug if necessary? Cheers, Tim -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 15 April 2009 10:50 To: Tim Moore Cc: ''Bryan York''; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Tim Moore wrote:> Thanks Stefano, > > I have tried all your suggestions with both XCI and Xen-rc1 already to no avail. It works for pv DomU but not HVM. > > Disable/enable Cirrus - no effect, tried -std-vga -vga none and all host of combinations. When trying primary, the DomU seems to fail and qemu just quits I think due to no video. > > Can I get some dmesg / logs that will help to analyse further? > > As I just mentioned to Kier, I''m more than willing to help the community out with this one ;) I have been writing code for Win32 for years, i`m just a bit new to the Xen scene and developing towards the hw. >In this case you are interested in the qemu and xen logs. For qemu, just open /var/log/xen/qemu-dm-guestname.log; for xen compile the hypervisor with debug = y (in Config.mk) and keep an eye on the serial. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-15 11:28 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
2009/4/15 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> Tim Moore wrote: > > > Thread-Topic: > > [XCI] Question? > > Thread-Index: > > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> > Message-ID: > > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk> > > Accept-Language: > > en-US > > X-MS-Exchange-Organization-SCL: > > -1 > > Content-Type: > > multipart/alternative; > > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > > MIME-Version: > > 1.0 > > > > > > Hi J/Ross, Hope you can help … > > > > > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > > mentions that: > > > > > > > > * Multiple graphics cards are working with recent patches (3 Main > > vendors) > > > > > > > > Do we know which 3x Graphics card vendors are working? > > > > > > > > I have built the XCI source from xenbits and whilst using it seems that > > the VGA card support is still quite specific … > > > > > The VGA support in XCI at the moment is Intel specific. > > However videocard passthrough should work OK with most graphic cards if > you passthrought the videocard to the guest as a secondary card (you do > not disable the emulated cirrus vga). The problem with this approach is > that you are not able to see anything on the screen until the guest > enables the secondary card so you may need to configure the guest using > vnc fron another machine, at least the first time. > On the other hand if you disable the emulated vga so the pt graphic card > happers as a primary in the guest, you should be able to see output on > the screen since the beginning of the guest boot sequence, but then you > are going to have more vga bios problems. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >I have tried pass through a PCI ATI graphic card to DomainU. I recognized that the ATI would be the second card. I boot the DomainU with console and modified the xorg.conf file for the X-window rendered by the ATI card. But the DomainU still displaied on the same screen. I want to know how to make the DomainU displaied on the second screen? How to disable the emulated graphic card. -- Best regards ! joe E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I think this is coming from the GplPv drivers, we have 0.10.50 installed at the moment ... is there a specific version that you have tested with XCI. I don''t think this matters for PCI passthrough ?! Also used older versions of GplPv too and also tried without ... Thanks, Tim -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 15 April 2009 12:08 To: Tim Moore Cc: xen-devel@lists.xensource.com Subject: Re: [XCI] result of pci vga passthrough Tim Moore wrote:> Hi Stefano, > > Please find attached, logs from XCI and a quick jpg of the WinXP host. > > I will compile Xen for XCI with debug if necessary? >You have some stuff in the qemu logs I am not familiar with. Where do all the: XenPCI --> XenPciPdo_EvtDeviceWdmIrpPreprocess_START_DEVICE and XenNet --> XenNet_ConnectBackend come from? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Moore
2009-Apr-15 11:56 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hello Wei, Please try with your Nvidia card, ATI not working with VT-d. You WILL have to compile from source, to fix bad RMRR error. This will make VT-d work. Then hope your BIOS isn’t too broken and try again. Tim And Everytime i use the PCIE card render for Domain0, the VT-D can''t be Enable Because of the RMMR incorrect. See: http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-incorrect-p22022061.html Use this work around and (/* the whole “if” section */) and compile Xen. ________________________________ From: wei zhou [mailto:weizhou.sir@gmail.com] Sent: 15 April 2009 12:28 To: Stefano Stabellini Cc: Tim Moore; xen-devel@lists.xensource.com; Bryan York Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 2009/4/15 Stefano Stabellini <stefano.stabellini@eu.citrix.com<mailto:stefano.stabellini@eu.citrix.com>> Tim Moore wrote:> Thread-Topic: > [XCI] Question? > Thread-Index: > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> Message-ID: > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk<mailto:14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk>> > Accept-Language: > en-US > X-MS-Exchange-Organization-SCL: > -1 > Content-Type: > multipart/alternative; > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > MIME-Version: > 1.0 > > > Hi J/Ross, Hope you can help … > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > mentions that: > > > > * Multiple graphics cards are working with recent patches (3 Main > vendors) > > > > Do we know which 3x Graphics card vendors are working? > > > > I have built the XCI source from xenbits and whilst using it seems that > the VGA card support is still quite specific … >The VGA support in XCI at the moment is Intel specific. However videocard passthrough should work OK with most graphic cards if you passthrought the videocard to the guest as a secondary card (you do not disable the emulated cirrus vga). The problem with this approach is that you are not able to see anything on the screen until the guest enables the secondary card so you may need to configure the guest using vnc fron another machine, at least the first time. On the other hand if you disable the emulated vga so the pt graphic card happers as a primary in the guest, you should be able to see output on the screen since the beginning of the guest boot sequence, but then you are going to have more vga bios problems. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> http://lists.xensource.com/xen-devel I have tried pass through a PCI ATI graphic card to DomainU. I recognized that the ATI would be the second card. I boot the DomainU with console and modified the xorg.conf file for the X-window rendered by the ATI card. But the DomainU still displaied on the same screen. I want to know how to make the DomainU displaied on the second screen? How to disable the emulated graphic card. -- Best regards ! joe E-mail: weizhou.sir@gmail.com<mailto:weizhou.sir@gmail.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-15 12:21 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Thanks so much for your reply. Because of the RMRR incorrect , i aborted the NVIDIA card. I will use the ATI card as the primary the NVIDIA card asigned to GuestOS. Hope some good news ! 2009/4/15 Tim Moore <timothy.moore@expidas.net>> Hello Wei, > > > > Please try with your Nvidia card, ATI not working with VT-d. > > > > You WILL have to compile from source, to fix bad RMRR error. This will make > VT-d work. > > > > Then hope your BIOS isn’t too broken and try again. > > > > Tim > > > > And Everytime i use the PCIE card render for Domain0, the VT-D can''t be > Enable Because of the RMMR incorrect. > > > > See: > > http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-incorrect-p22022061.html > > > > Use this work around and (/* the whole “if” section */) and compile Xen. > > > ------------------------------ > > *From:* wei zhou [mailto:weizhou.sir@gmail.com] > *Sent:* 15 April 2009 12:28 > *To:* Stefano Stabellini > *Cc:* Tim Moore; xen-devel@lists.xensource.com; Bryan York > *Subject:* Re: [Xen-devel] good progress on pci vga passthrough in > xen-3.4-rc1 > > > > > > 2009/4/15 Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > Tim Moore wrote: > > > Thread-Topic: > > [XCI] Question? > > Thread-Index: > > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> > Message-ID: > > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk> > > Accept-Language: > > en-US > > X-MS-Exchange-Organization-SCL: > > -1 > > Content-Type: > > multipart/alternative; > > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > > MIME-Version: > > 1.0 > > > > > > Hi J/Ross, Hope you can help … > > > > > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > > mentions that: > > > > > > > > * Multiple graphics cards are working with recent patches (3 Main > > vendors) > > > > > > > > Do we know which 3x Graphics card vendors are working? > > > > > > > > I have built the XCI source from xenbits and whilst using it seems that > > the VGA card support is still quite specific … > > > > > The VGA support in XCI at the moment is Intel specific. > > However videocard passthrough should work OK with most graphic cards if > you passthrought the videocard to the guest as a secondary card (you do > not disable the emulated cirrus vga). The problem with this approach is > that you are not able to see anything on the screen until the guest > enables the secondary card so you may need to configure the guest using > vnc fron another machine, at least the first time. > On the other hand if you disable the emulated vga so the pt graphic card > happers as a primary in the guest, you should be able to see output on > the screen since the beginning of the guest boot sequence, but then you > are going to have more vga bios problems. > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > I have tried pass through a PCI ATI graphic card to DomainU. > I recognized that the ATI would be the second card. > I boot the DomainU with console and modified the xorg.conf file for the > X-window rendered by the ATI card. > But the DomainU still displaied on the same screen. > > I want to know how to make the DomainU displaied on the second screen? > How to disable the emulated graphic card. > > > -- > Best regards ! > joe > E-mail: weizhou.sir@gmail.com >-- Best regards ! William zhou E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Pratt
2009-Apr-16 01:02 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
> Nvidia graphic cards don''t work as primaries, there are some issue > with the bios rexecution. > Nvidia cards should work as a seconday display adapter side by side > with the cirrus. > > So far ATI doesn''t support vt-d.We''ve had a HD3450 mobile ATI card working as secondary in a vista VM with std drivers -- it just required a secondary bus reset. There was a bug at one point where various bridge flags weren''t preserved across a reset. Ian> Intel graphic card only works as a primary. > > Jean > > 2009/4/15 Tim Moore <timothy.moore@expidas.net>: > > Kier, > > > > I have an nvidia nv4 (8800 GTS) and 9500 GT and they do not work > under XCI (as primary or secondary cards) and the same problem under > xen-rc1. I have also tried ATI cards to no avail. > > > > Will it be possible to get a list of bios + vendors /drivers that > have been tested / compatible? I will even offer to maintain the Wiki > with such information!! > > > > Cheers, > > Tim > > > > > > -----Original Message----- > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > Sent: 15 April 2009 10:26 > > To: Tim Moore; Stefano Stabellini > > Cc: xen-devel@lists.xensource.com; ''Bryan York'' > > Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen- > 3.4-rc1 > > > > On 15/04/2009 10:20, "Tim Moore" <timothy.moore@expidas.net> wrote: > > > >> Thanks for your reply. This is the first time that I have been > provided with > >> some pointers where to look.. like I said in previous emails, I can > work on > >> this but I didn''t write Xen or any of these workarounds! > >> > >> I also posted the [attached] question about XCI - no one answers :( > > > > Are there more than three main gfx vendors? ;-) > > > > The passthru has been got working on at least one example of each of > ATI, > > nVidia and Intel integrated gfx. That doesn''t necessarily mean it > will work > > for your chip, with your BIOS. Getting it working can on some systems > be > > quite a pain in the arse, even if a developer has local access to the > > system. > > > > -- Keir > > > > > > > > _______________________________________________ > > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-16 03:32 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Tim: I have modified the source code and recompiled. Everything seems good . Without RMRR incorrect and VT-D enable. Domain0 works with VT-D. DomainU asigned the PCIE NVIDIA card installed the nvidia-177-83 drivers for DomainU . 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. Any hint was appreciated. Thanks so much 2009/4/15 Tim Moore <timothy.moore@expidas.net>> Hello Wei, > > > > Please try with your Nvidia card, ATI not working with VT-d. > > > > You WILL have to compile from source, to fix bad RMRR error. This will make > VT-d work. > > > > Then hope your BIOS isn’t too broken and try again. > > > > Tim > > > > And Everytime i use the PCIE card render for Domain0, the VT-D can''t be > Enable Because of the RMMR incorrect. > > > > See: > > http://www.nabble.com/Re:-Re:-VT-D-RMRR-is-incorrect-p22022061.html > > > > Use this work around and (/* the whole “if” section */) and compile Xen. > > > ------------------------------ > > *From:* wei zhou [mailto:weizhou.sir@gmail.com] > *Sent:* 15 April 2009 12:28 > *To:* Stefano Stabellini > *Cc:* Tim Moore; xen-devel@lists.xensource.com; Bryan York > *Subject:* Re: [Xen-devel] good progress on pci vga passthrough in > xen-3.4-rc1 > > > > > > 2009/4/15 Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > Tim Moore wrote: > > > Thread-Topic: > > [XCI] Question? > > Thread-Index: > > Acm88go+caOvZEXVSRCK6Iw2iEIE+A=> > Message-ID: > > <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1F@heavy-vm03.heavy.org.uk> > > Accept-Language: > > en-US > > X-MS-Exchange-Organization-SCL: > > -1 > > Content-Type: > > multipart/alternative; > > boundary="_000_14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F1Fheavyvm03he_" > > MIME-Version: > > 1.0 > > > > > > Hi J/Ross, Hope you can help … > > > > > > > > Reading the Xen Client Initiative meeting minutes from May 20 2008, it > > mentions that: > > > > > > > > * Multiple graphics cards are working with recent patches (3 Main > > vendors) > > > > > > > > Do we know which 3x Graphics card vendors are working? > > > > > > > > I have built the XCI source from xenbits and whilst using it seems that > > the VGA card support is still quite specific … > > > > > The VGA support in XCI at the moment is Intel specific. > > However videocard passthrough should work OK with most graphic cards if > you passthrought the videocard to the guest as a secondary card (you do > not disable the emulated cirrus vga). The problem with this approach is > that you are not able to see anything on the screen until the guest > enables the secondary card so you may need to configure the guest using > vnc fron another machine, at least the first time. > On the other hand if you disable the emulated vga so the pt graphic card > happers as a primary in the guest, you should be able to see output on > the screen since the beginning of the guest boot sequence, but then you > are going to have more vga bios problems. > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > I have tried pass through a PCI ATI graphic card to DomainU. > I recognized that the ATI would be the second card. > I boot the DomainU with console and modified the xorg.conf file for the > X-window rendered by the ATI card. > But the DomainU still displaied on the same screen. > > I want to know how to make the DomainU displaied on the second screen? > How to disable the emulated graphic card. > > > -- > Best regards ! > joe > E-mail: weizhou.sir@gmail.com >-- Best regards ! William zhou E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-21 08:29 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Tim : I am still working about VT-D Graphic pass through experiment. Even with your guys'' useful helps, I still cann''t make the DomainU displaied on the second screen connected with the graphic card passed through. You said you used the "DomU: 2.6.26-1-xen-amd64 (deb lenny shipped)" as DomainU. you also said that " Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, ". That means the DomainU should be Para-Virtualization in your experiment of VT-D graphic pass through . How do i get the 2.6.26-1-xen-amd64 (deb lenny shipped) DomainU for testing? Thanks Wei 2009/4/15 Tim Moore <timothy.moore@expidas.net>> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >-- Best regards ! wei zhou E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Moore
2009-Apr-21 16:43 UTC
RE: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Wei, Yes, DomU should be PV. Any Xen-enabled kernel will be OK for DomU. Do you have pciback=”” kernel cmdline for Dom0. What does lspci -vvv show for the DomU ? Please also include your X server log file for DomU and your Dom0 Kernel output. Ta Tim ________________________________ From: wei zhou [mailto:weizhou.sir@gmail.com] Sent: 21 April 2009 09:29 To: Tim Moore Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1 Hi Tim : I am still working about VT-D Graphic pass through experiment. Even with your guys'' useful helps, I still cann''t make the DomainU displaied on the second screen connected with the graphic card passed through. You said you used the "DomU: 2.6.26-1-xen-amd64 (deb lenny shipped)" as DomainU. you also said that " Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, ". That means the DomainU should be Para-Virtualization in your experiment of VT-D graphic pass through . How do i get the 2.6.26-1-xen-amd64 (deb lenny shipped) DomainU for testing? Thanks Wei 2009/4/15 Tim Moore <timothy.moore@expidas.net<mailto:timothy.moore@expidas.net>> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<mailto:Xen-devel@lists.xensource.com> http://lists.xensource.com/xen-devel -- Best regards ! wei zhou E-mail: weizhou.sir@gmail.com<mailto:weizhou.sir@gmail.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wei zhou
2009-Apr-22 01:40 UTC
Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
Hi Tim : I didn''t pay attention to the PV DomainU. I always use the HVM or Windows OS as the DomainU in my experiments. You remaid me the PV GuestOS may make that work easily. But i still have some questions : The PV DomU supported the VT-D / IO virtualization ? Did i add the command line "pci = [''xx:xx.x'']" in config file of PV DomU ? For you questions : Do you have pciback=”” kernel cmdline for Dom0. yes , I added " pciback.hide = (xx:xx.x) " cmdline in " module ................" I also added the "iommu = 1 vtd = 1" in " kernel ....................... " What does lspci –vvv show for the DomU ? using the lspci -vvv cmd, i could find the NVIDIA card passed through in DomU HVM. But i can''t use that for rendering X-window . Please also include your X server log file for DomU and your Dom0 Kernel output. Presently , My system doesn''t work . I will attach those files next time. Thanks so much . wei 2009/4/22 Tim Moore <timothy.moore@expidas.net>> Hi Wei, > > > > Yes, DomU should be PV. > > > > Any Xen-enabled kernel will be OK for DomU. > > > > Do you have pciback=”” kernel cmdline for Dom0. > > > > What does lspci –vvv show for the DomU ? > > > > Please also include your X server log file for DomU and your Dom0 Kernel > output. > > > > Ta > > > > Tim > > > ------------------------------ > > *From:* wei zhou [mailto:weizhou.sir@gmail.com] > *Sent:* 21 April 2009 09:29 > *To:* Tim Moore > *Cc:* xen-devel@lists.xensource.com > *Subject:* Re: [Xen-devel] good progress on pci vga passthrough in > xen-3.4-rc1 > > > > Hi Tim : > > I am still working about VT-D Graphic pass through experiment. Even > with your guys'' useful helps, I still cann''t make the DomainU displaied on > the second screen connected with the graphic card passed through. > You said you used the "DomU: 2.6.26-1-xen-amd64 (deb lenny shipped)" > as DomainU. you also said that " Also confirmed that this is NOT possible > under a HVM or running Windows in a DomU, ". > > That means the DomainU should be Para-Virtualization in your > experiment of VT-D graphic pass through . > How do i get the 2.6.26-1-xen-amd64 (deb lenny shipped) DomainU for > testing? > > Thanks > > Wei > > 2009/4/15 Tim Moore <timothy.moore@expidas.net> > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > > -- > Best regards ! > wei zhou > E-mail: weizhou.sir@gmail.com >-- Best regards ! William zhou E-mail: weizhou.sir@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel