Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-15-06, 03:53 PM   #1
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default 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 :

Quote:
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
akoh is offline   Reply With Quote
Old 04-15-06, 05:17 PM   #2
jb24680
Registered User
 
Join Date: Apr 2006
Posts: 1
Default 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)
CC="/usr/bin/gcc-3.4"
export CC

P.S. I am running Ubuntu 5.10 - Breezy Badger
jb24680 is offline   Reply With Quote
Old 04-16-06, 03:58 AM   #3
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default Re: nVidia8756 driver install problem

hi, thank for the answer.

Quote:
So, before you install (you might also have to set the variables up under root)
CC="/usr/bin/gcc-3.4"
export CC
How can I do this ? I'm newb in Linux..
akoh is offline   Reply With Quote
Old 04-16-06, 06:09 AM   #4
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: nVidia8756 driver install problem

in the same console as you are doing the install in, type what he wrote.
energyman76b is offline   Reply With Quote
Old 04-16-06, 10:04 AM   #5
don_dario
Registered User
 
Join Date: Apr 2006
Posts: 5
Default Re: nVidia8756 driver install problem

METHOD 2

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)
http://www.nvidia.com/object/unix.html

2) Open Terminal or Konsole and type:
Code:

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


3)
Code:

sudo passwd root

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

4) Then:
Code:

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.)

Code:

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:
Code:

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


8 ) remove the file manually:
Code:

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


9) Then:
Code:

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)

Code:

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


Code:

cd “directory where you have the nvidia installer”
su
CC=gcc-3.4
export CC
exit
CC=gcc-3.4
export CC


If you have Ubuntu 64bit type:

Code:

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


Otherwise if you have Ubuntu 32 bit type:
Code:

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
Code:

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.

Code:

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:


Code:

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”:

Code:

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



Code:

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


12)
Code:

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

Code:

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:

Code:

[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).

Last edited by don_dario; 04-16-06 at 10:20 AM.
don_dario is offline   Reply With Quote
Old 04-16-06, 12:52 PM   #6
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default 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 is offline   Reply With Quote
Old 04-16-06, 02:04 PM   #7
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default 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

Quote:
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 ?
akoh is offline   Reply With Quote
Old 04-16-06, 02:33 PM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: nVidia8756 driver install problem

Start X with the following command:
startx -- -logverbose 5

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

Thanks,
Lonni
netllama is offline   Reply With Quote

Old 04-16-06, 03:06 PM   #9
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default Re: nVidia8756 driver install problem

hi Lonni

I did that :

Quote:
startx -- -logverbose 5
Strange things appears.

Would you please explain me how to :

Quote:
then generate and post an nvidia-bug-report.log.
I post it as soon as I know how to do it.
akoh is offline   Reply With Quote
Old 04-16-06, 03:18 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: nVidia8756 driver install problem

See the NVIDIA driver README or http://www.nvnews.net/vbulletin/showthread.php?t=46678
netllama is offline   Reply With Quote
Old 04-16-06, 04:28 PM   #11
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default Re: nVidia8756 driver install problem

Hi again

i've been looking for

Quote:
`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 !

The linux noob of the week.
akoh is offline   Reply With Quote
Old 04-17-06, 04:08 AM   #12
akoh
Registered User
 
Join Date: Apr 2006
Posts: 9
Default Re: nVidia8756 driver install problem

Hi,

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

Quote:
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
akoh is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-16-12 07:35 AM
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-13-12 07:58 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
How to install my nvdia driver... danyal_r NVIDIA Linux 2 10-11-02 12:06 PM
download problem with linux NVIDIA driver packages Timo NVIDIA Linux 7 07-31-02 09:22 AM

All times are GMT -5. The time now is 10:21 PM.


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