LinuxQuestions.org
Register a domain and help support LQ
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-17-2006, 02:40 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
Failed to load libGLcore.so


I'm trying to get dri/drm to work with an i810 graphics card but it erros,
Code:
Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
As dumb as this sounds, I know why...
Code:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
The typical answer (I assume) would be to uninstall nvidia. However this is a liveCD (slax) and I want to be able to utilize nvidia and i810.

Plus I cant uninstall it! nvidia-installer --uninstall says it's not installed. I just got the nvidia module for slax and had to relocate files cause slax and gentoo put things in different places.

The problem is that libGLcore.so was replaced by nvidia's libGLcore.so (from the module). If I could get the original back I think it'd work. I've tried reinstalling xorg-server.
 
Old 12-17-2006, 03:02 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Since the message says that it isn't installed, maybe you should take it at it's word. Try "nvidia-installer --update" instead. At least then see if there was a problem installing it then.
 
Old 12-17-2006, 03:24 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
I double checked the source of my /usr/lib/libGLcore.so.1 and /usr/lib64/libGLcore.so.1 libraries with "rpm -qf /usr/lib/libGLcore.so.1". The answer was the Mesa package.
I think that nvidia supplied the /usr/lib/tls/libgl.so library.

I didn't read your post carefully enough. Did you once use an nvidia card?

If you are talking about a previous installation and configuration, perhaps you have updated you kernel in the meantime and you don't have the nvidia.ko driver for the current kernel and that is what nvidia --uninstall is complaining about. Or it may not have ever been installed.

Post which kernel you are using and your xorg.conf file.

NVidia's README.txt file in /usr/share/doc/NVIDIA_GLX-1.0/ has a number of topics about openGL in its Q&A section.

Take a look at your xorg.conf file. Which vidia driver is referenced? You may want to post the contents of your xorg.conf file.

Taking the full path of the library you mentioned, I think that the library you are talking about is supplied by xorg.

Does slax use a 2.6 or 2.4 kernel? Does dri work for a 2.4 kernel?

Last edited by jschiwal; 12-17-2006 at 03:41 PM.
 
Old 12-17-2006, 06:03 PM   #4
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Original Poster
Rep: Reputation: 34
Nvidia is installed and works properly. I'm using the precompiled slax kernel 2.6.16 and sense it doesn't ship with source (nor system.map) you have to get drivers from the slax modules page. I have two computers -- one w/ nvidia and one w/ i810 (technically i915 I guess). The idea is that if it works w/ the i810 it'll probably work similarly with other open source video card drivers. Nvidia is the odd driver cause it's closed source -- and needs it's own specail libGLcore I presume (I'm not complaining though, it's a good thing nvidia supports linux).

I found the actual libGLcore like I was talkign about above and put it in it's special directory so I can cp -Pr /usr/lib/xorg/modules (when it boots) and now it seems to laod libGL fine. Direct rendering doesn't work though cause it cant find /usr/lib/dri/i915_dri.so. This should have been installed with mesa I would think...But there isn't even a /usr/lib/dr.
 
Old 12-17-2006, 10:44 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
On SuSE, the Mesa package includes these files:
Code:
/usr/X11R6/lib/modules
/usr/X11R6/lib/modules/dri
/usr/X11R6/lib/modules/dri/ffb_dri.so
/usr/X11R6/lib/modules/dri/i810_dri.so
/usr/X11R6/lib/modules/dri/i830_dri.so
/usr/X11R6/lib/modules/dri/i915_dri.so
/usr/X11R6/lib/modules/dri/mach64_dri.so
/usr/X11R6/lib/modules/dri/mga_dri.so
/usr/X11R6/lib/modules/dri/r128_dri.so
/usr/X11R6/lib/modules/dri/r200_dri.so
/usr/X11R6/lib/modules/dri/r300_dri.so
/usr/X11R6/lib/modules/dri/radeon_dri.so
/usr/X11R6/lib/modules/dri/s3v_dri.so
/usr/X11R6/lib/modules/dri/savage_dri.so
/usr/X11R6/lib/modules/dri/sis_dri.so
/usr/X11R6/lib/modules/dri/tdfx_dri.so
/usr/X11R6/lib/modules/dri/trident_dri.so
/usr/X11R6/lib/modules/dri/unichrome_dri.so
/usr/X11R6/lib/modules/dri/updates
/usr/X11R6/lib/modules/dri/updates/README.updates
/usr/lib/GL
/usr/lib/GL/libGL.so.1
/usr/lib/GL/libGL.so.1.2
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.060402
/usr/lib/libGLcore.so.1
/usr/lib/libGLcore.so.1.0
/usr/lib/libGLw.so.1
/usr/lib/libGLw.so.1.0.0
/usr/lib/libOSMesa.so.6
/usr/lib/libOSMesa.so.6.4.2
For a 64 bit system, /usr/lib64/ is used instead of /usr/lib/.
Do you have the libGLcore.so library in the same place? If not, try (re)installing Mesa. If it does, it there a /usr/X11R6/lib entry exist in /etc/ld.so.conf?

You may be using a different Xorg server version then mine:
Code:
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux hpamd64 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 x86_64
Build Date: 13 September 2006
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
The http://wiki.X.Org may be a good resource to look for answers. On the www.tldp.org website they have a Linux-Gamers-HOWTO as well as an i810-Howto. However the i810-Howto is a bit old and based on the 2.4 kernel.
Do you have a: load "dri" line in your /etc/X11/xorg.conf config in the 'section "Module"' section? This is for the host with the i915 chip not nvidia. DRI and nvidia are not compatible.
 
  


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
Xorg -- (EE) Failed to load module "glx" (loader failed, 7) windowsrefugeeX Linux - Software 10 09-23-2009 06:51 PM
snort failed on load exchange Fedora 1 07-12-2006 05:45 AM
Failed to load image! knizamk Linux - Newbie 2 02-08-2006 10:04 PM
XServer failed to load... Kieffer87 Ubuntu 2 01-16-2006 09:38 PM
LIBGLCORE not defined in file libGLcore.so.1,HELP!!!!! Linuxjia Linux - Software 2 11-25-2004 03:08 PM


All times are GMT -5. The time now is 06:44 AM.

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