[Bf-committers] debugging OpenGL/VBO's

Campbell Barton ideasman42 at gmail.com
Thu Oct 15 00:29:43 CEST 2009


The docs say its only intended for POSIX systems so nope, however
there are quite a few debugging tools out there.

I heard NVidia debugging/profiling tools for windows are really good
but never tested them.

On Sun, Oct 11, 2009 at 5:07 PM, Lukas Steiblys <imbusy at imbusy.org> wrote:
> Awesome, I was looking for something like that. Does it work on Windows?
> Nvidia seems to have some decent OpenGL tools like GLExpert, but I never
> managed to make them work.
>
> Lukas Steiblys
> http://imbusy.org
> ----- Original Message -----
> From: "Campbell Barton" <ideasman42 at gmail.com>
> To: "bf-blender developers" <bf-committers at blender.org>
> Sent: Sunday, October 11, 2009 3:59 PM
> Subject: [Bf-committers] debugging OpenGL/VBO's
>
>
>> today I was looking into a VBO bug that have a totally useless
>> backtrace in GDB. (crash inside the GL driver)
>>
>> Using bugle - http://www.opengl.org/sdk/tools/BuGLe/
>> On Linux did the usual ./configure; make; make install
>>
>> Copy doc/examples/filters into ~/.bugle/filters
>> BUGLE_CHAIN=validate LD_PRELOAD=/usr/local/lib/libbugle.so  /b/blender.bin
>>
>> Then instead of crashing it gives a useful message as to whats going
>> wrong, like this...
>> [NOTICE] checks.error: illegal normal array caught in glDrawArrays
>> (unreadable memory); call will be ignored.
>>
>> there are other options for debugging like showfps, trace, wireframe
>> ... see ~/.bugle/filters for options.
>>
>> With the "crash" filter I managed to get a valid backtrace from gdb too.
>> BUGLE_CHAIN=crash LD_PRELOAD=/usr/local/lib/libbugle.so  gdb
>> /b/blender.bin
>>
>> - thought It might be useful for people looking into VBO bugs for the
>> first time.
>>
>> --
>> - Campbell
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list