project-navigation
Personal tools

Author Topic: FPS and Mouse again  (Read 3135 times)

Winston

  • Guest
FPS and Mouse again
« on: February 26, 2007, 03:11:27 am »
Hi!

i already read  a lot of postings related to FPS and mouse issues but the solutions such as:

    *  Try another video renderer lib - see cvars for more information
    * Deactivate the cvar in_dgamouse

do not work for me. i have a Intel T2300, 1,5 GB RAM and an intel 945 graphic chip (running Ubuntu 6.10). I know that this not the fastest graphic chip on earth, but not that slow that i only get 4.2 frames per second using ufo with a 640*480 resolution. mouse is very slow as in other cases discussed in the fourm. is there any chance to fix this problem?  years ago i was a big fan of x-com, thanks for developing this game!!!!!!!

here is my console output:

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

------- sound initialization -------
Loading snd_sdl sound driver
Soundsystem: SDL.
SDL version: 1.2.11
SDL audio driver is "alsa".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
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 1: 400 300
...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 no hardware gamma - only available in fullscreen mode
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 945GM 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
...ignoring GL_EXT_texture_filter_anisotropic
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...using GL_ARB_fragment_program
...GL_ATI_separate_stencil not found
...max texture size:
......detected 2048
......but using 512 as requested
...SDL_ttf version 2.0.8 - we need at least 2.0.7
...SDL_ttf inited
------------------------------------
CD Audio Initialized.
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.0-RC6 i386 Nov 18 2006 Linux"
...using language: de_DE.UTF-8
...svn revision: 4760:4776M
Shared Client/Server Info loaded
...precaching 56 menus
Can't find pics/
====== UFO Initialized ======

chimarrao

  • Guest
FPS and Mouse again
« Reply #1 on: April 15, 2007, 09:23:54 am »
same problem on my linux Mandriva... mouse slow and bad sound :(
Laptop -> video card: Intel 910GML 128MB; Mem: 512MB; Proc: Celeron M

I run need for speed on this laptop, without any problem...

Offline Pariah

  • Rookie
  • ***
  • Posts: 17
    • View Profile
And Then
« Reply #2 on: April 19, 2007, 08:19:53 pm »
I have two mouse issues.

Slow drag AND fast drag.

The slow drag always happens when I go to the Equip screen. The music starts skipping the same time the mouse does. I have tried turning the music off in the Options screen, but that doesn't help. Some times the slow mouse will also happen in the combat screen, but this is rare compared to the Equip Screen which does it almost all of the time.

The other mouse issue I get is just the opposite, in the combat screen, where the mouse flies across the screen. (Yes, I did adjust the mouse setting in the Options screen, but after not seeing an effect in the Equip Screen, I moved it back to near what it was.) In the combat screen the mouse flies towards whatever side I move the mouse to. If I use the number button to jump to a soldier, if I move the mouse to the left, it flies all the way to the left hand side of the map, making it very difficult to target aliens near the middle of the map.

The biggest issue I have had playing the game, that I haven't seen a bug report on is the fact that the soldiers can end up outside of where the 3d block states that the soldier is standing in. For example, on the Mansion map, I had two soldiers lockup just inside the front door because even though their 3d blocks showed they were standing right next to each other, the graphics of the two soldiers had them sharing the same space, outside of their square (I took a screen shot of this, but I haven't figured out where Vista saved the pic at).

Additionally at the Mansion Map, soldiers on the grand staircase seems to get out of their 3d block quite often. But then this issue seems to happen a lot on stairs.

In the Cave map, on the 1st cave level, behind the staircase going down from the entrance, their is a ledge where you can see and shoot down to the bottom level. Twice now a soldier will get stuck outside of his 3d block, the 3d block will show the soldier at the edge, but the grahic shows the soldier mostly in the square behind that ledge square.

There has been instances where a soldier who is stuck outside of his 3d square will be stuck and even though move commands are given and the TU is expended, the soldier does not move at all.

My system is an AMD Dual Core, Vista OS, 2 gig ram, nVidia 7600GT vid card displayed on a 19" flatscreen LCD.

ibykus

  • Guest
FPS and Mouse again
« Reply #3 on: May 07, 2007, 10:44:20 am »
On my system setting gl_ext_pointparameters "0" speeds  up the game from 2-4 fps to 14-50 fps. Maybe this will work for you, too.