[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: Michael Ralston <michael@xxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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, 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.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.