[Savage40] What am I missing?

Ole Craig olc at cs.umass.edu
Fri Nov 5 14:51:41 PST 2004


On 11/05/04 at 09:34, 'twas brillig and Alex Deucher scrobe:
> 
> This is probably a lib problem of some kind.  make sure you don't have
> an old libGL floating around.  Also sometimes there are problems with
> libexpat.  run glxinfo with LIBGL_DEBUG=verbose set.  See this page for
> more info:
> http://dri.sourceforge.net/cgi-bin/moin.cgi/DriTroubleshooting

Alex -
	Thanks bunches, libexpat was the culprit -- the savage_dri was
apparently compiled against libexpat.so.1, and the latest gentoo
~stable version is libexpat.so.0.50.0:

olc at ook $ LIBGL_DEBUG=verbose glxinfo
libGL: XF86DRIGetClientDriverName: 1.1.16 savage (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/savage_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/savage_dri.so failed
(libexpat.so.1: cannot open shared object file: No such file or
directory)
libGL error: unable to find driver: savage_dri.so
[...]

	So as an experiment, I tried just linking libexpat.so.1 to the
existing library, and it worked:

olc at ook $ LIBGL_DEBUG=verbose glxinfo
libGL: XF86DRIGetClientDriverName: 1.1.16 savage (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/savage_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
[...]

	Tuxracer still isn't the speediest I've ever seen it, but it's
now marginally playable, and glxgears is giving me 240 FPS instead of
~52. 

	Now I just have to figure out how to setup things so that I
can run a full 1400x1050 screen for normal use, and start up a second
X server on :1 with a smaller screen and DRI for GL apps...

	Thanks,
		Ole
-- 
Ole Craig * UNIX, linux, SMTP-fu; news, web; SGI martyr * admin-at-large

   Need a seasoned *NIX admin in the Denver/Boulder area? Hire me!
        http://www.cs.umass.edu/~olc/pub/olc-resume.txt


More information about the Savage40 mailing list