General > Discussion

Problems with game

(1/4) > >>

jagreen:
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

Bandobras:
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!

Mattn:
please also have a look at the debugging article in our wiki and post a backtrace please.

jagreen:
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?

Mattn:
start with

--- Code: ---./ufoai +set vid_fullscreen 0 +set vid_grabmouse 0
--- End code ---

^^and then you can get back to gdb to post a backtrace

Navigation

[0] Message Index

[#] Next page

Go to full version