NVIDIA graphic card problems used on linux

If you used  a NVIDIA type card and the driver was installed via  NVIDIA-Linux-xxxxxx.run then you may have problem
to start your X-window after you have upgraded the linux system kernel. To solve this problem you may reinstall the NVIDIA driver via compiling it to fit the new version of kernel. Here is the example on  Redhat ES3

Kernel version: 2.4.21-40.EL #1 SMP Thu Feb 2 22:14:00 EST 2006 x86_64 x86_64 x86_64 GNU/Linux


  1. Stop X server via init 3 command. You must be a root user to do it.
  2. Edit /etc/inittab file such that the line: id:5:initdefault: changes to id:3:initdefault: This will make it easier to recover if there is a problem during the installation.
  3. Download NVIDIA-Linux-x86_64-1.0-7667-pkg2.run from NVIDIA website if you have not done so.
  4. You may try: sh NVIDIA-Linux-x86_64-1.0-7667-pkg2.run --check to check the package's authenticity
  5. Run: sh NVIDIA-Linux-x86_64-1.0-7667-pkg2.run --extract-only
  6. This will then create a directory named NVIDIA-Linux-x86_64-1.0-7667-pkg2/ under your current directory
  7. Change  to NVIDIA-Linux-x86_64-1.0-7667-pkg2/
  8. Run ./nvidia-installer --uninstall if you have an old nvidia driver installed
  9. Run: ./nvidia-installer --latest to check the latest version of the driver.
  10. Yes: NVIDIA-Linux-x86_64-1.0-8762-pkg2.run is the latest version
  11. Go to ftp://download.nvidia.com/XFree86/Linux-x86_64/1.0-8762/ to download it
  12. Check Minimum Software Requirements
  13. Software Element         Min Requirement          Check With...
        ---------------------    ---------------------    ---------------------
        Linux kernel                2.4.0                     `cat /proc/version`
        XFree86/Xorg             4.0.1/6.7                `XFree86 -version or Xorg -version`
        Kernel modutils          2.1.121                  `insmod -v`

        If you need to build the NVIDIA kernel module (recompile it):
        Software Element         Min Requirement          Check With...
        ---------------------    ---------------------    ---------------------
        binutils                                  2.9.5                    `size --version`
        GNU make                           3.77                     `make --version`
        gcc                                        2.91.66               `gcc --version`
        glibc                                     2.0                      `ls /lib/libc.so.* `
  14. Yes, I'll need to rebuild the module
  15. Now Install the latest NVIDIA package via: sh NVIDIA-Linux-x86_64-1.0-8762-pkg2.run
  16. Follow the instructions to finish it up.
  17. Check man nvidia-xconfig for more configuration options
  18. Now run init 5 to start X window and
  19. Run lsmod | grep nvidia and you will see nvidia if the module is loaded successfully
  20. If you can start X then you have configured it correctly.
  21. Edit /etc/inittab again to replace 3 by 5 to start X automatically.
  22. If You still have problems then please check NVIDIA README for details