nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   nVidia8756 driver install problem (http://www.nvnews.net/vbulletin/showthread.php?t=68508)

akoh 04-15-06 03:53 PM

nVidia8756 driver install problem
Hello !

(Ubuntu distribution)

Did all my best to install this driver > NVIDIA-Linux-x86-1.0-8756-pkg1.run, and actually a micro-step after another, i went forward. Until now !

Have a look :


Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC test with CC="cc".
-> gcc-version-check failed:

You appear to be comiling the NVIDIA kernel module with a different compiler
than the one that was used to compile the running kernel. The Linux 2.6 ker
nel module loader rejects kernel modules built with a version of gcc that do
es not exactly match that of the compiler used to build the running kernel.
The compiler used to compile the kernel was gcc 3.4; the current compiler is
gcc 4.0.

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
ERROR: Unable to find the development tool `make` in your path; please make
sure that you have the package 'make' installed. If make is installed
on your system, then please check that `make` is in your PATH.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
The problem is that I DID install gcc 3.4 and gcc paquage !
So the log doesn't help me anymore :(

I would be really found of any kind of help :)

jb24680 04-15-06 05:17 PM

Re: nVidia8756 driver install problem
hmm, I was doing the same kinda installation about 2 hours ago, and hit the same problem.

I ended up having to set CC to "usr/bin/gcc-3.4" if I set it to "gcc-3.4" it could not find it. It seem to have found gcc-4.0, which is probably what the system has setup as it' s current compiler, since it's the latest.

So, before you install (you might also have to set the variables up under root)
export CC

P.S. I am running Ubuntu 5.10 - Breezy Badger

akoh 04-16-06 03:58 AM

Re: nVidia8756 driver install problem
hi, thank for the answer.


So, before you install (you might also have to set the variables up under root)
export CC
How can I do this ? I'm newb in Linux..

energyman76b 04-16-06 06:09 AM

Re: nVidia8756 driver install problem
in the same console as you are doing the install in, type what he wrote.

don_dario 04-16-06 10:04 AM

Re: nVidia8756 driver install problem

If you follow this method you will use the nvidia installer, in this way you can install every version you wish (even the latest release)

Make sure you graphic card is not among the ones which are NOT SUPPORTED by looking at the list you will find in the NOTES SECTION * So that if that card is among the ones listed you have to use driver 7174 (or lower) (you can install it by going to the archive if nvidia drivers in the Nvidia website)

1) Download the installer from this page according to your architecture (32bit or 64bit)

2) Open Terminal or Konsole and type:

sudo apt-get install build-essential gcc gcc-3.4


sudo passwd root

(and set the root password which you will need later)

4) Then:

uname -r

You will get an output similar to the following: "2.6.12-10-386".
You are interested in the last part of the output ("386" in this case) which represents the architecture of your CPU.

5) Replace "386" in the following command with the architecture you got from "uname -r" (e.g. k7, 686, etc.)


sudo apt-get install linux-image-386 linux-headers-386

6) Restart your computer (so as to boot in your new kernel)

NOTE: if APT complains because it can't find any package to remove in steps 7-8-9 it's not a problem at all and you can go ahead with the next steps. If there were other errors you should report to me.

7) Then open Terminal or Konsole and type:

sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common

8 ) remove the file manually:

sudo rm /etc/init.d/nvidia-*

9) Then:

sudo apt-get --purge remove linux-restricted-modules-`uname -r`

10) Press CTRL-ALT-F1 (so as to get to the command line, not a windowed terminal, but out of the graphical interface GUI)

login with your username and password (if required)


sudo /etc/init.d/gdm stop (OR "kdm stop" if you use KDE)


cd “directory where you have the nvidia installer”
export CC
export CC

If you have Ubuntu 64bit type:


sudo sh NVIDIA-Linux-x86_64-1.0-7667-pkg2.run

Otherwise if you have Ubuntu 32 bit type:

sudo sh NVIDIA-Linux-x86-1.0-7667-pkg2.run

NOTE: the name of the installer may vary:
e.g. it could be NVIDIA-Linux-x86_64-1.0-7667-pkg1.run.
So just put the name of the installer you've downloaded from Nvidia website

At a certain point the installer will attempt to find a precompiled module for your kernel on the NVIDIA website. It won't find anything therefore it will ask you whether it should try to compile a module for your kernel: answer "Yes" to its question.

If you have Ubuntu 64bit you can't install OpenGL32bit compatibility libraries, so when the installer asks whether to install it just answer no OR you may want to try a workaround which Draugen found but which I haven't tried myself (look at the PROBLEMS SECTION at the end of the guide: point 5).

11) Make a backup of your xorg.conf

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

[In this way if anything goes wrong and you have problems with the xserver (i.e. if it doesn't start) you can type:

sudo cp /etc/X11/xorg.conf_backup /etc/X11/xorg.conf ]

NOTE: If you use the nvidia installer version 8174 or higher you can go straight to point 12.


sudo nano /etc/X11/xorg.conf

scroll the file down until you find the line with “Modules” and comment out (by putting a "#" before the line) the 2 lines I put in blue and add Load "glx". It should look like the example below:


Section "Module" Load "bitmap" Load "dbe" Load "ddc" #Load "dri" #Load “GLcore” Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe"

Then find the section Device and make sure the word I put in red is “nvidia”:


Section "Device" Identifier "NVIDIA Corporation NV40 [GeForce 6200 TurboCache]" Driver "nvidia" BusID "PCI:1:0:0"


CTRL+O to save (yes, use the same name and overwrite the file) CTRL+X to exit


sudo /etc/init.d/gdm start

(or "kdm start" if you use KDE)

Now you have installed the new nvidia driver.

If you want a "control panel" which shows the settings of your card you might want to install "Nvidia-settings" (this part of the guide has been taken from the Unofficial Ubuntu Starter Guide) although they driver works fine also without it (the choice it's up to you).

13) Open Terminal or Konsole and type


sudo apt-get install nvidia-settings sudo gedit /usr/share/applications/NVIDIA-Settings.desktop (you can use "kate" instead of "gedit" in KDE)

Insert the following lines into the new file:


[Desktop Entry] Name=NVIDIA Settings Comment=NVIDIA Settings Exec=nvidia-settings Icon= Terminal=false Type=Application Categories=Application;System;

Save the file and exit.

14) Log out and restart the xserver by pressing CTRL+ALT+Backspace

You will be able to see "Nvidia settings" in the menu (the one from which you launch all the applications)

REMEMBER: every time your kernel is upgraded or changed with another one you have to reinstall the drivers.

--------------> If you are a problem with the refresh rate.....

Tape in console as root:
# nvidia-xconfig --mode 1024x768_85*

* your favorite refresh rate with your monitor, put the same before (when it run well).

akoh 04-16-06 12:52 PM

Re: nVidia8756 driver install problem
thanks Energy man

And big up to you Don Dario, it's a big work U gave me :) I'm on the job then, i'll tell you if I mange to install anything.

A bientot ! as it is said by my place :)

akoh 04-16-06 02:04 PM

Re: nVidia8756 driver install problem
Hey !
That's me again ;D

The first thing > Don Dario : you're my hero ! your instructions were perfect, the driver is perfectly installed, and that's great.

Whereas i've did this


Tape in console as root:
# nvidia-xconfig --mode 1024x768_85*
The refresh rate doesn't do what i wan't it to do (i need a 85Hz) , damn linux rebel ;p

any advice ? :)

netllama 04-16-06 02:33 PM

Re: nVidia8756 driver install problem
Start X with the following command:
startx -- -logverbose 5

and then generate and post an nvidia-bug-report.log.


akoh 04-16-06 03:06 PM

Re: nVidia8756 driver install problem
hi Lonni

I did that :


startx -- -logverbose 5
Strange things appears.

Would you please explain me how to :


then generate and post an nvidia-bug-report.log.
I post it as soon as I know how to do it.

netllama 04-16-06 03:18 PM

Re: nVidia8756 driver install problem
See the NVIDIA driver README or http://www.nvnews.net/vbulletin/showthread.php?t=46678

akoh 04-16-06 04:28 PM

Re: nVidia8756 driver install problem
Hi again

i've been looking for


`nvidia-bug-report.sh` script shipped with the NVIDIA Linux graphics driver
for 2 hours, using the research option in gnome, and manually. I failed.

can someone give me a tip on the possible location of this file ?

Thanks forward !:o

The linux noob of the week.

akoh 04-17-06 04:08 AM

Re: nVidia8756 driver install problem

I would be very gratefull to anyone who will explain me how to :


generate an nvidia-bug-report.log.
I don't find any .exe able to do such a thing.

Yep, i guess i must look "not very gifted" :/ but i'm actually just a beginner.

Thanks forward for any help

All times are GMT -5. The time now is 06:38 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.