News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Game does not load until mouse is moved

Started by Vladki, October 17, 2017, 06:44:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

I have long noticed strange behavior. The loading of the game (after choosing pakest) was freezing for random time. I thought that it is due to my harddrive going to sleep (mini-pc) or something like that. But recently I have noticed that it  could be frozen for minutes, and suddenly continues when I move mouse pointer. I have now repeated that reliably 3 times in row. To repeat click carefully when choosing pasket so you do not move the mouse after click. May be affected by architecture - Linux/64 bit, KDE 4, Debian 8

$ grep '^[^#]' config.default
BACKEND = mixer_sdl
COLOUR_DEPTH = 16
OSTYPE = linux
WITH_REVISION = 1 # adds the revision from Github; required for networkgames
MULTI_THREAD = 1 # Enable multithreading
SDL_CONFIG     = sdl-config
VERBOSE = 1
FLAGS = -DUSE_C -fno-delete-null-pointer-checks -fno-strict-aliasing -std=c++11

jamespetts

I have been noticing this for a number of years; it first occurred many years ago after merging a Standard change (back when it was still feasible to merge automatically). I do not know enough about the more low level parts of the code to understand how to fix this.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.