LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-02-2007, 07:58 PM   #1
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Undefined symbol error with radeon graphics driver.


Okay - I went ahead a purchased an ATI radeon 9550 knowing that problems would more than likely arise on a Linux-only desktop. Installing the card went fine, and I can get an X server up and running. My problem is that I cannot get anything better than indirect rendering from the 'radeon' driver. I suspected something wrong with libGL.so, and did a search for it - but I don't seem to have anything actually titled 'libGL.so' or 'libGL.so.1'. Instead I have this:
Code:
$ locate libGL
/usr/lib/xorg/modules/extensions/libGLcore.xorg
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.060501
/usr/lib/libGLw.so
/usr/lib/libGLw.so.1
/usr/lib/libGLw.so.1.0.0
I also had an error about XFree86-DRI missing on the current display, but got around it by adding some lines to xorg.conf (the relevant parts of the file are inlined below). From the output of:
Code:
$ LIBGL_DEBUG=verbose glxinfo > /dev/null
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//r300_dri.so failed (/usr/lib/xorg/modules/dri//r300_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//r300_dri.so failed (/usr/lib/xorg/modules/dri//r300_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so
I can see that it's looking for /usr/lib/modules/dri/r300_dri.so - which clearly exists, but is not being seen. My question to you good sir or madam, is How can I get this up and running? I have been using this walkthrough - if it makes a difference: http://wiki.archlinux.org/index.php/...n_&_Kernel_2.6 .I have taken it's advice and reinstalled, but it's still not working correctly.

xorg.conf
Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "KGAUniversal"       	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 AS [Radeon 9550]"
	BusID       "PCI:1:0:0"
EndSection
........
Section "ServerFlags"
       Option  "AIGLX" "off"
   EndSection
   Section "Extensions"
       Option "Composite" "Disable"
   EndSection
Thank you for your time and consideration.
EDIT:After having looked - I do have libGL.so, so that isn't quite the problem. However, libGL.so is a link to libGL.so.1.2 which is a link to libGL.so.1. I will try to symlink libGL.so and libGL.so.1 directly to see if that helps.

Last edited by xpromisex; 01-02-2007 at 08:12 PM.
 
Old 01-02-2007, 08:24 PM   #2
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by xpromisex
Okay - I went ahead a purchased an ATI radeon 9550 knowing that problems would more than likely arise on a Linux-only desktop. Installing the card went fine, and I can get an X server up and running. My problem is that I cannot get anything better than indirect rendering from the 'radeon' driver. I suspected something wrong with libGL.so, and did a search for it - but I don't seem to have anything actually titled 'libGL.so' or 'libGL.so.1'. Instead I have this:
Code:
$ locate libGL
/usr/lib/xorg/modules/extensions/libGLcore.xorg
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.060501
/usr/lib/libGLw.so
/usr/lib/libGLw.so.1
/usr/lib/libGLw.so.1.0.0
I also had an error about XFree86-DRI missing on the current display, but got around it by adding some lines to xorg.conf (the relevant parts of the file are inlined below). From the output of:
Code:
$ LIBGL_DEBUG=verbose glxinfo > /dev/null
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//r300_dri.so failed (/usr/lib/xorg/modules/dri//r300_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//r300_dri.so failed (/usr/lib/xorg/modules/dri//r300_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so
I can see that it's looking for /usr/lib/modules/dri/r300_dri.so - which clearly exists, but is not being seen. My question to you good sir or madam, is How can I get this up and running? I have been using this walkthrough - if it makes a difference: http://wiki.archlinux.org/index.php/...n_&_Kernel_2.6 .I have taken it's advice and reinstalled, but it's still not working correctly.

xorg.conf
Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "KGAUniversal"       	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 AS [Radeon 9550]"
	BusID       "PCI:1:0:0"
EndSection
........
Section "ServerFlags"
       Option  "AIGLX" "off"
   EndSection
   Section "Extensions"
       Option "Composite" "Disable"
   EndSection
Thank you for your time and consideration.
EDIT:After having looked - I do have libGL.so, so that isn't quite the problem. However, libGL.so is a link to libGL.so.1.2 which is a link to libGL.so.1. I will try to symlink libGL.so and libGL.so.1 directly to see if that helps.
I am pretty much in the same boat.....no 3d with my 9600, I think the answer is going to be Nvidia. I really would like to whip this ATI into shape but I just don't have the heart when it would appear Nvidia drivers actually work, at least that's the scuttlebutt.
 
Old 01-09-2007, 08:54 AM   #3
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Original Poster
Rep: Reputation: 30
Okay - I hope it isn't too late for you jonnycando, but I got mine working. Not exactly sure how, but it's working fine. Required a crapton of work (more than it should have) but hopefully it will stay like this for a while.
 
Old 01-11-2007, 07:16 PM   #4
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by xpromisex
Okay - I hope it isn't too late for you jonnycando, but I got mine working. Not exactly sure how, but it's working fine. Required a crapton of work (more than it should have) but hopefully it will stay like this for a while.
Not too late...I am going to see if forcing the flrgx driver to load will get me into 3d territory. Worst that can happen I suppose is I'll have to restore my Xorg.conf file.
 
  


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
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
./firefox-bin: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_s cb8100 Slackware 3 10-05-2006 10:55 AM
Apache / FC4 undefined symbol error krazygaz Linux - Software 1 04-02-2006 04:53 PM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM
gftp error: undefined symbol: gdk_threads_lock eam Linux - Software 0 09-26-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:18 PM.

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