Dariusz Krempa
2012-Sep-27 11:03 UTC
Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
I''m glad i can report that today i have 100% success with VGA passthrough on windows 7 64-bit. That nasty yellow triangle with error 43 disappeared and my GTX560 has 7.8 points in aero index, also Gpu-z and Cpu-z see vga card properly and unigine heaven benchmark have no problem with it. Now i have to figure which particular option let me to do this. Most likely it was turned off msi_translate in DomU config, but i will make more test and i will share with full information today later. Cause i''m newbie with Xen and linux if there is some particular information i can share with, then please tell me and i will try to do that. http://tinypic.com/r/33djtwz/6
Mikhail I. Izmestev
2012-Sep-27 13:15 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
Hi, 27.09.2012 15:03, Dariusz Krempa wrote:> I''m glad i can report that today i have 100% success with VGA > passthrough on windows 7 64-bit. That nasty yellow triangle with error > 43 disappeared and my GTX560 has 7.8 points in aero index, also Gpu-z > and Cpu-z see vga card properly and unigine heaven benchmark have no > problem with it. > Now i have to figure which particular option let me to do this. Most > likely it was turned off msi_translate in DomU config, but i will make > more test and i will share with full information today later. Cause > i''m newbie with Xen and linux if there is some particular information > i can share with, then please tell me and i will try to do that. > > http://tinypic.com/r/33djtwz/6One day before I have tried to do this without luck. My configuration: MB: GA-Z77X-D3H with latest bios (F15) CPU: core i5-2400 two GPU GTX560 on 16x and 8x pcie ports (both works on 8x when two used). DomU: win7 x64 pro I have tried to do this with XCP 1.5b and XenServer 6.0 Free trial. There is dmesg for host: [root@xenserver-render ~]# xe host-dmesg | grep -i virtualisation (XEN) I/O virtualisation enabled (XEN) - APIC MMIO access virtualisation I just have "nasty yellow triangle with error 43" :) So I''m interested in your experience and solution. Mikhail.
Teo En Ming (Zhang Enming)
2012-Sep-27 16:13 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 27/09/2012 21:15, Mikhail I. Izmestev wrote:> Hi, > > 27.09.2012 15:03, Dariusz Krempa wrote: >> I''m glad i can report that today i have 100% success with VGA >> passthrough on windows 7 64-bit. That nasty yellow triangle with error >> 43 disappeared and my GTX560 has 7.8 points in aero index, also Gpu-z >> and Cpu-z see vga card properly and unigine heaven benchmark have no >> problem with it. >> Now i have to figure which particular option let me to do this. Most >> likely it was turned off msi_translate in DomU config, but i will make >> more test and i will share with full information today later. Cause >> i''m newbie with Xen and linux if there is some particular information >> i can share with, then please tell me and i will try to do that. >> >> http://tinypic.com/r/33djtwz/6 > > One day before I have tried to do this without luck. > > My configuration: > MB: GA-Z77X-D3H with latest bios (F15) > CPU: core i5-2400 > two GPU GTX560 on 16x and 8x pcie ports (both works on 8x when two used). > > DomU: win7 x64 pro > > I have tried to do this with XCP 1.5b and XenServer 6.0 Free trial. > > There is dmesg for host: > [root@xenserver-render ~]# xe host-dmesg | grep -i virtualisation > (XEN) I/O virtualisation enabled > (XEN) - APIC MMIO access virtualisation > > I just have "nasty yellow triangle with error 43" :) > > So I''m interested in your experience and solution. > > Mikhail. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Dear Dariusz Krempa, I am also interested in knowing how you get the "nasty yellow triangle with error 43" to disappear. In addition, may I know which guide did you follow in getting VGA passthrough to work 100%? Thank you very much. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Teo En Ming (Zhang Enming)
2012-Sep-27 16:13 UTC
Re: [Xen-users] Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 27/09/2012 21:15, Mikhail I. Izmestev wrote:> Hi, > > 27.09.2012 15:03, Dariusz Krempa wrote: >> I''m glad i can report that today i have 100% success with VGA >> passthrough on windows 7 64-bit. That nasty yellow triangle with error >> 43 disappeared and my GTX560 has 7.8 points in aero index, also Gpu-z >> and Cpu-z see vga card properly and unigine heaven benchmark have no >> problem with it. >> Now i have to figure which particular option let me to do this. Most >> likely it was turned off msi_translate in DomU config, but i will make >> more test and i will share with full information today later. Cause >> i''m newbie with Xen and linux if there is some particular information >> i can share with, then please tell me and i will try to do that. >> >> http://tinypic.com/r/33djtwz/6 > > One day before I have tried to do this without luck. > > My configuration: > MB: GA-Z77X-D3H with latest bios (F15) > CPU: core i5-2400 > two GPU GTX560 on 16x and 8x pcie ports (both works on 8x when two used). > > DomU: win7 x64 pro > > I have tried to do this with XCP 1.5b and XenServer 6.0 Free trial. > > There is dmesg for host: > [root@xenserver-render ~]# xe host-dmesg | grep -i virtualisation > (XEN) I/O virtualisation enabled > (XEN) - APIC MMIO access virtualisation > > I just have "nasty yellow triangle with error 43" :) > > So I''m interested in your experience and solution. > > Mikhail. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Dear Dariusz Krempa, I am also interested in knowing how you get the "nasty yellow triangle with error 43" to disappear. In addition, may I know which guide did you follow in getting VGA passthrough to work 100%? Thank you very much. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Dariusz Krempa
2012-Sep-27 16:52 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
> Dear Dariusz Krempa, > > I am also interested in knowing how you get the "nasty yellow triangle with > error 43" to disappear. > > In addition, may I know which guide did you follow in getting VGA > passthrough to work 100%? > > Thank you very much. > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersI started with guide from You dated 25 march 2012 to build Dom0 and Xen 4.2, but with few modifications this time. 1) I used kernel 3.6-rc7 for Dom0 --> http://kernel.org/pub/linux/kernel/v3.x/testing/linux-3.6-rc7.tar.bz2 2) I used Xen from http://xenbits.xen.org/hg/staging/xen-unstable.hg/ 3) VGA patch from David''s Gis rev 25240 4) I used pciback to hide my gtx560 from Dom0, and for a while i have had second gfx - hd4850, but now i removed it and i have only gtx560, still working and finally I think I know what make that error 43 disappeared. At first I did comment those lines in DomU config: #pci_msitranslate = 1 #pci_power_mgmt = 1 #xen_platform_pci=1 #xen_extended_power_mgmt=1 When i had success with installation i start to remove comments and the one which is nasty is pci_msitranslate. This make some other problems, like not working USB ports, but ... If any other information will be needed please let me know. Hardware: asus P8H67 asus GTX560 DCII top 4GB ram System: ubuntu 12.04 Dom0 kernel 3.6-rc7 DomU windows 7 x64 nvidia drivers 275.33 - but possibly 275.50 also will work
Dariusz Krempa
2012-Sep-27 16:52 UTC
Re: [Xen-users] Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
> Dear Dariusz Krempa, > > I am also interested in knowing how you get the "nasty yellow triangle with > error 43" to disappear. > > In addition, may I know which guide did you follow in getting VGA > passthrough to work 100%? > > Thank you very much. > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersI started with guide from You dated 25 march 2012 to build Dom0 and Xen 4.2, but with few modifications this time. 1) I used kernel 3.6-rc7 for Dom0 --> http://kernel.org/pub/linux/kernel/v3.x/testing/linux-3.6-rc7.tar.bz2 2) I used Xen from http://xenbits.xen.org/hg/staging/xen-unstable.hg/ 3) VGA patch from David''s Gis rev 25240 4) I used pciback to hide my gtx560 from Dom0, and for a while i have had second gfx - hd4850, but now i removed it and i have only gtx560, still working and finally I think I know what make that error 43 disappeared. At first I did comment those lines in DomU config: #pci_msitranslate = 1 #pci_power_mgmt = 1 #xen_platform_pci=1 #xen_extended_power_mgmt=1 When i had success with installation i start to remove comments and the one which is nasty is pci_msitranslate. This make some other problems, like not working USB ports, but ... If any other information will be needed please let me know. Hardware: asus P8H67 asus GTX560 DCII top 4GB ram System: ubuntu 12.04 Dom0 kernel 3.6-rc7 DomU windows 7 x64 nvidia drivers 275.33 - but possibly 275.50 also will work
Teo En Ming (Zhang Enming)
2012-Sep-27 17:29 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 28/09/2012 00:52, Dariusz Krempa wrote:>> Dear Dariusz Krempa, >> >> I am also interested in knowing how you get the "nasty yellow triangle with >> error 43" to disappear. >> >> In addition, may I know which guide did you follow in getting VGA >> passthrough to work 100%? >> >> Thank you very much. >> >> -- >> Yours sincerely, >> >> Mr. Teo En Ming (Zhang Enming) >> Singapore >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > I started with guide from You dated 25 march 2012 to build Dom0 and > Xen 4.2, but with few modifications this time. > 1) I used kernel 3.6-rc7 for Dom0 --> > http://kernel.org/pub/linux/kernel/v3.x/testing/linux-3.6-rc7.tar.bz2 > 2) I used Xen from http://xenbits.xen.org/hg/staging/xen-unstable.hg/ > 3) VGA patch from David''s Gis rev 25240 > 4) I used pciback to hide my gtx560 from Dom0, and for a while i have > had second gfx - hd4850, but now i removed it and i have only gtx560, > still working > > and finally I think I know what make that error 43 disappeared. At > first I did comment those lines in DomU config: > > #pci_msitranslate = 1 > #pci_power_mgmt = 1 > #xen_platform_pci=1 > #xen_extended_power_mgmt=1 > > When i had success with installation i start to remove comments and > the one which is nasty is pci_msitranslate. This make some other > problems, like not working USB ports, but ... > > If any other information will be needed please let me know. > > Hardware: > asus P8H67 > asus GTX560 DCII top > 4GB ram > > System: > ubuntu 12.04 > Dom0 kernel 3.6-rc7 > DomU windows 7 x64 > nvidia drivers 275.33 - but possibly 275.50 also will work > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Dear Dariusz Krempa, Thank you for your prompt reply. I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so I don''t think "pci_msitranslate = 1" is the main cause of my "nasty yellow triangle with error 43". -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Dariusz Krempa
2012-Sep-27 17:58 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
2012/9/27 Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com>:> On 28/09/2012 00:52, Dariusz Krempa wrote: >>> >>> Dear Dariusz Krempa, >>> >>> I am also interested in knowing how you get the "nasty yellow triangle >>> with >>> error 43" to disappear. >>> >>> In addition, may I know which guide did you follow in getting VGA >>> passthrough to work 100%? >>> >>> Thank you very much. >>> >>> -- >>> Yours sincerely, >>> >>> Mr. Teo En Ming (Zhang Enming) >>> Singapore >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> I started with guide from You dated 25 march 2012 to build Dom0 and >> Xen 4.2, but with few modifications this time. >> 1) I used kernel 3.6-rc7 for Dom0 --> >> http://kernel.org/pub/linux/kernel/v3.x/testing/linux-3.6-rc7.tar.bz2 >> 2) I used Xen from http://xenbits.xen.org/hg/staging/xen-unstable.hg/ >> 3) VGA patch from David''s Gis rev 25240 >> 4) I used pciback to hide my gtx560 from Dom0, and for a while i have >> had second gfx - hd4850, but now i removed it and i have only gtx560, >> still working >> >> and finally I think I know what make that error 43 disappeared. At >> first I did comment those lines in DomU config: >> >> #pci_msitranslate = 1 >> #pci_power_mgmt = 1 >> #xen_platform_pci=1 >> #xen_extended_power_mgmt=1 >> >> When i had success with installation i start to remove comments and >> the one which is nasty is pci_msitranslate. This make some other >> problems, like not working USB ports, but ... >> >> If any other information will be needed please let me know. >> >> Hardware: >> asus P8H67 >> asus GTX560 DCII top >> 4GB ram >> >> System: >> ubuntu 12.04 >> Dom0 kernel 3.6-rc7 >> DomU windows 7 x64 >> nvidia drivers 275.33 - but possibly 275.50 also will work >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > Dear Dariusz Krempa, > > Thank you for your prompt reply. > > I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so I > don''t think "pci_msitranslate = 1" is the main cause of my "nasty yellow > triangle with error 43". > > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore >I checked DomU with and without msi and with msi i saw bluescreen and turning it off, and DomU again start normally. Like I wrote, I also have different kernel for Dom0, with 3.3-rc7 i had error 43 and today first time installed xen 4.2.1-pre( from source). Yesterday and days before that i had xen 4.2-rc2 -- 4.2-rc4. Im not 100% sure what (kernel or new xen) fixed problem and for now i will play with windows 7, maybe tommorow or day or two later i will again reinstall Dom0 to check which one solved problem. In mean time at least we know that its possible to pass vga to windows 7 DomU, and how. Im sure that You and maybe other users will try on her own system with settings I described. There was also few more things i did just before i had success, but i think it has nothing to do with it. Just mention it: - removed opencl libraries under windows system, - removed cuda libraries under windows, - reinstall nvidia drivers to version 275.33 (there was 306.xx or something, dont remember)
Mike Viau
2012-Sep-27 17:59 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
> On Fri, 28 Sep 2012 01:29:14 +0800 <singapore.mr.teo.en.ming@gmail.com> wrote: > > Dear Dariusz Krempa, > > Thank you for your prompt reply. > > I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so > I don''t think "pci_msitranslate = 1" is the main cause of my "nasty > yellow triangle with error 43". >I once recorded that the default for the pci_msitranslate option was "1". Not having this in your configuration then is like having it set. Feel free to correct me if I am wrong. I have only gotten VGA pass-through to work with a Windows domU, never in GNU/Linux for some reason. -M
Dariusz Krempa
2012-Sep-27 18:34 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
2012/9/27 Mike Viau <viaum@sheridanc.on.ca>:> >> On Fri, 28 Sep 2012 01:29:14 +0800 <singapore.mr.teo.en.ming@gmail.com> wrote: >> >> Dear Dariusz Krempa, >> >> Thank you for your prompt reply. >> >> I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so >> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty >> yellow triangle with error 43". >> > > I once recorded that the default for the pci_msitranslate option was "1". Not having this in your configuration then is like having it set. Feel free to correct me if I am wrong. I have only gotten VGA pass-through to work with a Windows domU, never in GNU/Linux for some reason. > > > -M > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersfrom change set 25525 msitranslate is 0 by deafault http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120
Teo En Ming (Zhang Enming)
2012-Sep-27 18:54 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 28/09/2012 02:34, Dariusz Krempa wrote:> 2012/9/27 Mike Viau<viaum@sheridanc.on.ca>: >>> On Fri, 28 Sep 2012 01:29:14 +0800<singapore.mr.teo.en.ming@gmail.com> wrote: >>> >>> Dear Dariusz Krempa, >>> >>> Thank you for your prompt reply. >>> >>> I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so >>> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty >>> yellow triangle with error 43". >>> >> I once recorded that the default for the pci_msitranslate option was "1". Not having this in your configuration then is like having it set. Feel free to correct me if I am wrong. I have only gotten VGA pass-through to work with a Windows domU, never in GNU/Linux for some reason. >> >> >> -M >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > from change set 25525 msitranslate is 0 by deafault > > http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Hi, May I know whether your GTX 560 is a Ti or a non Ti, that is, GTX 560 or GTX 560 Ti? Thank you very much. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Dariusz Krempa
2012-Sep-27 19:13 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
2012/9/27 Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com>:> On 28/09/2012 02:34, Dariusz Krempa wrote: >> >> 2012/9/27 Mike Viau<viaum@sheridanc.on.ca>: >>>> >>>> On Fri, 28 Sep 2012 01:29:14 +0800<singapore.mr.teo.en.ming@gmail.com> >>>> wrote: >>>> >>>> Dear Dariusz Krempa, >>>> >>>> Thank you for your prompt reply. >>>> >>>> I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so >>>> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty >>>> yellow triangle with error 43". >>>> >>> I once recorded that the default for the pci_msitranslate option was "1". >>> Not having this in your configuration then is like having it set. Feel free >>> to correct me if I am wrong. I have only gotten VGA pass-through to work >>> with a Windows domU, never in GNU/Linux for some reason. >>> >>> >>> -M >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> from change set 25525 msitranslate is 0 by deafault >> >> >> http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120 >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > Hi, > > May I know whether your GTX 560 is a Ti or a non Ti, that is, GTX 560 or GTX > 560 Ti? > > > Thank you very much. > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore >just 560, without Ti
Dariusz Krempa
2012-Sep-27 20:07 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
I know I shouldn''t reply to myself, but I have hvm DomU with windows server 2008 r2, and i only turn on gfx_passthrough and pci=[''1:00.0''], created guest and installed nvidia drivers 275.50 and full success. Just like with windows 7. I''m only having problems with windows 8 cause first available drivers are 29x.xx and they don''t work. I have partial success with windows 8 and drivers 275.33 for vista/win7, cause system see my VGA but gpu-z shows that only DirectComputing is enabled, no CUDA, no PhysX, no OpenCL.
Mike Viau
2012-Sep-28 00:01 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
>On Thu, 27 Sep 2012 20:34:54 +0200 <imperiaonline4@gmail.com> wrote: > > >2012/9/27 Mike Viau <viaum@sheridanc.on.ca>: > > > >> On Fri, 28 Sep 2012 01:29:14 +0800 <singapore.mr.teo.en.ming@gmail.com> wrote: > >> > >> Dear Dariusz Krempa, > >> > >> Thank you for your prompt reply. > >> > >> I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so > >> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty > >> yellow triangle with error 43". > >> > > > > I once recorded that the default for the pci_msitranslate option was "1". Not having this in your configuration then is like having it set. Feel free to correct me if I am wrong. I have only gotten VGA pass-through to work with a Windows domU, never in GNU/Linux for some reason. > > > > > > -M > > from change set 25525 msitranslate is 0 by deafault > > http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120 >Thanks for this information, it was much appreciated! I will be updating my notes accordingly. -M
Teo En Ming (Zhang Enming)
2012-Sep-29 10:31 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 28/09/2012 08:01, Mike Viau wrote:> >> On Thu, 27 Sep 2012 20:34:54 +0200 <imperiaonline4@gmail.com> wrote: >> >>> 2012/9/27 Mike Viau <viaum@sheridanc.on.ca>: >>> >>>> On Fri, 28 Sep 2012 01:29:14 +0800 <singapore.mr.teo.en.ming@gmail.com> wrote: >>>> >>>> Dear Dariusz Krempa, >>>> >>>> Thank you for your prompt reply. >>>> >>>> I don''t have pci_msitranslate = 1 in my Windows HVM domU config file, so >>>> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty >>>> yellow triangle with error 43". >>>> >>> I once recorded that the default for the pci_msitranslate option was "1". Not having this in your configuration then is like having it set. Feel free to correct me if I am wrong. I have only gotten VGA pass-through to work with a Windows domU, never in GNU/Linux for some reason. >>> >>> >>> -M >> from change set 25525 msitranslate is 0 by deafault >> >> http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120 >> > Thanks for this information, it was much appreciated! I will be updating my notes accordingly. > > -M > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >Dear Dariusz Krempa, Could you publish your xen vga passthrough configuration files, namely the windows 7 x64 HVM domU configuration file? I have tried setting pci_msitranslate to 1 and also 0 but the nasty yellow triangle with an exclamation mark and error 43 won''t go away. pci_msitranslate has no effect on my system. Thank you very much. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Teo En Ming (Zhang Enming)
2012-Sep-29 13:36 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 29/09/2012 18:31, Teo En Ming (Zhang Enming) wrote:> On 28/09/2012 08:01, Mike Viau wrote: >> >>> On Thu, 27 Sep 2012 20:34:54 +0200 <imperiaonline4@gmail.com> wrote: >>> >>>> 2012/9/27 Mike Viau <viaum@sheridanc.on.ca>: >>>> >>>>> On Fri, 28 Sep 2012 01:29:14 +0800 >>>>> <singapore.mr.teo.en.ming@gmail.com> wrote: >>>>> >>>>> Dear Dariusz Krempa, >>>>> >>>>> Thank you for your prompt reply. >>>>> >>>>> I don''t have pci_msitranslate = 1 in my Windows HVM domU config >>>>> file, so >>>>> I don''t think "pci_msitranslate = 1" is the main cause of my "nasty >>>>> yellow triangle with error 43". >>>>> >>>> I once recorded that the default for the pci_msitranslate option >>>> was "1". Not having this in your configuration then is like having >>>> it set. Feel free to correct me if I am wrong. I have only gotten >>>> VGA pass-through to work with a Windows domU, never in GNU/Linux >>>> for some reason. >>>> >>>> >>>> -M >>> from change set 25525 msitranslate is 0 by deafault >>> >>> http://xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/84272cca638a?revcount=120 >>> >>> >> Thanks for this information, it was much appreciated! I will be >> updating my notes accordingly. >> >> -M >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > Dear Dariusz Krempa, > > Could you publish your xen vga passthrough configuration files, namely > the windows 7 x64 HVM domU configuration file? > > I have tried setting pci_msitranslate to 1 and also 0 but the nasty > yellow triangle with an exclamation mark and error 43 won''t go away. > pci_msitranslate has no effect on my system. > > Thank you very much. >Hi, I have applied Xen VGA passthrough patches from David Techer''s personal website to Xen 4.2.1-pre source tree. Everything compiled and installed smoothly. But when I tried to start Windows 8 HVM domU with VGA passthrough, it gave me the following error: xc: error: unable to allocate memory to the HVM guest. (16: device or resource busy): Internal error. There are no issues with Xen 4.2-unstable changeset 25099 however. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Dariusz Krempa
2012-Sep-29 17:41 UTC
Fwd: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
*menuentry ''Ubuntu GNU/Linux, with Xen 4.2.1-pre and Linux 3.6.0-rc7-xen-4.2-testing'' --class ubuntu --class gnu-linux --class gnu --class os --class xe* *n {* * insmod lvm* * insmod part_msdos* * insmod ext2* * set root=''(ubuntu-root)''* * search --no-floppy --fs-uuid --set=root 8626e2ee-67d6-4f8b-a407-d0c73a445104* * echo ''Loading Xen 4.2.1-pre ...''* * multiboot /boot/xen-4.2.1-pre.gz placeholder * * echo ''Loading Linux 3.6.0-rc7-xen-4.2-testing ...''* * module /boot/vmlinuz-3.6.0-rc7-xen-4.2-testing placeholder root=/dev/mapper/ubuntu-root ro splash quiet xen-pciback.hide=(0:1d.0)(1:00.0)(1:00.1)* * echo ''Loading initial ramdisk ...''* * module /boot/initrd.img-3.6.0-rc7-xen-4.2-testing* *}*>> Dear Dariusz Krempa, >> >> Could you publish your xen vga passthrough configuration files, namelythe>> windows 7 x64 HVM domU configuration file? >> >> I have tried setting pci_msitranslate to 1 and also 0 but the nastyyellow>> triangle with an exclamation mark and error 43 won''t go away. >> pci_msitranslate has no effect on my system. >> >> Thank you very much. >>No problem, there are my configurations for DomU windows 7 and 8. And this my grub configuration :> > Hi, > > I have applied Xen VGA passthrough patches from David Techer''s personal > website to Xen 4.2.1-pre source tree. Everything compiled and installed > smoothly. But when I tried to start Windows 8 HVM domU with VGApassthrough,> it gave me the following error: > > xc: error: unable to allocate memory to the HVM guest. (16: device or > resource busy): Internal error. > > There are no issues with Xen 4.2-unstable changeset 25099 however. > > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore >I have this error a lot time with Xen 4.2+ but i just repeat create command and all is fine. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Dariusz Krempa
2012-Oct-02 11:02 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
Hi. I did some researches to find out how I did install drivers for nvidia vga under windows 7 DomU and this is my conclusion. No matter how system is prepared, Dom0 and hardware, if it works with windows xp then could work with windows 7 (my testing platform had Dom0 kernel 3.6-rc7 with xen 4.2.1-pre). Most important thing is how to foul windows to accept drivers. This is how I did this. Three separate installations of windows 7 and each time success: 1) for windows 7 installation in DomU configuration setup like this: gfx_passthrough=0 #pci = [''1:00.0''] // in my case NVIDIA VGA BDF is 1:00.0 #pci_msitranslate 2) when You install windows 7 shut it down and change DomU config. show vga to windows but don''t pass it thru yet: gfx_passthrough=0 pci = [''1:00.0''] #pci_msitranslate 3) start DomU and install nvidia drivers. in my case 275.33 or 275.50, both work and I didnt check newer 4) shut down DomU and setup his configuration. its finally configuration in my case : gfx_passthrough=1 pci = [''1:00.0''] #pci_msitranslate 5*)create DomU and drivers could works and no error 43 * because my system setup i need to restart Dom0 before step 5 ** if there still will be reported problem with drivers under windows 7 I will make more researches for different kernels/Dom0 configurations _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Teo En Ming (Zhang Enming)
2012-Oct-03 04:44 UTC
Re: Success VGA passthrough on windows 7 x64 with Xen 4.2.1-pre
On 02/10/2012 19:02, Dariusz Krempa wrote:> > Hi. > I did some researches to find out how I did install drivers for nvidia > vga under windows 7 DomU and this is my conclusion. No matter how > system is prepared, Dom0 and hardware, if it works with windows xp > then could work with windows 7 (my testing platform had Dom0 kernel > 3.6-rc7 with xen 4.2.1-pre). Most important thing is how to foul > windows to accept drivers. This is how I did this. Three separate > installations of windows 7 and each time success: > > 1) for windows 7 installation in DomU configuration setup like this: > gfx_passthrough=0 > #pci = [''1:00.0''] // in my case NVIDIA VGA BDF is 1:00.0 > #pci_msitranslate > > 2) when You install windows 7 shut it down and change DomU config. > show vga to windows but don''t pass it thru yet: > gfx_passthrough=0 > pci = [''1:00.0''] > #pci_msitranslate > > 3) start DomU and install nvidia drivers. in my case 275.33 or 275.50, > both work and I didnt check newer > > 4) shut down DomU and setup his configuration. its finally > configuration in my case : > gfx_passthrough=1 > pci = [''1:00.0''] > #pci_msitranslate > > 5*)create DomU and drivers could works and no error 43 > > > * because my system setup i need to restart Dom0 before step 5 > ** if there still will be reported problem with drivers under windows > 7 I will make more researches for different kernels/Dom0 configurations > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersDear Dariusz Krempa, I am unable to get vga passthrough to work with Xen 4.2.0 and Xen 4.2.1-pre. After my Windows 8 HVM domU starts, it shows me a blank screen permanently. I cannot even get partial success with VGA passthrough with Xen 4.2.0 and 4.2.1-pre. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users