WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] VGA passthrough with Drivers does not work

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] VGA passthrough with Drivers does not work
From: "涂堂訓(Tang-Hsun Tu)" <iwantplay@xxxxxxxxx>
Date: Fri, 23 Jul 2010 13:44:39 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Jul 2010 22:44:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type; bh=hWBvC6jGmiikbpwFL2zRoFa7NHb8G1RimiWeUKmxg/4=; b=kf8Q4H/HKlAPWu7KqBJhy1mSThT7I9WVZTx1ZUyAob3PaAO8jGUmnst9Jz1uSXDS2f Wz30QZTrXDsSxnziy9nxsTj8fiC6GBnxfOQ68W/9meGxvQw5ywUgou9gqe5Lt8SOjxCX M1jBo1o5NtHm9ZAxrjyZTF/b6MFZPXIdYaewY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=Racp5XxKKBfr3cO5TtJne4WZG94WthYbEVr00Y5+vNHrmAmEj1sWvwhrNfujDoL+Tv U+2qiMWMcN0AIe7Twe5F8ahmL5FW3+izIGNxlc8JQHOknmhuUJVMrwHpPjZsyQcp/K6L c1CJm80rqCboYOUDWOpaQwOHtxYCWjo7M/9Gk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100722125803.GT17817@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C481902.9030603@xxxxxxxxx> <20100722125803.GT17817@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

Attachment: xm_dmesg
Description: Text document

Attachment: xm_log
Description: Text document

Attachment: xend.log
Description: Text document

Attachment: qemu-dm-t2.log
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel