I have problems with a (Ubuntu) laptop with a i915 based gfx with certain OpenGL applications.

glxinfo rapports that DRI is enabled and programs like glxgears and ppracer works with good frame rates. However, when trying to run applications based on the OGRE framework, all I get is a black scene. Disabling DRI makes the same programs render the scenes.

I've carefully read a lot of problem info's and FAQ's the past days, and I still can't figure this out. I suspect it could somehow be related to DRI (either a bug or bad configuration).

I haven't played around with OpenGL for some years, so DRI is completely new to me. I struggle to understand how everything fit's together so that I at least can isolate where _not_ to look.

From this link (http://dri .freedesktop.org/wiki/DriTroubleshooting) I however I noticed some things that seem suspicious.

I can't figure out which part of the system is responsible for loading /usr/lib/dri/i915_dri.so. Running 'ldd /usr/lib/libGL.so' doesn't seem to imply any dependency on any DRI libraries.

Any hint's about how to debug the various layers involved would be most welcome.  Is it possible to profile
libGL .so in any way so that calls to each function results in output in some file in case there actually exists a bug and I need to isolate exactly where?

Any advice is welcome.