On Sat, May 16, 2009 at 10:37 PM, Deng Xiyue <[email protected]> wrote: > On Sat, May 16, 2009 at 04:39:51PM +0800, 明覺 wrote: >> On Sat, May 16, 2009 at 7:20 AM, Mitchell Laks <[email protected]> >> wrote: >> >> >> >> I installed the pc myself, my os is debian sid amd64: >> >> >> >> video card is - 01:00.0 VGA compatible controller: nVidia Corporation >> >> GeForce 9500 GT (rev a1) >> >> cpu is - Pentium(R) Dual-Core CPU E5200 @ 2.50GHz >> >> >> >> do you have any experience in installing the right video card driver? >> >> thanks >> >> >> > >> > I use the installer from nvidia. i have a 6600GT myself. >> > >> > there are two ways. one the debian way which uses their repackaging of the >> > drivers. the other >> > is the nvidia way. dont mix the two or it wont work. >> > >> > you need to apt-get the >> > linux-headers >> > package that is appropriate to your kernel. >> > thus on my machine >> > >> > ml...@rashi:~$ uname -a >> > Linux Rashi 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64 >> > GNU/Linux >> > >> > 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 >> > >> > then you need to make a symlink for >> > >> > 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/ >> > >> > >> > then you download the nvidia drivers >> > >> > look at >> > >> > nvnews.net for linux support >> > ie go to >> > >> > http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 >> > >> > and look at info on latest drivers >> > and read around there for a while >> > >> > essentially, once you download the drivers >> > they look something like this (not sure latest version) >> > >> > NVIDIA-Linux-x86_64-173.14.15-pkg2.run >> > >> > then you shut down X and you run as root >> > >> > export CC=/usr/bin/gcc-4.1;./NVIDIA-Linux-x86_64-173.14.15-pkg2.run >> > >> > and then answer the questions right. >> > >> > >> > >> > IMPORTANT!!!!!!!!!!!!! >> > >> > >> > ml...@rashi:~$ dpkg -l|grep nvidia >> > ml...@rashi:~$ >> > >> > >> > NOTICE I dont have ANY of these debs installed: >> > >> > 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 >> > etc >> > >> > thus make sure you dont already have the debian nvidia drivers installed >> > if you want to do it my way. >> > >> > they will likely conflict with the nvidia way of installing. >> thank you very much, I followed your instructions and have installed >> the nvidia driver from Nvidia, and now my application can run and the >> window can be resized successfully. >> I noticed that the new driver also replaced /usr/bin/libGL*** files, >> I remember that those files are installed by mesa before, so it seems >> that the new nvidia driver also contains opengl implementation >> libraries. Does it mean I should remove all the mesa packages from >> debian and then reinstall nvidia driver?(I think removing mesa will >> remove the libGL** files). >> > > No, you don't need to uninstall mesa. If Debian let you install two > packages at the same time, it means they are supposed to be able to live > together. Even they contain same files as in this case, Debian can > handle diversions smoothly for you.
no, i install the non-free nvidia driver manually, not even by a debian package, the driver contains opengl implementation, and mesa is the opengl implementation of debian, so I think they are conflict. > >> > >> > i stopped using the debian way at some point and i dont remember what is >> > involved. >> > google is your friend. >> > >> > you can do it their way too- i just dont know how to do it >> > >> > mitchell >> > >> >> >> >> -- >> 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution >> Gtkmm/Gtkglextmm Scim Totem Pidgin. >> _______________________________________________ >> gtkmm-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > -- 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution Gtkmm/Gtkglextmm Scim Totem Pidgin. _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
