Bug#385945: boson: crashes on singleplayer game start

Steve Langasek vorlon at debian.org
Fri Sep 15 22:50:35 UTC 2006


So the backtrace here doesn't look particularly helpful because libGL isn't
built with debugging symbols, but the errors output beforehand are
interesting:

On Fri, Sep 15, 2006 at 10:38:56PM +0300, Eddy =?UTF-8?Q?Petri=C5=9For ?= wrote:
> ------8<----------------------------------------------------------
> eddy at merci ~/usr/src/games/trunk/glest $ boson --indirect
> [int main(int, char**)] resolving GL, GLX and GLU symbols
> [QLibrary* loadLibrary(const QString&)] Trying to guess correct
> filename for libGL
> searching in dir /usr/lib/
> using file /usr/lib/libGL.so

^ That's pretty awful btw, though I guess it ultimately does the right thing
if no one's complaining about boson not working when libgl-dev isn't
installed... :)

Hmm, or maybe when libgl-dev isn't installed, boson doesn't use GL at all,
and that's why this problem wasn't noticed?  No, it appears that it will
look for libGL.so.1 as well. ok.

> [QLibrary* loadLibrary(const QString&)] Trying to guess correct
> filename for libGL
> searching in dir /usr/lib/
> using file /usr/lib/libGLU.so
> [int main(int, char**)] GL, GLX and GLU symbols successfully resolved
> boson: WARNING: [void postBosonConfigInit()] use indirect rendering (slow!)
> open /dev/[sound/]dsp: Device or resource busy
> boson: ERROR: [BosonAudioAL::BosonAudioAL()] could not open device using alc
> boson: ERROR: [void BosonCanvasRenderer::initGL()] boson requires
> GL_EXT_framebuffer_object

So before the assertion and crash, boson throws an error in initGL()
explicitly telling us what's missing from the driver that it needs.  Is this
not the real source of the problem?

In the report on Sparc, there is additionally an X Error immediately before
this, returning a BadRequest for opcode 128 (XFree86-DRI).  I thought
perhaps the problem here was that boson's OpenGL support only worked with
DRI, so I gave it a try myself; it seems that even with DRI enabled here, I
get the same error about needing GL_EXT_framebuffer_object.  I *also* get a
warning about DRI being unavailable, even though I know that DRI is enabled
on my display and I'm using it successfully!

  Direct rendering is NOT enabled! 3d acceleration is DISABLED.

  Boson will run very slowly (seconds per frame instead of frames per
  second).

  If you are sure that your 3d drivers are installed correctly and support
  3d acceleration, please let us know about this problem and help us fixing
  it: boson-devel at lists.sourceforge.net

And indeed, starting a single player game (which works without crashing for
me) gets me a very slow display indicative of indirect rendering.  This is
with the i810 driver on i386.

So I haven't been able to reproduce the original problem, but boson doesn't
work very well for me, and I know I know libgl1-mesa-dri does work on my
system.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-games-devel mailing list