wealdwind
2010-May-12 15:33 UTC
[Xen-users] intel DQ45CB gma4500 VGA Passthrough Windows7 display deadly slow
Hi, I succeeded in VGA pass through on my intel dq45cb motherboard. Xen4.0.0 was downloaded from xen.org. Dom0 is 2.6.32.x/stable which was downloaed form jeremy''s repository. Dom0 os is Ubuntu Lucid. I could pass through the onboard intel GMA4500 to domU windows7. The following is my hvm config: kernel = "hvmloader" builder=''hvm'' memory = 1028 shadow_memory = 32 memory_sharing = 0 name = "win7" vcpus=1 pae=1 acpi=1 apic=1 vif = [ ''type=ioemu, bridge=br0'' ] disk = [ ''file:/opt/virtualmachines/win7.raw,hda,w'', ''file:/opt/iso/win7-x86-32.iso,ioemu:hdc:cdrom,r''] device_model = ''qemu-dm'' vnc=1 vnclisten="0.0.0.0" vncunused=1 vncpasswd='''' tsc_mode=1 localtime=1 usb=1 xen_platform_pci=1 pci=[ ''01:00.0'', ''00:1b.0'', ''00:02.0'',''00:02.1'' ] gfx_passthru=1 Everything seems fine. I could boot up the domU windows7. At the begining windows7 was working perfectly, but after about 1 minute later, the screen display seems very slow. When I clicked a menu, the menu would pop up about 20 seconds later. Windows7 used the built-in GMA4500 video driver, which is the same with the driver when ran windows7 directly on the motherboard. I think there must be something wrong, but I couldn''t figure it out. There was no error log in xend qemu-dm and windows7 event log. Pls. help me. Thanks Weald _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-May-13 12:26 UTC
[Xen-devel] Re: [Xen-users] intel DQ45CB gma4500 VGA Passthrough Windows7 display deadly slow
Adding xen-devel to CC.. -- Pasi On Wed, May 12, 2010 at 11:33:52AM -0400, wealdwind wrote:> > Hi, > > I succeeded in VGA pass through on my intel dq45cb motherboard. > > Xen4.0.0 was downloaded from xen.org. > Dom0 is 2.6.32.x/stable which was downloaed form jeremy''s repository. > Dom0 os is Ubuntu Lucid. > > I could pass through the onboard intel GMA4500 to domU windows7. The > following is my hvm config: > > kernel = "hvmloader" > builder=''hvm'' > memory = 1028 > shadow_memory = 32 > memory_sharing = 0 > name = "win7" > vcpus=1 > pae=1 > acpi=1 > apic=1 > vif = [ ''type=ioemu, bridge=br0'' ] > disk = [ ''file:/opt/virtualmachines/win7.raw,hda,w'', > ''file:/opt/iso/win7-x86-32.iso,ioemu:hdc:cdrom,r''] > device_model = ''qemu-dm'' > vnc=1 > vnclisten="0.0.0.0" > vncunused=1 > vncpasswd='''' > > tsc_mode=1 > localtime=1 > > usb=1 > > xen_platform_pci=1 > pci=[ ''01:00.0'', ''00:1b.0'', ''00:02.0'',''00:02.1'' ] > gfx_passthru=1 > > > > Everything seems fine. I could boot up the domU windows7. At the > begining windows7 was working perfectly, but after about 1 minute > later, the screen display seems very slow. > > When I clicked a menu, the menu would pop up about 20 seconds later. > > Windows7 used the built-in GMA4500 video driver, which is the same with > the driver when ran windows7 directly on the motherboard. > > > I think there must be something wrong, but I couldn''t figure it out. > > There was no error log in xend qemu-dm and windows7 event log. > > Pls. help me. > > Thanks > > Weald > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
wealdwind
2010-May-13 14:25 UTC
Re: [Xen-users] intel DQ45CB gma4500 VGA Passthrough Windows7 display deadly slow
Thanks Today I tried WindowsXP domU, and I downloaded the latest intel gma4500 driver, but it seems the same problem. Just in the while after booting up, domU was working OK, then the system seems very slow on screen update. I ssh to the dom0, there was no any symptoms, no any errors log. Would someone like to give me some instructions to switch some debug flags on to collect the debugging log? I personally think that, for desktop application the VGA passthrough is the only reason to use XEN. If it''s not mature and and stable. I would like to use KVM which is pretty easy to use , stable, and almost with the same performance. Thanks Weald On Thu, 2010-05-13 at 15:26 +0300, Pasi Kärkkäinen wrote:> Adding xen-devel to CC.. > > -- Pasi > > On Wed, May 12, 2010 at 11:33:52AM -0400, wealdwind wrote: > > > > Hi, > > > > I succeeded in VGA pass through on my intel dq45cb motherboard. > > > > Xen4.0.0 was downloaded from xen.org. > > Dom0 is 2.6.32.x/stable which was downloaed form jeremy''s repository. > > Dom0 os is Ubuntu Lucid. > > > > I could pass through the onboard intel GMA4500 to domU windows7. The > > following is my hvm config: > > > > kernel = "hvmloader" > > builder=''hvm'' > > memory = 1028 > > shadow_memory = 32 > > memory_sharing = 0 > > name = "win7" > > vcpus=1 > > pae=1 > > acpi=1 > > apic=1 > > vif = [ ''type=ioemu, bridge=br0'' ] > > disk = [ ''file:/opt/virtualmachines/win7.raw,hda,w'', > > ''file:/opt/iso/win7-x86-32.iso,ioemu:hdc:cdrom,r''] > > device_model = ''qemu-dm'' > > vnc=1 > > vnclisten="0.0.0.0" > > vncunused=1 > > vncpasswd='''' > > > > tsc_mode=1 > > localtime=1 > > > > usb=1 > > > > xen_platform_pci=1 > > pci=[ ''01:00.0'', ''00:1b.0'', ''00:02.0'',''00:02.1'' ] > > gfx_passthru=1 > > > > > > > > Everything seems fine. I could boot up the domU windows7. At the > > begining windows7 was working perfectly, but after about 1 minute > > later, the screen display seems very slow. > > > > When I clicked a menu, the menu would pop up about 20 seconds later. > > > > Windows7 used the built-in GMA4500 video driver, which is the same with > > the driver when ran windows7 directly on the motherboard. > > > > > > I think there must be something wrong, but I couldn''t figure it out. > > > > There was no error log in xend qemu-dm and windows7 event log. > > > > Pls. help me. > > > > Thanks > > > > Weald > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Han, Weidong
2010-May-14 01:23 UTC
RE: [Xen-devel] Re: [Xen-users] intel DQ45CB gma4500 VGA Passthrough Windows7 display deadly slow
Could you try to only assign IGD (pci=[ '00:02.0' ])? It's weird to config "memory = 1028", pls change it to "memory=1024". BTW, KVM doesn't support gfx passthru yet. Regards, Weidong -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of wealdwind Sent: Thursday, May 13, 2010 10:26 PM To: Pasi Kärkkäinen Cc: xen-devel@lists.xensource.com; Xen-users@lists.xensource.com Subject: [Xen-devel] Re: [Xen-users] intel DQ45CB gma4500 VGA Passthrough Windows7 display deadly slow Thanks Today I tried WindowsXP domU, and I downloaded the latest intel gma4500 driver, but it seems the same problem. Just in the while after booting up, domU was working OK, then the system seems very slow on screen update. I ssh to the dom0, there was no any symptoms, no any errors log. Would someone like to give me some instructions to switch some debug flags on to collect the debugging log? I personally think that, for desktop application the VGA passthrough is the only reason to use XEN. If it's not mature and and stable. I would like to use KVM which is pretty easy to use , stable, and almost with the same performance. Thanks Weald On Thu, 2010-05-13 at 15:26 +0300, Pasi Kärkkäinen wrote:> Adding xen-devel to CC.. > > -- Pasi > > On Wed, May 12, 2010 at 11:33:52AM -0400, wealdwind wrote: > > > > Hi, > > > > I succeeded in VGA pass through on my intel dq45cb motherboard. > > > > Xen4.0.0 was downloaded from xen.org. > > Dom0 is 2.6.32.x/stable which was downloaed form jeremy's repository. > > Dom0 os is Ubuntu Lucid. > > > > I could pass through the onboard intel GMA4500 to domU windows7. The > > following is my hvm config: > > > > kernel = "hvmloader" > > builder='hvm' > > memory = 1028 > > shadow_memory = 32 > > memory_sharing = 0 > > name = "win7" > > vcpus=1 > > pae=1 > > acpi=1 > > apic=1 > > vif = [ 'type=ioemu, bridge=br0' ] > > disk = [ 'file:/opt/virtualmachines/win7.raw,hda,w', > > 'file:/opt/iso/win7-x86-32.iso,ioemu:hdc:cdrom,r'] > > device_model = 'qemu-dm' > > vnc=1 > > vnclisten="0.0.0.0" > > vncunused=1 > > vncpasswd='' > > > > tsc_mode=1 > > localtime=1 > > > > usb=1 > > > > xen_platform_pci=1 > > pci=[ '01:00.0', '00:1b.0', '00:02.0','00:02.1' ] > > gfx_passthru=1 > > > > > > > > Everything seems fine. I could boot up the domU windows7. At the > > begining windows7 was working perfectly, but after about 1 minute > > later, the screen display seems very slow. > > > > When I clicked a menu, the menu would pop up about 20 seconds later. > > > > Windows7 used the built-in GMA4500 video driver, which is the same with > > the driver when ran windows7 directly on the motherboard. > > > > > > I think there must be something wrong, but I couldn't figure it out. > > > > There was no error log in xend qemu-dm and windows7 event log. > > > > Pls. help me. > > > > Thanks > > > > Weald > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users