[Mesa-dev] [RFC PATCH 1/1] st/dri: add a new driconf option override_glsl_version for ARK games

Eero Tamminen eero.t.tamminen at intel.com
Tue Feb 7 13:11:16 UTC 2017


On 06.02.2017 22:26, Samuel Pitoiset wrote:
> On 02/06/2017 04:45 PM, Eero Tamminen wrote:
>> Results from quick try on Ubuntu 16.04 with today's version of the game
>> (ARK: Survival Evolved)...
>> With (Ubuntu 16.04 default) Mesa 11.2, game starts to the game main
>> menu, but when one starts from that a single player campaign, it will
>> crash before the real game begins, after few minutes of loading (when
>> game RAM resident set size has grown to ~10 GB):
>> ------------------------
>> Thread 1 "ShooterGame" received signal SIGSEGV, Segmentation fault.
>> 0x0000000001369f9b in _start ()
>> (gdb) bt
>> #0  0x0000000001369f9b in _start ()
>> ------------------------
>> With latest Mesa (with or without the patch), game will just show a
>> small dialog with fedirectly fromw garbage characters and exit.  I have no idea what
>> it wants to complain about.
> That patch is actually wrong for intel (it doesn't override anything).
> Maybe you can try this one?
> https://cgit.freedesktop.org/~hakzsam/mesa/log/?h=override_glsl_version_v2

Same results.  Patch doesn't help.

On 06.02.2017 18:02, Bas Nieuwenhuizen wrote:
 > You might be able to find the message with a debugger, the GL4.3+
 > context error also manifested as such and it turned out that the error
 > string is UTF-16, while the function that shows the error dialog
 > expects something like ASCII or UTF-8.

Thanks, setting breakpoint on SDL_ShowMessageBox() I can catch where it 
shows the dialog, but it appears to link SDL statically and not have 
debug symbols so that I could directly get the message.

Unfortunately my gdb/assembly-foo is too weak to parse UTF-16 strings 
through pointers in stack (or is register passing using on Intel for 
subset of args?)...

	- Eero

More information about the mesa-dev mailing list