This binary may solve your problem, it has the required files for both 2.4 and 2.6 kernels.

If this dosen't work you could try following the instructions on how to build the drivers yourself.

-------- Original Message --------
Subject: Re: [Ltsp-discuss] LTSP and proprietary graphics drivers?
Date: Wed, 18 May 2005 11:08:31 +0200
From: P�l Arne Hoff <[EMAIL PROTECTED]>
To: [email protected]
CC: David Morris <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

P�l Arne Hoff wrote:
I have installed clients with NVidia GeForce 5900 based fan-less cards
that works perfectly with hardware accelleration in dual-screen
1600x1200(x2) setup. Work like a sharm, but I worked hard and long to
get the drivers compiled against the LBE (LTSP Build Environment). I
followed the instructions on the wiki, and after some symlinking and
copying of files that didn't go where they where supposed to I finally
made it work. I'll try to get time to write a howto and publish it and
the driver-binaries, if theres nothing in the lisence that prohibits
me from doing that. I'll also try to compile the recently release VIA
drivers for the EPIA-mainboards, as I use those in my clients.

Cheers,
P�l Arne Hoff


David Morris wrote:
Hi,

I've got a PNY Verto Geforce FX5200 dual head card that I want to use
with LTSP.  Has the howto been part written yet?

Have you got any pointers?
I wonder if your drivers would work if I just extracted them over mine?

I doubt you'll be breaking any lisences by writing a howto for
installing the drivers.

I'm currently runing Gentoo 2.6-Hardened Sources with LTSP 4.1

Many thanks in advance

Dave


Hi.

I'm sorry this has taken so much time. The NVidia-drivers I had was
compiled against an early cvs-version of 4.1.1, and the binaries didn't
work with the final release of LTSP 4.1.1. Now I've installed a new
server with LTSP 4.1.1, and built a new version of LBE that I've used to
produce a new set of drivers. The new NVidia-drivers is located at:
http://www.nvg.ntnu.no/~pepper/nvidia-driver-bin.tar.gz

Copy the file to the client root directory of the LTSP server (probably
/opt/ltsp/i386) and unpack it with "tar xvfz nvidia-driver-bin.tar.gz".
The files will be placed in the right folders.

Now you just configure your NVidia-clients in lts.conf like this to get
hardware accelerated graphics:
----------------
[ws001]
  XSERVER      = nvidia
  MODULE_01    = nvidia
  X4_MODULE_01 = glx
----------------

I'd love to hear if you get it working.

I have also attached a draft of a howto describing what to do if you
want to compile the driver yourself. I'll put this into the wiki, if I
figure out how that works.

Cheers,
P�l Arne Hoff





--
David Morris
DMS                               AePONA (England) Ltd
E-mail: [EMAIL PROTECTED]   Web: http://www.aepona.co.uk/
Phone: +44 (0)79 5174 0388
Download NVidia drivers from nvidia.com and extract the driver by running the 
installer with the -x extenstion.

E.g:
# wget 
http://download.nvidia.com/XFree86/Linux-x86/1.0-7174/NVIDIA-Linux-x86-1.0-7174-pkg1.run
# sh ./NVIDIA-Linux-x86-1.0-7174-pkg1.run -x

Rename the extracted catalog to "nvidia-driver" and make a tar.gz of it, and 
put the resulting file into the tarballs directory in lbe:

# mv NVIDIA-Linux-x86-1.0-7174-pkg1 nvidia-driver
# tar cvfz nvidia-driver.tar.gz nvidia-driver/
# mv nvidia-driver.tar.gz lbe/tarballs/

Change into directory lbe, and make an nvidia-driver folder:
# cd lbe
# mkdir kernel-src/nvidia-driver/

Make a package.def file in this folder, and fill it with the following content:
--start-of-file---------------------------------------
VERSION   = 1.0
RELEASE   = 7174

PKG1      = nvidia-driver.tar.gz

MD5SUM1   = 5f87b254e04fa3bb57684c7edd7e3d91

SOURCE1   = 
http://download.nvidia.com/XFree86/Linux-x86/1.0-7174/NVIDIA-Linux-x86-1.0-7174-pkg1.run

UNPACK1   = gunzip < ${TARBALL} | tar xf -

BUILDDIR  = nvidia-driver

INSTALL   = export PATH=/ltsp-src/util-linux/util-linux-2.11z/sys-utils/:$PATH 
&& ./nvidia-installer --kernel-source-path=/kernel-src/linux-2.6.9/linux-2.6.9 
--no-runlevel-check --no-rpms --expert --no-network --kernel-name=2.6.9-ltsp-3

CLEAN     = rm -rf  ${BUILDDIR}
--end-of-file-----------------------------------------

Now make a link in the build environment to bypass some problems with kernel 
module placement.
# chroot ../lbe
# ln -s /opt/ltsp/i386/lib/modules/ /lib/
# exit

Start building the driver by doing:
# cd kernel-src
# ./build --only=nvidia-driver

The install program for the NVidia driver is started. Accept the license.
Confirm Kernel module installation path: 
"/lib/modules/2.6.9-ltsp-3/kernel/drivers/video".
Confirm Kernel source path: "/kernel-src/linux-2.6.9/linux-2.6.9".
Confirm X installation prefix: "/usr/X11R6"
Confirm OpenGL installation prefix: "/usr"
Confirm Installer installation prefix: "/usr"
Answer no to "Install NVIDIA's OpenGL header files?". Those won't be needed.
Answer "Yes" when asked to confirm installation steps and then "OK" when 
"Installation complete" message is displayed.

The drivers are now loaded into the lbe, but some files are misplaced, so we 
need to move some files:
Change to lbe root directory:
# cd ..
and start moving files:
# mv -f usr/lib/libGL.so* opt/ltsp/i386/usr/lib/
# mv -f usr/lib/libGL.la opt/ltsp/i386/usr/lib/
# mv -f usr/lib/libGLcore.so.1* opt/ltsp/i386/usr/lib/
# mv -f usr/lib/libnvidia-tls.so.1* opt/ltsp/i386/usr/lib/

We can now make a packed driver file to install into our LTSP 4.1.1 environment:
# cd opt/ltsp/i386
# tar cvfz nvidia-driver-bin.tar.gz usr/lib/libGL.so* usr/lib/libGL.la 
usr/lib/libGLcore.so.1* usr/lib/libnvidia-tls.so.1* 
usr/X11R6/lib/modules/extensions/libglx.so* 
usr/X11R6/lib/modules/drivers/nvidia_drv.* usr/X11R6/lib/libXvMCNVIDIA* 
lib/modules/2.6.9-ltsp-3/kernel/drivers/video/nvidia.ko 
lib/modules/2.6.9-ltsp-3/modules.dep

Install the driver into your operation LTSP environment by copying the driver 
file into the client root directory of your LTSP installation and unpack the 
file. E.g:
# cp nvidia-driver-bin.tar.gz /opt/ltsp/i386
# cd /opt/ltsp/i386
# tar xvfz nvidia-driver-bin.tar.gz

Now you can use the NVidia driver by setting up the client in lts.conf 
something like this:
--/opt/ltsp/i386/etc/lts.conf-----------------------------
[ws001]
  XSERVER = nvidia
  X4_MODULE_01 = glx
  MODULE_01 = nvidia
--eof-----------------------------------------------------
---------------------------------




Reply via email to