project-navigation
Personal tools

Author Topic: only 2 fps under linux  (Read 2737 times)

janno

  • Guest
only 2 fps under linux
« on: November 17, 2006, 09:16:18 pm »
Revision 4768 under Ubuntu 6.10 Intel P4 3GHz, Intel845G, 1Gb mem  and I'm getting only ~2 fps. I have tried both sdl and glx. Q3 and GoogleEarth are fast enough. Any ideas?

Code: [Select]

 ./ufo
Adding game dir: ./base
using /home/janno/.ufoai/base for writing
Adding game dir: /home/janno/.ufoai/base
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Loading snd_sdl sound driver
...library search path: '.'
Soundsystem: SDL.
SDL version: 1.2.10
SDL audio driver is "alsa".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
sound sampling rate: 48000
No OpenAL support compiled into this binary
------- Loading ref_glx.so -------
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting fullscreen mode 6: 1024 768
...using XFree86-VidModeExtension Version 2.2
libGL warning: 3D driver claims to not support visual 0x5b
I: got 8 bits of stencil
I: got 8 bits of red
I: got 8 bits of blue
I: got 8 bits of green
I: got 24 bits of depth
I: got 8 bits of alpha
...using hardware gamma
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 945G 20050225
GL_VERSION: 1.3 Mesa 6.5.1
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow 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_vertex_program 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_cull_vertex 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_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs 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_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate 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_NV_vertex_program GL_NV_vertex_program1_1 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 GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
...enabling GL_EXT_compiled_vertex_array
...using GL_EXT_point_parameters
...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 [ 2 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 version 2.0.8 - we need at least 2.0.7
...SDL_ttf inited
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.1-dev2 i386 Nov 17 2006 Linux"
...using language: en_AU.UTF-8
...svn revision: unknown
Shared Client/Server Info loaded
...precaching 59 menus
Can't find pics/
====== UFO Initialized ======

CL_ParseResearchedCampaignItems: unknown token "news_initial_political_situation" ignored (tech rslist_human)
CL_ParseResearchedCampaignItems: unknown token "news_phalanx_and_mumbai_aftermath" ignored (tech rslist_human)
Global data loaded - size 5736724 bytes
Activate stage intro
...aircraft inited
Changing to Singleplayer
------- Loading game.so -------
LoadLibrary failed (/home/janno/projects/ufoai//home/janno/.ufoai/base/game.so)
/home/janno/projects/ufoai//home/janno/.ufoai/base/game.so: cannot open shared object file: No such file or directory
LoadLibrary (/home/janno/projects/ufoai/./base/game.so)
==== InitGame ====
------- Server Initialization -------
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
0.0.0.0:0: client_connect
farm08d
FindFile: can't find sound/weapons/shotgunmicro.wav
Map: farm08d
pics                                
Can't find models/weapons/pistol2/pistol2
Can't find models/weapons/pistol2/pistol2_clip
images
You are already on team 1            
Unnamed has taken control over team 1.
(player 0) It's team 1's round
Team 1 ended round, team 7's round started!
G_ActorDie: kill actor on team 0
G_ActorDie: kill actor on team 0
G_ActorDie: kill actor on team 0
Team 7 ended round, team 1's round started!
==== ShutdownGame ====
[/code]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
only 2 fps under linux
« Reply #1 on: November 18, 2006, 07:19:34 am »
i think that this is driver related - is this the newest available version of your video-driver?

ubequitz

  • Guest
only 2 fps under linux
« Reply #2 on: November 18, 2006, 10:04:56 am »
Intel 945 chips with the free Linux drivers don't seem to play too nicely with the game.

See http://sourceforge.net/tracker/index.php?func=detail&aid=1558498&group_id=157793&atid=805242

We would love to fix it. It might be something simple, but I'm not sure where to even begin trying.