project-navigation
Personal tools

Author Topic: problem - slow framerate - 1 frame per several seconds  (Read 2451 times)

Offline Crab

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
problem - slow framerate - 1 frame per several seconds
« on: November 26, 2007, 05:48:13 pm »
Compiled from today's svn on Debian GNU/Linux (it is first time I do so - no previous versions), 1 x 2.0 GHz CPU, 2Gb Memory, nVidia GeForce FX Go5200
(https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk, Revision: 13167 )

Graphics (framerate) is very slow (everywhere - on load, in main menu, in geoscape. In geoscape, I can see that time goes normally (so it seems that the game itself doesn't lag), but the framerate is very,very slow - 1 frame per several seconds). CPU usage is also ~100%.
It happens both in fullscreen mode and in windowed mode.
console log is here: http://www.terraninfo.net/me/ufoconsole1.log

UPD: searched about it on this forum, tried what was written there - "+set snd_init 0" doesn't help.

What can I try to do ? Is it a a graphics driver problem ?
« Last Edit: November 26, 2007, 06:07:41 pm by Crab »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: problem - slow framerate - 1 frame per several seconds
« Reply #1 on: November 26, 2007, 08:03:07 pm »
please type "glxinfo | grep direct" to a xterm and post the output - it should be yes (direct rendering activated). otherwise you don't have your drivers set up correctly.

Offline Crab

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: problem - slow framerate - 1 frame per several seconds
« Reply #2 on: November 26, 2007, 09:25:04 pm »
Code: [Select]
feather:~> glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
thanks for the hint!
 a google search of these error messages pointed that it is indeed the problem with the video drivers. I'll try to solve them :)
« Last Edit: November 26, 2007, 09:27:08 pm by Crab »