FPS slowly drops when playing with stock screen open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Started when I updated my about month old widelands trunk to bzr6439. Have not seen this before the update.
Steps to reproduce:
1. Load attached single player game on "No Friends". Set game speed to 3x or so.
2. Open stock screen showing wares in warehouses.
3. Play/wait for half an hour.
4. Frame rate starts to drop slowly. Mouse control becomes sluggish (for example when setting flags to road).
5. Close the stock screen. Game stalls for about 0.5 seconds and game runs smooth again.
To reproduce again, go to step 2.
Based on my tests, game speed does not affect to slowness, so you don't get this with 30x speed in 10 minutes.
Game is running windowed 2500x1500x32bit mode on 2.4GHz C2D with 6Gb memory, 64bit Ubuntu 12.04. Built as release.
Changed in widelands: | |
importance: | Undecided → Medium |
assignee: | nobody → SirVer (sirver) |
Welcome to Launchpad and thanks for reporting this issue.
After this was mentioned on IRC earlier today I played a game with r6439. Indeed there was a noticable slugginess when leaving the stock window open for longer periods of time. Closing it would revert the speed back to normal before it would eventually happen again as time passed.
Likely a regression triggered by the recent changes to ware numbers displayed in windows.