LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2007, 06:42 PM   #1
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
nvidia driver 'missing' after ~current and running sh NVIDIA


I had slack 11 with 3d all working and everything. I was having problems with the 2.4 kernel and some game stuff with cedega, so i decided to go ahead and run the ~current gambit.

i followed the CHANGES_AND_HINTS.TXT file and updated the kernel, then doing the packages in the order it said.

ran through the install did an Xorg -configure to generate a new xorg.conf file, then ran the 'sh NVIDIA-Linux-x86-1.0-9755-pkg1.run' and had it compile itself a new module and modify the xorg.conf file
but when i startx i get this error at the bottom

Quote:
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(EE) No drivers available.
so 'glx' is gone, and so is 'nvidia'

i have the kernel-headers-2.6.18.8_smp-i386-1 package installed, (but i never took out the kernel-headers-2.4.33.3-i386-1) i can post the xorg.conf file if it would matter, but basically, i got it back to an X display by commenting out the 'Load "glx" line, and putting the "nv" in for "nvidia" in Driver.

im wondering where the glx and nvidia modules went, weren't they supposed to be created from the binary?

also, i know the binary did -something- because i see the NVIDIA control panel thing in KDE (with no options when you run it, but its there) and the xorg.conf has evidence of it running
Quote:
VendorName "nVidia Corporation"
BoardName "NV43 [GeForce 6600/GeForce 6600 GT]"
anyone experience anything like that?

(a totally side note, the fonts are kinda jacked up too, but i'll worry about that after i get 3d acceleration running)

any log files for the install that would tell me what didn't work for the upgrade?
 
Old 03-24-2007, 06:49 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Use the command:

sh NVIDIA-xxx.run --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules

It's because nvidia assume that xorg 6.9 will be under /usr/X11R6
 
Old 03-24-2007, 07:42 PM   #3
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
you friggin rock man.

im sure that's written somewhere, but i didn't catch it..

3d enabled. thanks again
 
Old 03-24-2007, 07:49 PM   #4
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
I wonder ... will a lot of -current related problems be solved by a simple symlink from /usr/X11R6 -> /usr ?
 
Old 03-24-2007, 08:17 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Yeah I was wondering the same earlier during my upgrade fun. But I really don't like to hack things like that.
 
Old 03-24-2007, 11:25 PM   #6
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
I agree, it's usually not a good idea. (last time I sylinked something ... it ended up messing a lot of stuff up)

I was just wondering if the hack was more plausible.
 
Old 03-25-2007, 12:50 AM   #7
ateam
Member
 
Registered: Jul 2004
Location: The State of Confusion
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
The directories in /usr/lib/xorg/modules and /usr/X11R6/lib do not quite match. A symlink wouldn't do the trick as far as the nVIDIA drivers go.

Oh well...
 
Old 03-25-2007, 02:30 PM   #8
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
well i have noticed that it is a little chunky [less FPS] compared to what it was before playing cedega.. i'll tweak with it a bit and see if that helps.

or maybe NVIDIA will put up a new driver that has all that in mind..

thanks for the swift replies tho.. it at least got me gaming in between everything else ))
 
Old 03-25-2007, 02:31 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
When -current upgrades to xorg 7 this will no longer be a problem.
 
Old 03-25-2007, 10:12 PM   #10
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
i figured out the 'chunky' thing...

crazy enough.. udevd was running wild and had 2 sessions running and gobbling up 15% of my cpu at all times..

killed that [explative deleted] off and voila.. the best graphics i've ever seen on linux..
 
Old 03-26-2007, 08:12 PM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by dive
Use the command:

sh NVIDIA-xxx.run --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules

It's because nvidia assume that xorg 6.9 will be under /usr/X11R6
It didn't work on my system. Here's the log from nvidia-installer.log
Quote:
> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.20.3/source'
-> Kernel output path: '/lib/modules/2.6.20.3/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
I'm using 1.0.9631
 
Old 03-26-2007, 08:24 PM   #12
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
what version of gcc do you have?

i had to upgrade to 4.1 before i could install the nvidia driver.. the default slackware one was like 3.4.6 due to some compatibility things

run
Code:
gcc --version
and if you're not running the 4.1 get that package and try it again.
 
Old 03-26-2007, 09:06 PM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Basically make sure that your kernel is compiled with the same version you are now trying compile the nvidia driver with.
 
Old 03-26-2007, 09:17 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
I'm using GCC 4.1.2 (in -current) and i have upgraded to the 2.6.20.3 by compiling it from source (like i always do) with the GCC 4.1.2 and then i continue by installing the NVidia
 
  


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
-current (march 19 '07) + NVIDIA driver. truthfatal Slackware 1 03-20-2007 08:01 AM
NVIDIA Driver Installation on Debian Current gibran Debian 31 08-18-2005 08:41 PM
Error installing nVidia-driver-missing kernel-source? anemic Debian 6 12-17-2004 11:52 AM
Am I missing out not having Nvidia driver? QCompson Linux - Newbie 6 09-27-2003 09:19 AM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:45 AM.

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