The International Simutrans Forum
September 10, 2010, 08:56:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
The Simutrans Blog
Interesting news about Simutrans World and more.
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Incredibly poor performance - regular freezes  (Read 1542 times)
0 Members and 1 Guest are viewing this topic.
pbtrn10k
*
Offline Offline

Posts: 3


« on: July 25, 2009, 04:45:48 PM »

Hi

I installed the latest nightly version of Simutrans today and I am experiencing incredibly frequent freezing (at least once per minute) which is really quite annoying. Am I the only one?

I am using the latest version of Ubuntu, completely up to date, on a machine with 6Gb RAM and a 2.33GHz Intel Quad Core processor

Can anyone tell me what information is needed to diagnose these problems, or if there is any way to improve this performance?

Thanks

Pete
Logged
jamespetts
Devotee
*
Offline Offline

Posts: 3416


Cake baker


WWW
« Reply #1 on: July 25, 2009, 04:54:25 PM »

If you have a 64-bit operating system, are you using the 64-bit version of Simutrans?
Logged

James E. Petts

Download the experimental version of Simutrans and help to test lots of new features here.

Download Pak128.Britain here.
pbtrn10k
*
Offline Offline

Posts: 3


« Reply #2 on: July 25, 2009, 04:58:57 PM »

To be perfectly honest I don't know if my processor is 64 bit, so as far as I'm aware I'm using the 32 bit Ubuntu - how can I tell which version I am using?
Logged
jamespetts
Devotee
*
Offline Offline

Posts: 3416


Cake baker


WWW
« Reply #3 on: July 25, 2009, 05:04:20 PM »

If you have 6Gb of RAM, you'll need a 64-bit processor, otherwise 2Gb of it will be unusable. Indeed, I think that with your 32-bit operating system, 2 of your 6Gb of RAM is useless, although I am not entirely sure about that.
Logged

James E. Petts

Download the experimental version of Simutrans and help to test lots of new features here.

Download Pak128.Britain here.
wipi35
Devotee
*
Offline Offline

Posts: 242


Imagination is more important than knowledge


« Reply #4 on: July 25, 2009, 05:33:08 PM »

Starting  Simutrans with -nomidi may help.
Logged

pbtrn10k
*
Offline Offline

Posts: 3


« Reply #5 on: July 25, 2009, 06:17:26 PM »

Using -nomidi seems to help a lot - thanks Smiley
Logged
mascarpone
*
Offline Offline

Posts: 3


« Reply #6 on: July 27, 2009, 04:33:15 AM »

I experienced this too, with the latest ubuntu on a 32 bit OS.

When launched from terminal, you could read some funny error messages, like "font not found" or "World destroyed"
Logged
Dwachs
Devotee, DevTeam, Coder/patcher
Moderator
*
Offline Offline

Posts: 1274


« Reply #7 on: July 27, 2009, 06:25:46 AM »

When launched from terminal, you could read some funny error messages, like "font not found" or "World destroyed"
these are no 'real' error messages, nothing critical.
Logged
Amelek
*
Offline Offline

Posts: 67



« Reply #8 on: August 16, 2009, 07:58:43 PM »

this could be caused by old implementation of choose signals and trains stopping at signal before not their station
Logged
dannystaple
*
Offline Offline

Posts: 25



WWW
« Reply #9 on: August 18, 2009, 08:00:21 AM »

I was also experiencing this, and tried the 102.0 nightly instead of the 101 (which is default in Ubuntu right now). Still saw the issue. -nomidi helped a lot.

I also found an "undead" process - the day before I had accidentally killed a running game by right clicking on the taskbar. It turned out that although the display was gone, it was still there, and still pulling CPU the whole time. I had to kill it then. Ideally - a "do you really want to close without saving X hours of gameplay" would have been nice.

One note possibly worth mentioning - I am playing using pak128.
Logged

Game Player, game developer and article writer.
Simutrans Game Play Help and Tips
Maju
*
Offline Offline

Posts: 1


« Reply #10 on: July 08, 2010, 02:22:33 AM »

Hello. I registered in order to be able to reply here. I looked at the forums because I am suffering this problem since I installed the 102.2.2 version, which is downloadable via Ubuntu Software Center (I have updated Lucid Lynx as OS on an AMD Athlon 64).

Since then (and not with the previous version, which I believe was v. 100 - on Jaunty) my games freeze once and again except when in pause. They normally take very long (one minute or more) to recover and I have found a way around but it's not too practical and certainly not a solution.

What I do is to have the system monitor open and each time the game freezes, I go there to (1) stop the process and (2) continue the process. That way I save myself many frustrating minutes of wait.

When I arrive there it's often in futex queue, what seems to mean that it's stopped at some semaphor. But often I still catch it at the previous process, which is something like "snd_seq_syn_oss_writec_sync" (too quick to be sure of the exact text), whatever that means.

Now and then, if I don't intervene, it recovers relatively fast but mostly it takes very long. As it does not happen with other programs (I only once caught my browser in such kind of freeze) I understand it's a problem of Simutrans 102.2.2 in its interaction with Ubuntu.

Please someone fix it. Smiley

...

Edit: it happens both with Pak64 and with Pak128 Britain.

Also Simutrans does not seem to use too much CPU but it does quite a bit of RAM, at least with Pak128 Britain, where it takes like 60 MiB (being one of the most memory demanding programs) - Pak64 only seems to take like 25 or so. However that should not be a problem when the System Monitor reports a total of 874.8 MiB and 2/3 of the RAM is available.

Simu freezes no matter what at regular intervals as reported above (except if paused, which I use when I can recall for adding new infrastructures).



I've been trying the -nomidi workaround for an hour or more now and it works swiftly even with Pak 286 Britain. Thanks. Smiley

{ merged double post -Isaac }
« Last Edit: July 08, 2010, 07:50:08 AM by Isaac.Eiland-Hall » Logged
prissi
Head Developer
*
Offline Offline

Posts: 3004



WWW
« Reply #11 on: July 08, 2010, 01:55:55 PM »

This is an error of SDL_mixer, I suppose, since simutrans do not call any low level stuff.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 22 queries.