The International Simutrans Forum


Author Topic: Game does not load until mouse is moved  (Read 686 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki

  • Devotee
  • *
  • Posts: 3338
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Game does not load until mouse is moved
« on: October 17, 2017, 06:44:16 PM »
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
OSTYPE = linux
WITH_REVISION = 1 # adds the revision from Github; required for networkgames
MULTI_THREAD = 1 # Enable multithreading
SDL_CONFIG     = sdl-config
FLAGS = -DUSE_C -fno-delete-null-pointer-checks -fno-strict-aliasing -std=c++11

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19824
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game does not load until mouse is moved
« Reply #1 on: October 17, 2017, 10:11:12 PM »
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.