Runs unplayably slow

Bug #369608 reported by Spindizzy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
warzone2100 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: warzone2100

Prior to installing Jaunty, the game was quite playable, with the only problems showing up with a slight lag in 8 player skirmish towards the end of the game when there's lots of units.

After installing Jaunty, even a two player skirmish quickly becomes unplayable, with updates every 2-5 seconds. The more players, the later in the game, the more lag.

This happens both with the Jaunty 2.1.3 package, and with a fresh compile of 2.2 beta 1.

Description: Ubuntu 9.04
Release: 9.04

warzone2100:
  Installed: 2.1.3-1
  Candidate: 2.1.3-1
  Version table:
 *** 2.1.3-1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Granted, this is an old IBM Thinkpad T40, but prior to Jaunty, the game ran very well.

Revision history for this message
Guangcong Luo (zarelsl) wrote :

You probably forgot to reinstall drivers. Warzone uses OpenGL, so try installing proprietary graphics card drivers.

Revision history for this message
Spindizzy (spindizzy-wizard) wrote :

More information:

Everything appears to run perfectly, right up to first contact with the enemy. That's when everything suddenly becomes painfully slow.

I'll try the drivers thing, but I don't think it's going to help. I'll let you know.

Revision history for this message
Freddie Witherden (freddie-witherden) wrote :

Please compile 2.2 with profiling enabled and run the game for 2-3 minutes. Then upload the gmon.out file. This will allow us to see where the slowdown is occurring.

Revision history for this message
Spindizzy (spindizzy-wizard) wrote :

Okay... I must be stupid. I compiled with the following:

% make distclean
% ./configure --prefix=~/Desktop/myWarzone22b2 --enable-debug=profile
% make
% make install

Then I ran the game in a terminal

% cd ~/Desktop/myWarzone22b2/bin
% warzone2100

And waited for it to get slow, which it eventually did. I let it run for at least another 10 minutes (sorry, got distracted), saved the game, and carefully shut down through the 'quit' menus. So... there ought to be a gmon.out file around here SOMEWHERE... Right?

I eventually did this:

% sudo find / -name 'gmon.*'

The only file reported was the gmon.h file.

What am I missing? I've tried this with debugprofile as well. I've checked the output from make to see that the -pg argument was present, it was. I grep'ed the code to see if there was a 'profile' argument, I didn't see one.

Help?

Revision history for this message
Spindizzy (spindizzy-wizard) wrote :

Good news.

Version 2.2 RC 1 _appears_ to have corrected the problem.

Compiled:
configure --prefix=<dir> --enable-debug=no
make
make install

Single player, skirmish, Highland map. Game completed with only a hint at one point of any sort of delay in the game. Either an update fixed it, or someone else figured out where the issue was.

Revision history for this message
Spindizzy (spindizzy-wizard) wrote :

Since 2.2 RC 2 appears to fix the issue.

Changed in warzone2100 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.