LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2002, 06:09 AM   #1
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Rep: Reputation: 15
nvidia 4191 drivers/nv_check.sh error


Weird problem here, and i promised, I've searched EVERYWHERE for an answer, but I can't seem to find anything....

Yesterday I upgraded my nvidia drivers (the nvidia kernel and GLX, according to instructions in the nvidia forums) on my system from the source rpms (GeForce2 MX400, RH8.0, kernel 2.4.18-18.8.0) thinking, HOPING that this would fix the graphical login that I haven't been able to get into for awhile (i have to login via shell and type startx - then everything is ok) - but it didn't. I can get into X ok, and my vidcard seems to be working ok with 3d and everything, but logging out still brings me to the shell no matter what settings I use in control panels (I've tested this both in gnome and kde)

I found a little tool in the nvidia forum called nv_check.sh - handy little thing - everything's fine until I get to:

Checking /usr/lib/libGLcore.so...
Your libGLcore.so file is missing! Please get this file from the
NVIDIA_GLX package, and install it as indicated in the FAQ, then
run this script again.

So I did a "locate libGLcore.so" to see if maybe it was in the wrong place, and I get:

$ locate libGLcore.so
/usr/lib/libGLcore.so.1
/usr/lib/libGLcore.so.1.0.4191

Could THIS be the problem that I've been having with the graphical login? And, how do I fix this?? I would REALLY appreciate any help anyone could offer




p.s. If you need any more info about my system, just let me know...
 
Old 12-30-2002, 06:29 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
if you want to log out and get back to the login, I think you need to run xdm instead of startx, this is usually in /usr/X11R6/bin/xdm. In kde you run "kdm", this could be in /opt/kde/bin/kdm or /usr/local/kde/bin/kdm

if you want to run nv_check.sh you need to get the nvidia_glx package as the intructions say, but this don't have to anything to do with the logout problem.
 
Old 12-30-2002, 07:53 AM   #3
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by niknah
if you want to log out and get back to the login, I think you need to run xdm instead of startx, this is usually in /usr/X11R6/bin/xdm. In kde you run "kdm", this could be in /opt/kde/bin/kdm or /usr/local/kde/bin/kdm

if you want to run nv_check.sh you need to get the nvidia_glx package as the intructions say, but this don't have to anything to do with the logout problem.
I've run xdm and kdm from the shell - it works, but only one time - at next logout/reboot it's still opening in the shell

and I have te nvidia_GLX package, which is why i can't understand why i'm getting the error when i run nv_check.sh
 
Old 12-30-2002, 08:33 AM   #4
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
if you want it to run on startup, change this line in /etc/inittab

id:3:initdefault:

change it to...
id:5:initdefault:

I presume you have redhat, it may screw up your comptuer if you have anything other than redhat so be careful!!!

here's the top of that file in my redhat....
changing the number to "5" will startup X11 which is what you want to do.



# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
 
Old 12-30-2002, 09:47 AM   #5
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
the number IS set to "5"...

what I was trying to figure out is why nv_check.sh thinks that libGLcore.so is missing (and locate libGLcore.so showed that it actually IS missing......)
 
Old 12-30-2002, 10:27 AM   #6
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
if you have the NVIDIA_GLX package then you should have that file unless you installed it just today before updatedb ran.

try typing...
rpm -q -l NVIDIA_GLX

to see the list of files in the package and where they're installed.
 
Old 12-30-2002, 10:30 AM   #7
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
$ rpm -q -l NVIDIA_GLX
/usr/X11R6/lib/libXvMCNVIDIA.a
/usr/X11R6/lib/libXvMCNVIDIA.so.1.0.4191
/usr/X11R6/lib/modules/drivers/nvidia_drv.o
/usr/X11R6/lib/modules/extensions/libglx.so.1.0.4191
/usr/lib/libGL.so.1.0.4191
/usr/lib/libGLcore.so.1.0.4191
/usr/share/doc/NVIDIA_GLX-1.0
/usr/share/doc/NVIDIA_GLX-1.0/NVIDIA_Changelog
/usr/share/doc/NVIDIA_GLX-1.0/README
/usr/share/doc/NVIDIA_GLX-1.0/README.DE
/usr/share/doc/NVIDIA_GLX-1.0/XF86Config.sample
/usr/share/doc/NVIDIA_GLX-1.0/include
/usr/share/doc/NVIDIA_GLX-1.0/include/GL
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glxtokens.h
/usr/share/doc/NVIDIA_GLX-1.0/license.txt

and i'm still lost (I HATE being a n00b )
 
Old 12-30-2002, 10:56 AM   #8
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
check that the file /usr/lib/libGLcore.so.1 is linked to the correct libGLcore version file.

if not try this...

ln -sf /usr/lib/libGLcore.so.1.0.4191 /usr/lib/libGLcore.so.1
/sbin/ldconfig
 
Old 12-30-2002, 11:45 AM   #9
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by niknah
[B]check that the file /usr/lib/libGLcore.so.1 is linked to the correct libGLcore version file.
at the risk of sounding REALLY stoopid - how do i check this?
 
Old 12-30-2002, 11:55 AM   #10
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
ls -l /usr/lib/libGLcore.so.1

if it links to anything other than... libGLcore.so.1.0.4191
then you should type in the above.

but don't worry about it, just type in that stuff above and you should be ok, i think.
 
Old 12-30-2002, 12:05 PM   #11
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
$ ls -l /usr/lib/libGLcore.so.1
lrwxrwxrwx 1 root root 21 Dec 30 03:30 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.4191


hmmm - so it looks ok - which confuses me more as to why nv_check.sh is giving me the error message, and why i'm not getting a graphical login (am i getting annoying yet? I promise, i'm not TRYING to be )
 
Old 12-30-2002, 07:54 PM   #12
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
try this to check that the 4191 file isn't a link or something funny....

ls -l /usr/lib/libGLcore.so.1*

make sure all the users can read the 4191 file too.


this is what nv_check.sh does, so type it into the shell....

test -f /usr/lib/libGLcore.so.1
echo $?


and it should show a "0"

no you're not annoying.........









yet
 
Old 12-31-2002, 04:33 AM   #13
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
$ ls -l /usr/lib/libGLcore.so.1*
lrwxrwxrwx 1 root root 21 Dec 30 03:30 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.4191
-rwxr-xr-x 1 root root 4773696 Dec 30 03:28 /usr/lib/libGLcore.so.1.0.4191


$ test -f /usr/lib/libGLcore.so.1
$ echo $?
0


I'm beginning to wonder if my computer just doesn't LIKE me....
 
Old 12-31-2002, 11:14 AM   #14
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
you should try nv_check.sh again, given what you tell me in the above message, there is no way you should get this message...

Your libGLcore.so file is missing! Please get this file from the
NVIDIA_GLX package, and install it as indicated in the FAQ, then
run this script again.
 
Old 12-31-2002, 11:41 AM   #15
artaois
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
ran it again, and same message

here's the full output of that section in the script:


First lets make sure you don't have the old modules still present
by mistake...
Checking /usr/X11R6/lib/modules/libglx.a...
Checking /usr/X11R6/lib/modules/libGLcore.a...
You don't appear to have any conflicting older drivers. Now lets check
if the new driver files are in place...
Checking /usr/X11R6/lib/modules/drivers/nvidia_drv.o...
Checking /usr/X11R6/lib/modules/extensions/libglx.so...
Checking /usr/lib/libGL.so...
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005c000)
Checking /usr/lib/libGLcore.so...
Your libGLcore.so file is missing! Please get this file from the
NVIDIA_GLX package, and install it as indicated in the FAQ, then
run this script again.


maybe this helps?
 
  


Reply


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 problem, nv_check error Sata Linux - General 5 05-11-2003 03:00 AM
GNOME and Nvidia Drivers 4191 psychoholic Linux - Software 4 03-17-2003 10:36 PM
New Nvidia Driver (4191) problem with RedHat 8.0 bugsland Linux - Software 9 03-01-2003 07:11 AM
The Nvidia 4191 Unresolved Symbols-thingie. Udo von Dunke Linux - Newbie 4 02-03-2003 05:56 PM
Nvidia 4191 drivers on Dell 8100... Help! areeves88 Linux - Newbie 2 01-21-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration