On Mon, May 18, 2009 at 5:56 AM, Michael M. Moore <mich...@writemoore.net> wrote: > I thought I'd try the proprietary nvidia driver (currently using 'nv'), > so I've been reading through the how-to on the wiki here: > > http://wiki.debian.org/NvidiaGraphicsDrivers > > I'm a little concerned, though, that it might be out-of-date (for one, > because it keeps talking about Etch), especially given the changes in > xorg. Specifically, step 3: > > http://wiki.debian.org/NvidiaGraphicsDrivers#ConfigureXtousethenvidiadriver > > It says for Lenny you have to edit /etc/X11/xorg.conf to load "glx" > module and remove "dri" or "GLCore" modules, under the "Module" section; > and that you need to change the driver (from "nv" to "nvidia") under the > "Device" section. > > My xorg.conf has no module section and the "Device" section is only: > > Section "Device" > Identifier "Configured Video Device" > EndSection > > I thought HAL had taken over some of the functions formerly handled in > xorg.conf, but there's no mention of that on the wiki doc. > > So what exactly is the procedure for installing the proprietary driver > now? here is a way to install the official nvidia driver, not the debian way.
1. remove all the packages with name "nvidia-****", for they might be conflict with the driver we will install, such as: nvidia-glx - NVIDIA binary Xorg driver nvidia-glx-dev - NVIDIA binary Xorg driver development files nvidia-glx-ia32 - NVIDIA binary XFree86 4.x driver nvidia-glx-legacy-96xx - NVIDIA binary Xorg driver (96xx legacy version) nvidia-glx-legacy-96xx-dev - NVIDIA Xorg driver development files (96xx legacy version) nvidia-glx-legacy-96xx-ia32 - NVIDIA binary Xorg driver (96xx legacy version) nvidia-kernel-2.6-amd64 - NVIDIA binary kernel module for 2.6 series compiled for amd64 nvidia-kernel-2.6-openvz-amd64 - NVIDIA binary kernel module for 2.6 series compiled for openvz-amd64 nvidia-kernel-2.6.26-1-amd64 - NVIDIA binary kernel module for Linux 2.6.26-1-amd64 nvidia-kernel-2.6.26-1-openvz-amd64 - NVIDIA binary kernel module for Linux 2.6.26-1-openvz-amd64 nvidia-kernel-2.6.26-2-amd64 - NVIDIA binary kernel module for Linux 2.6.26-2-amd64 nvidia-kernel-2.6.26-2-openvz-amd64 - NVIDIA binary kernel module for Linux 2.6.26-2-openvz-amd64 nvidia-kernel-legacy-96xx-2.6-amd64 - NVIDIA binary kernel module for 2.6 series compiled for amd64 nvidia-kernel-legacy-96xx-2.6-openvz-amd64 - NVIDIA binary kernel module for 2.6 series compiled for openvz amd64 nvidia-kernel-legacy-96xx-2.6.26-1-amd64 - NVIDIA binary kernel module for Linux 2.6.26-1-amd64 (legacy version) nvidia-kernel-legacy-96xx-2.6.26-1-openvz-amd64 - NVIDIA binary kernel module for Linux 2.6.26-1-openvz-amd64 (legacy version) nvidia-kernel-legacy-96xx-2.6.26-2-amd64 - NVIDIA binary kernel module for Linux 2.6.26-2-amd64 (legacy version) nvidia-kernel-legacy-96xx-2.6.26-2-openvz-amd64 - NVIDIA binary kernel module for Linux 2.6.26-2-openvz-amd64 (legacy version) nvidia-kernel-legacy-96xx-source - NVIDIA binary kernel module source (96xx legacy version) nvidia-kernel-source - NVIDIA binary kernel module source nvidia-cg-toolkit - NVIDIA Cg Toolkit Installer nvidia-kernel-common - NVIDIA binary kernel module common files nvidia-settings - Tool of configuring the NVIDIA graphics driver 3. install the linux-headers packages that is appropriate to your kernel. ------------------- ml...@rashi:~$ dpkg -l|grep linux-headers|grep 2.6.26 ii linux-headers-2.6-amd64 2.6.26+17 Header files for Linux 2.6-amd64 ii linux-headers-2.6.26-1-amd64 2.6.26-13 Header files for Linux 2.6.26-1-amd64 ii linux-headers-2.6.26-1-common 2.6.26-13 Common header files for Linux 2.6.26-1 ----------------------- 4. make a symlink for the headers ----------------------------------------- ml...@rashi:~$ ls -l /usr/src/linux lrwxrwxrwx 1 root src 29 2008-12-11 00:56 /usr/src/linux -> linux-headers-2.6.26-1-amd64/ -------------------------------------- 5. download the nvidia drivers for your card from nvidia driver download page, it looks something like this: NVIDIA-Linux-x86_64-173.14.15-pkg2.run 6. check the gcc of your machine, install it if not exists, for example it is /usr/bin/gcc-4.1 7. shut down X and you run as root to exe this command ------------------------- export CC=/usr/bin/gcc-4.1;./NVIDIA-Linux-x86_64-173.14.15-pkg2.run ------------------------- 8. complete the process and restart the machine to X window. 9. if you have installed mesa on your machine, you should know that the driver we installed just now also includes opengl implementations, so relative shared library files like /usr/lib/libGL***.so have been replaced by the new driver. In fact, that's the right cause of our installation of the non-free driver, for mesa's opengl implementation has a bug which caused the crash.(Just a guess, might be false) > > -- > Michael M. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution Gtkmm/Gtkglextmm Scim Totem Pidgin. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org