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

[Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 840

To: "'enming.teo@xxxxxxxxxxxxxxx'" <enming.teo@xxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 25 Aug 2009 10:09:19 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, 'Alan Cox' <alan@xxxxxxxxxxxxxxxxxxx>, "'bengheng@xxxxxxxxxxxxxx'" <bengheng@xxxxxxxxxxxxxx>
Delivery-date: Mon, 24 Aug 2009 19:10:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A933767.2050705@xxxxxxxxxxxxxxx>
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: <4A92BD31.2040406@xxxxxxxxxxxxxxx> <20090824164416.GR19938@xxxxxxxxxxxxxxx> <4A92CF3E.8010008@xxxxxxxxxxxxxxx> <20090824175747.GT19938@xxxxxxxxxxxxxxx> <4A92D6B1.5000704@xxxxxxxxxxxxxxx> <4A92D8BC.8030706@xxxxxxxxxxxxxxx> <20090824194552.75d3c5db@xxxxxxxxxxxxxxxxxxx> <20090824191352.GW19938@xxxxxxxxxxxxxxx> <4A92E8C4.7060000@xxxxxxxxxxxxxxx> <4A92EAF9.2040900@xxxxxxxxxxxxxxx> <4A92EB6E.7090404@xxxxxxxxxxxxxxx> <4A93352D.8000209@xxxxxxxxxxxxxxx> <4A9336E2.7060108@xxxxxxxxxxxxxxx> <4A933767.2050705@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcolH1UUM9gXq0i2RhapqWSDULDXGAACRlbg
Thread-topic: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16
Per our investigation, you cannot copy VGA bios from host 0xc0000 to guest for secondary gfx assignment. You can load it from a file.
 
In addition, if you want to passthrough Nvidia G8400, you need to 1:1 map its MMIO BARs.
 
Regards,
Weidong


From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@xxxxxxxxxxxxxxx]
Sent: 2009年8月25日 8:59
To: enming.teo@xxxxxxxxxxxxxxx
Cc: bengheng@xxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx; Han, Weidong; Alan Cox
Subject: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16

Hi,

I should probably rename the subject of this email.
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 08:57 AM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Beng Heng,

I understand that you got VGA passthrough working with Intel DQ45CB and an PCI-E x16 ATI Graphics card.

I have Intel DQ45CB and NVIDIA Geforce 8400 GS PCI-E x16.

Could you share with me in details how you got VGA passthrough to work with ATI PCI-E x16 when you set onboard VGA as your primary video adapter?

Thank you.
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 08:49 AM, Mr. Teo En Ming (Zhang Enming) wrote:
Hi

When I boot up the computer using onboard Intel GMA 4500 as the primary VGA controller, I could still see the NVIDIA Geforce 8400 GS PCI Express x16 card in lspci.

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)


-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 03:35 AM, Mr. Teo En Ming (Zhang Enming) wrote:
I have already compiled CONFIG_PCI_STUB=y statically into the kernel.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 03:33 AM, Mr. Teo En Ming (Zhang Enming) wrote:
I find that following the instructions here at Xen Wiki VtdHowTo don't work:

Binding Devices to pci-stub

If using pv-ops dom0, also can use pci-stub to hide devices for assignment (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.0 and note down the vendor & device ID 8086:10b9 .

...
01:00.0 0200: 8086:10b9 (rev 06)
...

* then use following commands to hide it: .

echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind

When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says permission denied.

My NVIDIA graphics card is using BDF 01:00.0. When I change directory to 
/sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at all.

Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config, it complains about pciback but I am using paravirt-ops dom 0 kernel.

And when I tried the "xm pci-list-assignable-devices", nothing shows up.

I have already specified iommu=1 in grub.

Hope the Intel folks can assist in this matter.


-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote:
I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA Geforce 8400 GS.

Ng Beng Heng at the University of Michigan has done it. He's using the same Intel DQ45CB as me.








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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>