On Sat, May 16, 2009 at 11:33 AM, Umarzuki Mochlis <umarz...@gmail.com> wrote: > > > 2009/5/14 Matus UHLAR - fantomas <uh...@fantomas.sk> >> >> On 02.05.09 18:37, Umarzuki Mochlis wrote: >> > Use: Debian Lenny i386 >> > g. card: nvidia 7600 GS >> > >> > After upgrading to the latest kernel, I coudn't play computer game with >> > 3d >> > acceleration so I ran >> > # nvidia-xconfig >> > >> > then I rebooted, but I could not get the display working along with >> > nvidia >> > driver so I had to resort to >> > # dpkg-reconfigure -phigh xserver-xorg >> > >> > Even after purging and reinstalling nvidia-glx, I still could not use >> > the >> > driver and have 3d acceleration. Did I missed anything. >> >> did you also install nvidia kernel modules? >> Did you install the correct nvidia kernel/glx modules? >> (maybe you need the -legacy version) > > The debian way of installing nvidia driver solved it.
I'm programming with gtkmm/gtkglextmm and opengl, and my program crashes in the mesa dri code when the window of my program is resized, and the crash can be solved by installing the nvidia video card driver from Nvidia company(not free software), here is the steps if you want to try this way: (created by ml...@post.harvard.edu and modified by me) 1. remove all the packages with name "nvidia-****", for they maybe 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 2. remove mesa packages, for they are the faulty code, such as: ii libgl1-mesa-dev 7.4.1-1 A free implementation of the OpenGL API -- G ii libgl1-mesa-dri 7.4.1-1 A free implementation of the OpenGL API -- D ii libgl1-mesa-dri-dbg 7.4.1-1 Debugging symbols for the Mesa DRI modules ii libgl1-mesa-glx 7.4.1-1 A free implementation of the OpenGL API -- G ii libgl1-mesa-glx-dbg 7.4.1-1 Debugging symbols for the Mesa GLX runtime ii libglu1-mesa 7.4.1-1 The OpenGL utility library (GLU) ii libglu1-mesa-dev 7.4.1-1 The OpenGL utility library -- development fi ii mesa-common-dev 7.4.1-1 Developer documentation for Mesa ii mesa-utils 7.4.1-1 Miscellaneous Mesa GL utilities 3. apt-get install the linux-headers package 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. then 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/ -------------------------------------- 5. then you 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, apt-get install gcc if not exists, for example it is /usr/bin/gcc-4.1 7. 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 ------------------------- 8. complete the process and restart the machine to X window. > > > > -- > Regards, > > Umarzuki Mochlis > http://gameornot.net > -- 我的操作系統是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