涂堂訓(Tang-Hsun Tu)
2010-Jul-22 10:10 UTC
[Xen-devel] VGA passthrough with Drivers does not work
Hi, In recent days, I try to passthrough VGA to a HVM windows XP domain on my notebook. There are two VGAs on the notebook, one is intel IGD (primary) and the other is nvidia (secondary). At first, the screen will be blank/black when I start a HVM with a passed VGA (primary one). After I connect a external monitor and disable GDM, the screen (external monitor) will start to display the WinXP logo (it seems that the passthrouh is successful), and it is only 16-bit color in display when enters into WinXP (it means it does not have any VGA driver). The original screen (on notebook) still is black. However, when I reboot the machine after installing the VGA driver, the screen has become black. I also try to install driver without passthrough before, then change the setting to the passthrought, but it still goes to black screen. How can I solve this problem? By the way, I aslo have some questions. 1. Why a external monitor can display but the original (notebook screen) does not? 2. In WinXP, I can see the bochs BIOS message when I start the HVM. However, in Windows7, I only see a disordered screen until enters into Winows7. 3. If the dom0 use printk (dmesg), the screen will not be align. It just like print a message then the screen moves up. Thanks! Best Regards, Tang-Hsun Tu Enivronment: Host OS: Ubuntu 10.04 LTS Dom0: 2.6.31.13 Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 HVM: windows XP and windows 7 CPU: Intel(R) Core(TM) i5 CPU M 540 VGA: Intel Corporation Core Processor Integrated Graphics Controller nVidia Corporation Device 0a29 lspci: 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05) 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0) 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jul-22 12:58 UTC
Re: [Xen-devel] VGA passthrough with Drivers does not work
On Thu, Jul 22, 2010 at 06:10:10PM +0800, "?????????(Tang-Hsun Tu)" wrote:> Hi, > > In recent days, I try to passthrough VGA to a HVM windows XP > domain on my notebook. > There are two VGAs on the notebook, one is intel IGD (primary) and the > other is nvidia (secondary). > > At first, the screen will be blank/black when I start a HVM with a > passed VGA (primary one). > After I connect a external monitor and disable GDM, > the screen (external monitor) will start to display the WinXP logo > (it seems that the passthrouh is successful), > and it is only 16-bit color in display when enters into WinXP > (it means it does not have any VGA driver). > The original screen (on notebook) still is black. > > However, > when I reboot the machine after installing the VGA driver, > the screen has become black. > I also try to install driver without passthrough before, > then change the setting to the passthrought, > but it still goes to black screen. > How can I solve this problem? >Are there any relevant errors in /var/log/xen/* ? how about "xm dmesg" or "xm log" ? -- Pasi> By the way, I aslo have some questions. > 1. Why a external monitor can display but the original (notebook screen) > does not? > 2. In WinXP, I can see the bochs BIOS message when I start the HVM. > However, in Windows7, I only see a disordered screen until enters > into Winows7. > 3. If the dom0 use printk (dmesg), the screen will not be align. > It just like print a message then the screen moves up. > > Thanks! > > Best Regards, > Tang-Hsun Tu > > Enivronment: > Host OS: Ubuntu 10.04 LTS > Dom0: 2.6.31.13 > Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 > HVM: windows XP and windows 7 > CPU: Intel(R) Core(TM) i5 CPU M 540 > VGA: Intel Corporation Core Processor Integrated Graphics Controller > nVidia Corporation Device 0a29 > > > lspci: > 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller > (rev 02) > 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 > Root Port (rev 02) > 00:02.0 VGA compatible controller: Intel Corporation Core Processor > Integrated Graphics Controller (rev 02) > 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series > Chipset HECI Controller (rev 06) > 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset > High Definition Audio (rev 05) > 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 1 (rev 05) > 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 2 (rev 05) > 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) > 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC > Interface Controller (rev 05) > 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset > 4 port SATA AHCI Controller (rev 05) > 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus > Controller (rev 05) > 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 > Series Chipset Thermal Subsystem (rev 05) > 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) > 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit > Ethernet (rev c0) > 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) > ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath > Architecture Generic Non-core Registers (rev 02) > ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath > Architecture System Address Decoder (rev 02) > ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) > ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 > (rev 02) > ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > > _______________________________________________ > 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
涂堂訓(Tang-Hsun Tu)
2010-Jul-23 05:44 UTC
Re: [Xen-devel] VGA passthrough with Drivers does not work
Hi, Here are my logs. Best Regards, Tang-Hsun Tu 於 2010/7/22 下午 08:58, Pasi Kärkkäinen 提到:> On Thu, Jul 22, 2010 at 06:10:10PM +0800, "?????????(Tang-Hsun Tu)" wrote: > >> Hi, >> >> In recent days, I try to passthrough VGA to a HVM windows XP >> domain on my notebook. >> There are two VGAs on the notebook, one is intel IGD (primary) and the >> other is nvidia (secondary). >> >> At first, the screen will be blank/black when I start a HVM with a >> passed VGA (primary one). >> After I connect a external monitor and disable GDM, >> the screen (external monitor) will start to display the WinXP logo >> (it seems that the passthrouh is successful), >> and it is only 16-bit color in display when enters into WinXP >> (it means it does not have any VGA driver). >> The original screen (on notebook) still is black. >> >> However, >> when I reboot the machine after installing the VGA driver, >> the screen has become black. >> I also try to install driver without passthrough before, >> then change the setting to the passthrought, >> but it still goes to black screen. >> How can I solve this problem? >> >> > Are there any relevant errors in /var/log/xen/* ? > how about "xm dmesg" or "xm log" ? > > -- Pasi > > >> By the way, I aslo have some questions. >> 1. Why a external monitor can display but the original (notebook screen) >> does not? >> 2. In WinXP, I can see the bochs BIOS message when I start the HVM. >> However, in Windows7, I only see a disordered screen until enters >> into Winows7. >> 3. If the dom0 use printk (dmesg), the screen will not be align. >> It just like print a message then the screen moves up. >> >> Thanks! >> >> Best Regards, >> Tang-Hsun Tu >> >> Enivronment: >> Host OS: Ubuntu 10.04 LTS >> Dom0: 2.6.31.13 >> Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 >> HVM: windows XP and windows 7 >> CPU: Intel(R) Core(TM) i5 CPU M 540 >> VGA: Intel Corporation Core Processor Integrated Graphics Controller >> nVidia Corporation Device 0a29 >> >> >> lspci: >> 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller >> (rev 02) >> 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 >> Root Port (rev 02) >> 00:02.0 VGA compatible controller: Intel Corporation Core Processor >> Integrated Graphics Controller (rev 02) >> 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series >> Chipset HECI Controller (rev 06) >> 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >> USB2 Enhanced Host Controller (rev 05) >> 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset >> High Definition Audio (rev 05) >> 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >> Express Root Port 1 (rev 05) >> 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >> Express Root Port 2 (rev 05) >> 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >> USB2 Enhanced Host Controller (rev 05) >> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) >> 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC >> Interface Controller (rev 05) >> 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset >> 4 port SATA AHCI Controller (rev 05) >> 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus >> Controller (rev 05) >> 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 >> Series Chipset Thermal Subsystem (rev 05) >> 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) >> 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit >> Ethernet (rev c0) >> 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) >> ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath >> Architecture Generic Non-core Registers (rev 02) >> ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath >> Architecture System Address Decoder (rev 02) >> ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) >> ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 >> (rev 02) >> ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >> ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >> >> _______________________________________________ >> 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
Han, Weidong
2010-Jul-23 08:05 UTC
RE: [Xen-devel] VGA passthrough with Drivers does not work
Allen's patch for enabling calpella/sandybridge integreated graphics passthrough is not checked in yet. Your machine should be calpella (i5), so pls apply Allen's patch (attached) to have a try again. Regards, Weidong -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of "涂堂訓(Tang-Hsun Tu)" Sent: Thursday, July 22, 2010 6:10 PM To: xen-devel@lists.xensource.com Subject: [Xen-devel] VGA passthrough with Drivers does not work Hi, In recent days, I try to passthrough VGA to a HVM windows XP domain on my notebook. There are two VGAs on the notebook, one is intel IGD (primary) and the other is nvidia (secondary). At first, the screen will be blank/black when I start a HVM with a passed VGA (primary one). After I connect a external monitor and disable GDM, the screen (external monitor) will start to display the WinXP logo (it seems that the passthrouh is successful), and it is only 16-bit color in display when enters into WinXP (it means it does not have any VGA driver). The original screen (on notebook) still is black. However, when I reboot the machine after installing the VGA driver, the screen has become black. I also try to install driver without passthrough before, then change the setting to the passthrought, but it still goes to black screen. How can I solve this problem? By the way, I aslo have some questions. 1. Why a external monitor can display but the original (notebook screen) does not? 2. In WinXP, I can see the bochs BIOS message when I start the HVM. However, in Windows7, I only see a disordered screen until enters into Winows7. 3. If the dom0 use printk (dmesg), the screen will not be align. It just like print a message then the screen moves up. Thanks! Best Regards, Tang-Hsun Tu Enivronment: Host OS: Ubuntu 10.04 LTS Dom0: 2.6.31.13 Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 HVM: windows XP and windows 7 CPU: Intel(R) Core(TM) i5 CPU M 540 VGA: Intel Corporation Core Processor Integrated Graphics Controller nVidia Corporation Device 0a29 lspci: 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05) 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0) 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) _______________________________________________ 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
涂堂訓(Tang-Hsun Tu)
2010-Jul-23 12:18 UTC
Re: [Xen-devel] VGA passthrough with Drivers does not work
Hi, Thanks for your reply. I patch the source and try to start the windows XP again, but it seems still black screen and the external monitor give a "no signal" message (the notebook screen is also black screen). What else I can try? Best Regards, Tang-Hsun Tu 於 2010/7/23 下午 04:05, Han, Weidong 提到:> Allen''s patch for enabling calpella/sandybridge integreated graphics passthrough is not checked in yet. Your machine should be calpella (i5), so pls apply Allen''s patch (attached) to have a try again. > > Regards, > Weidong > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of "涂堂訓(Tang-Hsun Tu)" > Sent: Thursday, July 22, 2010 6:10 PM > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] VGA passthrough with Drivers does not work > > Hi, > > In recent days, I try to passthrough VGA to a HVM windows XP > domain on my notebook. > There are two VGAs on the notebook, one is intel IGD (primary) and the > other is nvidia (secondary). > > At first, the screen will be blank/black when I start a HVM with a > passed VGA (primary one). > After I connect a external monitor and disable GDM, > the screen (external monitor) will start to display the WinXP logo > (it seems that the passthrouh is successful), > and it is only 16-bit color in display when enters into WinXP > (it means it does not have any VGA driver). > The original screen (on notebook) still is black. > > However, > when I reboot the machine after installing the VGA driver, > the screen has become black. > I also try to install driver without passthrough before, > then change the setting to the passthrought, > but it still goes to black screen. > How can I solve this problem? > > By the way, I aslo have some questions. > 1. Why a external monitor can display but the original (notebook screen) > does not? > 2. In WinXP, I can see the bochs BIOS message when I start the HVM. > However, in Windows7, I only see a disordered screen until enters > into Winows7. > 3. If the dom0 use printk (dmesg), the screen will not be align. > It just like print a message then the screen moves up. > > Thanks! > > Best Regards, > Tang-Hsun Tu > > Enivronment: > Host OS: Ubuntu 10.04 LTS > Dom0: 2.6.31.13 > Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 > HVM: windows XP and windows 7 > CPU: Intel(R) Core(TM) i5 CPU M 540 > VGA: Intel Corporation Core Processor Integrated Graphics Controller > nVidia Corporation Device 0a29 > > > lspci: > 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller > (rev 02) > 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 > Root Port (rev 02) > 00:02.0 VGA compatible controller: Intel Corporation Core Processor > Integrated Graphics Controller (rev 02) > 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series > Chipset HECI Controller (rev 06) > 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset > High Definition Audio (rev 05) > 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 1 (rev 05) > 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 2 (rev 05) > 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) > 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC > Interface Controller (rev 05) > 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset > 4 port SATA AHCI Controller (rev 05) > 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus > Controller (rev 05) > 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 > Series Chipset Thermal Subsystem (rev 05) > 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) > 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit > Ethernet (rev c0) > 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) > ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath > Architecture Generic Non-core Registers (rev 02) > ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath > Architecture System Address Decoder (rev 02) > ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) > ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 > (rev 02) > ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > > _______________________________________________ > 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
Han, Weidong
2010-Jul-28 01:08 UTC
RE: [Xen-devel] VGA passthrough with Drivers does not work
Hi, Pls also apply attached patch, and have a try again. Regards, Weidong -----Original Message----- From: "涂堂訓(Tang-Hsun Tu)" [mailto:iwantplay@gmail.com] Sent: Friday, July 23, 2010 8:19 PM To: Han, Weidong Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] VGA passthrough with Drivers does not work Hi, Thanks for your reply. I patch the source and try to start the windows XP again, but it seems still black screen and the external monitor give a "no signal" message (the notebook screen is also black screen). What else I can try? Best Regards, Tang-Hsun Tu 於 2010/7/23 下午 04:05, Han, Weidong 提到:> Allen's patch for enabling calpella/sandybridge integreated graphics passthrough is not checked in yet. Your machine should be calpella (i5), so pls apply Allen's patch (attached) to have a try again. > > Regards, > Weidong > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of "涂堂訓(Tang-Hsun Tu)" > Sent: Thursday, July 22, 2010 6:10 PM > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] VGA passthrough with Drivers does not work > > Hi, > > In recent days, I try to passthrough VGA to a HVM windows XP > domain on my notebook. > There are two VGAs on the notebook, one is intel IGD (primary) and the > other is nvidia (secondary). > > At first, the screen will be blank/black when I start a HVM with a > passed VGA (primary one). > After I connect a external monitor and disable GDM, > the screen (external monitor) will start to display the WinXP logo > (it seems that the passthrouh is successful), > and it is only 16-bit color in display when enters into WinXP > (it means it does not have any VGA driver). > The original screen (on notebook) still is black. > > However, > when I reboot the machine after installing the VGA driver, > the screen has become black. > I also try to install driver without passthrough before, > then change the setting to the passthrought, > but it still goes to black screen. > How can I solve this problem? > > By the way, I aslo have some questions. > 1. Why a external monitor can display but the original (notebook screen) > does not? > 2. In WinXP, I can see the bochs BIOS message when I start the HVM. > However, in Windows7, I only see a disordered screen until enters > into Winows7. > 3. If the dom0 use printk (dmesg), the screen will not be align. > It just like print a message then the screen moves up. > > Thanks! > > Best Regards, > Tang-Hsun Tu > > Enivronment: > Host OS: Ubuntu 10.04 LTS > Dom0: 2.6.31.13 > Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 > HVM: windows XP and windows 7 > CPU: Intel(R) Core(TM) i5 CPU M 540 > VGA: Intel Corporation Core Processor Integrated Graphics Controller > nVidia Corporation Device 0a29 > > > lspci: > 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller > (rev 02) > 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 > Root Port (rev 02) > 00:02.0 VGA compatible controller: Intel Corporation Core Processor > Integrated Graphics Controller (rev 02) > 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series > Chipset HECI Controller (rev 06) > 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset > High Definition Audio (rev 05) > 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 1 (rev 05) > 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI > Express Root Port 2 (rev 05) > 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset > USB2 Enhanced Host Controller (rev 05) > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) > 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC > Interface Controller (rev 05) > 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset > 4 port SATA AHCI Controller (rev 05) > 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus > Controller (rev 05) > 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 > Series Chipset Thermal Subsystem (rev 05) > 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) > 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit > Ethernet (rev c0) > 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) > ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath > Architecture Generic Non-core Registers (rev 02) > ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath > Architecture System Address Decoder (rev 02) > ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) > ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 > (rev 02) > ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) > > _______________________________________________ > 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
涂堂訓(Tang-Hsun Tu)
2010-Jul-28 07:40 UTC
Re: [Xen-devel] VGA passthrough with Drivers does not work
Hi, Thanks again. But the screen still is black. For more details, when I start the HVM WinXP, I can see the windows flag logo. After this flag (entering the windows), the external monitor goes to black (no signal), and the notebook screen goes to disordered. Best Regards, Tang-Hsun Tu 於 2010/7/28 上午 09:08, Han, Weidong 提到:> Hi, > > Pls also apply attached patch, and have a try again. > > Regards, > Weidong > > -----Original Message----- > From: "涂堂訓(Tang-Hsun Tu)" [mailto:iwantplay@gmail.com] > Sent: Friday, July 23, 2010 8:19 PM > To: Han, Weidong > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] VGA passthrough with Drivers does not work > > Hi, > > Thanks for your reply. > I patch the source and try to start the windows XP again, > but it seems still black screen and the external monitor give a "no > signal" message > (the notebook screen is also black screen). > > What else I can try? > > Best Regards, > Tang-Hsun Tu > > 於 2010/7/23 下午 04:05, Han, Weidong 提到: > >> Allen''s patch for enabling calpella/sandybridge integreated graphics passthrough is not checked in yet. Your machine should be calpella (i5), so pls apply Allen''s patch (attached) to have a try again. >> >> Regards, >> Weidong >> >> -----Original Message----- >> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of "涂堂訓(Tang-Hsun Tu)" >> Sent: Thursday, July 22, 2010 6:10 PM >> To: xen-devel@lists.xensource.com >> Subject: [Xen-devel] VGA passthrough with Drivers does not work >> >> Hi, >> >> In recent days, I try to passthrough VGA to a HVM windows XP >> domain on my notebook. >> There are two VGAs on the notebook, one is intel IGD (primary) and the >> other is nvidia (secondary). >> >> At first, the screen will be blank/black when I start a HVM with a >> passed VGA (primary one). >> After I connect a external monitor and disable GDM, >> the screen (external monitor) will start to display the WinXP logo >> (it seems that the passthrouh is successful), >> and it is only 16-bit color in display when enters into WinXP >> (it means it does not have any VGA driver). >> The original screen (on notebook) still is black. >> >> However, >> when I reboot the machine after installing the VGA driver, >> the screen has become black. >> I also try to install driver without passthrough before, >> then change the setting to the passthrought, >> but it still goes to black screen. >> How can I solve this problem? >> >> By the way, I aslo have some questions. >> 1. Why a external monitor can display but the original (notebook screen) >> does not? >> 2. In WinXP, I can see the bochs BIOS message when I start the HVM. >> However, in Windows7, I only see a disordered screen until enters >> into Winows7. >> 3. If the dom0 use printk (dmesg), the screen will not be align. >> It just like print a message then the screen moves up. >> >> Thanks! >> >> Best Regards, >> Tang-Hsun Tu >> >> Enivronment: >> Host OS: Ubuntu 10.04 LTS >> Dom0: 2.6.31.13 >> Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 >> HVM: windows XP and windows 7 >> CPU: Intel(R) Core(TM) i5 CPU M 540 >> VGA: Intel Corporation Core Processor Integrated Graphics Controller >> nVidia Corporation Device 0a29 >> >> >> lspci: >> 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller >> (rev 02) >> 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 >> Root Port (rev 02) >> 00:02.0 VGA compatible controller: Intel Corporation Core Processor >> Integrated Graphics Controller (rev 02) >> 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series >> Chipset HECI Controller (rev 06) >> 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >> USB2 Enhanced Host Controller (rev 05) >> 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset >> High Definition Audio (rev 05) >> 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >> Express Root Port 1 (rev 05) >> 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >> Express Root Port 2 (rev 05) >> 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >> USB2 Enhanced Host Controller (rev 05) >> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) >> 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC >> Interface Controller (rev 05) >> 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset >> 4 port SATA AHCI Controller (rev 05) >> 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus >> Controller (rev 05) >> 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 >> Series Chipset Thermal Subsystem (rev 05) >> 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) >> 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit >> Ethernet (rev c0) >> 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) >> ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath >> Architecture Generic Non-core Registers (rev 02) >> ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath >> Architecture System Address Decoder (rev 02) >> ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) >> ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 >> (rev 02) >> ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >> ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >> >> _______________________________________________ >> 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
涂堂訓(Tang-Hsun Tu)
2010-Aug-04 07:09 UTC
Re: [Xen-devel] VGA passthrough with Drivers does not work
Hi, For these days, we try to enable xen detailed log and create the HVM (winxp) with VGA driver again, and the xm dmesg shows some strange warnings as follow (when we enable vga passthrough). It seems there are some BIOS functions do not support yet, the int15 series looks like intel specific functions. Do these warnings affect the VGA pass through? Are these int functions invoked from VGA BIOS? Thanks. (XEN) HVM1: Loading VGABIOS of passthroughed gfx ... (XEN) HVM1: Loading ACPI ... (XEN) HVM1: - Lo data: 000ea020-000ea04f (XEN) HVM1: - Hi data: fc002c00-fc012d1f (XEN) HVM1: vm86 TSS at fc013000 (XEN) HVM1: BIOS map: (XEN) HVM1: c0000-cffff: VGA BIOS (XEN) HVM1: eb000-eb140: SMBIOS tables (XEN) HVM1: f0000-fffff: Main BIOS (XEN) HVM1: Invoking ROMBIOS ... (XEN) HVM1: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $* /(XEN) HVM1: int15 AX=5f51 (XEN) HVM1: *** int 15h function AX=5f51, BX=d401 not yet supported! (XEN) HVM1: int15 AX=5f52 (XEN) HVM1: *** int 15h function AX=5f52, BX=0000 not yet supported! (XEN) HVM1: int15 AX=5f35 (XEN) HVM1: *** int 15h function AX=5f35, BX=c000 not yet supported! (XEN) HVM1: int15 AX=5f70 (XEN) HVM1: *** int 15h function AX=5f70, BX=c000 not yet supported!/* (XEN) HVM1: Bochs BIOS - build: 06/23/99 (XEN) HVM1: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $ (XEN) HVM1: Options: apmbios pcibios eltorito PMM Best Regards, Tang-Hsun Tu 於 2010/7/28 下午 03:40, "涂堂訓(Tang-Hsun Tu)" 提到:> Hi, > > Thanks again. > But the screen still is black. > > For more details, when I start the HVM WinXP, I can see the windows > flag logo. > After this flag (entering the windows), the external monitor goes to > black (no signal), > and the notebook screen goes to disordered. > > Best Regards, > Tang-Hsun Tu > > 於 2010/7/28 上午 09:08, Han, Weidong 提到: >> Hi, >> >> Pls also apply attached patch, and have a try again. >> >> Regards, >> Weidong >> >> -----Original Message----- >> From: "涂堂訓(Tang-Hsun Tu)" [mailto:iwantplay@gmail.com] >> Sent: Friday, July 23, 2010 8:19 PM >> To: Han, Weidong >> Cc:xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] VGA passthrough with Drivers does not work >> >> Hi, >> >> Thanks for your reply. >> I patch the source and try to start the windows XP again, >> but it seems still black screen and the external monitor give a "no >> signal" message >> (the notebook screen is also black screen). >> >> What else I can try? >> >> Best Regards, >> Tang-Hsun Tu >> >> 於 2010/7/23 下午 04:05, Han, Weidong 提到: >> >>> Allen''s patch for enabling calpella/sandybridge integreated graphics passthrough is not checked in yet. Your machine should be calpella (i5), so pls apply Allen''s patch (attached) to have a try again. >>> >>> Regards, >>> Weidong >>> >>> -----Original Message----- >>> From:xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of "涂堂訓(Tang-Hsun Tu)" >>> Sent: Thursday, July 22, 2010 6:10 PM >>> To:xen-devel@lists.xensource.com >>> Subject: [Xen-devel] VGA passthrough with Drivers does not work >>> >>> Hi, >>> >>> In recent days, I try to passthrough VGA to a HVM windows XP >>> domain on my notebook. >>> There are two VGAs on the notebook, one is intel IGD (primary) and the >>> other is nvidia (secondary). >>> >>> At first, the screen will be blank/black when I start a HVM with a >>> passed VGA (primary one). >>> After I connect a external monitor and disable GDM, >>> the screen (external monitor) will start to display the WinXP logo >>> (it seems that the passthrouh is successful), >>> and it is only 16-bit color in display when enters into WinXP >>> (it means it does not have any VGA driver). >>> The original screen (on notebook) still is black. >>> >>> However, >>> when I reboot the machine after installing the VGA driver, >>> the screen has become black. >>> I also try to install driver without passthrough before, >>> then change the setting to the passthrought, >>> but it still goes to black screen. >>> How can I solve this problem? >>> >>> By the way, I aslo have some questions. >>> 1. Why a external monitor can display but the original (notebook screen) >>> does not? >>> 2. In WinXP, I can see the bochs BIOS message when I start the HVM. >>> However, in Windows7, I only see a disordered screen until enters >>> into Winows7. >>> 3. If the dom0 use printk (dmesg), the screen will not be align. >>> It just like print a message then the screen moves up. >>> >>> Thanks! >>> >>> Best Regards, >>> Tang-Hsun Tu >>> >>> Enivronment: >>> Host OS: Ubuntu 10.04 LTS >>> Dom0: 2.6.31.13 >>> Xen: xen-4.0-testing.hg, xen-4.0.1-rc4 >>> HVM: windows XP and windows 7 >>> CPU: Intel(R) Core(TM) i5 CPU M 540 >>> VGA: Intel Corporation Core Processor Integrated Graphics Controller >>> nVidia Corporation Device 0a29 >>> >>> >>> lspci: >>> 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller >>> (rev 02) >>> 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 >>> Root Port (rev 02) >>> 00:02.0 VGA compatible controller: Intel Corporation Core Processor >>> Integrated Graphics Controller (rev 02) >>> 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series >>> Chipset HECI Controller (rev 06) >>> 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >>> USB2 Enhanced Host Controller (rev 05) >>> 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset >>> High Definition Audio (rev 05) >>> 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >>> Express Root Port 1 (rev 05) >>> 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI >>> Express Root Port 2 (rev 05) >>> 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset >>> USB2 Enhanced Host Controller (rev 05) >>> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) >>> 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC >>> Interface Controller (rev 05) >>> 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset >>> 4 port SATA AHCI Controller (rev 05) >>> 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus >>> Controller (rev 05) >>> 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 >>> Series Chipset Thermal Subsystem (rev 05) >>> 01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2) >>> 02:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit >>> Ethernet (rev c0) >>> 03:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01) >>> ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath >>> Architecture Generic Non-core Registers (rev 02) >>> ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath >>> Architecture System Address Decoder (rev 02) >>> ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) >>> ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 >>> (rev 02) >>> ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >>> ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) >>> >>> _______________________________________________ >>> 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