nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Nvidia driver installation fails on Ubuntu Jaunty (http://www.nvnews.net/vbulletin/showthread.php?t=132178)

olympia 04-29-09 06:43 AM

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 04-29-09 09:22 AM

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

AaronP 04-29-09 12:45 PM

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.

icezebra 05-07-09 08:53 AM

GTX260 + Jaunty, X-Server Not Functioning
 
1 Attachment(s)
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!

AaronP 05-07-09 10:42 AM

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.

icezebra 05-07-09 02:36 PM

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?

AaronP 05-07-09 04:37 PM

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.

ledoc 05-07-09 06:04 PM

Re: Nvidia driver installation fails on Ubuntu Jaunty
 
nah you're still having the 180.44 module lurking around.


All times are GMT -5. The time now is 01:14 PM.

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