[ltp] OpenGL apps stopped working

Alex Deucher linux-thinkpad@linux-thinkpad.org
Mon, 2 May 2005 16:57:02 -0400


On 5/2/05, Robert Svoboda <r080@atlas.cz> wrote:
> * Alex Deucher <alexdeucher@gmail.com> [2005-04-28 17:10]:
> > try setting the LIBGL_DEBUG env. variable to verbose and then try ans
> > start an app from a shell and see what the error is.
> >
> > LIBGL_DEBUG=3Dverbose tuxracer
>=20
> Ok, I did that and here is output:
>=20
> [robo@ivanka:~] LIBGL_DEBUG=3Dverbose tuxracer
> Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudi=
os.com)
> (c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
> "Tux Racer" is a trademark of Jasmin F. Patry
> Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> See http://www.gnu.org/copyleft/gpl.html for details.
>=20
> *** tuxracer error: Couldn't initialize video: X11 driver not configured =
with OpenGL (Success)
>=20

it looks like tuxracer is not picking up the 3d driver.  was it
compiled against stand-alone mesa?

try setting LD_PRELOAD=3D/path/to/your/libGL.so then run tuxracer.

beyond that you may try asking on the dri-users ML.

Alex


> [robo@ivanka:~] LIBGL_DEBUG=3Dverbose glxgears
> libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
> libGL: OpenDriver: trying /usr/lib/modules/dri/radeon_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
> libGL error: Can't open configuration file /etc/drirc: No such file or di=
rectory.
> libGL error: Can't open configuration file /home/robo/.drirc: No such fil=
e or directory.
> 4028 frames in 5.0 seconds =3D 805.600 FPS
>=20
> Robert