Unix Technical Forum

ProSavage KN133 and xorg/drm/mesa

This is a discussion on ProSavage KN133 and xorg/drm/mesa within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello everybuddy I've tried to follow instructions http://dri.freedesktop.org/wiki/Building http://www.gentoo.org/doc/en/dri-howto.xmlshouldn't it contain something like /usr/X11R6/lib/modules or /usr/lib/modules (after all X11R6 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:10 AM
Hekaton Keires
 
Posts: n/a
Default ProSavage KN133 and xorg/drm/mesa

Hello everybuddy

I've tried to follow instructions

http://dri.freedesktop.org/wiki/Building
http://www.gentoo.org/doc/en/dri-howto.xmlshouldn't it contain
something like /usr/X11R6/lib/modules or /usr/lib/modules (after all
X11R6 is just a symlink to /usr)???

in order to make it possible o overcome the 85FPS limit of glxinfo. but
even if I was able to install new drm kernel modules

$ dmesg |grep drmshouldn't it contain something like
/usr/X11R6/lib/modules or /usr/lib/modules (after all X11R6 is just a
symlink to /usr)???
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized savage 2.4.1 20050313 on minor 0:
[drm] Used old pci detect: framebuffer loaded

I'm still unable to make it start X server with new savage_drv.so. I've
tried to backup the old copy and move the new one to

/usr/X11R6/lib/modules/drivers/savage_drv.so

but, as expected, startx returned

### startx ###
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r9 i686 [ELF]
Current Operating System: Linux teia 2.6.11-gentoo-r9 #9 Fri Jul 1
14:52:52 CEST 2005 i686
Build Date: 04 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 5 15:06:19 2005
(==) Using config file: "/etc/X11/xorg.conf"

Using vt 7
dlopen: /usr/lib/modules/drivers/savage_drv.so: undefined symbol:
XAAGetScreenIndex
(EE) Failed to load /usr/lib/modules/drivers/savage_drv.so
(EE) Failed to load module "savage" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
### EOF ###

in doubt i verified the presence of symbol

$ nm /usr/X11R6/lib/modules/libxaa.so |grep XAAGetScreenIndex
00004ec0 T XAAGetScreenIndex

in fact, if I try to add it to xorg.conf

### /etc/X11/xorg.conf ###
...
Section "Module"
Load "xaa"
...
EndSection
...
### EOF ###

startx, skips this step successfully but reports another 'undefined
symbol' on another step - after all I don't think I should add modules
to xorg.conf as workaround but the ld should load dynamically libraries
when needed.

so as 'make install' would probably do, I made a backup of entire
..../modules folder and copied there the new one

$ cp -LR /home/.../src/xc/exports/lib/modules /usr/X11R6/lib

and tried to startx once again

### startx ###
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r9 i686 [ELF]
Current Operating System: Linux teia 2.6.11-gentoo-r9 #9 Fri Jul 1
14:52:52 CEST 2005 i686
Build Date: 04 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 5 15:04:09 2005
(==) Using config file: "/etc/X11/xorg.conf"

Using vt 7
dlopen: /usr/lib/modules/extensions/libglx.so: undefined symbol:
glTexSubImage3D
(EE) Failed to load /usr/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
dlopen: /usr/lib/modules/extensions/libdri.so: undefined symbol:
drmGetLibVersion
(EE) Failed to load /usr/lib/modules/extensions/libdri.so
(EE) Failed to load module "dri" (loader failed, 7)
dlopen: /usr/lib/modules/drivers/savage_drv.so: undefined symbol:
XAAGetScreenIndex
(EE) Failed to load /usr/lib/modules/drivers/savage_drv.so
(EE) Failed to load module "savage" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
### EOF ###

As you can notice this time the problem related to XAAGetScreenIndex
still perstists: meaning that the problem does not reside in modules,
nor probably different module structure, but somewhere in related to
dynamic library loader, IMHO.

here is my ld configuration

### /etc/ld.so.conf ###
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
/usr/lib/MozillaFirefox
/usr/lib
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/native_threads/
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/classic/
/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/server/
### EOF ###

everything seems right. After all even if I try to

# ldconfig

every time I change modules, nothing changes - the problem exists.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com