My X server resolution is 2560x1024 dots (2 19'' monitors)
Quote: $ WorldOfGooDemo Aborted
(just aborted, not core dump).
run with ltrace show following:
Quote: memcpy(0x847b40c, "screen_height", 13) = 0x847b40c strtol(0x842a814, 0, 10, 0x834ac4c, 0x847b40c) = 600 free(0x847b400) = <void> strlen("fullscreen") = 10 malloc(23) = 0x847b400 memcpy(0x847b40c, "fullscreen", 10) = 0x847b40c free(0x847b400) = <void> strlen("false") = 5 strlen("color_depth") = 11 malloc(24) = 0x847b400 memcpy(0x847b40c, "color_depth", 11) = 0x847b40c strtol(0x842a86c, 0, 10, 0x834ac4c, 0x847b40c) = 0 free(0x847b400) = <void> malloc(64) = 0x847b2c8 SDL_GL_SetAttribute(5, 1, 64, 0x8403ff4, 64) = 0 SDL_GL_SetAttribute(6, 16, 64, 0x8403ff4, 64) = 0 SDL_GL_SetAttribute(7, 0, 64, 0x8403ff4, 64) = 0 SDL_GetVideoInfo(7, 0, 64, 0x8403ff4, 64) = 0x8429048 SDL_SetVideoMode(800, 600, 0, 0xa0000002, 64) = 0 SDL_GetError(800, 600, 32, 0x90000002, 64) = 0xb7e05560 __fprintf_chk(0x8426440, 1, 0x837cc75, 0, 0) = 9 __vfprintf_chk(0x8426440, 1, 0x837d06c, 0xbfa72e28, 0) = 84 fflush(0x8426440) = 0 SDL_SetVideoMode(2560, 1024, 0, 0xa0000002, 0) = 0 SDL_GetError(2560, 1024, 32, 0x90000002, 0) = 0xb7e05560 __fprintf_chk(0x8426440, 1, 0x837cc75, 0, 0) = 9 __vfprintf_chk(0x8426440, 1, 0x837d06c, 0xbfa72e28, 0) = 86 fflush(0x8426440) = 0 abort(0x8414760, 0x837d06c, 2560, 1024, 0 <unfinished ...> --- SIGABRT (Aborted) --- +++ killed by SIGABRT +++
Expected result: Humman-readable error reporting from SDL_GetError call. And why not just work in windowed mode?
Last modified Wed, 02/18/2009 - 02:38 by asashnov |
I'm just found log into ~/.WorldOfGoo/WorldOfGoo.log
Quote: [t=0.00] Failed to read persistent data from "/home/alex/.WorldOfGoo/pers2.dat"! [t=0.00] No supported language found for locale ru_RU.UTF-8. [t=0.00] Primary language: en [t=0.00] SDL_SetVideoMode(800, 600, 0, 2684354562) failed: Couldn't find matching GLX visual [t=0.00] SDL_SetVideoMode(2560, 1024, 0, 2684354562) failed: Couldn't find matching GLX visual
Why instead just 'Aborted' not to write 'See log into ~/.WorldOfGoo directory' ? |
Because it was all meant to work magically out of the box. ;-)
This looks like a problem with the X server or video drivers not supporting OpenGL. What hardware and drivers are you using? Do simple OpenGL apps like glxgears work?
Your symptoms look similar to this guy's although it isn't exactly clear what was wrong in his case. |
Yes, at work I use nv driver, without OpenGL support. At home with proprietary driver from NVidia works fine :) PS. summary fixed |