Author Topic: [solved] 3.5.0, Ubuntu 11.04 64bit,perceptible time lag- unit selection&command  (Read 1648 times)

sojourner

  • Guest
For a while I thought I was having issues with my svn build or graphics settings. But today I compared v3.4, v3.5 and svn 2187 (debug build)

v3.4 appears more responsive for selecting units and issuing commands than version 3.5.
Svn2187 (debug build) is quite bad.

* selecting any unit stutters (for the lack of a better term) in v3.5, even with the initial population in any game with a single AI opponent. It seems to happen smoothly (relatively speaking) in v3.4

* double click struggles more while selecting multiple units in v3.5 (and almost never works with the svn debug build: here only one unit gets selected most of the time)

* After selecting, issuing any command follows the same pattern between 3.4, 3.5 and svn debug build... The lag/delay/stutter/pause seems more pronounced when issuing a command.

Even if we can ignore the debug build since it won't use compiler optimizations, performance wise v3.5 seems to be a regression. Surprising since I thought v3.5 is multi-threaded...

Am I seeing something which no one else has observed or is this expected?
« Last Edit: 3 May 2011, 18:53:08 by sojourner »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
The perf lag is fixed in the latest svn build. With that said you did not specify how you built (changing cmake to debug will degrade performance horribly if thats what you did)

sojourner

  • Guest
Yes, "changing cmake to debug" is exactly what I did.

I had some problems with my svn checkout earlier where the build-mg.sh file was not downloaded correctly so I manually tried to build with cmake (and that gave me a segv while running the compiled game, so I passed debug option to cmake).

But I have checked out fresh and built using the build-mg.sh script just now, svn rev 2195.

I still see the stutter.

sojourner

  • Guest
This is a day of revelations for me...
I installed the latest fglrx drivers and it is like apples and oranges (fglrx and radeon driver) ! I don't have a performance problem now, that's for sure.

I had not installed the fglrx driver earlier because, it was giving me SEGV and the problem was that I had not removed the radeon driver before installing the fglrx driver.
If it helps someone, this is the guide I followed. I definitely recommend it.
http://wiki.cchtml.com/index.php/Ubuntu_Natty_Installation_Guide

 

anything