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-users

Re: [Xen-users] Re: NVIDIA, 2.6.30.1 patches, PV_OPS and Xen 3.4.1

To: Michael Ralston <michael@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: NVIDIA, 2.6.30.1 patches, PV_OPS and Xen 3.4.1
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Sat, 18 Jul 2009 18:58:48 +0100
Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 18 Jul 2009 10:59:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cRIdZwDU0Vwds0r4rtzZZ5vrdMjgXHga6P7dBLhBlzQ=; b=fF3e2lfS2WdkJ00V52DUepCw5ckBbeQKmo+IoJ8FIszl4TDsf1e6EzsFfhzimrzKdA bRYvgBWqygDdVqIPa+z3mIvKgphyAtJ2YZlEs4npSZ0BTIzhradX5370aBO45qlPdRWI 9nlfVOpG3SH/42lVA7BuYHSYj/LuSw6KgmVxk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ju1V+MtWqoY+uj695n3idpTX6YHm8KymwQ82IpgALitKONAsMStGuHh9Nb310DY9Eu uVQtN9hegCl7gJtXQxaWpjsHlxjaUJxykHGCQkryNrYZP5+5NRAiqXgSW6oOBNvywlUW 0if2aUjZhnRbbfY/rn/hANpsE8EeOCCYVZZ04=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a8bebffd0907170201q2a41538fx705d100cc8945435@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <489372.96272.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <a8bebffd0907170201q2a41538fx705d100cc8945435@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Jul 17, 2009 at 10:01 AM, Michael Ralston<michael@xxxxxxxxxxxxx> wrote:
> I've got x-windows working with the nv driver, I'd prefer the nvidia
> one if it is at all possible.
>
> -- Michael

I have been using the Nvidia binary driver with various kernels
Xenified using opensuse patches, from 2.6.25 to 2.6.30.1, I am not
using pv_ops so  PARAVIRT_GUEST etc are all set to =N, having built
and booted the Xenified kernel you just need to use a Xen specific
option to compile the kernel module:

cd /usr/src
sh /home/andy/NVIDIA-Linux-x86_64-180.60-pkg2.run -x
cd  NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/
SYSSRC=/usr/src/linux-2.6.30-xen-r2/ IGNORE_XEN_PRESENCE=y make module
SYSSRC=/usr/src/linux-2.6.30-xen-r2/ IGNORE_XEN_PRESENCE=y make install

modprobe nvidia

On Gentoo another step is necessary as the opengl setting needs to be
switched to nvidia, to do this I simply install the vanilla kernel
source for the same kernel version, set the /usr/src/linux symlink to
point to it, and then emerge the drivers, which installs and builds
the module for the non-xen kernel, everything is then in place and
correctly configured to use the nvidia drivers and you have the xen
compatible module already installed.

I imagine a similar procedure of installing the drivers for the
non-xen kernel first could be done on other distros.

I am using a 8600GT driving two Samsung TFT's at 1920x1200 using DVI,
I had problems with the second display showing horizontal lines and
causing massive lag when the mouse was moved to it, adding swiotlb=256
 to the kernel command line fixed the problem. I am not using
Xinerama, the two displays are separate X screens so windows cannot be
moved between them but the mouse can, I prefer this mode to Xinerama.

I've not tried 185.18.14 yet, I will give it a try soon.

Andy

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