PDA

View Full Version : HOWTO: Latest NVIDIA drivers on Ubuntu Breezy


Pages : 1 2 [3] 4 5 6 7

tseliot
December 17th, 2005, 04:10 PM
i also got problems i hope you can help me

i tried all methods i think, but nothing worked

here is the important part (its the only error message i get ;))of the long logfile:

(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
Skipping "/usr/X11R6/lib/modules/libfb.a:fbmmx.o": No symbols found

please help!
I have some questions for you:
1) What kind problem is? Please describe what and when happens
2) Which is the last method you have tried?
3) Post the model of your graphic card
4) Are you using the standard ubuntu kernel?

XpAbLoX
December 17th, 2005, 07:40 PM
Help pleasE!!

I followed method 2, to install the graphic driver, i uninstalled the nvida-kernel-common (it unistalled linux-386, linux-restricted-modules-386 and linux-restricted-modules-2.6.12-9-386 and it make me install linux-image-2.6.12-10-386)
after the installing process begin the installer told me something about my kernel, if I wanted to download from ftp://nvidia.blabla (i dont remember) because I didn't have something, I said "No" and the installer finished succesfully. I edited the xorg.conf, and started de GDM, the weird thing is when I entered my session in the notification area was a light, I clicked and it told me something like "a new kernel was installed and needs to restart the system to finish the updating", before to restart i did this

$ glxgears but the gears were spinning Veeeeery slowly
$ glxinfo and this one said
direct rendering=yes

Well i restarted the system, but Grub show me 2 new options!!! (now i had 6)

kernel 2-6-12-10-386 (and it respective safe mode) <---------- This is the new one!!
kernel 2.6.12-9-386 (and it respective safe mode)
memtest
WinXP

What happened?? what i did wrong?? how can I fix that?

I have a gforce fx5200 and the driver is the 1.0-8174 (downloaded from nvidia.com)

Please don't ask me why i decided to follow the hardest method, I know that I could do that from the repositories, and all that... I just wanted to install the latest driver... snif snif...

could you help me?

ps.- sorry for my english, but it's not my first language

tseliot
December 18th, 2005, 06:35 AM
Help pleasE!!

I followed method 2, to install the graphic driver, i uninstalled the nvida-kernel-common (it unistalled linux-386, linux-restricted-modules-386 and linux-restricted-modules-2.6.12-9-386 and it make me install linux-image-2.6.12-10-386)
after the installing process begin the installer told me something about my kernel, if I wanted to download from ftp://nvidia.blabla (i dont remember) because I didn't have something, I said "No" and the installer finished succesfully. I edited the xorg.conf, and started de GDM, the weird thing is when I entered my session in the notification area was a light, I clicked and it told me something like "a new kernel was installed and needs to restart the system to finish the updating", before to restart i did this

$ glxgears but the gears were spinning Veeeeery slowly
$ glxinfo and this one said
direct rendering=yes

Well i restarted the system, but Grub show me 2 new options!!! (now i had 6)

kernel 2-6-12-10-386 (and it respective safe mode) <---------- This is the new one!!
kernel 2.6.12-9-386 (and it respective safe mode)
memtest
WinXP

What happened?? what i did wrong?? how can I fix that?

I have a gforce fx5200 and the driver is the 1.0-8174 (downloaded from nvidia.com)

Please don't ask me why i decided to follow the hardest method, I know that I could do that from the repositories, and all that... I just wanted to install the latest driver... snif snif...

could you help me?

ps.- sorry for my english, but it's not my first language
1) Don't worry about glxgears, sometimes it doesn't work properly
2) You must have installed a new kernel and that might have overwritten your old /boot/grub/menu.lst
Therefore you have to:
a) open terminal and type:
cd /boot
ls (and post the output)
b) sudo gedit /boot/grub/menu.lst (and post the content)
c) Tell me which kind of kernels were related to another distro (specify on which harddisk and partition) and which were related to your current ubuntu installation. If you have only 1 harddisk/partition and Ubuntu as the only distro you can skip this step.

In this way I can help you to set the grub menu as it was before.

daschl
December 18th, 2005, 06:54 AM
I have some questions for you:
1) What kind problem is? Please describe what and when happens
when i use sudo /etc/init.d/gdm start the X server crashes and shows me the normal output and this error message (recovered it from the logfile)

the strange thing is, that when i try the config the nvidia splashscreen appears but then quickly disappears and it seems the X tries 3 times to start itself. after the third try the error message comes up, which shows me the logfile.

i also tried to start it with "startx", and the same error message came up (no wonder ;))

2) Which is the last method you have tried?
i uncommented the two modules, added the nvidia modlue and changed nv to nvidia
i also tried to follow the ubuntu-gnome-tutorial but the same error message appeared.
3) Post the model of your graphic card
its a GeForce 6800 LE
4) Are you using the standard ubuntu kernel?
yes, i also downloaded the header-files, sources and so on...

thanks in advance

tseliot
December 18th, 2005, 07:04 AM
when i use sudo /etc/init.d/gdm start the X server crashes and shows me the normal output and this error message (recovered it from the logfile)

the strange thing is, that when i try the config the nvidia splashscreen appears but then quickly disappears and it seems the X tries 3 times to start itself. after the third try the error message comes up, which shows me the logfile.

i also tried to start it with "startx", and the same error message came up (no wonder ;))

i uncommented the two modules, added the nvidia modlue and changed nv to nvidia
i also tried to follow the ubuntu-gnome-tutorial but the same error message appeared.

its a GeForce 6800 LE

yes, i also downloaded the header-files, sources and so on...

thanks in advance
1) Please post your xorg.conf
2) Do this thing for me:
set the driver to "nvidia" (in your xorg.conf), save the file and exit.
then
CTRL+ALT+F1
sudo /etc/init.d/gdm stop
startx -- -verbose 5 -logverbose 5

and post the output

daschl
December 18th, 2005, 08:01 AM
1) Please post your xorg.conf
2) Do this thing for me:
set the driver to "nvidia" (in your xorg.conf), save the file and exit.
then
CTRL+ALT+F1
sudo /etc/init.d/gdm stop
startx -- -verbose 5 -logverbose 5

and post the output

well, at first thank you for your help :)

i uploaded the config files to my webserver because i think they are a bit too long to post them here

Here's the "wrong" xorg.conf for the nvidia settings (http://nitschinger.at/temp/xorg.conf_nvidia)

and the logfile produced by the startx command (http://nitschinger.at/temp/errormsg.txt)

hth, tia
daschl

tseliot
December 18th, 2005, 09:20 AM
well, at first thank you for your help :)

i uploaded the config files to my webserver because i think they are a bit too long to post them here

Here's the "wrong" xorg.conf for the nvidia settings (http://nitschinger.at/temp/xorg.conf_nvidia)

and the logfile produced by the startx command (http://nitschinger.at/temp/errormsg.txt)

hth, tia
daschl
sudo gedit /etc/X11/xorg.conf
Set the driver to "nvidia" and add the lines in red at this section of the file:

Section "Device"
Identifier "NVIDIA Corporation NV40 [GeForce 6200 TurboCache]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NvAGP" "0"
Option "RenderAccel" "Off"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "NoRenderExtension" "Off"
Option "AllowGLXWithComposite" “Off”

EndSection
Then log out and CTRL+ALT+BACKSPACE

daschl
December 18th, 2005, 09:54 AM
:(

here are the logfiles again

Errormessage (http://nitschinger.at/temp/errormsg3.txt)
X Config (http://nitschinger.at/temp/xorg.conf_nvidia_1)

tseliot
December 18th, 2005, 10:16 AM
:(

here are the logfiles again

Errormessage (http://nitschinger.at/temp/errormsg3.txt)
X Config (http://nitschinger.at/temp/xorg.conf_nvidia_1)
Ok remove any previous option I told you to add and replace it with the following:
Option "IgnoreEDID" "true"

Tell me if anything changes

daschl
December 18th, 2005, 10:45 AM
friggin' drivers

is it possible that i "ruined" the nvidia environment by setting up the kernel with the .sh script (by nvidia!) ... or should this be no problem (i did that at first, because i got it up and running with gentoo before i installed ubuntu)

ok, here are the startx log and the more detailed version

Long Logfile (http://nitschinger.at/temp/errormsg4.txt)
startx-Logfile (http://nitschinger.at/temp/startxlog)

tseliot
December 18th, 2005, 11:39 AM
friggin' drivers

is it possible that i "ruined" the nvidia environment by setting up the kernel with the .sh script (by nvidia!) ... or should this be no problem (i did that at first, because i got it up and running with gentoo before i installed ubuntu)

ok, here are the startx log and the more detailed version

Long Logfile (http://nitschinger.at/temp/errormsg4.txt)
startx-Logfile (http://nitschinger.at/temp/startxlog)
Try this command:
cd /path to the nvidia script you used/
sudo sh name_of_the_nvidia_script --uninstall

sudo apt-get install linux-restricted-modules-'uname -r'

sudo apt-get install nvidia-glx

then enable the "nvidia" driver in your xorg.conf

XpAbLoX
December 18th, 2005, 04:25 PM
1) Don't worry about glxgears, sometimes it doesn't work properly
2) You must have installed a new kernel and that might have overwritten your old /boot/grub/menu.lst
Therefore you have to:
a) open terminal and type:
cd /boot
ls (and post the output)

xpablox@Kasa:/boot$ ls
abi-2.6.12-10-386 grub System.map-2.6.12-10-386
abi-2.6.12-9-386 initrd.img-2.6.12-10-386 System.map-2.6.12-9-386
config-2.6.12-10-386 initrd.img-2.6.12-9-386 vmlinuz-2.6.12-10-386
config-2.6.12-9-386 memtest86+.bin vmlinuz-2.6.12-9-386


b) sudo gedit /boot/grub/menu.lst (and post the content)
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 4

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-10-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot

title Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.12-10-386
boot

title Ubuntu, kernel 2.6.12-9-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

c) Tell me which kind of kernels were related to another distro (specify on which harddisk and partition) and which were related to your current ubuntu installation. If you have only 1 harddisk/partition and Ubuntu as the only distro you can skip this step.

Well, i dont understand what do you want me to do, but Im using Ubuntu and WinXP, in the same HD (and obviously different partitions : ))

I dont know if this works...

root@Kasa:~/Desktop# fdisk -l

Disco /dev/hda: 40.0 GB, 40020664320 bytes
255 cabezas, 63 sectores/pista, 4865 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes

Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/hda1 * 1 1852 14876158+ 7 HPFS/NTFS
/dev/hda2 1853 2460 4883760 83 Linux
/dev/hda3 2461 4865 19318162+ f W95 Ext'd (LBA)
/dev/hda5 2461 2500 321268+ 82 Linux swap / Solaris
/dev/hda6 2501 4865 18996831 83 Linux

hda2 is the partition where my Ubuntu is installed...

In this way I can help you to set the grub menu as it was before.

But what's happening to my system with 2 kernels? that doesn't sound good...

tseliot
December 19th, 2005, 08:19 AM
xpablox@Kasa:/boot$ ls ...
Sorry I didn't read your post carefully enough.
Nothing bad happened to your Grub or kernel. It's just that you have updated the system and a newer version of the kernel (which fixes some security issues) was installed. Your old kernel wasn't removed (and this is a normal thing too).

In other words don't you worry ;)

daschl
December 19th, 2005, 08:56 AM
Try this command:
cd /path to the nvidia script you used/
sudo sh name_of_the_nvidia_script --uninstall

sudo apt-get install linux-restricted-modules-'uname -r'

sudo apt-get install nvidia-glx

then enable the "nvidia" driver in your xorg.conf
thanks so far ill try this when im at home (people say ati-drivers are harder to install than the nvidia drivers but actually i dont think so ;))

so thanks in advance :)

tseliot
December 19th, 2005, 09:57 AM
thanks so far ill try this when im at home (people say ati-drivers are harder to install than the nvidia drivers but actually i dont think so ;))

so thanks in advance :)
Well I had so many problems the first times I tried to install the drivers that I decided to write a guide about it ;)

shelbydz
December 19th, 2005, 02:35 PM
Following method 2 with the 8174 official drivers from Nvidia.

When it says uninstall everything w/ nvidia-headers, etc. Synaptic wants to uninstall my linux-686-smp. My kernel for my hyperthreading P4. I can't keep this installed AND have the 8174 drivers.

I tried re-installing linux-686-smp, but it installs the 7667 headers, so when I reboot, there's a mismatch and X won't start. Is there a way to force linux-686-smp to FORCE install w/o the 7667 headers so I can use the better kernel for my processor??

thanks. . .shawn
btw, the 8174 drivers ROCK! Warcraft, GTA:SA and HL2 look awesome.

tseliot
December 19th, 2005, 03:30 PM
Following method 2 with the 8174 official drivers from Nvidia.

When it says uninstall everything w/ nvidia-headers, etc. Synaptic wants to uninstall my linux-686-smp. My kernel for my hyperthreading P4. I can't keep this installed AND have the 8174 drivers.

I tried re-installing linux-686-smp, but it installs the 7667 headers, so when I reboot, there's a mismatch and X won't start. Is there a way to force linux-686-smp to FORCE install w/o the 7667 headers so I can use the better kernel for my processor??

thanks. . .shawn
btw, the 8174 drivers ROCK! Warcraft, GTA:SA and HL2 look awesome.
Open synaptic/kynaptic and install "linux-image-2.6.12-10-686-smp" and "linux-headers-2.6.12-10-686-smp" then restart your computer and remove "linux-686-smp"

otaviofcs
December 20th, 2005, 07:27 AM
hy all, I'm having some problems installing nvidia on my GeForce FX5200.
I'm using Ubunto BB 5.10, with kernel 2.6.12.10-k7, the nvidia kernel module is version 1.0.7667 (i've got it from dmesg) and I have installed linux-restricted-modules-k7 (that is 2.6.12.4) and nvidia-glx, just as the how-to told (by the way, nice how to :) ).
The thing is: the only way to make startx work is commenting the line:
#Load "glx"
in "modules", so it stays like:
Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
#Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

My "Device" section looks like:

Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
#Driver "nv"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
EndSection

My Xorg.0.log tells me:

(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(EE) NVIDIA(0): Failed to load GLX
(==) RandR enabled
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

Any clue????

otaviofcs
December 20th, 2005, 07:54 AM
I think I've made a little mess while explaining. If I comment the xorg.conf
Load "glx"
line, the driver works, but I don't know if I may be missing some nvidia features (my next step is to put the TV-out working in twinview).

otaviofcs
December 20th, 2005, 08:31 AM
:(

here are the logfiles again

Errormessage (http://nitschinger.at/temp/errormsg3.txt)
X Config (http://nitschinger.at/temp/xorg.conf_nvidia_1)

daschl,

I think you are having the same problems that I do. Try comment out Load "glx" and see if it work. The main problem occurs while loading the glx module. I don't know why, but it seems an incompatibility between the linux-restricted-modules (that seems to be 2.6.12.4 version) and my kernel (that is 2.6.12.10). I'm going to try upgrading to 2.6.12.16, but I'll have to install the nvidia driver manually (I'll try version 7667 that seems more stable).

regards

XpAbLoX
December 20th, 2005, 11:16 AM
Sorry I didn't read your post carefully enough.
Nothing bad happened to your Grub or kernel. It's just that you have updated the system and a newer version of the kernel (which fixes some security issues) was installed. Your old kernel wasn't removed (and this is a normal thing too).

In other words don't you worry ;)

Ok, but anyway I prefer to have only one kernel in my computer, so how can I remove the old kernel?.

I see your HOWTO, to compile the kernel... I've never do that so do you think is it time??

I have a pentium IV without HT, I read is better to install a kernel who has better suppor for my system... something like

linu-image-686

But this one make me install nvida-kernel-common, what Im suppose to do? I need to have that package uninstalled to make work my graphic driver. AAAhhh! I still dont understand Linux ant its kernels too well. ALthough I've 2 or 3 months using Linux, so it isnt that bad, really?

tseliot
December 20th, 2005, 11:58 AM
Ok, but anyway I prefer to have only one kernel in my computer, so how can I remove the old kernel?.

I see your HOWTO, to compile the kernel... I've never do that so do you think is it time??

I have a pentium IV without HT, I read is better to install a kernel who has better suppor for my system... something like

linu-image-686

But this one make me install nvida-kernel-common, what Im suppose to do? I need to have that package uninstalled to make work my graphic driver. AAAhhh! I still dont understand Linux ant its kernels too well. ALthough I've 2 or 3 months using Linux, so it isnt that bad, really?
1) Don't worry about your understanding of Linux, I have used it for 8 months and there are many things I can't understand yet ;) .

2) About your old kernel (2.6.12-9-386): the easiest way to remove it is to:
open Synaptic/Kynaptic
type "linux" in the search field and press search
you will get a list, look for "linux-image-2.6.12-9-386" and mark it for complete removal

OR

a fastest way to do that is:
sudo dpkg -r linux-image-2.6.12-9-386

3) If you want to install the 686 version of your kernel type this
sudo apt-get install linux-image-2.6.12-10-686

4) Compiling a kernel is not necessary at all unless you need it because your hardware is not well supported, etc.
I recommend you to keep using and learning Ubuntu/Linux then, when you are ready for something a bit more challenging, you can try to recompile the kernel.

tseliot
December 20th, 2005, 12:06 PM
daschl,

I think you are having the same problems that I do. Try comment out Load "glx" and see if it work. The main problem occurs while loading the glx module. I don't know why, but it seems an incompatibility between the linux-restricted-modules (that seems to be 2.6.12.4 version) and my kernel (that is 2.6.12.10). I'm going to try upgrading to 2.6.12.16, but I'll have to install the nvidia driver manually (I'll try version 7667 that seems more stable).

regards
First off if you comment "nvidia-glx" out the nvidia driver is useless.

If you want to install the restricted modules for your kernel try this:
sudo apt-get install linux-restricted-modules-`uname -r`

And please set the xorg.conf EXACTLY like I said in my guide (even if it doesn't work for you)
then press CTRL+ALT+F1
sudo /etc/init.d/gdm stop
startx -- -verbose 5 -logverbose 5

and post the output

XpAbLoX
December 20th, 2005, 07:55 PM
1) Don't worry about your understanding of Linux, I have used it for 8 months and there are many things I can't understand yet ;) .

2) About your old kernel (2.6.12-9-386): the easiest way to remove it is to:
open Synaptic/Kynaptic
type "linux" in the search field and press search
you will get a list, look for "linux-image-2.6.12-9-386" and mark it for complete removal

OR

a fastest way to do that is:
sudo dpkg -r linux-image-2.6.12-9-386

3) If you want to install the 686 version of your kernel type this
sudo apt-get install linux-image-2.6.12-10-686

4) Compiling a kernel is not necessary at all unless you need it because your hardware is not well supported, etc.
I recommend you to keep using and learning Ubuntu/Linux then, when you are ready for something a bit more challenging, you can try to recompile the kernel.

Thanks for your help, but I've another problem, I was using the old kernel xxx-9-386, today I decided to enter with the new kernel xxx-10-386, (i havent tried before) but i cant , and it gives me an error with the X, something about the nvidia driver...

The strange thing (at least for me... u_u) is in the old kernel i've the nvidia configuration fine, actually i was playing Max Payne a moment ago. In WinXP, I could choose the antialiasing option ( up to 8x), but here in Ubuntu the configuration program dont let me use it, I suppose its all about some deconfiguration of the graphic driver, isnt it?

tseliot
December 21st, 2005, 06:11 AM
Thanks for your help, but I've another problem, I was using the old kernel xxx-9-386, today I decided to enter with the new kernel xxx-10-386, (i havent tried before) but i cant , and it gives me an error with the X, something about the nvidia driver...

The strange thing (at least for me... u_u) is in the old kernel i've the nvidia configuration fine, actually i was playing Max Payne a moment ago. In WinXP, I could choose the antialiasing option ( up to 8x), but here in Ubuntu the configuration program dont let me use it, I suppose its all about some deconfiguration of the graphic driver, isnt it?
Do the following things:
Boot in kernel xxx-9-386 (yes, version "9") and type:

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

CC=gcc-3.4

export CC

Then type:
sudo sh NVIDIA-Linux-x86-1.0-7667-pkg2.run --kernel-name='2.6.12-10-386' (of course put the correct name of the nvidia installer you used)

Then restart your computer, boot in your new kernel and everything should work.

otaviofcs
December 21st, 2005, 03:26 PM
XpAbLoX,

It's allways better to install kernels that are compiled for our processor (in your case the 686 it's the right one). But it's not right to remove your kernel before install the other one. First enter synaptic, select the linux-kernel package for 686. After reboot using the 686 kernel, uninstall the old one if you like (but you don't need to do it).

regards,

otávio

otaviofcs
December 21st, 2005, 03:41 PM
First off if you comment "nvidia-glx" out the nvidia driver is useless.

If you want to install the restricted modules for your kernel try this:
sudo apt-get install linux-restricted-modules-`uname -r`

And please set the xorg.conf EXACTLY like I said in my guide (even if it doesn't work for you)
then press CTRL+ALT+F1
sudo /etc/init.d/gdm stop
startx -- -verbose 5 -logverbose 5

and post the output

tseliot,

i don't comment the package "nvidia-glx", I've commented the Load "glx". It's not the same thing. What i'm loosing is the graphic acceleration, wich I don't care that much, but i'm using nvidia module rather than nv module. the only thing I wanted from nvidia driver is to make the twinmode works outputting to my TV - there's nothing like watch your 'torrent movies' on tv ;). But now it's ok. My tv is working fine (dispite of the fact that the tv only output up to 1024x768 and my lcd works on 1280x1024). I think the problem of glx will be solved if I install the NVIDIA-Linux-x86-1.0-7667-pkg2.run, but that's another chapter for another day.

thanks for your attention, nice tutorial

tseliot
December 21st, 2005, 04:27 PM
tseliot,

i don't comment the package "nvidia-glx", I've commented the Load "glx". It's not the same thing.
Yes, I know that. I was so tired that I wrote a nvidia-glx instead of Load "glx".

XpAbLoX
December 21st, 2005, 11:43 PM
I finally did it. I have my new kernel (2.6.12-10-686) working with the graphics driver. All works nice : ).

The thing I dont like it is that glxgears doesnt spin fast >=(, but well you told me that is something that sometimes happen.

Well, thank you again
Greetings from Chile
Pablo

tseliot
December 22nd, 2005, 10:26 AM
I finally did it. I have my new kernel (2.6.12-10-686) working with the graphics driver. All works nice : ).

The thing I dont like it is that glxgears doesnt spin fast >=(, but well you told me that is something that sometimes happen.

Well, thank you again
Greetings from Chile
Pablo
I'm happy for you! y ˇBuenas navidades!

Aeon17x
December 22nd, 2005, 10:41 AM
About glxgears not spinning fast, it could be a few things -

1.) You haven't enabled nvidia-glx yet, or;
2.) You're running the WCG BOINC client in the background. glxgears runs with low prioritiy, so it would run about ten times slower if it's also operating with BOINC since they're just using the spare CPU power.

rjwood
December 22nd, 2005, 10:50 AM
I see your still towing the line here tselliot. GREAT JOB! "You da man":D Happy Holiday's!!

tseliot
December 22nd, 2005, 11:06 AM
I see your still towing the line here tselliot. GREAT JOB! "You da man":D Happy Holiday's!!
Thanks, and Happy Holidays to you :) !

XpAbLoX
December 22nd, 2005, 12:45 PM
Pues muchas gracias!! Para ti también!

poofyhairguy
December 23rd, 2005, 01:40 AM
All I have to say is:

Thanks! Worked great!

tseliot
December 23rd, 2005, 11:52 AM
All I have to say is:

Thanks! Worked great!
Thanks for appreciating my work :)

MetalMusicAddict
December 24th, 2005, 03:52 PM
So I wanted to do a clean install to play with a fresh Ubuntu.

I installed Hoary, changed my sources list to suite and dist-upgraded.

So my kernel is: 2.6.12-10-k7
I downloaded the newiest nVidia drivers for my GeForce 6800 OC
They were: NVIDIA-Linux-x86-1.0-8178-pkg1.run

The drivers installed fine and X started fine. But upon reboot I get this:
Error: API mismatch: The NVIDIA kernel module is 1.0.7667, but this x-module is version 1.0.8178.

Kinda weird. Im sure I didnt miss anything but Im not prefect. I see references to this but Im confused.

tseliot
December 24th, 2005, 04:12 PM
So I wanted to do a clean install to play with a fresh Ubuntu.

I installed Hoary, changed my sources list to suite and dist-upgraded.

So my kernel is: 2.6.12-10-k7
I downloaded the newiest nVidia drivers for my GeForce 6800 OC
They were: NVIDIA-Linux-x86-1.0-8178-pkg1.run

The drivers installed fine and X started fine. But upon reboot I get this:
Error: API mismatch: The NVIDIA kernel module is 1.0.7667, but this x-module is version 1.0.8178.

Kinda weird. Im sure I didnt miss anything but Im not prefect. I see references to this but Im confused.
Follow these steps:
Open Terminal and type:
1) sudo apt-get install linux-image-2.6.12-10-k7 linux-headers-2.6.12-10-k7

2) Restart your computer

3) Type:
sudo apt-get --purge remove nvidia-glx linux-restricted-modules-`uname -r`

Then try the driver again.

MetalMusicAddict
December 24th, 2005, 04:51 PM
Im actually in the middle of a new install. I figured Id try again. Only takes about 45 mins. :)

DaMaster_Architect
December 26th, 2005, 05:34 AM
hello tseliot,

firstly, thanks for writing this howto! I've already come quite an end with installing the nvidia drivers.

However, there is one problem I face. I get an error that the driver-installation can't find the linux sources, and therefore needs to quit.
I currently can't find the nvidia error log, I will post it as soon as I found it.

These are the things I've already done:
- try with --kernel-source-path /usr/src/linux-source-2.6.12
- compile kernel (thanks to your other guide!)
- try other drivers
- try with --kernel-name='2.6.12-10-386'

but none of these work, the same error keeps appearing.

Do you accidentally know a different way to get the drivers installed, or to get this error fixed? I've already tried to install the nvidia drivers for 2 days now :p

by the way, I have a Nvidia RIVA TNT2, and downloaded the apropriate drivers. (4363)

thanks!

tseliot
December 26th, 2005, 05:52 AM
hello tseliot,

firstly, thanks for writing this howto! I've already come quite an end with installing the nvidia drivers.

However, there is one problem I face. I get an error that the driver-installation can't find the linux sources, and therefore needs to quit.
I currently can't find the nvidia error log, I will post it as soon as I found it.

These are the things I've already done:
- try with --kernel-source-path /usr/src/linux-source-2.6.12
- compile kernel (thanks to your other guide!)
- try other drivers
- try with --kernel-name='2.6.12-10-386'

but none of these work, the same error keeps appearing.

Do you accidentally know a different way to get the drivers installed, or to get this error fixed? I've already tried to install the nvidia drivers for 2 days now :p

by the way, I have a Nvidia RIVA TNT2, and downloaded the apropriate drivers. (4363)

thanks!
First off try this thing and see if it fixes your problem:
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install linux-tree
cd /usr/src
sudo tar --bzip2 -xvf linux-source-2.6.12.tar.bz2
sudo ln -sf /usr/src/linux-source-2.6.12 /usr/src/linux

and try the installer again.

IF that doesn't work then DON'T use Method 2 any more.

You can use "nvidia-glx-legacy" drivers (7174) for your Riva TNT2 (they are available in Ubuntu's repositories).
I suggest you to do it in one of the following ways:
Method 1 (which is easier)
or
Method 3 (so that you can compile the modules yourself as described in the guide)

If Method 2 doesn't work for you don't use it. This means that you won't need any Nvidia installer from the Nvidia wevsite.

DaMaster_Architect
December 26th, 2005, 06:24 AM
wow :o that was a quick reply! thanks!

I forgot to tell that I already installed linux-tree, and linux-headers when compiling my own kernel. However, I did that before I compiled my own kernel, and now uname -r returns an other number (2.6.12-custom)
however, if I try sudo apt-get install linux-headers-2.6.12-custom now, it returns an error that it can't find that package.
So I tried sudo apt-get install nvidia-glx-legacy. It worked fine, until it tried to delete nvidia-glx. The result:

nvidia-glx wordt verwijderd ...
dpkg-divert: rename involves overwriting `/usr/X11R6/lib/modules/extensions/libglx.a' with
different file `/usr/X11R6/lib/nvidia/libglx.a.xlibmesa', not allowed
dpkg: fout bij afhandelen van nvidia-glx (--remove):
subproces post-removal script gaf een foutwaarde 2 terug
Fouten gevonden tijdens behandelen van:
nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)

(I hope you understand the dutch part well enough :P)
so somehow I can't delete nvidia-glx. I tried using synaptic, but it returned the same error. Do you have an idea how to uninstall nvidia-glx anyway?
thanks!

meanwhile I'll try to install nvidia-glx, and uninstall it right again. Dunno whether it works though, Im still a newbie.

EDIT: I chmodded the rebelling file to 777, deleted it in su mode, and installed the legacy drivers. Im now going to do the rest of method 1, and I will report how it went. Thanks for the help, tselliot!!

DaMaster_Architect
December 26th, 2005, 06:59 AM
hmm, I succesfully installed the legacy drivers, but now it can't load the X-server. probably something wrong in the xorg.conf file?

edit: I tried reconfiguring x-server, with no result. I replaced the "nvidia" in the driver section of xorg.conf with "nv", no result.

tseliot
December 26th, 2005, 08:13 AM
hmm, I succesfully installed the legacy drivers, but now it can't load the X-server. probably something wrong in the xorg.conf file?

edit: I tried reconfiguring x-server, with no result. I replaced the "nvidia" in the driver section of xorg.conf with "nv", no result.
If "nv" doesn't work then try with "vesa"

Anyhow try this method:
Turn on your computer
Keep pressing "ESC" until you get to the Grub menu
select your old kernel (not your custom kernel)
Boot in your old kernel (press Enter on it)

If you can't see anything but the command line type:
sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy
(make sure you use this ` apostrophe and not ' )

Then:
sudo nano /etc/X11/xorg.conf

and set the driver to "nvidia"

CTRL+O (to save)
CTLR+X (to exit)

then type:
startx

If it works I'll give you further instructions.

DaMaster_Architect
December 26th, 2005, 08:31 AM
it does work perfectly!
I loaded the old 386 kernel. I started gnome, without any problems. I ran "glxinfo" in the console. For the first time, it didnt give any errors. So I ran the FPS "cube" which I installed before, but which didnt work because of GLX errors. It works like a charm now!
thanks a lot!

imranj
December 26th, 2005, 08:49 AM
The lastest drivers fail for me due to some reason
i have the log dump, so let me know yaa.

2.6.14-ck1 custom kernel.

Gcc=4.0

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Dec 26 04:17:16 2005

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
8174). As part of installing this driver (version: 1.0-8178), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC test with CC="gcc-4.0".
-> Kernel source path: '/lib/modules/2.6.14-ck1/source'
-> Kernel output path: '/lib/modules/2.6.14-ck1/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.14-ck1/sour
ce SYSOUT=/lib/modules/2.6.14-ck1/build'...

NVIDIA: calling KBUILD...
make CC=gcc-4.0 KBUILD_OUTPUT=/lib/modules/2.6.14-ck1/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.14-ck1/source SUBDIRS=/tmp/selfgz11574/NVIDIA-Linux-x86-
1.0-8178-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.14-ck1/build \
KBUILD_SRC=/usr/src/linux-2.6.14cK1 \

nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' RPM installed. If you
know the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 File exists


So as u see here, its unable to insert the module dont know why, can u please advise?

tseliot
December 26th, 2005, 10:04 AM
it does work perfectly!
I loaded the old 386 kernel. I started gnome, without any problems. I ran "glxinfo" in the console. For the first time, it didnt give any errors. So I ran the FPS "cube" which I installed before, but which didnt work because of GLX errors. It works like a charm now!
thanks a lot!
I'm happy for you :) . Now you can remove your custom kernel from Synaptic (type the word "kernel" in the search field to find it) so as to boot only in your old kernel.

imranj
December 26th, 2005, 10:08 AM
ijamadar@shj-mjz-bsr2084:~$ cat /proc/version
Linux version 2.6.14-ck1 (root@shj-mjz-bsr2084) (gcc version 4.0.2 20050808 (pre release) (Ubuntu 4.0.1-4ubuntu9)) #1 Mon Dec 12 23:21:30 GST 2005

Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

tseliot
December 26th, 2005, 10:19 AM
The lastest drivers fail for me due to some reason
i have the log dump, so let me know yaa.

2.6.14-ck1 custom kernel.

Gcc=4.0

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Dec 26 04:17:16 2005

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
8174). As part of installing this driver (version: 1.0-8178), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC test with CC="gcc-4.0".
-> Kernel source path: '/lib/modules/2.6.14-ck1/source'
-> Kernel output path: '/lib/modules/2.6.14-ck1/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.14-ck1/sour
ce SYSOUT=/lib/modules/2.6.14-ck1/build'...

NVIDIA: calling KBUILD...
make CC=gcc-4.0 KBUILD_OUTPUT=/lib/modules/2.6.14-ck1/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.14-ck1/source SUBDIRS=/tmp/selfgz11574/NVIDIA-Linux-x86-
1.0-8178-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.14-ck1/build \
KBUILD_SRC=/usr/src/linux-2.6.14cK1 \

nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' RPM installed. If you
know the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 File exists


So as u see here, its unable to insert the module dont know why, can u please advise?
There's no need to send me private messages. I'm here to help but, you know, sometimes I need to have lunch, etc. ;)
1) Did you compile your kernel with nvidia modules?
2) In GNOME or KDE search (use the "Search for files" function) the file nvidia.ko in "/" (also know as "Filesystem" in GNOME). And post the results
3) Type:
sudo rm /etc/init.d/nvidia-*
and try the installer again

imranj
December 26th, 2005, 10:30 AM
A) Yes i think so.

B) file:///lib/modules/2.6.14-ck1/kernel/drivers/video/nvidia.ko

C) Please pray for me, i am going to do this one;)

tseliot
December 26th, 2005, 10:57 AM
A) Yes i think so.

B) file:///lib/modules/2.6.14-ck1/kernel/drivers/video/nvidia.ko

C) Please pray for me, i am going to do this one;)

do also:
sudo rm /lib/modules/2.6.14-ck1/kernel/drivers/video/nvidia.ko

Then try the installer again

piedamaro
December 26th, 2005, 11:09 AM
Nice guide, some useful tricks inside this thread.

For me the whole howto can be reduced to:

apt-get --purge remove nvidia-glx nvidia-settings

ctl-alt-f1

sudo /etc/init.d/gdm stop

export CC=gcc-3.4

sudo sh NVIDIA-Linux-x86-*.run

It took time to read the whole thing and figure out the real commands ;)

imranj
December 26th, 2005, 11:11 AM
Nope still the same issue?

it doesnt put the module in

imranj
December 26th, 2005, 11:24 AM
because i am running the pervious version of the nvidia release?

so i dont know where the problem is?

tseliot
December 26th, 2005, 01:13 PM
because i am running the pervious version of the nvidia release?

so i dont know where the problem is?
do this for me:
cd /usr/src
ls
and post the output

then

cd /usr/src/modules
ls
and post the output

tseliot
December 26th, 2005, 01:18 PM
Nice guide, some useful tricks inside this thread.

For me the whole howto can be reduced to:

apt-get --purge remove nvidia-glx nvidia-settings

ctl-alt-f1

sudo /etc/init.d/gdm stop

export CC=gcc-3.4

sudo sh NVIDIA-Linux-x86-*.run

It took time to read the whole thing and figure out the real commands ;)
You're absolutely right the guide could be shorter. It's just that I wanted to make a clear guide and as newbie friendly as possible.
Read my "Kernel Compilation for Newbies" and you'll see what I mean (and maybe become old before you finish reading the guide ;) )

imranj
December 26th, 2005, 01:49 PM
The Problem has being fixed, after deleting the module, i shutdown the pc and rebooted, and then it took me to command promt, where X failed to start,so then i attempted to reinstall the driver and bravo it worked, so for now my case is closed.

thanks for your help.

huwbie
December 27th, 2005, 06:54 AM
Hi i was just wondering if im missing something or not..

i want to install the latest nvidia drivers as a i have a problem in a game.. and i followed ur method 3 to install the 1.0-8178 drivers from the nvidia site...

how ever when i remove all nvidia- stuff from synaptic i remove linux-386 linux-restricted-modules as well...

so i go ahead and remove them then go to re install linux-386 and the restricted modules but it wants to install the nvidia-kernel-common ... which u say should not be installed when u want to run the nvidia install script...

tseliot
December 27th, 2005, 09:45 AM
Hi i was just wondering if im missing something or not..

i want to install the latest nvidia drivers as a i have a problem in a game.. and i followed ur method 3 to install the 1.0-8178 drivers from the nvidia site.QUOTE]
You should use method 2 for that. But I suppose yours is only a typo, isn't it?

[QUOTE=huwbie]how ever when i remove all nvidia- stuff from synaptic i remove linux-386 linux-restricted-modules as well...

so i go ahead and remove them then go to re install linux-386 and the restricted modules but it wants to install the nvidia-kernel-common ... which u say should not be installed when u want to run the nvidia install script...
Install "linux-image-2.6.12-10-386" and "linux-headers-2.6.12-10-386" instead of linux-386. In that way it won't ask you to install nvidia-kernel-common.

By the way you DON'T have to install the restricted modules if you want to use method 2

blitz666
December 27th, 2005, 08:54 PM
I appologize for seeming dumb (and not wanting to read the whole guide) but can someone tell me how to install my drivers in the simplest way possible? I have a new BFG tech GeForce 6200 OC 256mb DDR, and want to use the drivers that would enable me the best graphics. I saw that there are some on the nVidia website, but I have no idea how to install from the file I downloaded, nor if that is the best thing for me.

Can someone talk me through this?

EDIT: Nevermind... I got it working (feels special as he is acutally learning how to Linux!)

saisrujan
December 29th, 2005, 04:43 PM
Hello tseliot,

You've guided hundreds of people through the wilderness of ubuntu with nvidia graphics. I've gone through (almost!) the entire chain, but still there's something missing in my setup. Please help me too.

I have AMD64 with on-board-GPU-Mobo NVIDIA® GeForce™ 6100 and NVIDIA nForce™ 430 chipset. 64-bit breezy x-server fails to load out of the box. The error I get is "no screens found".

Please note that I can't connect to the internet without graphics running, since I need a proprietary dialler to be installed, through which i need to authenticate and connect to the internet. I have WinXP running from the other partition. So, to install some package, I can use apt-get only when the package is shipped with breezy. I have to
1. go to http://packages.ubuntu.com and download it.
2. Get it out from the mounted windows partition.
3. Use sudo dpkg to install the deb file.

I tried method 1. This time the screen blanks out with a cursor on the top-left corner. It is stuck.

Then I tried method 2. Here's what I did.

The only package I seem to have installed is the nvidia-kernel-common. When I try to uninstall this, I get this dependency error
linux-restricted-modules-2.6.12-9-amd64-generic depends on nvidia-kernel-common. So, I can't uninstall it.

build-essential for linux-headers goes through fine. Installed gcc-3.4 using dpkg. Set CC to gcc-3.4.

I used the driver NVIDIA-Linux-x86_64-1.0-8178-pkg2.run for this as support for geforce 6100 has been added only on the latest drivers. The installation goes through fine. The automatic configurator sets the xorg.conf fine. I mean I don't see "Load GLCore" and "Load dri", and I see "Load glx". In the device section, the driver is "nvidia". The other settings should probably not matter. Please let me know if you need my xorg.conf file.

When I re-boot, I get the following error

Error: API Mismatch: The NVIDIA kernel module is version 1.0.7667
but this X module is version 1.0.8178. Please be sure that your
kernel module and all NVIDIA driver files have the same driver version.


I'm sending the Xorg.0.log for your reference.


X Window System Version 6.8.2 (Ubuntu 6.8.2-77 20051010174819 root@crested.warthogs.hbd.com)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.8.1 x86_64 [ELF]
Current Operating System: Linux srujan 2.6.12-9-amd64-generic #1 Mon Oct 10 13:27:39 BST 2005 x86_64
Build Date: 10 October 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.12-9-amd64-generic (buildd@king) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 Mon Oct 10 13:27:39 BST 2005 T
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 30 01:59:57 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "NVIDIA Corporation NVIDIA Default Card"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/CID" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to "/usr/share/X11/fonts/misc,/usr/share/X11/fonts/100dpi/:unscaled,/usr/share/X11/fonts/75dpi/:unscaled,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,02f1 card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:1: chip 10de,02fa card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:2: chip 10de,02fe card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:3: chip 10de,02f8 card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:4: chip 10de,02f9 card 1458,5000 rev a2 class 05,00,00 hdr 00
(II) PCI: 00:00:5: chip 10de,02ff card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:6: chip 10de,027f card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:7: chip 10de,027e card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:05:0: chip 10de,0242 card 1458,d000 rev a2 class 03,00,00 hdr 00
(II) PCI: 00:09:0: chip 10de,0270 card 1458,5001 rev a2 class 05,00,00 hdr 00
(II) PCI: 00:0a:0: chip 10de,0260 card 1458,5001 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:0a:1: chip 10de,0264 card 1458,0264 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:0a:2: chip 10de,0272 card 1458,0264 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:0b:0: chip 10de,026d card 1458,5004 rev a2 class 0c,03,10 hdr 80
(II) PCI: 00:0b:1: chip 10de,026e card 1458,5004 rev a2 class 0c,03,20 hdr 80
(II) PCI: 00:0d:0: chip 10de,0265 card 1458,b000 rev a1 class 01,01,8a hdr 00
(II) PCI: 00:0e:0: chip 10de,0266 card 1458,b002 rev a1 class 01,01,85 hdr 00
(II) PCI: 00:0f:0: chip 10de,0267 card 1458,b002 rev a1 class 01,01,85 hdr 00
(II) PCI: 00:10:0: chip 10de,026f card 0000,0000 rev a2 class 06,04,01 hdr 81
(II) PCI: 00:10:1: chip 10de,026c card 1458,a102 rev a2 class 04,03,00 hdr 80
(II) PCI: 00:14:0: chip 10de,0269 card 1458,e000 rev a1 class 06,80,00 hdr 00
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:06:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:0e:0: chip 1106,3044 card 1458,1000 rev 80 class 0c,00,10 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:10:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:16:0), (0,1,1), BCTRL: 0x0204 (VGA_EN is cleared)
(II) Bus 1 I/O range:
[0] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[1] -1 0 0x0000a400 - 0x0000a4ff (0x100) IX[B]
[2] -1 0 0x0000a800 - 0x0000a8ff (0x100) IX[B]
[3] -1 0 0x0000ac00 - 0x0000acff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xf3000000 - 0xf4ffffff (0x2000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:24:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:1), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:2), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:3), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(--) PCI:*(0:5:0) nVidia Corporation unknown chipset (0x0242) rev 162, Mem @ 0xf2000000/24, 0xe0000000/28, 0xf5000000/24
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[2] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[3] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[4] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[5] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[6] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[7] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[8] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[9] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[10] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[12] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[13] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[14] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[15] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[16] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[17] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[18] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[19] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[20] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[21] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[22] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[23] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[24] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[25] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[26] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[2] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[3] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[4] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[5] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[6] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[7] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[8] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[9] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[10] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[12] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[13] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[14] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[15] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[16] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[17] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[18] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[19] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[20] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[21] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[22] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[23] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[24] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[25] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[26] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[19] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[20] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[21] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[22] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[23] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[24] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[25] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[26] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[27] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[28] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[29] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[30] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[31] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[32] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[33] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.8.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.1.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver 1.0-8178 Wed Dec 14 17:00:52 PST 2005
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00:05:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[19] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[20] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[21] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[22] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[23] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[24] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[25] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[26] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[27] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[28] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[29] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[30] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[31] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[32] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[33] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) resource ranges after probing:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[17] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[18] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[21] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[22] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[23] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[24] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[25] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[26] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[27] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[28] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[29] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[30] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[31] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[32] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[33] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[34] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[35] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[36] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
[37] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[38] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.



When I change driver from 'nvidia' to 'nv' in xorg.conf file, I get the error "no screens found".

Where is the problem? Not being able to uninstall "nvidia-kernel-commo"? or is it because i am unnecessarily uising the newer driver "NVIDIA-Linux-x86_64-1.0-8178-pkg2.run"? Oi is it totally something else?

Please help.

Thanks,
Sai

tseliot
December 29th, 2005, 06:12 PM
Hello tseliot,

You've guided hundreds of people through the wilderness of ubuntu with nvidia graphics. I've gone through (almost!) the entire chain, but still there's something missing in my setup. Please help me too.

I have AMD64 with on-board-GPU-Mobo NVIDIA® GeForce™ 6100 and NVIDIA nForce™ 430 chipset. 64-bit breezy x-server fails to load out of the box. The error I get is "no screens found".

Please note that I can't connect to the internet without graphics running, since I need a proprietary dialler to be installed, through which i need to authenticate and connect to the internet. I have WinXP running from the other partition. So, to install some package, I can use apt-get only when the package is shipped with breezy. I have to
1. go to http://packages.ubuntu.com and download it.
2. Get it out from the mounted windows partition.
3. Use sudo dpkg to install the deb file.

I tried method 1. This time the screen blanks out with a cursor on the top-left corner. It is stuck.

Then I tried method 2. Here's what I did.

The only package I seem to have installed is the nvidia-kernel-common. When I try to uninstall this, I get this dependency error
linux-restricted-modules-2.6.12-9-amd64-generic depends on nvidia-kernel-common. So, I can't uninstall it.

build-essential for linux-headers goes through fine. Installed gcc-3.4 using dpkg. Set CC to gcc-3.4.

I used the driver NVIDIA-Linux-x86_64-1.0-8178-pkg2.run for this as support for geforce 6100 has been added only on the latest drivers. The installation goes through fine. The automatic configurator sets the xorg.conf fine. I mean I don't see "Load GLCore" and "Load dri", and I see "Load glx". In the device section, the driver is "nvidia". The other settings should probably not matter. Please let me know if you need my xorg.conf file.

When I re-boot, I get the following error

Error: API Mismatch: The NVIDIA kernel module is version 1.0.7667
but this X module is version 1.0.8178. Please be sure that your
kernel module and all NVIDIA driver files have the same driver version.


I'm sending the Xorg.0.log for your reference.


X Window System Version 6.8.2 (Ubuntu 6.8.2-77 20051010174819 root@crested.warthogs.hbd.com)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.8.1 x86_64 [ELF]
Current Operating System: Linux srujan 2.6.12-9-amd64-generic #1 Mon Oct 10 13:27:39 BST 2005 x86_64
Build Date: 10 October 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.12-9-amd64-generic (buildd@king) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 Mon Oct 10 13:27:39 BST 2005 T
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 30 01:59:57 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "NVIDIA Corporation NVIDIA Default Card"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/CID" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to "/usr/share/X11/fonts/misc,/usr/share/X11/fonts/100dpi/:unscaled,/usr/share/X11/fonts/75dpi/:unscaled,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,02f1 card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:1: chip 10de,02fa card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:2: chip 10de,02fe card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:3: chip 10de,02f8 card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:4: chip 10de,02f9 card 1458,5000 rev a2 class 05,00,00 hdr 00
(II) PCI: 00:00:5: chip 10de,02ff card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:6: chip 10de,027f card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:00:7: chip 10de,027e card 1458,5000 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:05:0: chip 10de,0242 card 1458,d000 rev a2 class 03,00,00 hdr 00
(II) PCI: 00:09:0: chip 10de,0270 card 1458,5001 rev a2 class 05,00,00 hdr 00
(II) PCI: 00:0a:0: chip 10de,0260 card 1458,5001 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:0a:1: chip 10de,0264 card 1458,0264 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:0a:2: chip 10de,0272 card 1458,0264 rev a2 class 05,00,00 hdr 80
(II) PCI: 00:0b:0: chip 10de,026d card 1458,5004 rev a2 class 0c,03,10 hdr 80
(II) PCI: 00:0b:1: chip 10de,026e card 1458,5004 rev a2 class 0c,03,20 hdr 80
(II) PCI: 00:0d:0: chip 10de,0265 card 1458,b000 rev a1 class 01,01,8a hdr 00
(II) PCI: 00:0e:0: chip 10de,0266 card 1458,b002 rev a1 class 01,01,85 hdr 00
(II) PCI: 00:0f:0: chip 10de,0267 card 1458,b002 rev a1 class 01,01,85 hdr 00
(II) PCI: 00:10:0: chip 10de,026f card 0000,0000 rev a2 class 06,04,01 hdr 81
(II) PCI: 00:10:1: chip 10de,026c card 1458,a102 rev a2 class 04,03,00 hdr 80
(II) PCI: 00:14:0: chip 10de,0269 card 1458,e000 rev a1 class 06,80,00 hdr 00
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:06:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:0e:0: chip 1106,3044 card 1458,1000 rev 80 class 0c,00,10 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:10:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:16:0), (0,1,1), BCTRL: 0x0204 (VGA_EN is cleared)
(II) Bus 1 I/O range:
[0] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[1] -1 0 0x0000a400 - 0x0000a4ff (0x100) IX[B]
[2] -1 0 0x0000a800 - 0x0000a8ff (0x100) IX[B]
[3] -1 0 0x0000ac00 - 0x0000acff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xf3000000 - 0xf4ffffff (0x2000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:24:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:1), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:2), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:24:3), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
(--) PCI:*(0:5:0) nVidia Corporation unknown chipset (0x0242) rev 162, Mem @ 0xf2000000/24, 0xe0000000/28, 0xf5000000/24
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x100000000) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[2] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[3] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[4] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[5] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[6] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[7] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[8] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[9] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[10] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[12] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[13] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[14] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[15] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[16] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[17] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[18] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[19] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[20] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[21] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[22] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[23] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[24] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[25] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[26] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[2] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[3] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[4] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[5] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[6] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[7] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[8] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[9] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[10] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[12] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[13] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[14] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[15] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[16] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[17] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[18] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[19] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[20] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[21] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[22] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[23] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[24] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[25] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[26] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[19] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[20] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[21] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[22] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[23] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[24] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[25] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[26] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[27] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[28] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[29] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[30] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[31] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[32] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[33] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.8.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.1.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver 1.0-8178 Wed Dec 14 17:00:52 PST 2005
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 00:05:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[19] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[20] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[21] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[22] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[23] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[24] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[25] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[26] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[27] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[28] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[29] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[30] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[31] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[32] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[33] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
(II) resource ranges after probing:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xf4001000 - 0xf40017ff (0x800) MX[B]
[6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B]
[7] -1 0 0xf7005000 - 0xf7005fff (0x1000) MX[B]
[8] -1 0 0xf7000000 - 0xf7003fff (0x4000) MX[B]
[9] -1 0 0xf7006000 - 0xf7006fff (0x1000) MX[B]
[10] -1 0 0xf7007000 - 0xf7007fff (0x1000) MX[B]
[11] -1 0 0xf7004000 - 0xf70040ff (0x100) MX[B]
[12] -1 0 0xf7008000 - 0xf7008fff (0x1000) MX[B]
[13] -1 0 0xf5000000 - 0xf5ffffff (0x1000000) MX[B](B)
[14] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
[15] -1 0 0xf2000000 - 0xf2ffffff (0x1000000) MX[B](B)
[16] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[17] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[18] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[21] -1 0 0x0000a400 - 0x0000a47f (0x80) IX[B]
[22] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[23] -1 0 0x0000b000 - 0x0000b007 (0x8) IX[B]
[24] -1 0 0x0000c400 - 0x0000c40f (0x10) IX[B]
[25] -1 0 0x00000b60 - 0x00000b63 (0x4) IX[B]
[26] -1 0 0x00000960 - 0x00000967 (0x8) IX[B]
[27] -1 0 0x00000be0 - 0x00000be3 (0x4) IX[B]
[28] -1 0 0x000009e0 - 0x000009e7 (0x8) IX[B]
[29] -1 0 0x0000d800 - 0x0000d80f (0x10) IX[B]
[30] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[31] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[32] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[33] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[34] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[35] -1 0 0x00001c80 - 0x00001cbf (0x40) IX[B]
[36] -1 0 0x00001c00 - 0x00001c3f (0x40) IX[B]
[37] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[38] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.



When I change driver from 'nvidia' to 'nv' in xorg.conf file, I get the error "no screens found".

Where is the problem? Not being able to uninstall "nvidia-kernel-commo"? or is it because i am unnecessarily uising the newer driver "NVIDIA-Linux-x86_64-1.0-8178-pkg2.run"? Oi is it totally something else?

Please help.

Thanks,
Sai
First off try this quick fix and see if you can use the xserver:
Set the driver to "vesa" instead of "nv" or "nvidia" in your /etc/xorg.conf
then type:
startx

If that doesn't work it doesn't really matter.
Now let's try to install the drivers:
Type:
sudo apt-get update

Remove any useless nvidia-glx package:
sudo apt-get --purge remove nvidia-glx

Then you have to install a new kernel (image and headers) without the restricted modules (which you DON'T need for method 2 ) :
sudo apt-get install linux-image-2.6.12-10-amd64-generic linux-headers-2.6.12-10-amd64-generic

When it finishes restart your computer with the following command:
sudo reboot

You will (automatically) boot in the new kernel.
Then install the driver as described in method 2.

Tell me if it works.

saisrujan
December 30th, 2005, 05:15 PM
It worked!! It worked!! Thanks a lot!!!

I'm continuing my journey overcoming each hurdle. The next hurdle is sound :(
Hope I crack it by the dawn of the new year.

My wishes for the new year in advance. Keep up the awesome work!

tseliot
December 30th, 2005, 06:16 PM
It worked!! It worked!! Thanks a lot!!!

I'm continuing my journey overcoming each hurdle. The next hurdle is sound :(
Hope I crack it by the dawn of the new year.

My wishes for the new year in advance. Keep up the awesome work!
Thanks and Happy New Year to You! :)

vdelanno
December 30th, 2005, 07:21 PM
Hi everybody,

I have a 7800GT, and a 64bits breezy ubuntu. I installed the latest nvidia drivers from the nvidia site. But it crashes on each boot. So I removed the "load "glx"" from the xorg.conf file. Now it boots.
But I can't launch applications such as Wings3d or Houdini Apprentice, because they need glx. Would anybody have a fix?

tseliot
December 31st, 2005, 07:48 AM
Hi everybody,

I have a 7800GT, and a 64bits breezy ubuntu. I installed the latest nvidia drivers from the nvidia site. But it crashes on each boot. So I removed the "load "glx"" from the xorg.conf file. Now it boots.
But I can't launch applications such as Wings3d or Houdini Apprentice, because they need glx. Would anybody have a fix?
1) Put "load glx" back to your xorg.conf
2) then do this thing for me:
Press CTRL+ALT+F1 (you will only see the command line)
sudo /etc/init.d/gdm stop (if you use GDM)
OR
sudo /etc/init.d/kdm stop (if you use kDM)
startx -- -verbose 5 -logverbose 5

and post the output (which you can find under /var/log/Xorg.0.log )

aev
January 2nd, 2006, 12:59 AM
all of this mess is nice but why does Synaptics tell me that a whole bunch of packages must be uninstalled in order nvidia-glx to be installed including

vlc
dx
amule
firestarter
python
...

mplayer


this looks to me REALLY anoying and doesnt make sense.:confused:

thanks.

jackdirt
January 2nd, 2006, 02:47 AM
I read through about 20 pages of this post after I tried all three of your install methods.

I have had to reformat 5 times now. Everytime I install the drivers my screen goes black and I can't get it back when i tryed to restore the back up I got an error saying it couldnt be found. I thought my ubuntu disks might be corrupt but the disk validated.(linux newb)

I am running ubuntu 32bit and have a nvidia Geforce 6800GT 256mb card

I just want to be able to have dual monitors with an extended desktop.

Is there another way I can do this without risking a reformatting? I am at a loss.

Thank you in advance

tseliot
January 2nd, 2006, 06:44 AM
all of this mess is nice but why does Synaptics tell me that a whole bunch of packages must be uninstalled in order nvidia-glx to be installed including

vlc
dx
amule
firestarter
python
...

mplayer


this looks to me REALLY anoying and doesnt make sense.:confused:

thanks.
It really doesn't make any sense. I can't think of how nvidia-glx and the packages you mantioned can be related.
Weird. Try to remove them when synaptic asks you and then reinstall them after you install nvidia-glx.

tseliot
January 2nd, 2006, 06:52 AM