project-navigation
Personal tools

Author Topic: Slow game after a kernel update[Solved]  (Read 4202 times)

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Slow game after a kernel update[Solved]
« on: March 19, 2011, 11:22:17 pm »
Hi all,
I have updated kernel on Sabayon linux 5.5 x86_64 Gnome from 2.6.37-sabayon to 2.6.38-sabayon and the game is so slow that I can't even play it. I have an SSD and it took approx 5 seconds to load up the game but now it's over 30 secs and instead of 50fps it has 2fps or even less. I have also updated the nvidia graphics driver. I had the same problem when I first time installed the game but after that an UFOAI update (whole game cca 500MB) came up and I could play the game. A terminal output..
Code: [Select]
/usr/share/games/ufoai $ ufo

---- filesystem initialization -----
Adding game dir: /usr/share/games/ufoai/base
Added packfile /usr/share/games/ufoai/base/0base.pk3 (9 files)
Added packfile /usr/share/games/ufoai/base/0maps.pk3 (544 files)
Added packfile /usr/share/games/ufoai/base/0materials.pk3 (45 files)
Added packfile /usr/share/games/ufoai/base/0media.pk3 (10 files)
Added packfile /usr/share/games/ufoai/base/0models.pk3 (2015 files)
Added packfile /usr/share/games/ufoai/base/0music.pk3 (49 files)
Added packfile /usr/share/games/ufoai/base/0pics.pk3 (2114 files)
Added packfile /usr/share/games/ufoai/base/0shaders.pk3 (26 files)
Added packfile /usr/share/games/ufoai/base/0snd.pk3 (266 files)
Added packfile /usr/share/games/ufoai/base/0ufos.pk3 (97 files)
Added packfile /usr/share/games/ufoai/base/1maps.pk3 (3 files)
Adding game dir: ./base
Added packfile ./base/0base.pk3 (9 files)
Added packfile ./base/0maps.pk3 (544 files)
Added packfile ./base/0materials.pk3 (45 files)
Added packfile ./base/0media.pk3 (10 files)
Added packfile ./base/0models.pk3 (2015 files)
Added packfile ./base/0music.pk3 (49 files)
Added packfile ./base/0pics.pk3 (2114 files)
Added packfile ./base/0shaders.pk3 (26 files)
Added packfile ./base/0snd.pk3 (266 files)
Added packfile ./base/0ufos.pk3 (97 files)
Added packfile ./base/1maps.pk3 (3 files)
Adding game dir: /home/pepe999/.ufoai/2.3.1/base
using /home/pepe999/.ufoai/2.3.1/base for writing
executing default.cfg
executing config.cfg

----- network initialization -------
libcurl/7.20.1 GnuTLS/2.10.2 zlib/1.2.5 initialized.

------ server initialization -------
added 7 maps to the mapcycle

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: Available resolutions: 1366x768 1024x768 832x624 800x600 720x400 700x525 640x512 640x480 640x400 640x350 576x432 512x384 416x312 400x300 360x200 320x240 320x200 320x175 (18)
I: video driver: x11
I: setting mode -1
I: set swap control to 0
I: 1024x768 (fullscreen: yes)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
I: got 0 bits for alpha
I: got 0 multisample buffers
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on softpipe
GL_VERSION: 2.1 Mesa 7.10
GL_EXTENSIONS: GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects GL_ARB_shader_stencil_export GL_ARB_shading_language_100 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_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader 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_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays 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_conditional_render GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_OES_EGL_image
using GL_ARB_texture_non_power_of_two
using GL_ARB_shading_language_100
GLSL Version: 1.20
using GL_ARB_framebuffer_object
max draw buffers: 8
max render buffer size: 16384
max color attachments: 8
using GL_ARB_draw_buffers
max supported lights: 8
max texture units: 8
max texture coords: 8
max vertex attributes: 16
max texture size: detected 16384
...but using 512 as requested
Using low resolution globe textures as requested.
R_LoadProgram: 'world' loaded.
R_LoadProgram: 'warp' loaded.
R_LoadProgram: 'geoscape' loaded.
R_LoadProgram: 'combine2' loaded.
R_LoadProgram: 'convolve3' loaded.
R_LoadProgram: 'atmosphere' loaded.
R_LoadProgram: 'simple_glow' loaded.
SDL_image version 1.2.10
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.11
... requested audio rate: 44100
... driver: 'pulse'
... audio rate: 44100
... audio channels: 2
... loaded ogg vorbis support

------- input initialization -------
1 possible joysticks
joystick 0 opened - set cvar in_joystickNo to change this
... name: ST LIS3LV02DL Accelerometer
... axes: 3
... hats: 0
... buttons: 0
... balls: 0

----------- parse scripts ----------
50 script files
47 ui script files
Shared Client/Server Info loaded
... 99 items parsed
... 32 damage types parsed
... 80 map definitions parsed
... 29 equipment definitions parsed
... 10 inventory definitions parsed
... 20 team definitions parsed
executing keys.cfg
music change to van_theme (from PsymongN3)
CL_LanguageInit: language settings are stored in configuration: en
...using language: en_US.utf8
SDL_ttf version 2.0.9 - we need at least 2.0.7
...registering 10 fonts
134 static models loaded
====== UFO Initialized ======
=============================
Switch grab input off
Wrote config.cfg.
Wrote keys.cfg
recursive shutdown
I can't see anything wrong. I also reinstalled the graphics driver but the system looks good and glxgears show that the 3D acceleration works. Has anyone problem like this or similar? Cheers, pepe999
« Last Edit: March 21, 2011, 01:03:21 am by gargy2002 »

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Slow game after a kernel update
« Reply #1 on: March 19, 2011, 11:31:06 pm »
I also would like to mention that sometimes dropped the fps on a mission from 49-50 to 10-20. It wasn't so often and lasted for several seconds..

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Slow game after a kernel update
« Reply #2 on: March 20, 2011, 07:35:29 am »
Quote
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on softpipe

it does not use the nvidia driver - are you running ufoai in a vmware machine?

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Slow game after a kernel update
« Reply #3 on: March 20, 2011, 07:25:04 pm »
it does not use the nvidia driver - are you running ufoai in a vmware machine?
Hi Mattn,
No, I have a proper installation on an SSD..

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Slow game after a kernel update
« Reply #4 on: March 20, 2011, 08:19:43 pm »
that doesn't change the fact that it uses the vmware opengl driver

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Slow game after a kernel update
« Reply #5 on: March 20, 2011, 08:28:11 pm »
that doesn't change the fact that it uses the vmware opengl driver
Hmm, I don't even have installed any vmware software..

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Slow game after a kernel update[Solved]
« Reply #6 on: March 21, 2011, 01:04:38 am »
Hi all,
Solved by changing OpenGL to nvidia. I had set Xorg-11 as default somehow..