[FIXED] todays SVN: fps limiter freezes the game

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
Master Ar2ro
Peon
Peon
Posts: 37
Joined: Sat Jan 21, 2006 11:59 am
Location: Poland, Earth
Contact:

[FIXED] todays SVN: fps limiter freezes the game

Post by Master Ar2ro » Sat Sep 09, 2006 9:31 am

I double checked that. The game seems to be running fine without FPS limiter at fps between 29 and 37 in the newb area. When I turn fps limiter on and set the limit to 30, the game slowly becomes less and less playable, to freeze completely after a couple of minutes at most. The CPU usage is kept at 100% even with fps limiter.
I'm not sure if it's a Linux-only issue, so could someone check that on windows?

Latest SVN, P4 2.0GHz, Radeon 8500, fglrx xorg drivers, ubuntu 6.06, latest SDL libs, gcc 4.0.3

hwaccel=1
opengl=0

TMW log doesn't seem to contain anything useful for this issue.
C/C++,Java,PHP+MySQL - read more
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Sat Sep 09, 2006 6:06 pm

Yep, that's my fault, it will be fixed by tomorrow.
Master Ar2ro
Peon
Peon
Posts: 37
Joined: Sat Jan 21, 2006 11:59 am
Location: Poland, Earth
Contact:

Post by Master Ar2ro » Sat Sep 09, 2006 9:40 pm

Ok :D
I just figured I'd check that before 0.0.21 release
C/C++,Java,PHP+MySQL - read more
Master Ar2ro
Peon
Peon
Posts: 37
Joined: Sat Jan 21, 2006 11:59 am
Location: Poland, Earth
Contact:

Post by Master Ar2ro » Mon Sep 11, 2006 10:02 pm

Ok, here's update for the fixed version:

Game runs fine with fps limiter off.
Runs fine with fps limiter on, the number of fps is reduced, CPU usage ~60-70% and the game is playable. So works correctly, until...

... you change map. Start in the newb area, turn fps limiter on, and go to the desert to the south. In my case the fps drops drastically there (no opengl, it's not working on my machine) and when I come back up, to the newb area, fps limiter is off. And it seems it doesn't want to turn back on.
C/C++,Java,PHP+MySQL - read more
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Tue Sep 12, 2006 10:53 am

Waiting you to test the latest changes.
Master Ar2ro
Peon
Peon
Posts: 37
Joined: Sat Jan 21, 2006 11:59 am
Location: Poland, Earth
Contact:

Post by Master Ar2ro » Tue Sep 12, 2006 11:14 am

Latest changes seem to be working fine. No problems found. Good work ;)
C/C++,Java,PHP+MySQL - read more
Locked