LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2008, 03:32 AM   #1
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
upgraded driver, unable to start X


I just upgraded my NVIDIA driver, and now I am unable to start the X server.

when i try to initialize the server, I get
Code:
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

(EE) Screen(s) found, but none have a usable configuration
I tried both the old xorg.conf and the new one, same problem.
 
Old 03-03-2008, 10:03 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Nvidia drivers include a tool called nvidia-settings. It's in /usr/bin. Try it. I beleive it's purpose is to re-configure the graphics card.
 
Old 03-03-2008, 11:56 AM   #3
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
it seems nvidia-settings requires that you start X before running.
 
Old 03-03-2008, 12:15 PM   #4
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
I think bigrigdriver was thinking of 'nvidia-xconfig'.
 
Old 03-03-2008, 12:17 PM   #5
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Do as root
Code:
cat /var/log/Xorg0.log | grep EE
There you'll find the exact error X server has.

Did you use nvidia's xorg.conf configurator? If so, take a look at the file, as it screwed mine long ago.

Could help also if you post your xorg.conf for more details
 
Old 03-03-2008, 12:50 PM   #6
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
Code:
cat /var/log/Xorg0.log | grep EE
gives

Code:
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) Screen(s) found, but none have a usable configuration

running nvidia-xconfig claims to update the xorg.conf file and moving the old one to backup, no help.


my xorg.conf file:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:20:37 PST 2008

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"

#       Load            "i2c"
    Load           "bitmap"
#       Load            "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "int10"
    Load           "vbe"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "no"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 72.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "AddARGBVisuals" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
 
Old 03-03-2008, 12:58 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
EDIT:

How did you upgrade your nvidia driver ?

Last edited by H_TeXMeX_H; 03-03-2008 at 01:05 PM.
 
Old 03-03-2008, 01:22 PM   #8
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
downloaded the driver package for linux from nvidia's website.
 
Old 03-03-2008, 02:45 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Isn't there a pre-made ubuntu package for this ?
 
Old 03-03-2008, 03:02 PM   #10
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
not with the newest version, I had a problem with the old version, and I was recommended to upgrade to fix it permanently
 
Old 03-03-2008, 05:34 PM   #11
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Do you have the nvidia module loaded BEFORE running X server?
 
Old 03-04-2008, 12:44 AM   #12
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
I just tried to remove the module and reinserting it, no effect.
 
Old 03-04-2008, 10:37 AM   #13
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Any module error when loading? (use dmesg to see)

Seems quite odd you load properly the module kernel, but X server can't find it.... Your xorg.conf looks good to me.
 
Old 03-04-2008, 03:22 PM   #14
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
I see an API mismatch error in dmesg, client version is 169.12, while kernel module is 100.14.19. seems this is the problem. how do I solve it without reverting to the old driver?
 
Old 03-05-2008, 12:04 PM   #15
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Did you run the installer manually? Or did you use the package manager?

It seems like the older driver wasn't properly uninstalled.

I suggest you install nvidia's drivers manually, that is, shutdown X server, log into any TTY and do the install. The install process uninstalls automatically any older version it finds and also updates the module.conf file accordingly.

If that does not solve the problem, istall again the 100.14.19, and right after it, uninstall it by running the install file with --uninstall flag. After that, install the newest driver.

Hope it helps!
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded to testing and now X will not start DBooth Linux - Newbie 4 10-20-2006 10:12 PM
Synaptics touchpad driver - unable to start VertX Linux - Laptop and Netbook 4 02-07-2005 08:27 AM
Upgraded from linux 2.4 to 2.6 now x won't start lynrees Debian 5 03-16-2004 04:43 PM
unable to start apache after installing NIC driver bcarl314 Linux - Newbie 6 09-24-2003 06:43 AM
Just Upgraded to Apache 1.3.24 and It Won't Start! John_Saunders Linux - Newbie 12 07-29-2002 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration