On Wednesday 05 April 2006 23:43, Jo Shields wrote:
Sebastian Haase wrote:
<snip>
Thanks (I'm back ...)
- Sebastian Haase
Build one. Add a normal 32-bit mirror's deb-src to /etc/apt/sources.list
(e.g. "deb-src http://mirror.ox.ac.uk/debian unstable non-free").
Install some building-related bits & bobs ("apt-get build-dep
nvidia-glx"). Download the package source ("apt-get source nvidia-glx").
Change to that folder ("cd nvidia*"). If building >7174 on Sarge, tweak
debian.binary/rules (change DH_COMPAT to some smaller number like 3 or
2). Run "dpkg-buildpackage". Change down a folder ("cd .."). Install the
kernel source package ("dpkg -i nvidia-kernel-source_*_amd64.deb").
Install module-assistant and build-essential - and an appropriate GCC if
not using your standard system gcc for kernels (e.g. on Sarge, you must
install gcc-3.4 here or you'll get misleading rivafb errors - use "cat
/proc/version" to check; "aptitude install module-assistant
build-essential"). Compile & install the kernel module ("m-a a-i
nvidia"). Load the module (If you've an older module loaded, then run
"modprobe -r nvidia" first. Then, "modprobe nvidia && echo nvidia >>
/etc/modules"). Install the driver packages ("dpkg -i nvidia-glx*").
Tell X to use nvidia instead of nv ("dpkg-reconfigure
xserver-(xfree86|xorg)"). Restart X ("/etc/init.d/*dm restart").
Building non-free packages isn't automatic, especially on unofficial
architectures, which is why this sort of thing becomes neccessary.
--Jo Shields
Thanks Jo, for the details.
OK - I found "nvidia-installer --uninstall"
You remind(claim?) that nvidia only works (well) when built with gcc-3.4 !?
But just /installing/ gcc-3.4 would not be enough ! How and at what step can I
tell the build-chain to really use 3.4 ??