Re: HOWTO: Latest NVIDIA drivers
I think the problem is easy to solve
Please jodef, open Synaptic or Kynaptic and make sure you have gcc-3.3 installed (not only the base package)*, if not install it. Then try the command (the one which failed before) again.
*If you don't know how to install them, follow this steps:
Press the Search button and put "gcc" in the search field. I this way you will see a list of all gcc(s) available. There will be 2 items named "gcc-3.3" (the 2nd one is "gcc-3.3-base" or something like this). select them with your mouse, then select "Mark for installaton" and press the "Apply" button. The packages will be installed.
Re: HOWTO: Latest NVIDIA drivers
Quote:
Originally Posted by tseliot
I think the problem is easy to solve
Please jodef, open Synaptic or Kynaptic and make sure you have gcc-3.3 installed (not only the base package)*, if not install it. Then try the command (the one which failed before) again.
*If you don't know how to install them, follow this steps:
Press the Search button and put "gcc" in the search field. I this way you will see a list of all gcc(s) available. There will be 2 items named "gcc-3.3" (the 2nd one is "gcc-3.3-base" or something like this). select them with your mouse, then select "Mark for installaton" and press the "Apply" button. The packages will be installed.
tseliot - when I encountered the 'no cc' problem, that is the first thing I did - and gcc 3.3 and gcc 3,3-base were both already installed. I then told synaptic to reisntall them in hopes that would fix the problem. Nope. That is when I tapped into my limited linux knowledge and pulled a 'ln -s' out of my hat. Are there other gcc 3.3 packages that need to be installed as well?
It worked for me, and hopefully it helps someone else also.
Thanks for the great HOWTO - I just needed to add a little to it to get it to work locally.
reid
Re: HOWTO: Latest NVIDIA drivers
Quote:
Originally Posted by reid
tseliot - when I encountered the 'no cc' problem, that is the first thing I did - and gcc 3.3 and gcc 3,3-base were both already installed. I then told synaptic to reisntall them in hopes that would fix the problem. Nope. That is when I tapped into my limited linux knowledge and pulled a 'ln -s' out of my hat. Are there other gcc 3.3 packages that need to be installed as well?
It worked for me, and hopefully it helps someone else also.
Thanks for the great HOWTO - I just needed to add a little to it to get it to work locally.
reid
Thanks for your contribution reid. I didn't mean to say your suggestion is wrong. I remember that when I had the same problem I hadn't installed the right version of gcc yet.
In a nutshell, I wanted to say that jodef should make sure the right gcc is installed (otherwise it won't work), then if it doesn't solve the problem, he can try your method.
reid I really appreciate your help.
Re: HOWTO: Latest NVIDIA drivers
Reid, I've added your method to the guide (giving you the credits for this)
Re: HOWTO: Latest NVIDIA drivers
Thanks reid and tseliot haven't tried it yet but will later. tseliot the necessary gcc packages are installed and it is the correct version. I hope the symlink works.
Re: HOWTO: Latest NVIDIA drivers
Quote:
Originally Posted by tseliot
You're right but if he/she has the same graphic card as mine s/he will only have a black screen. The biggest problem is compatibility.
I see.
It was not mentioned so far but we also should consider that the new drivers - from version 1.0-7664 - do not support the following /old/ cards:
Quote:
Below are the legacy GPUs that are no longer supported in the unified driver.
These GPUs will continue to be maintained through the special legacy NVIDIA
GPU driver releases.
NVIDIA chip name Device PCI ID
------------------------------- -------------------------------
RIVA TNT 0x0020
RIVA TNT2/TNT2 Pro 0x0028
RIVA TNT2 Ultra 0x0029
Vanta/Vanta LT 0x002C
RIVA TNT2 Model 64/Model 64 Pro 0x002D
Aladdin TNT2 0x00A0
GeForce 256 0x0100
GeForce DDR 0x0101
Quadro 0x0103
GeForce2 GTS/GeForce2 Pro 0x0150
GeForce2 Ti 0x0151
GeForce2 Ultra 0x0152
Quadro2 Pro 0x0153
Re: HOWTO: Latest NVIDIA drivers
Quote:
Originally Posted by strawberry
I see.
It was not mentioned so far but we also should consider that the new drivers - from version 1.0-7664 - do not support the following /old/ cards:
I see, that's a good point. I'll add the information to the HOWTO. Thanks, strawberry.
Re: HOWTO: Latest NVIDIA drivers
Yet again a great HOWTO :)
I just had one problem, but because i came here from your great "Kernel Rebuild for Newbies" I found the solution myself :)
I'll post it in this thread so anyone with the same problem would be helped :)
The Warning:
Code:
-> 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.
I have build my own custom kernel, so i selected No (dunno if it would have worked if I did Yes)
I have a GeForce MX 400 (which is not in the 'Old' list), and I got this error:
Code:
-> Kernel source path: '/lib/modules/2.6.10-cyberia/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
ERROR: Your kernel was configured to include rivafb support!
The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.
I had to rebuild my Kernel with the following option DISABLED (not enabled, not as module) :
Device Drivers > Graphics Support > nVidia Riva Support (disable it by pressing N)
Then rebuild your kernel :)
Worked like a charm to me ^_^
Re: HOWTO: Latest NVIDIA drivers
In setting up the drivers for my nVidia card I used the instructions posted at
http://ubuntuguide.org/ and they worked fine. However, everytime I boot up I need to open the NVIDIA Settings program or enter in "nvidia-settings --load-config-only" to get the settings to load.
My question is how do I get the "nvidia-settings --load-config-only" command to run everytime I boot up? How do I get something like this to run everytime I boot up with X.Org in Ubuntu or with XFree86 in Mepis??? :?
Re: HOWTO: Latest NVIDIA drivers
I followed the instructions as best as I could in the parent post. Except for the following change:
After I type CTRL-ALT-F1 and tried to shut kde down with "kdm stop", trying to install the NVIDIA drivers still come up with "it detected X server running"...
So I ended up deleting /etc/rc2.d/S21kdm (safe to do, since was a symbolic link to /etc/init.d/kdm). After rebooting, it forced Ubuntu into a terminal window, from which I was able to successfully install the drivers.
Unfortunately, after installation, my screen size has been reduced to 800x600 (that being the biggest size in control centre). I had a peak into /etc/X11/xorg.conf and it seems that all modes were still at 1021x768, just as I had left them.
Does any one know how I could get back my larger screen size please?
p.s. FYI, with S21kdm gone, Ubuntu will always boot to terminal, to undo what you did and restore booting to KDE type "ln -s /etc/init.d/kdm /etc/rc2.d/S21kdm" in a terminal
Content of xorg.conf:
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 420 Go]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 420 Go]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection