UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: Crab on November 26, 2007, 05:48:13 pm

Title: problem - slow framerate - 1 frame per several seconds
Post by: Crab 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 (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 ?
Title: Re: problem - slow framerate - 1 frame per several seconds
Post by: Mattn 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.
Title: Re: problem - slow framerate - 1 frame per several seconds
Post by: Crab 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 :)