nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Error installing instrumented driver (http://www.nvnews.net/vbulletin/showthread.php?t=132356)

solinent 05-03-09 08:54 PM

Error installing instrumented driver
 
I'm trying to install an instrumented driver in ubuntu 9.04. I have uninstalled the default ubuntu drivers, and installed the appropriate linux-source-* and linux-headers-* packages for my thing.

However, when I run the installer, it gives me an error. This is the log (scroll to the end for error):

Code:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun May  3 13:59:31 2009

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall              : false
  driver info            : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files    : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux          : default
  no X server check      : false
  no cc version check    : false
  force tls              : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path  : (not specified)
  OpenGL install prefix  : (not specified)
  OpenGL install libdir  : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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: 177.
  61.02).  As part of installing this driver (version: 173.13), the existing d
  river will be uninstalled.  Are you sure you want to continue? ('no' will ab
  ort 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)
ERROR: Unable to connect to download.nvidia.com (unknown host)
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.28-11-generic/build'
-> Kernel output path: '/lib/modules/2.6.28-11-generic/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
      you either have configured kernel sources matching your
      kernel or the correct set of kernel headers installed
      on your system.
     
      If you are using a Linux 2.6 kernel, please make sure
      you have configured kernel sources matching your kernel
      installed on your system. If you specified a separate
      output directory using either the "KBUILD_OUTPUT" or
      the "O" KBUILD parameter, make sure to specify this
      directory with the SYSOUT environment variable or with
      the equivalent nvidia-installer command line option.
     
      Depending on where and how the kernel sources (or the
      kernel headers) were installed, you may need to specify
      their location with the SYSSRC environment variable or
      the equivalent nvidia-installer command line option.
ERROR: Installation has failed.  Please see the file
      '/var/log/nvidia-installer.log' for details.  You may find suggestions
      on fixing installation problems in the README available on the Linux
      driver download page at www.nvidia.com.

It seems to not be able to find kernel sources.

However, the directory its searching in /lib/modules/2.6.28-11-generic/build is a symlink to /usr/src/linux-headers-2.6.28-11-generic , which contains the appropriate sources. There is a seperate package linux-source-*, but I don't know what's the difference, and I installed it as I mentioned above.

I have not yet tried to install a generic driver for my system, which I will try and post the results back again. Installing the generic driver from the ubuntu website worked using earlier versions of linux, so maybe it's a compatibility issue in the instrumented driver with my 8800gt? I'd really love to use things like gDEBugger and BuGLe for debugging my game, and would hate to have to port and run in Windows to test performance.

Specs:
nVidia 8800GT
Ubuntu 9.04

uname -r:
2.6.28-11-generic

EDIT:
More information, I got perfkit from http://developer.nvidia.com/object/nvperfkit_home.html for 32-bit linux and and using the driver included. Also, I don't have the 177.61.02 driver installed in my system, I have the newest one provided by ubuntu (180.something).

It works when I use the normal driver *.run package: the kernel interface begins to build. So its definitely either a hardware support thing or some other issue.

Is the 8800gt supported for use with the instrumented nVidia driver?

Lithorus 05-04-09 01:20 AM

Re: Error installing instrumented driver
 
I would rather suggest you use this repo for getting the latest nvidia driver instead :
This will use DKMS which is a little more reliable to using the manual installer IMHO.

solinent 05-04-09 02:12 PM

Re: Error installing instrumented driver
 
Does that contain the instrumented drivers? I guess I'll just check, thanks.

(btw, instrumented are the ones with counters so that I can debug opengl applications, and non-instrumented are the regular ones. The regular ones work with the manual installer and apt, but the instrumented ones installer doesn't seem to work.)

Lithorus 05-05-09 12:25 AM

Re: Error installing instrumented driver
 
Quote:

Originally Posted by solinent (Post 1997597)
Does that contain the instrumented drivers? I guess I'll just check, thanks.

(btw, instrumented are the ones with counters so that I can debug opengl applications, and non-instrumented are the regular ones. The regular ones work with the manual installer and apt, but the instrumented ones installer doesn't seem to work.)

Ah, didn't know what the whole instrumented driver thing was all about.

Anyway post the nvidia bugreport here instead of the just some output from it. It has alot more info in it.

Also since the perfkit is based on 173.13 it might not be compatible with 2.6.28.

Quote:

However, the directory its searching in /lib/modules/2.6.28-11-generic/build is a symlink to /usr/src/linux-headers-2.6.28-11-generic , which contains the appropriate sources. There is a seperate package linux-source-*, but I don't know what's the difference, and I installed it as I mentioned above.
You don't need the sources package, just the headers ones. The source package have the whole source used for compiling the kernel, the headers have the headers used for compiling additional kernel modules. In this case the nvidia kernel module.


All times are GMT -5. The time now is 02:14 AM.

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