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/
Home Products Support Community News


[Xen-devel] Re: Nvidia 9500GT Xen VGA passthru

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: [Xen-devel] Re: Nvidia 9500GT Xen VGA passthru
From: Anish Patel <anish.mailing.list@xxxxxxxxx>
Date: Thu, 03 Feb 2011 13:07:19 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Peter van der Maas <peter@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Feb 2011 10:08:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=l4DJHIjVsFad6TNAJkmWrR3tNCPuPBSXttQnUgA2f/w=; b=ASfvX/o2QhuhviPl7FoXJ3/kJuEzkaR173zQyd0l1CfdGctQhz+kjKffu73iLyjtK+ cgX7/de7ncq/enHIHeRgTqY6Xm6WK1WlNRVGc8ff7UxTtu8INFAU7+8K0thT1CDezdfe ehRT43ASYoVD22FSwAaw9uiSvTdzzalStK3wo=
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:content-transfer-encoding; b=A7puTNfX7SZBUxK5J+ksACr/lRORBPN1jwf6XYSaIVaf98oWlGuF1+8k8sH0GT/syX ZVTwpIT/JhGBlhC4pTtYTpmIZIBsZ8F8zbG/w9ZHYkPbivLfJdyogIGMxRGly65MSoSx zDrMq/QLLE3Xu6CVi7/DSoR/HXVuFfrgiFdCs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110201195514.GH2754@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: <7EEC9DAC2502EF4FACFE8CC8408DAFEA1DEDC7@xxxxxxxxxxxxxxxxx> <20110129190330.GP2754@xxxxxxxxxxx> <E0E5A2AA6A7D384E8293A9F6086DD79102E56D@xxxxxxxxxxxxxxxxxx> <20110131115021.GB2754@xxxxxxxxxxx> <4D46E5D7.6080409@xxxxxxxxx> <20110131192615.GC2754@xxxxxxxxxxx> <4D485E69.3040707@xxxxxxxxx> <20110201195514.GH2754@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110130 Lightning/1.0b3pre Thunderbird/3.1.7
Hi All,
I will post the full patch set soon there are still a couple of bugs i need to work out.

System -
Phenom x6 2.8
16 gig DDR3
BIOSTAR 890FX board with latest bios.
Dom 0 config
    4 cores, ATI 5450 with open source drivers.

Dom U
 WinXP HVM, 5770 passed through to Dom, 2 cores, 2 gigs memory.

Please give me a couple days and i will post a full write up

I can probably get this to work with the nvidia card as well, but need to figure out the pBAR/vBAR stuffs.


On 02/01/11 14:55, Pasi Kärkkäinen wrote:
On Tue, Feb 01, 2011 at 02:26:33PM -0500, Anish Patel wrote:
Hi All,
     I have managed to get the 2nd vga passed though.  I had to use
AMD/ATI card to get this done.


Please post the details:

- VGA card model
- Xen version
- Dom0 kernel version
- DomU OS/version/kernel
- Any custom/additional patches used

-- Pasi


On 01/31/11 14:26, Pasi Kärkkäinen wrote:
On Mon, Jan 31, 2011 at 11:39:51AM -0500, Anish Patel wrote:
I have this almost working now,   I think the only thing that i need to
change is to add a gfx_passthru=2 option to let xen know not to read
from /dev/mem then an option to tell it what VGA rom to use.   Are there
any patches for 4.01 for this?

I think gfx_passthru can only use 0 or 1 nowadays.

Patches probably need to be forward-ported to current Xen..
most of them are for xen-unstable from the Xen 3.5 days..

-- Pasi

On 01/31/11 06:50, Pasi Kärkkäinen wrote:
On Sun, Jan 30, 2011 at 12:42:56AM -0500, Peter van der Maas wrote:
I really have not played with too much after the proof of concept.  I do recall 
something eventually breaking the config, perhaps a Xen update.  I've since put 
the hardware to better use, although I am still intrigued by Xen.  At the time, 
I was working with a team that was giving serious consideration to virtualizing 
their platform, and what better way to learn than dig in and get my hands dirty.

I tried to include as much detail at the time, with the plethora of different 
Xen builds, BIOS's updates, etc.

If someone has something specific I can try to help, but doubtful I will be of 
any use.  For example, I did not realize Xen 4.x was even released.  Recent 
projects I've been working on do not lend themselves well to virtualization; 
however, I might have to give Xen 4.0 shot - just to play, of course.  There 
were some serious changes happening with Xen, the Linux kernel, and KVM when I 
stopped playing.


I mainly meant if you remember what custom patches did you have to use/create?
Most probably you had to do some vBar=pBar hacking, right?

I guess I'll have to try this myself one day and document the process
with current Xen versions..

-- Pasi

Sorry I could not be of more help.

Peter van der Maas

-----Original Message-----
From: Pasi Kärkkäinen [mailto:pasik@xxxxxx]
Sent: Saturday, January 29, 2011 2:04 PM
To: Peter van der Maas
Cc: xen-users@xxxxxxxxxxxxxxxxxxx; anish.mailing.list@xxxxxxxxx; 
Subject: Nvidia 9500GT Xen VGA passthru

Hello Peter,

Some people have been asking for tips about Nvidia Xen VGA passthru,
so maybe you could help?

Could you post the exact steps you did?

Have you tried with Xen 4.0.x after your initial experiments in 2009?


-- Pasi

On Mon, Jan 26, 2009 at 02:16:32PM -0500, Peter J. van der Maas wrote:
      I am happy to announce that I have successfully (and finally!) been able
      to pass a PCIe graphics card via VT-d to a Windows XP HVM DomU.

      About time!


      -Intel Q6600 Core 2 Quad-Core, G0 stepping (I think)

      -Intel DQ35JO Motherboard, Q35 Chipset, BIOS v.991 (1/9/09), VT and VT-d

      -nVidia 9500GT (for VT-d passthrough - DomU)

      -nVidia GeForce2 MX200 (Dom0 console)

      -Xen (build: xen-unstable, recent as of ~ 1/25/09 1:00AM-EST)

      -Dom0: Linux- (via xen-unstable.hg)

      -DomU: Windows XP (pro, sp3, 32-bit)

      Once the VT-d bugs were recently corrected (thank you, xen-devel!),
      everything went fairly smoothly.  Still very buggy yet (its
      xen-unstable!), but overall it works.

      Make sure support for the PCI-backend is compiled into the kernel (not
      just a module) and that you have your pciback.hide options in grub
      (late-binding may work, but I haven't tried).

      Good luck!

      -Peter van der Maas
Xen-users mailing list

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>