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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-29-09, 06:43 AM   #1
olympia
Registered User
 
Join Date: Apr 2009
Posts: 3
Default Nvidia driver installation fails on Ubuntu Jaunty

I am using a minimal ubuntu installation for XBMC.

I try to use the same installation method for Jaunty, what I used successfully many times with Hardy and Intrepid.

I have trouble with installing nvidia drivers on a clean install of ubuntu mini.iso + xorg package.
After I installed ubuntu Jaunty, then xorg I can start X by 'startx'.
Looking at Xorg.log it seems that it's running on VESA driver.

After that I download and install nvidia driver by:
Code:
sudo sh NVIDIA-Linux-x86-185.19-pkg1.run
During the installation, I receive the below two warning:

Code:
WARNING: You appear to be using a modular X.Org release, but the X library
         installation path, 'X: warning; process set to priority -2 instead of
         requested priority 0
         /usr/lib', reported by `/usr/bin/X -showDefaultLibPath` does not
         exist.  Please check your X.Org installation.
Code:
WARNING: You appear to be using a modular X.Org release, but the X module installation path, 'X: warning; process set to priority -2
           instead of requested priority 0
           /usr/lib/xorg/modules', reported by `/usr/bin/X -showDefaultModulePath` does not exist.  Please check your X.Org installation.
Apart from that, installation of the driver seems to complete succesfully.

But then, after try to run X, by 'startx' it fails to start. Seems not finding nvidia module.
Xorg.log is here:
http://pastebin.com/m2b74dae8

As I mentioned in the begining, this was fine formerly on both Hardy and Intrepid.
Unfortunetly others were reported to work also on Jaunty with exactly the same steps, so I don't know what can be the culprit.

I am using ASUS P5N7A-VM with nvidia 9000 integrated.

Does anybody has any similar experience?

Thanks in advance!
olympia is offline   Reply With Quote
Old 04-29-09, 09:22 AM   #2
olympia
Registered User
 
Join Date: Apr 2009
Posts: 3
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

Never mind!

I solved it. xserver-xorg-dev was missing and that cause the problem.

I assume previously on Hardy and Intrepid it was pulled automatically by Xorg package, but not in Jaunty.

But then it's still a question why it was working for some people...
olympia is offline   Reply With Quote
Old 04-29-09, 12:45 PM   #3
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

X -showDefaultLibPath and X -showDefaultModulePath should print *only* the appropriate paths and not something else, like it's doing in your case. Installing the -dev package probably fixes the problem by allowing nvidia-installer to find the appropriate paths from /usr/lib/pkgconfig/xorg-server.pc.

I would recommend filing a bug against Jaunty's X server in Launchpad.
AaronP is offline   Reply With Quote
Old 05-07-09, 08:53 AM   #4
icezebra
Registered User
 
Join Date: May 2009
Posts: 2
Default GTX260 + Jaunty, X-Server Not Functioning

I'm running Ubuntu Jaunty 2.6.28.11 on AMD64. Just upgraded from an 8800GTS (which worked perfectly) to a 260GTX. Monitor wise I'm running 32" 1920x1080 and 22" 1600x1050 off the one card.

I've installed the latest stable driver (180.51) using the NVIDIA .pkg.run script and am not experiencing any joy! X will start with default linux driver, displaying on one monitor only. I then run nvidia-xconfig to enable the NVIDIA driver and restart. All good so far it seems. On restart, the x server refuses to start properly. The "kubuntu" loading screen will display, but when it should move to the login screen, it flickers a few times and drops me out to tty2 terminal login.

Deleting xorg.conf and restarting kdm works, but once again, no NVIDIA driver being utilised! Looking at the kdm log, it seems that I have an issue with the NVIDIA kernel module being version 180.44 still:

kdm.log excerpt:
Code:
xorg-server 2:1.6.0-0ubuntu14 (buildd@crested.buildd) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
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: Wed May  6 22:37:45 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)
Error: API mismatch: the NVIDIA kernel module has version 180.44,
but this NVIDIA driver component has version 180.51.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
(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 ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
I've checked and followed instructions to no avail! Can anyone help? How do I install the right kernel module!

nvidia-installer.log is attached. I also note I have the following warnings as part of it:

Code:
WARNING: You appear to be using a modular X.Org release, but the X library
         installation path, 'X: warning; process set to priority -2 instead of
         requested priority 0
         /usr/lib', reported by `/usr/bin/X -showDefaultLibPath` does not
         exist.  Please check your X.Org installation.
WARNING: You appear to be using a modular X.Org release, but the X module
         installation path, 'X: warning; process set to priority -2 instead of
         requested priority 0
         /usr/lib/xorg/modules', reported by `/usr/bin/X
         -showDefaultModulePath` does not exist.  Please check your X.Org
         installation.
I'm still in linux-training. Keen to understand the fix so if anyone can help, I'd be most grateful!
Attached Files
File Type: log nvidia-installer.log (48.0 KB, 89 views)
icezebra is offline   Reply With Quote
Old 05-07-09, 10:42 AM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

icezebra, your X server is broken in the same way as olympia's. Please try installing the xserver-xorg-dev package. I've merged the two threads.
AaronP is offline   Reply With Quote
Old 05-07-09, 02:36 PM   #6
icezebra
Registered User
 
Join Date: May 2009
Posts: 2
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

Aaron,

Thanks for merging and your response. Unfortunately I already have xserver-xorg-dev installed. So it looks like I need to find another way around this.

Any other ideas?
icezebra is offline   Reply With Quote
Old 05-07-09, 04:37 PM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

You can override the detection with the --x-module-path and --x-library-path options. Here's the relevant section from the man page:
Code:
       --x-module-path=X-MODULE-PATH
              The  path under which the NVIDIA X server modules will be installed.  If this option is not speci-
              fied, nvidia-installer uses the following search order and selects the first  valid  directory  it
              finds:  1) `X -showDefaultModulePath`, 2) `pkg-config --variable=moduledir xorg-server`, or 3) the
              X library path (see the '--x-library-path' option) plus either 'modules' (for X servers older than
              X.Org 7.0) or 'xorg/modules' (for X.Org 7.0 or later).

       --x-library-path=X-LIBRARY-PATH
              The  path  under which the NVIDIA X libraries will be installed.  If this option is not specified,
              nvidia-installer uses the following search order and selects the first valid directory  it  finds:
              1) `X -showDefaultLibPath`, 2) `pkg-config --variable=libdir xorg-server`, or 3) the X prefix (see
              the '--x-prefix' option) plus 'lib' on 32bit systems, and either 'lib64' or 'lib'  on  64bit  sys-
              tems, depending on the installed Linux distribution.
These should probably be --x-module-path=/usr/lib/xorg/modules and --x-library-path=/usr/lib, respectively.
AaronP is offline   Reply With Quote
Old 05-07-09, 06:04 PM   #8
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

nah you're still having the 180.44 module lurking around.
ledoc is offline   Reply With Quote

Reply


Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Driver Installation flores.facundo NVIDIA Linux 2 06-24-12 08:37 AM
GT650M not recognized by 295.59 Driver on Ubuntu 12.04 hvontres NVIDIA Linux 13 06-22-12 01:33 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

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


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