https://bugs.freedesktop.org/show_bug.cgi?id=44405

--- Comment #14 from Vadim <[email protected]> 2012-04-06 10:37:11 PDT ---
AFAICS the game uses additional gl context for loading the resources in the
separate thread. After destroying that context some pipe_surface is destroyed
in the "pipe_surface_reference" using the "surf->context->surface_destroy"
function pointer from the already destroyed context.

There is a workaround - multithreaded loading can be disabled by adding
"LoadingMT = 0" to the game config (~/.springrc).

With default "LoadingMT = -1" the game disables multithreaded loading if the gl
renderer string contains "mesa" or vendor string contains "intel". I guess the
game developers might want to check for "gallium" too.

Also there is another issue, probably not related - there are few asserts
checking the width/height to be > 0 (in the guess_base_level_size and
st_texture_create), while the app uses zero width/height for some textures.
IIRC the gl spec allows zero dimensions. The debug build of the game fails on
these asserts.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to