View Single Post
Old 04-23-07, 05:05 PM   #53
martinm_76
Registered User
 
martinm_76's Avatar
 
Join Date: Feb 2004
Posts: 6
Thumbs up Re: Nvidia support for Xen

Hi again folks.

Shortly after my posting last week I found this thread:
http://www.nvnews.net/vbulletin/show...light=Xen+9746

I have followed it with great success on my openSUSE 10.2 workstation, with a couple of modifications.

First, you need to get the patch from that thread:
http://www.nvnews.net/vbulletin/atta...5&d=1169773597

Then you need to get the 9746 version of the driver:
http://us.download.nvidia.com/XFree8...-9746-pkg2.run
http://us.download.nvidia.com/XFree8...-9746-pkg1.run

My version of the recipe:
Quote:
wget http://us.download.nvidia.com/XFree8...-9746-pkg2.run
sh NVIDIA-Linux-x86_64-1.0-9746-pkg2.run -x
cd NVIDIA-Linux-x86_64-1.0-9746-pkg2
cd /usr/src/nv
zcat ../../../../NVIDIA_xen-9746.patch.gz | patch -p4
ln -s Makefile.kbuild Makefile
+#+ Edit line 1288 from 'if 1' to 'if 0' +#+
make -f Makefile.kbuild SYSSRC=/usr/src/linux module
install -D -o root -g root -m 0644 nvidia.ko /lib/modules/$(uname -r)/video/nvidia.ko
depmod -a
modprobe nvidia
Make sure you have the kernel sources installed or something that will act like them. This seems to disable PAT support but does give quite good 3D support just the same. More than enough for Beryl and Compiz, at least.

Hopefully this will work for most people until nVidia officially supports Xen.

As for 3D accelleration in guests, I know it's possible with Linux Host and Linux guest via this:
http://www.cs.toronto.edu/~andreslc/xen-gl/

I had not heard of talks of 3D accelleration from a windows guest. That would be quite interesting

I know that VMware Fusion does 3D accelleration in Windows XP guests on the Mac, but only at DirectX 8.1 level and so far the don't support OpenGL in Windows, even though they map the DirectX calls the OpenGL on the Mac Host. This may still happen, though.

Interesting times indeed.

/Martin.
martinm_76 is offline   Reply With Quote