PDA

View Full Version : [Bug] RegnumOnline using OpenGL call not as defined in specification.


Mashu
09-14-2009, 11:18 AM
Log shows

[11/09/2009 11:08:23] [RenderizerGL][gl_ext_loader_arb.cpp(1631)]
glBindVertexArrayARB function not found

However specification says there is no ARB for this call (Section 6 below)
http://www.opengl.org/registry/specs/ARB/vertex_array_object.txt

This was confirmed by driver developers, since triggered another in driver bug.
http://bugs.freedesktop.org/show_bug.cgi?id=23859#c2

But call glBindVertexArray should be used instead.

surak
09-14-2009, 11:26 AM
Yes we noticed that recently :P but the game is not using that extension so it's not a major problem.

Mashu
09-14-2009, 12:03 PM
One more thing. I need full backtrace whats happening on driver side, to get this fixed in incomming mesa 7.6 release.

The problem is that I dont really know how to debug game.

export LD_LIBRARY_PATH=`pwd`/live/libs/
gdb ./rolauncher
set follow-fork-mode child
run

Error while mapping shared library sections:
libs/libregnum_client.so: No such file or directory.
etc...
Error while mapping shared library sections:
libs/liblua51.so: No such file or directory.

How to make those libraries loaded ?
Can I run ./game in gdb directly ? If so, how ?

That information will be also useful for future.
Thanks in advance,

arlick
09-14-2009, 12:20 PM
One more thing. I need full backtrace whats happening on driver side, to get this fixed in incomming mesa 7.6 release.

The problem is that I dont really know how to debug game.

export LD_LIBRARY_PATH=`pwd`/live/libs/
gdb ./rolauncher
set follow-fork-mode child
run

Error while mapping shared library sections:
libs/libregnum_client.so: No such file or directory.
etc...
Error while mapping shared library sections:
libs/liblua51.so: No such file or directory.

How to make those libraries loaded ?
Can I run ./game in gdb directly ? If so, how ?

That information will be also useful for future.
Thanks in advance,

You can run game like

./game <user_name> <md5 hash of password>

Arafails
09-14-2009, 01:26 PM
I would recommend using a core dump, actually (Assuming you're receiving a signal that causes a core dump, like SEGV or ABORT)

Run ulimit -c unlimited then launch the game as normal. When it breaks, run gdb live/game core