project-navigation
Personal tools

Author Topic: Problems with game  (Read 12742 times)

jagreen

  • Guest
Problems with game
« on: July 08, 2006, 03:16:50 pm »
Im having some problems with the game.

The game start well, but when i choose to start a new single game, appears the prelude of the game (the history), and when i press the mouse the application stop suddenly and i have to reboot the computer.

Others times, i enter well in the game but when im doing something in the edit base mode and i return to the geoscape the texture of the world becomes white i dont see nothing, or suddenly stops the game.

Im running in Kubuntu, AMD 64bits, ATI Radeon 9100.

I have configured in System Preferences the next configuration for my Graphic card, and my monitor:

Graphic card ATI
Controler ATI

Monitor Custom 1

I tried to change them to Samsung SyncMaster 753DF & ATI Radeon Graphic Card, but when i rebooted the computer the changes restore to default again.

I dont know what are happening =/

Someone can solve my problem, or tell me what i have to do thx =)

I followed those steps to install and run it:

jagreen@ley:~$ sudo apt-get install make gcc subversion

jagreen@ley:~$ sudo apt-get install libsdl-dev libsdl-ttf2.0-dev libvorbis-dev x11proto-xf86vidmode-dev libxxf86vm-dev libjpeg62-dev

jagreen@ley:~$ mkdir ufoai
jagreen@ley:~/ufoai$ cd ufoai
jagreen@ley:~/ufoai$ svn co https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
jagreen@ley:~/ufoai$ cd trunk


jagreen@ley:~/ufoai$ cd trunk/src

jagreen@ley:~/ufoai/trunk/src$ make
 * [UFO] ../debugx86_64/client/cl_actor.o
 * [UFO] ../debugx86_64/client/cl_basemanagement.o
 * [UFO] ../debugx86_64/client/cl_research.o
 * [UFO] ../debugx86_64/client/cl_market.o
 * [UFO] ../debugx86_64/client/cl_campaign.o
client/cl_campaign.c: En la función ‘CL_GameSave’:
client/cl_campaign.c:1604: aviso: variable ‘message’ sin uso
 * [UFO] ../debugx86_64/client/cl_fx.o
 * [UFO] ../debugx86_64/client/cl_input.o
 * [UFO] ../debugx86_64/client/cl_le.o
 * [UFO] ../debugx86_64/client/cl_main.o
 * [UFO] ../debugx86_64/client/cl_menu.o
 * [UFO] ../debugx86_64/client/cl_parse.o
 * [UFO] ../debugx86_64/client/cl_particle.o
 * [UFO] ../debugx86_64/client/cl_shader.o
 * [UFO] ../debugx86_64/client/cl_scrn.o
 * [UFO] ../debugx86_64/client/cl_sequence.o
 * [UFO] ../debugx86_64/client/cl_team.o
 * [UFO] ../debugx86_64/client/cl_inventory.o
 * [UFO] ../debugx86_64/client/cl_ufopedia.o
 * [UFO] ../debugx86_64/client/cl_view.o
 * [UFO] ../debugx86_64/client/console.o
 * [UFO] ../debugx86_64/client/keys.o
 * [UFO] ../debugx86_64/client/snd_dma.o
 * [UFO] ../debugx86_64/client/snd_mem.o
 * [UFO] ../debugx86_64/client/snd_mix.o
 * [UFO] ../debugx86_64/client/cmd.o
 * [UFO] ../debugx86_64/client/cmodel.o
 * [UFO] ../debugx86_64/client/common.o
 * [UFO] ../debugx86_64/client/crc.o
 * [UFO] ../debugx86_64/client/cvar.o
 * [UFO] ../debugx86_64/client/files.o
 * [UFO] ../debugx86_64/client/md4.o
 * [UFO] ../debugx86_64/client/net_chan.o
 * [UFO] ../debugx86_64/client/scripts.o
 * [UFO] ../debugx86_64/client/sv_ccmds.o
 * [UFO] ../debugx86_64/client/sv_game.o
 * [UFO] ../debugx86_64/client/sv_init.o
 * [UFO] ../debugx86_64/client/sv_main.o
 * [UFO] ../debugx86_64/client/sv_send.o
 * [UFO] ../debugx86_64/client/sv_user.o
 * [UFO] ../debugx86_64/client/sv_world.o
 * [UFO] ../debugx86_64/client/q_shared.o
 * [OPT] ../debugx86_64/client/q_shlinux.o
 * [UFO] ../debugx86_64/client/vid_so.o
 * [UFO] ../debugx86_64/client/sys_linux.o
 * [UFO] ../debugx86_64/client/glob.o
 * [UFO] ../debugx86_64/client/net_udp.o
 * [UFO] ../debugx86_64/client/snd_linux.o
 * [UFO] ../debugx86_64/client/snd_oss.o
 * [UFO] ../debugx86_64/client/snd_sdl.o
 * [UFO] ../debugx86_64/client/cd_sdl.o
 * [UFO] ../debugx86_64/client/snd_alsa.o
 * [UFO] ...linking
 * [LIB] ../debugx86_64/game/q_shared.o
 * [LIB] ../debugx86_64/game/g_ai.o
 * [LIB] ../debugx86_64/game/g_client.o
 * [LIB] ../debugx86_64/game/g_cmds.o
 * [LIB] ../debugx86_64/game/g_main.o
 * [LIB] ../debugx86_64/game/g_spawn.o
 * [LIB] ../debugx86_64/game/g_svcmds.o
 * [LIB] ../debugx86_64/game/g_utils.o
 * [LIB] ...linking
 * [DED] ../debugx86_64/ded/cmd.o
 * [DED] ../debugx86_64/ded/cmodel.o
 * [DED] ../debugx86_64/ded/common.o
 * [DED] ../debugx86_64/ded/crc.o
 * [DED] ../debugx86_64/ded/cvar.o
 * [DED] ../debugx86_64/ded/files.o
 * [DED] ../debugx86_64/ded/md4.o
 * [DED] ../debugx86_64/ded/net_chan.o
 * [DED] ../debugx86_64/ded/scripts.o
 * [DED] ../debugx86_64/ded/sv_ccmds.o
 * [DED] ../debugx86_64/ded/sv_game.o
 * [DED] ../debugx86_64/ded/sv_init.o
 * [DED] ../debugx86_64/ded/sv_main.o
 * [DED] ../debugx86_64/ded/sv_send.o
 * [DED] ../debugx86_64/ded/sv_user.o
 * [DED] ../debugx86_64/ded/sv_world.o
 * [DED] ../debugx86_64/ded/q_shared.o
 * [DED] ../debugx86_64/ded/cl_null.o
 * [DED] ../debugx86_64/ded/cd_null.o
 * [DED] ../debugx86_64/ded/q_shlinux.o
 * [DED] ../debugx86_64/ded/sys_linux.o
 * [DED] ../debugx86_64/ded/glob.o
 * [DED] ../debugx86_64/ded/net_udp.o
 * [DED] ...linking
 * [REF] ../debugx86_64/ref_gl/gl_anim.o
 * [REF] ../debugx86_64/ref_gl/gl_draw.o
 * [REF] ../debugx86_64/ref_gl/gl_font.o
 * [REF] ../debugx86_64/ref_gl/gl_image.o
 * [REF] ../debugx86_64/ref_gl/gl_light.o
 * [REF] ../debugx86_64/ref_gl/gl_mesh.o
 * [REF] ../debugx86_64/ref_gl/gl_model.o
 * [REF] ../debugx86_64/ref_gl/gl_rmain.o
 * [REF] ../debugx86_64/ref_gl/gl_rmisc.o
 * [REF] ../debugx86_64/ref_gl/gl_rsurf.o
 * [REF] ../debugx86_64/ref_gl/gl_warp.o
 * [REF] ../debugx86_64/ref_gl/gl_particle.o
 * [REF] ../debugx86_64/ref_gl/gl_arb_shader.o
 * [REF] ../debugx86_64/ref_gl/gl_shadows.o
 * [REF] ../debugx86_64/ref_gl/qgl_linux.o
 * [REF] ../debugx86_64/ref_gl/q_shared.o
 * [REF] ../debugx86_64/ref_gl/q_shlinux.o
 * [REF] ../debugx86_64/ref_gl/glob.o
 * [REF] ../debugx86_64/ref_gl/gl_glx.o
 * [GLX] ...linking
 * [REF] ../debugx86_64/ref_gl/gl_sdl.o
 * [SDL] ...linking
 * [MAP] ../debugx86_64/tools/ufo2map/ufo2map.o
 * [MAP] ../debugx86_64/tools/ufo2map/qrad3.o
 * [MAP] ../debugx86_64/tools/ufo2map/qbsp3.o
 * [MAP] ../debugx86_64/tools/ufo2map/brushbsp.o
 * [MAP] ../debugx86_64/tools/ufo2map/csg.o
 * [MAP] ../debugx86_64/tools/ufo2map/faces.o
 * [MAP] ../debugx86_64/tools/ufo2map/glfile.o
 * [MAP] ../debugx86_64/tools/ufo2map/levels.o
 * [MAP] ../debugx86_64/tools/ufo2map/lightmap.o
 * [MAP] ../debugx86_64/tools/ufo2map/map.o
 * [MAP] ../debugx86_64/tools/ufo2map/nodraw.o
 * [MAP] ../debugx86_64/tools/ufo2map/patches.o
 * [MAP] ../debugx86_64/tools/ufo2map/portals.o
 * [MAP] ../debugx86_64/tools/ufo2map/routing.o
 * [MAP] ../debugx86_64/tools/ufo2map/textures.o
 * [MAP] ../debugx86_64/tools/ufo2map/tree.o
 * [MAP] ../debugx86_64/tools/ufo2map/writebsp.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/bspfile.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/cmdlib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/l3dslib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/lbmlib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/mathlib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/polylib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/scriplib.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/threads.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/trace.o
 * [MAP] ../debugx86_64/tools/ufo2map/common/trilib.o
 * [MAP] ...linking

CFLAGS
-----------------------
-Wall -pipe -Dstricmp=strcasecmp -D_BSD_SOURCE -D_XOPEN_SOURCE -std=c89 -DC_ONLY -I/usr/include/SDL -D_REENTRANT -DUSE_SDL -DUSE_ALSA -DQ2_MMX_ENABLED -msse -DHAVE_VIDMODE -DHAVE_GETTEXT -g -O0 -D_FORTIFY_SOURCE=2 -DDEBUG -DPARANOID

LDFLAGS
-----------------------
-ldl -lm -lvorbisfile -lvorbis -lasound -L/usr/lib -lSDL -lpthread -lasound

Options
-----------------------
BUILD_SDLUFO = YES
BUILD_GLX = YES
BUILD_DEDICATED = YES
BUILD_ALSA = YES
BUILD_WITH_SHADER = NO
HAVE_IPV6 = NO
HAVE_GETTEXT = YES
BUILD_WITH_DGA = NO
BUILD_WITH_VIDMODE = YES
BUILD_WITH_MMX = YES
BUILD_FOR_PROFILING = NO
BUILD_COMPILETOOLS = YES
BUILD_PARANOID = YES

Note
-----------------------
This is the debug version.
For better performace type 'make release' to build optimzed binaries.
To debug this version type 'gdb ufo'
Enter 'run +set vid_fullscreen 0 +set vid_grabmouse 0'
After a crash type 'bt' to gdb console

Gettext
-----------------------
Type 'make lang' to compile the gettext translation files. Type 'make update-po' in src/po to update with newest strings

Maps
-----------------------
Type 'make' in base/maps to compile the maps

cp ../debugx86_64/ufoded ../ufoded
cp ../debugx86_64/ufo ../ufo
cp ../debugx86_64/ufo2map ../ufo2map
cp ../debugx86_64/ref_sdl.so ../ref_sdl.so
cp ../debugx86_64/ref_glx.so ../ref_glx.so
cp ../debugx86_64/game.so ../base/game.so
jagreen@ley:~/ufoai/trunk/src$                                                    


jagreen@ley:~/ufoai/trunk/src$ make lang
pofiles='/home/jagreen/ufoai/trunk/src/po/cs.po /home/jagreen/ufoai/trunk/src/po/da.po /home/jagreen/ufoai/trunk/src/po/de.po /home/jagreen/ufoai/trunk/src/po/en_GB.po /home/jagreen/ufoai/trunk/src/po/est.po /home/jagreen/ufoai/trunk/src/po/fr.po /home/jagreen/ufoai/trunk/src/po/it.po /home/jagreen/ufoai/trunk/src/po/pl.po /home/jagreen/ufoai/trunk/src/po/ru.po /home/jagreen/ufoai/trunk/src/po/slo.po'; \
        for po in $pofiles; do \
          po=`basename $po`; \
          dir=`echo $po | sed -e 's,\.po,,'`; \
          mkdir -p ../base/i18n/$dir/LC_MESSAGES; \
          msgfmt -v -o ../base/i18n/$dir/LC_MESSAGES/ufoai.mo po/$po; \
        done
407 mensajes traducidos, 86 traducciones difusas, 234 mensajes sin traducir.
27 mensajes traducidos, 60 traducciones difusas, 640 mensajes sin traducir.
638 mensajes traducidos, 65 traducciones difusas, 24 mensajes sin traducir.
727 mensajes traducidos.
593 mensajes traducidos, 61 traducciones difusas, 73 mensajes sin traducir.
500 mensajes traducidos, 114 traducciones difusas, 113 mensajes sin traducir.
67 mensajes traducidos, 125 traducciones difusas, 535 mensajes sin traducir.
14 mensajes traducidos, 3 traducciones difusas, 710 mensajes sin traducir.
532 mensajes traducidos, 50 traducciones difusas, 145 mensajes sin traducir.
697 mensajes traducidos.
jagreen@ley:~/ufoai/trunk/src$ cd ..

jagreen@ley:~/ufoai/trunk$ cd base/maps
jagreen@ley:~/ufoai/trunk/base/maps$ PATH=$PATH:/home/jagreen/ufoai/trunk/debugx86_64
jagreen@ley:~/ufoai/trunk/base/maps$ make
jagreen@ley:~/ufoai/trunk/base/maps$ cd ../..

For start the game i typed:

./ufo +set vid_ref glx

Or:

./ufo +set vid_ref sdl

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Problems with game
« Reply #1 on: July 09, 2006, 12:05:26 am »
Strange... How long did the map compilation take (there is no log of it in your post)? Does normal quake2 or X-mas release of UFO:AI work for you? Any OpenGL game? glxgears? output of glxinfo  ?

When the game hangs, can you switch to console (usually Alt-F1)? Is it possible that you graphics card overheats? Can you chech it's temperature (for mine I can, with nvidia-settings)?

Good luck!

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problems with game
« Reply #2 on: July 09, 2006, 05:25:01 pm »
please also have a look at the debugging article in our wiki and post a backtrace please.

jagreen

  • Guest
Problems with game
« Reply #3 on: July 10, 2006, 02:30:02 am »
I dont know how much time the compilation of maps take because i went to sleep while compiling ^_^

I cant switch to console with Alt+F1 neither with Ctrl+Alt+F1, all is frezee and i have to reboot =//

The output of glxinfo

jagreen@ley:/var/log$ glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 20041207 AGP 1x TCL
OpenGL version string: 1.3 Mesa 6.4.1
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 Slow
jagreen@ley:/var/log$

Probably here is the problem >_<

I dont have another OpenGL game to test it.

The glxgears, run well but a warning occurs:

jagreen@ley:/var/log$ glxgears
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
jagreen@ley:/var/log$

I dont know how to check the temperature of the Graphic  Card, whats nvidia-settings, a program, a script?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problems with game
« Reply #4 on: July 10, 2006, 07:41:04 am »
start with
Code: [Select]
./ufoai +set vid_fullscreen 0 +set vid_grabmouse 0
^^and then you can get back to gdb to post a backtrace

jagreen

  • Guest
Problems with game
« Reply #5 on: July 10, 2006, 02:53:39 pm »
I tried to execute the application in that way, the application run in windowed mode and that is the code that appears in the console.

Still the game freeze in  the same way, anyways.

jagreen@ley:~/ufoai/trunk$ ./ufo +set vid_fullscreen 0 +set vid_grabmouse 0
Adding game dir: ./base
using /home/jagreen/.ufoai/base for writing
Adding game dir: /home/jagreen/.ufoai/base
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Using Alsa
sound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
GL_VENDOR: Tungsten Graphics, Inc.
GL_RENDERER: Mesa DRI R200 20041207 AGP 1x TCL
GL_VERSION: 1.3 Mesa 6.4.1
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
...enabling GL_EXT_compiled_vertex_array
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...using GL_EXT_texture_env_combine
...GL_SGIS_multitexture not found
...ignoring GL_ARB_texture_compression
...using GL_EXT_texture_filter_anisotropic [16 max] [ 1 selected]
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...GL_ATI_separate_stencil not found
...max texture size:
......detected 2048
...SDL_ttf inited
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
couldn't exec autoexec.cfg
...using language: es_ES.UTF-8
Shared Client/Server Info loaded
Couldn't open 'music/theme.ogg'
...precaching 45 menus
Can't find pics/
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
====== UFO Initialized ======

Changing to Singleplayer

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problems with game
« Reply #6 on: July 10, 2006, 04:01:48 pm »
yes, but what we really need is a backtrace. see http://ufo.myexp.de/wiki/index.php/Debugging for more infos

jagreen

  • Guest
Problems with game
« Reply #7 on: July 10, 2006, 07:13:49 pm »
The problem is that i can't make a backtrace =/

I installed gdb properly

sudo apt-get install gdb

I go to the directory of ufo application

cd /home/jagreen/ufoai/trunk

I run the gdb command:

gdb ufo

And in the gdm console i typed

run +set vid_fullscreen 0 +set vid_grabmouse 0 +set developer 1

But the game crash randomly and i cant toggle via Alt + Tab or Alt + F1, all the Operative Sistem become freezed and i have to restart my machine. =/

The result of the command

gdb ufo

is this:

GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run +set vid_fullscreen 0 +set vid_grabmouse 0 +set developer 1
Starting program: /home/jagreen/ufoai/trunk/ufo +set vid_fullscreen 0 +set vid_grabmouse 0 +set developer 1
[Thread debugging using libthread_db enabled]
[New Thread 46912514634240 (LWP 5062)]
Adding game dir: ./base
using /home/jagreen/.ufoai/base for writing
Adding game dir: /home/jagreen/.ufoai/base
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Using Alsa
sound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
FindFile: ./base/pics/colormap.pcx
Initializing OpenGL display
...setting mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
GL_VENDOR: Tungsten Graphics, Inc.
GL_RENDERER: Mesa DRI R200 20041207 AGP 1x TCL
GL_VERSION: 1.3 Mesa 6.4.1
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
...enabling GL_EXT_compiled_vertex_array
...GL_EXT_point_parameters not found
...using GL_ARB_multitexture
...using GL_EXT_texture_env_combine
...GL_SGIS_multitexture not found
...ignoring GL_ARB_texture_compression
...using GL_EXT_texture_filter_anisotropic [16 max] [ 1 selected]
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...GL_ATI_separate_stencil not found
...max texture size:
......detected 2048
FindFile: ./base/pics/colormap.pcx
FindFile: ./base/pics/sfx/shadow.tga
FindFile: ./base/pics/sfx/shadow.tga
FindFile: ./base/pics/conchars.pcx
FindFile: ./base/pics/conchars.pcx
...SDL_ttf inited
------------------------------------
FindFile: ./base/pics/wait.tga
FindFile: ./base/pics/wait.tga
FindFile: ./base/pics/ducked.tga
FindFile: ./base/pics/ducked.tga
FindFile: ./base/pics/cursor1.tga
FindFile: ./base/pics/cursor1.tga
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
Reset basemanagement
FindFile: can't find autoexec.cfg
couldn't exec autoexec.cfg
...using mo files from /home/jagreen/ufoai/trunk/base/i18n/
...using language: es_ES.UTF-8
FindFile: ./base/ufos/menu_singleplayer.ufo
FindFile: ./base/ufos/ptl_weaponsfx.ufo
FindFile: ./base/ufos/fonts.ufo
FindFile: ./base/ufos/inventory.ufo
FindFile: ./base/ufos/weapons_ugv.ufo
FindFile: ./base/ufos/weapons_tachyon.ufo
FindFile: ./base/ufos/menu_campaign.ufo
FindFile: ./base/ufos/seq_intro.ufo
FindFile: ./base/ufos/seq_modelview.ufo
FindFile: ./base/ufos/events.ufo
FindFile: ./base/ufos/medals.ufo
FindFile: ./base/ufos/menu_althud.ufo
FindFile: ./base/ufos/seq_credits.ufo
FindFile: ./base/ufos/menu_transfer.ufo
FindFile: ./base/ufos/weapons_plasma.ufo
FindFile: ./base/ufos/menu_tutorials.ufo
FindFile: ./base/ufos/menu_team.ufo
FindFile: ./base/ufos/ptl_misc.ufo
FindFile: ./base/ufos/weapons.ufo
FindFile: ./base/ufos/menu_ufopedia.ufo
FindFile: ./base/ufos/menu_bases.ufo
FindFile: ./base/ufos/models.ufo
FindFile: ./base/ufos/team_civilians.ufo
FindFile: ./base/ufos/menu_lostwon.ufo
FindFile: ./base/ufos/shaders.ufo
FindFile: ./base/ufos/menu_multiplayer.ufo
FindFile: ./base/ufos/research.ufo
FindFile: ./base/ufos/seq_tutorials.ufo
FindFile: ./base/ufos/menu_nohud.ufo
FindFile: ./base/ufos/team_humans.ufo
FindFile: ./base/ufos/weapons_laser.ufo
FindFile: ./base/ufos/menu_buildings.ufo
FindFile: ./base/ufos/menu_hud.ufo
FindFile: ./base/ufos/weapons_human.ufo
FindFile: ./base/ufos/basemanagement.ufo
FindFile: ./base/ufos/equipment.ufo
FindFile: ./base/ufos/menu_main.ufo
FindFile: ./base/ufos/seq_ingame.ufo
FindFile: ./base/ufos/menu_geoscape.ufo
FindFile: ./base/ufos/nations.ufo
FindFile: ./base/ufos/menu_options.ufo
FindFile: ./base/ufos/campaign.ufo
FindFile: ./base/ufos/menu_research.ufo
FindFile: ./base/ufos/armor.ufo
FindFile: ./base/ufos/team_aliens.ufo
FindFile: ./base/ufos/menu_stats.ufo
FindFile: ./base/ufos/menu_buy.ufo
FindFile: ./base/ufos/menu_singleplayer.ufo
Nodes:   16 Menu data: 1127
Nodes:   32 Menu data: 2285
Nodes:   58 Menu data: 3353
Nodes:   92 Menu data: 5437
Nodes:   98 Menu data: 5527
FindFile: ./base/ufos/ptl_weaponsfx.ufo
FindFile: ./base/ufos/fonts.ufo
...found font f_small (0)
FindFile: ./base/media/DejaVuSans.ttf
FindFile: ./base/media/DejaVuSans.ttf
...found font f_big (1)
FindFile: ./base/media/DejaVuSans.ttf
FindFile: ./base/media/DejaVuSans.ttf
...found font f_menu (2)
FindFile: ./base/media/FreeSans.ttf
FindFile: ./base/media/FreeSans.ttf
...found font f_menubig (3)
FindFile: ./base/media/FreeSans.ttf
FindFile: ./base/media/FreeSans.ttf
...found font f_menusmall (4)
FindFile: ./base/media/FreeSans.ttf
FindFile: ./base/media/FreeSans.ttf
FindFile: ./base/ufos/inventory.ufo
FindFile: ./base/ufos/weapons_ugv.ufo
FindFile: ./base/ufos/weapons_tachyon.ufo
FindFile: ./base/ufos/menu_campaign.ufo
Nodes:  112 Menu data: 6079
FindFile: ./base/ufos/seq_intro.ufo
FindFile: ./base/ufos/seq_modelview.ufo
FindFile: ./base/ufos/events.ufo
FindFile: ./base/ufos/medals.ufo
FindFile: ./base/ufos/menu_althud.ufo
Nodes:  224 Menu data: 12012
FindFile: ./base/ufos/seq_credits.ufo
FindFile: ./base/ufos/menu_transfer.ufo
Nodes:  225 Menu data: 12012
FindFile: ./base/ufos/weapons_plasma.ufo
FindFile: ./base/ufos/menu_tutorials.ufo
Nodes:  235 Menu data: 12294
FindFile: ./base/ufos/menu_team.ufo
Nodes:  429 Menu data: 18595
Nodes:  553 Menu data: 23696
FindFile: ./base/ufos/ptl_misc.ufo
FindFile: ./base/ufos/weapons.ufo
FindFile: ./base/ufos/menu_ufopedia.ufo
Nodes:  572 Menu data: 24188
FindFile: ./base/ufos/menu_bases.ufo
Nodes:  596 Menu data: 25817
Nodes:  620 Menu data: 27278
FindFile: ./base/ufos/models.ufo
Found menu model alien_ortnok_head (0)
Found menu model alien_ortnok (1)
Found menu model alien_ortnok_medium_head (2)
Found menu model alien_ortnok_medium (3)
Found menu model alien_ortnok_light_head (4)
Found menu model alien_ortnok_light (5)
Found menu model alien_antarean_head (6)
Found menu model alien_antarean (7)
Found menu model alien_shevaar_head (8)
Found menu model alien_shevaar (9)
Found menu model alien_hovernet_head (10)
Found menu model alien_hovernet (11)
Found menu model alien_cyborg_ortnok_head (12)
Found menu model alien_cyborg_ortnok (13)
Found menu model civ_female_head (14)
Found menu model civ_female (15)
Found menu model dropship_glass (16)
Found menu model dropship_top (17)
Found menu model dropship (18)
Found menu model interceptor_glass (19)
Found menu model interceptor_top (20)
Found menu model interceptor (21)
Found menu model ufo1_upper (22)
Found menu model ufo1_engines_2 (23)
Found menu model ufo1_engines_1 (24)
Found menu model ufo1_hull (25)
Found menu model ufo1_wings (26)
Found menu model ufo1 (27)
Found menu model ufobig_body (28)
Found menu model ufobig_engine_left (29)
Found menu model ufobig_engine_right (30)
Found menu model ufobig_wing_left (31)
Found menu model ufobig_wing_right (32)
Found menu model ufobig (33)
Found menu model ufo_crash_wing_2 (34)
Found menu model ufo_crash_wing_1 (35)
Found menu model ufo_crash_hull_engine (36)
Found menu model ufo_crash_engine (37)
Found menu model ufo_crash (38)
FindFile: ./base/ufos/team_civilians.ufo
FindFile: ./base/ufos/menu_lostwon.ufo
Nodes:  630 Menu data: 27473
Nodes:  640 Menu data: 27672
FindFile: ./base/ufos/shaders.ufo
FindFile: ./base/ufos/menu_multiplayer.ufo
Nodes:  654 Menu data: 28660
Nodes:  697 Menu data: 30903
Nodes:  713 Menu data: 31727
Nodes:  725 Menu data: 32347
Nodes:  742 Menu data: 33183
Nodes:  801 Menu data: 36150
FindFile: ./base/ufos/research.ufo
FindFile: ./base/ufos/seq_tutorials.ufo
FindFile: ./base/ufos/menu_nohud.ufo
Nodes:  819 Menu data: 36525
FindFile: ./base/ufos/team_humans.ufo
FindFile: ./base/ufos/weapons_laser.ufo
FindFile: ./base/ufos/menu_buildings.ufo
Nodes:  834 Menu data: 36812
FindFile: ./base/ufos/menu_hud.ufo
Nodes:  968 Menu data: 40164
Nodes:  987 Menu data: 40393
Nodes: 1034 Menu data: 41174
FindFile: ./base/ufos/weapons_human.ufo
FindFile: ./base/ufos/basemanagement.ufo
...found aircraft craft_dropship
...found aircraft craft_interceptor
...found aircraft craft_ufo_small
...found aircraft craft_ufo_big
Set size for aircraft to the max value of 8
FindFile: ./base/ufos/equipment.ufo
FindFile: ./base/ufos/menu_main.ufo
Nodes: 1053 Menu data: 42662
Nodes: 1056 Menu data: 42679
FindFile: ./base/ufos/seq_ingame.ufo
FindFile: ./base/ufos/menu_geoscape.ufo
Nodes: 1079 Menu data: 44318
Nodes: 1081 Menu data: 44329
Nodes: 1092 Menu data: 45064
Nodes: 1104 Menu data: 45586
Nodes: 1114 Menu data: 45875
Nodes: 1123 Menu data: 46523
Nodes: 1131 Menu data: 46799
Nodes: 1136 Menu data: 46827
FindFile: ./base/ufos/nations.ufo
FindFile: ./base/ufos/menu_options.ufo
Nodes: 1150 Menu data: 47812
Nodes: 1183 Menu data: 49798
Nodes: 1200 Menu data: 50311
Nodes: 1227 Menu data: 51488
FindFile: ./base/ufos/campaign.ufo
FindFile: ./base/ufos/menu_research.ufo
Nodes: 1560 Menu data: 70370
FindFile: ./base/ufos/armor.ufo
FindFile: ./base/ufos/team_aliens.ufo
FindFile: ./base/ufos/menu_stats.ufo
Nodes: 1569 Menu data: 70491
FindFile: ./base/ufos/menu_buy.ufo
Nodes: 1793 Menu data: 77712
Nodes: 1867 Menu data: 79560
FindFile: ./base/ufos/menu_singleplayer.ufo
FindFile: ./base/ufos/ptl_weaponsfx.ufo
FindFile: ./base/ufos/fonts.ufo
FindFile: ./base/ufos/inventory.ufo
FindFile: ./base/ufos/weapons_ugv.ufo
FindFile: ./base/ufos/weapons_tachyon.ufo
FindFile: ./base/ufos/menu_campaign.ufo
FindFile: ./base/ufos/seq_intro.ufo
FindFile: ./base/ufos/seq_modelview.ufo
FindFile: ./base/ufos/events.ufo
FindFile: ./base/ufos/medals.ufo
FindFile: ./base/ufos/menu_althud.ufo
FindFile: ./base/ufos/seq_credits.ufo
FindFile: ./base/ufos/menu_transfer.ufo
FindFile: ./base/ufos/weapons_plasma.ufo
FindFile: ./base/ufos/menu_tutorials.ufo
FindFile: ./base/ufos/menu_team.ufo
FindFile: ./base/ufos/ptl_misc.ufo
FindFile: ./base/ufos/weapons.ufo
FindFile: ./base/ufos/menu_ufopedia.ufo
FindFile: ./base/ufos/menu_bases.ufo
FindFile: ./base/ufos/models.ufo
FindFile: ./base/ufos/team_civilians.ufo
FindFile: ./base/ufos/menu_lostwon.ufo
FindFile: ./base/ufos/shaders.ufo
FindFile: ./base/ufos/menu_multiplayer.ufo
FindFile: ./base/ufos/research.ufo
FindFile: ./base/ufos/seq_tutorials.ufo
FindFile: ./base/ufos/menu_nohud.ufo
FindFile: ./base/ufos/team_humans.ufo
FindFile: ./base/ufos/weapons_laser.ufo
FindFile: ./base/ufos/menu_buildings.ufo
FindFile: ./base/ufos/menu_hud.ufo
FindFile: ./base/ufos/weapons_human.ufo
FindFile: ./base/ufos/basemanagement.ufo
FindFile: ./base/ufos/equipment.ufo
FindFile: ./base/ufos/menu_main.ufo
FindFile: ./base/ufos/seq_ingame.ufo
FindFile: ./base/ufos/menu_geoscape.ufo
FindFile: ./base/ufos/nations.ufo
FindFile: ./base/ufos/menu_options.ufo
FindFile: ./base/ufos/campaign.ufo
FindFile: ./base/ufos/menu_research.ufo
FindFile: ./base/ufos/armor.ufo
FindFile: ./base/ufos/team_aliens.ufo
FindFile: ./base/ufos/menu_stats.ufo
FindFile: ./base/ufos/menu_buy.ufo
Shared Client/Server Info loaded
FindFile: can't find music/theme.ogg
Couldn't open 'music/theme.ogg'
...precaching 45 menus
FindFile: ./base/pics/menu/main_ul.jpg
FindFile: ./base/pics/menu/main_ul.jpg
FindFile: ./base/pics/menu/main_ur.jpg
FindFile: ./base/pics/menu/main_ur.jpg
FindFile: ./base/pics/menu/main_ll.jpg
FindFile: ./base/pics/menu/main_ll.jpg
FindFile: ./base/pics/menu/main_lr.jpg
FindFile: ./base/pics/menu/main_lr.jpg
FindFile: ./base/pics/menu/button_big.tga
FindFile: ./base/pics/menu/button_big.tga
FindFile: ./base/pics/menu/save_slot.tga
FindFile: ./base/pics/menu/save_slot.tga
FindFile: ./base/pics/menu/enddemo_ul.jpg
FindFile: ./base/pics/menu/enddemo_ul.jpg
FindFile: ./base/pics/menu/enddemo_ur.jpg
FindFile: ./base/pics/menu/enddemo_ur.jpg
FindFile: ./base/pics/menu/enddemo_ll.jpg
FindFile: ./base/pics/menu/enddemo_ll.jpg
FindFile: ./base/pics/menu/enddemo_lr.jpg
FindFile: ./base/pics/menu/enddemo_lr.jpg
FindFile: ./base/pics/menu/options_ul.jpg
FindFile: ./base/pics/menu/options_ul.jpg
FindFile: ./base/pics/menu/options_ur.jpg
FindFile: ./base/pics/menu/options_ur.jpg
FindFile: ./base/pics/menu/options_ll.jpg
FindFile: ./base/pics/menu/options_ll.jpg
FindFile: ./base/pics/menu/options_lr.jpg
FindFile: ./base/pics/menu/options_lr.jpg
FindFile: ./base/pics/althud/bar_top.tga
FindFile: ./base/pics/althud/bar_top.tga
FindFile: ./base/pics/althud/bar_right.tga
FindFile: ./base/pics/althud/bar_right.tga
FindFile: ./base/pics/althud/bar_floor.tga
FindFile: ./base/pics/althud/bar_floor.tga
FindFile: ./base/pics/althud/bar_teamright.tga
FindFile: ./base/pics/althud/bar_teamright.tga
FindFile: ./base/pics/althud/bar_teambox.tga
FindFile: ./base/pics/althud/bar_teambox.tga
FindFile: ./base/pics/althud/bar_teamsep.tga
FindFile: ./base/pics/althud/bar_teamsep.tga
FindFile: ./base/pics/althud/bar_teamleft.tga
FindFile: ./base/pics/althud/bar_teamleft.tga
FindFile: ./base/pics/althud/bar_selbox.tga
FindFile: ./base/pics/althud/bar_selbox.tga
FindFile: ./base/pics/althud/buttons_althud1.tga
FindFile: ./base/pics/althud/buttons_althud1.tga
FindFile: ./base/pics/althud/buttons_althud1g.tga
FindFile: ./base/pics/althud/buttons_althud1g.tga
FindFile: ./base/pics/menu/buttons_small.tga
FindFile: ./base/pics/menu/buttons_small.tga
FindFile: ./base/pics/menu/team_ul.tga
FindFile: ./base/pics/menu/team_ul.tga
FindFile: ./base/pics/menu/team_ur.tga
FindFile: ./base/pics/menu/team_ur.tga
FindFile: ./base/pics/menu/team_ll.tga
FindFile: ./base/pics/menu/team_ll.tga
FindFile: ./base/pics/menu/team_lr.tga
FindFile: ./base/pics/menu/team_lr.tga
FindFile: ./base/pics/menu/button_blue.tga
FindFile: ./base/pics/menu/button_blue.tga
Can't find pics/
FindFile: ./base/pics/menu/bar_rahmen.tga
FindFile: ./base/pics/menu/bar_rahmen.tga
FindFile: ./base/pics/hud/buttons2.tga
FindFile: ./base/pics/hud/buttons2.tga
FindFile: ./base/pics/menu/equipment_ul.tga
FindFile: ./base/pics/menu/equipment_ul.tga
FindFile: ./base/pics/menu/equipment_ur.tga
FindFile: ./base/pics/menu/equipment_ur.tga
FindFile: ./base/pics/menu/equipment_ll.tga
FindFile: ./base/pics/menu/equipment_ll.tga
FindFile: ./base/pics/menu/equipment_lr.tga
FindFile: ./base/pics/menu/equipment_lr.tga
FindFile: ./base/pics/menu/ufopedia_ul.jpg
FindFile: ./base/pics/menu/ufopedia_ul.jpg
FindFile: ./base/pics/menu/ufopedia_ur.jpg
FindFile: ./base/pics/menu/ufopedia_ur.jpg
FindFile: ./base/pics/menu/ufopedia_ll.jpg
FindFile: ./base/pics/menu/ufopedia_ll.jpg
FindFile: ./base/pics/menu/ufopedia_lr.jpg
FindFile: ./base/pics/menu/ufopedia_lr.jpg
FindFile: ./base/pics/menu/ufopedia_buttons1.tga
FindFile: ./base/pics/menu/ufopedia_buttons1.tga
FindFile: ./base/pics/menu/base_ul.tga
FindFile: ./base/pics/menu/base_ul.tga
FindFile: ./base/pics/menu/base_ur.tga
FindFile: ./base/pics/menu/base_ur.tga
FindFile: ./base/pics/menu/base_lr.tga
FindFile: ./base/pics/menu/base_lr.tga
FindFile: ./base/pics/menu/button_mapmen_options2.tga
FindFile: ./base/pics/menu/button_mapmen_options2.tga
FindFile: ./base/pics/menu/button.tga
FindFile: ./base/pics/menu/button.tga
FindFile: ./base/pics/menu/air_ul.tga
FindFile: ./base/pics/menu/air_ul.tga
FindFile: ./base/pics/menu/air_ur.tga
FindFile: ./base/pics/menu/air_ur.tga
FindFile: ./base/pics/menu/air_ll.tga
FindFile: ./base/pics/menu/air_ll.tga
FindFile: ./base/pics/menu/air_lr.tga
FindFile: ./base/pics/menu/air_lr.tga
FindFile: ./base/pics/menu/won_ul.jpg
FindFile: ./base/pics/menu/won_ul.jpg
FindFile: ./base/pics/menu/won_ur.jpg
FindFile: ./base/pics/menu/won_ur.jpg
FindFile: ./base/pics/menu/won_ll.jpg
FindFile: ./base/pics/menu/won_ll.jpg
FindFile: ./base/pics/menu/won_lr.jpg
FindFile: ./base/pics/menu/won_lr.jpg
FindFile: ./base/pics/menu/button_aftermission.tga
FindFile: ./base/pics/menu/button_aftermission.tga
FindFile: ./base/pics/menu/lost_ul.jpg
FindFile: ./base/pics/menu/lost_ul.jpg
FindFile: ./base/pics/menu/lost_ur.jpg
FindFile: ./base/pics/menu/lost_ur.jpg
FindFile: ./base/pics/menu/lost_ll.jpg
FindFile: ./base/pics/menu/lost_ll.jpg
FindFile: ./base/pics/menu/lost_lr.jpg
FindFile: ./base/pics/menu/lost_lr.jpg
FindFile: ./base/pics/menu/multi_buttons2.tga
FindFile: ./base/pics/menu/multi_buttons2.tga
FindFile: ./base/pics/menu/multi_buttons3a.tga
FindFile: ./base/pics/menu/multi_buttons3a.tga
FindFile: ./base/pics/menu/multi_buttons3.tga
FindFile: ./base/pics/menu/multi_buttons3.tga
FindFile: ./base/pics/menu/buildings_ll.tga
FindFile: ./base/pics/menu/buildings_ll.tga
FindFile: ./base/pics/menu/buildings_lr.tga
FindFile: ./base/pics/menu/buildings_lr.tga
FindFile: ./base/pics/hud/bar_floor.tga
FindFile: ./base/pics/hud/bar_floor.tga
FindFile: ./base/pics/hud/bar_head.tga
FindFile: ./base/pics/hud/bar_head.tga
FindFile: ./base/pics/hud/bar_name.tga
FindFile: ./base/pics/hud/bar_name.tga
FindFile: ./base/pics/hud/bar_teammember.tga
FindFile: ./base/pics/hud/bar_teammember.tga
FindFile: ./base/pics/hud/bar_nextround.tga
FindFile: ./base/pics/hud/bar_nextround.tga
FindFile: ./base/pics/hud/bar_leftweapon.tga
FindFile: ./base/pics/hud/bar_leftweapon.tga
FindFile: ./base/pics/hud/bar_rightweapon.tga
FindFile: ./base/pics/hud/bar_rightweapon.tga
FindFile: ./base/pics/hud/bar_infoscreen.tga
FindFile: ./base/pics/hud/bar_infoscreen.tga
FindFile: ./base/pics/hud/bar_popup.tga
FindFile: ./base/pics/hud/bar_popup.tga
FindFile: ./base/pics/hud/bar_game.tga
FindFile: ./base/pics/hud/bar_game.tga
FindFile: ./base/pics/hud/buttons1.tga
FindFile: ./base/pics/hud/buttons1.tga
FindFile: ./base/pics/hud/bar_inventory.tga
FindFile: ./base/pics/hud/bar_inventory.tga
FindFile: ./base/pics/hud/bar_phys.tga
FindFile: ./base/pics/hud/bar_phys.tga
FindFile: ./base/pics/hud/phys_ekg_noclamp.tga
FindFile: ./base/pics/hud/phys_ekg_noclamp.tga
FindFile: ./base/pics/hud/phys_mor_noclamp.tga
FindFile: ./base/pics/hud/phys_mor_noclamp.tga
FindFile: ./base/pics/menu/map_ul.tga
FindFile: ./base/pics/menu/map_ul.tga
FindFile: ./base/pics/menu/map_ur.tga
FindFile: ./base/pics/menu/map_ur.tga
FindFile: ./base/pics/menu/map_ll.tga
FindFile: ./base/pics/menu/map_ll.tga
FindFile: ./base/pics/menu/buttons_time.tga
FindFile: ./base/pics/menu/buttons_time.tga
FindFile: ./base/pics/menu/b_geobuttons.tga
FindFile: ./base/pics/menu/b_geobuttons.tga
FindFile: ./base/pics/menu/event_log.tga
FindFile: ./base/pics/menu/event_log.tga
FindFile: ./base/pics/menu/popup.tga
FindFile: ./base/pics/menu/popup.tga
FindFile: ./base/pics/hud/close.tga
FindFile: ./base/pics/hud/close.tga
FindFile: ./base/pics/menu/research_ul.jpg
FindFile: ./base/pics/menu/research_ul.jpg
FindFile: ./base/pics/menu/research_ur.jpg
FindFile: ./base/pics/menu/research_ur.jpg
FindFile: ./base/pics/menu/research_ll.jpg
FindFile: ./base/pics/menu/research_ll.jpg
FindFile: ./base/pics/menu/research_lr.jpg
FindFile: ./base/pics/menu/research_lr.jpg
FindFile: ./base/pics/menu/button_research.tga
FindFile: ./base/pics/menu/button_research.tga
FindFile: ./base/pics/menu/buy_ul.jpg
FindFile: ./base/pics/menu/buy_ul.jpg
FindFile: ./base/pics/menu/buy_ur.jpg
FindFile: ./base/pics/menu/buy_ur.jpg
FindFile: ./base/pics/menu/buy_ll.jpg
FindFile: ./base/pics/menu/buy_ll.jpg
FindFile: ./base/pics/menu/buy_lr.jpg
FindFile: ./base/pics/menu/buy_lr.jpg
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
====== UFO Initialized ======

Changing to Singleplayer

jagreen

  • Guest
Problems with game
« Reply #8 on: July 10, 2006, 07:18:26 pm »
Those random crashes, sounds really bad. Probably can be that the Graphics card overheats, like you said before?

Thx for the help anyway =)

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Problems with game
« Reply #9 on: July 10, 2006, 07:31:09 pm »
Or processor overheats. Linux is quite robust, so not many games can crash it, even with aliens inside. :) The nvidia-settings utility only works for  Nvidia cards. But processor temp can be measured with lm-sensors (takes some times to configure them, though) or via BIOS screen. You can also apt-get cpuburn and try that, but make sure to be near in case you see any smoke. :> I'm serious.

Did you try the x-mas release (download it from Sourceforge)? It should hang your computer just as well as current SVN, but crash to shell less often, so you will see if this is a hardware problem.

Cheers! :)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problems with game
« Reply #10 on: July 10, 2006, 07:41:41 pm »
:-)
you still did not send a backtrace - if the game is in an endless loop or something like that switch via alt+tab to gdb console hit ctrl+c and type bt (backtrace)

On a "normal" crash just hit alt+tab and type bt to gdb console

In order to find the reason for the crash i need this backtrace.

best regards
martin

jagreen

  • Guest
Problems with game
« Reply #11 on: July 10, 2006, 07:42:58 pm »
The window of nvidia-settings open but that message appear in the console:

jagreen@ley:~/ufoai/trunk$ sudo apt-get install nvidia-settings
Password:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Paquetes recomendados
  nvidia-glx
Se instalarán los siguientes paquetes NUEVOS:
  nvidia-settings
0 actualizados, 1 se instalarán, 0 para eliminar y 59 no actualizados.
Necesito descargar 514kB de archivos.
Se utilizarán 1057kB de espacio de disco adicional después de desempaquetar.
Des:1 http://es.archive.ubuntu.com dapper/restricted nvidia-settings 1.0-3ubuntu7 [514kB]
Descargados 514kB en 17s (29,0kB/s)
Seleccionando el paquete nvidia-settings previamente no seleccionado.
(Leyendo la base de datos ...
77788 ficheros y directorios instalados actualmente.)
Desempaquetando nvidia-settings (de .../nvidia-settings_1.0-3ubuntu7_amd64.deb) ...
Configurando nvidia-settings (1.0-3ubuntu7) ...

jagreen@ley:~/ufoai/trunk$ nvidia-settings

ERROR: NV-CONTROL extension not found on this Display.

X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

jagreen

  • Guest
Problems with game
« Reply #12 on: July 10, 2006, 07:45:00 pm »
I cant switch to gdb console with alt + tab =/

jagreen

  • Guest
Problems with game
« Reply #13 on: July 10, 2006, 08:07:12 pm »
This info is from the bios. I dont know exactly if that temperature is correct i have to check it, but probably yes.

In the other hand the nvidia-settings dont give me information about the temperature. Probably dont worked correctly as i told before.


Type: AMD Athlon (tm) 64 Processor 3000+
Speed: 2000Mhz
CPU Temperature: 49ºC/120ºF
MB Temperature: 40ºC/104ºF
CPU Fan Speed: 4720 RPM
Chassis Fan Speed 1318 RPM

Hehehe, has appeared a a word inside my alien avatar, now looks better ^_^

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Problems with game
« Reply #14 on: July 10, 2006, 09:33:48 pm »
Mattn, be sensible (and please, answer my pm :)  ), his whole computer hangs, so how can he operate gdb?

Quote from: "jagreen"
In the other hand the nvidia-settings dont give me information about the temperature. Probably dont worked correctly as i told before.


No wonder --- you have an ATI, not NVidia card.

Quote
Type: AMD Athlon (tm) 64 Processor 3000+
Speed: 2000Mhz
CPU Temperature: 49ºC/120ºF


Is it hot now where you live? I don't have Athlon 64, so I'm not sure, but my Athlon XP hangs around 50 C. So this may be the cause. Considering that this is an idle BIOS temperature, you can easily have 60 C on your sensor (and much more inside the core) when you run UFO:AI. Try cpuburn (if you dare --- just unplug computer immediately when it hangs).