LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2005, 02:02 AM   #1
slott_hansen
LQ Newbie
 
Registered: Jun 2004
Location: Denmark
Distribution: fedora core 2
Posts: 18

Rep: Reputation: 1
Missing libglx.a


I used to have a Nvidia gfx card but due to lack of 64bit support I switched to ATI. Now everything is up and running with the fglrx driver - but my glx is missing. When ever I turn on my GLX module X fails due to a missing libglx.a file.

Which package will install this for me - and why didn't the ATI drivers supply one ?

My system is a Fedora core 4 running on a 3 ghz pentium 64 bit.
 
Old 10-21-2005, 09:36 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The Nvidia drivers replace the GLX package. I usually get it back by forcing a reinstall of the xorg-x11 package, i.e. get the RPM and do

rpm -i --force xorg-x11-<whatever>.rpm

You can also use rpm2cpio to make a cpio archive and just extra the libglx file and put it back into the X11 lib directory, but I've never had a problem forcing the reinstall.

HTH.
 
Old 10-24-2005, 03:38 AM   #3
slott_hansen
LQ Newbie
 
Registered: Jun 2004
Location: Denmark
Distribution: fedora core 2
Posts: 18

Original Poster
Rep: Reputation: 1
Excelent

Nice move using the rpm2cpio - I managed to extract the missing libglx.a and move it to it's correct place.
Now my X starts with the "load glx" but still I have no GLX support !!!!

Code:
[msh@localhost ~]$ glxgears
Xlib:  extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.

[msh@localhost ~]$ fgl_glxgears
Using GLX_SGIX_pbuffer
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGBA, Double-buffered visual
In my X log I can see the following
Code:
(II) fglrx(0): UMM Bus area:     0xd0fab000 (size=0x07045000)
(II) fglrx(0): UMM area:     0xd0fab000 (size=0x07045000)
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x07ff0000
(II) fglrx(0): FBMM initialized for area (0,0)-(3392,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(3392,1050) (front color buffer - assumption)
(**) fglrx(0): Option "BackingStore"
(**) fglrx(0): Backing store enabled
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor (scanline 1050)
(II) fglrx(0): Largest offscreen area available: 3392 x 7139
(II) fglrx(0): Initialized in-driver Xinerama extension
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
Symbol __glXgetActiveScreen from module /usr/X11R6/lib64/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib64/modules/extensions/libdri.a is unresolved!
Symbol __glXActiveScreens from module /usr/X11R6/lib64/modules/drivers/fglrx_drv.o is unresolved!
And looking in that directory shows me that everything is in place - note that the libglx.a is indeed from today :-)
Code:
[root@localhost msh]# ll /usr/X11R6/lib64/modules/extensions/
total 1648
-r--r--r--  1 root root  24160 Jun 16 19:58 libdbe.a
-r--r--r--  1 root root  44094 Jun 16 19:58 libdri.a
-r--r--r--  1 root root 226176 Jun 16 19:58 libextmod.a
-r--r--r--  1 root root 826492 Oct 24 09:50 libglx.a
-r--r--r--  1 root root  35532 Jun 16 19:58 librecord.a
-r--r--r--  1 root root  59118 Jun 16 19:58 libxtrap.a
-rwxr-xr-x  1 root root 445600 Jun 27 21:46 vnc.so

[root@localhost msh]# ll  /usr/X11R6/lib64/modules/drivers/fglrx_drv.o
-rw-r--r--  1 root root 3345326 Oct 11 19:59 /usr/X11R6/lib64/modules/drivers/fglrx_drv.o

Any idea on how to resolve this issue ?
 
  


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
ver:10.2, after startx, (EE)Failed to load module ...\..\libglx.a catfox Mandriva 5 07-07-2005 10:40 AM
switching from nvidia gforce to ati radeon; can't find libglx.a qanopus Linux - Hardware 1 05-29-2004 02:01 AM
Missing gd.h gmartin Slackware 3 02-11-2004 01:16 AM
what am I missing? shanenin Linux - Software 1 11-02-2003 11:18 AM
What am I missing? discipledoc Linux - General 1 01-21-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:08 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