LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-26-2013, 10:17 PM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Rep: Reputation: 29
Nvidia driver problems....


I used to love my nvidia card, the drivers were so easy to install. But no more, since kernel version 3 it has been nothing but trouble.
I upgraded to kernel version 3.7.9 today. I compiled it myself. I applied 3 patches to it, 2 were related to my wireless card, and the third was the famous BFS scheduler patch.
Now I am running nouveau, and in kernel 3.7.9, I am actually surprised by how well it works, dreamchess and minecraft actually run. However, they are noticably slower, minecraft is unplayable (arguably its been unplayable since they switched to the internal server for single player...)
So although I am becoming happier with nouveau, I still want the nvidia drivers installed for maximum performance, which is what I care about most.
However, the drivers do not install, always complaining about my kernel source not being configured correctly... I installed the same way I always do, and the source is definitely there. but it doesn't seem to even want to try, even though everything is there. What kind of check does it do to determine that its not configured?
According to the installer log file, it looks in /lib/modules/linux-3.7.9/source/ for the kernel source, which is fine, that directory is there and populated with source. I also tried manually giving it the option --kernel-source-path=/home/prushik/Sandbox/linux-3.7.9/ which is the kernel source tree that I used to build the running kernel, but that does the same thing.

my nvidia installer log is as follows:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 27 11:57:47 2013
installer version: 313.18

PATH: /home/prushik/perl5/bin:/opt/gcc/4.6.2/bin:/home/prushik/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

nvidia-installer command line:
    ./nvidia-installer
    --no-x-check

Using: nvidia-installer ncurses user interface
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1067' of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted.
-> Installing NVIDIA driver version 313.18.
-> There appears to already be a driver installed on your system (version: 310.19).  As part of installing this driver (version: 313.18), the existing driver will be uninstalled.  Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Continue installation anyway? (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/3.7.9/source'
-> Kernel output path: '/lib/modules/3.7.9/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.
(ignore the bit about the --no-x-check, I have tried it without x running as well)
 
Old 02-27-2013, 12:45 AM   #2
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: always back to Fedora
Posts: 241

Rep: Reputation: 50
Try this ...

http://dariofaggioli.wordpress.com/2...32-kernel-377/

not the same version, but maybe the same problem ??
 
1 members found this post helpful.
Old 02-27-2013, 08:48 AM   #3
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by ArfaSmif View Post
Try this ...

http://dariofaggioli.wordpress.com/2...32-kernel-377/

not the same version, but maybe the same problem ??
Thank you, but that doesn't solve my problem.
I actually saw and tried a patch which fixes essentially the same problem but by patching the nvidia installer to look in the right place instead of moving the file to its old location. However, it doesn't solve the problem for me..... It seems as though nvidia has multiple issues.

Still looking for a solution.....
 
Old 02-27-2013, 08:54 AM   #4
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by prushik View Post
Thank you, but that doesn't solve my problem.
I actually saw and tried a patch which fixes essentially the same problem but by patching the nvidia installer to look in the right place instead of moving the file to its old location. However, it doesn't solve the problem for me..... It seems as though nvidia has multiple issues.

Still looking for a solution.....
Errr..... Ooopps, scratch that, I just tried it again a third time because I found the solution again on a third site (essentially the same thing) and I copied and pasted instead of typing it myself and it works now. Happy day.
So, the solution which ArfaSmif posted is indeed correct. Thank you ArfaSmif!

Here is the other page that I found: http://linuxsysconfig.com/2013/02/in...-on-fedora-18/

And here is the link to the patch which I thought does the same thing, although now it looks like it does something different. I installed my driver WITHOUT this patch: http://forums.gentoo.org/viewtopic-t...ighlight-.html

Last edited by prushik; 02-27-2013 at 08:56 AM. Reason: Add link to solution
 
  


Reply

Tags
bfs, driver, kernel, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
nvidia instalation problems / Sblive driver problems Colonel-1990 Linux - Software 13 02-14-2005 06:48 PM
Problems with 9.2 and Nvidia driver jriis Mandriva 3 11-24-2003 11:33 PM
nvidia driver problems bitterjack Red Hat 7 10-18-2003 02:59 AM
Problems with Nvidia driver....! lub0 Linux - Software 6 10-08-2003 12:42 AM
nvidia Driver problems cappaccio Linux - Hardware 16 05-05-2003 02:47 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration