SLOW Performance Issues: post here to report

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
DriverBasalt
Posts: 3
Joined: June 16th, 2020, 2:31 am

SLOW response time on Windows 7

Post by DriverBasalt »

I just upgraded from Wesnoth 1.12 to Wesnoth 1.14.13. I am running Windows 7 SP1 64 bit, Intel i7 @ 2.80 GHz. 4 GiB RAM. I run only locally. Wesnoth responds extremely slowly, as to be painful to play. Mouse down events do not always register. Animations -- damage numbers, unit movement, moving the cursor -- all take a very long time to happen, and often happen during the next event or several.

Resource usage at main menu: CPU 0 to 2%; physical memory 51%. Wesnoth working set 111,400 KiB; private working set 97,768 KiB.

After loading a saved game: CPU usage when game is idle 0 to 2%; physical memory 53%. Working set 170,948 KiB, private working set 149,440 KiB.

The log file is very sparse:

Code: Select all

Battle for Wesnoth v1.14.13
Started on Mon Jun 15 22:23:02 2020

Automatically found a possible data directory at C:\Program Files (x86)\Battle for Wesnoth 1.14.13

Data directory:               C:\Program Files (x86)\Battle for Wesnoth 1.14.13
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data directory:          C:\Users\USER\Documents\My Games\Wesnoth1.14
Cache directory:              C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Setting mode to 1280x960
Checking lua scripts... ok

vghetto
Posts: 166
Joined: November 2nd, 2019, 5:12 pm

Re: SLOW Performance Issues: post here to report

Post by vghetto »

Try to disable water animation, see if that helps.
Preferences->Display->Animate Water.

DriverBasalt
Posts: 3
Joined: June 16th, 2020, 2:31 am

Re: SLOW Performance Issues: post here to report

Post by DriverBasalt »

That didn't do it, at least not enough. I also disabled "animate map" and "animate idle units", which still didn't help.

User avatar
beetlenaut
Developer
Posts: 2446
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: SLOW Performance Issues: post here to report

Post by beetlenaut »

I wasn't going to weigh in because I don't use Windows, but none of the Windows developers have come through yet, so I will try to give you a couple ideas. Just keep in mind that I don't know exactly what I'm talking about!

It sounds like this is not being caused by Wesnoth specifically, but a conflict with another program, background process, or library. In order to troubleshoot the problem, try booting up under a new user account in a minimal mode (is there still safe mode?) and see if that makes a difference. It also would be helpful to know if 1.14.0 or another earlier 1.14 version does work for you. You might also contact the Windows packager and see what versions of the SDL .dll files they used and check for those as well as conflicting ones.

Another thing that is very likely to work is learning to compile programs yourself. The program would then get built for the exact system you have. I understand that Windows doesn't do this out of the box and it's tricky to set up, but there is a subforum here where you can get help. Besides, it is a skill that could come in handy in other situations too. (I assume you don't currently know how or you would have mentioned it.)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide

User avatar
Pentarctagon
Project Manager
Posts: 4373
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: SLOW Performance Issues: post here to report

Post by Pentarctagon »

You can provide the library information by clicking on the Image icon on the bottom-left corner of the main menu and then the Image Copy button, and then pasting it here.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

DriverBasalt
Posts: 3
Joined: June 16th, 2020, 2:31 am

Re: SLOW Performance Issues: post here to report

Post by DriverBasalt »

Pentarctagon wrote:
June 17th, 2020, 4:36 am
You can provide the library information by clicking on the Image icon on the bottom-left corner of the main menu and then the Image Copy button, and then pasting it here.
Here you go.

Code: Select all

The Battle for Wesnoth version 1.14.13
Running on Microsoft Windows 7 Service Pack 1 (6.1.7601)
Distribution channel: SourceForge

Game paths
==========

Data dir:        C:\Program Files (x86)\Battle for Wesnoth 1.14.13
User config dir: C:\Users\USER\Documents\My Games\Wesnoth1.14
User data dir:   C:\Users\USER\Documents\My Games\Wesnoth1.14
Saves dir:       C:\Users\USER\Documents\My Games\Wesnoth1.14\saves
Add-ons dir:     C:\Users\USER\Documents\My Games\Wesnoth1.14\data\add-ons
Cache dir:       C:\Users\USER\Documents\My Games\Wesnoth1.14\cache

Libraries
=========

Boost:             1.59
OpenSSL/libcrypto: 1.1.0f (runtime 1.1.0f)
Cairo:             1.10.2 (runtime 1.10.2)
Pango:             1.30.1 (runtime 1.30.1)
SDL:               2.0.12 (runtime 2.0.12)
SDL_image:         2.0.5  (runtime 2.0.5)
SDL_mixer:         2.0.4  (runtime 2.0.4)
SDL_ttf:           2.0.15 (runtime 2.0.15)

Features
========

JPEG screenshots:               yes
Lua console completion:         yes
Legacy bidirectional rendering: no
Win32 notifications back end:   yes

Current video settings
======================

Current pixel resolution: 1280x960
Refresh rate: 1
SDL reports: 96x96 dots per inch.

Installed add-ons
=================

No add-ons installed.

As for compiling my own version -- that's quite tempting. I have the x86 version installed, but I have a 64 bit OS. (Though it would be juuust a bit like my day job, where quality is job 1.1.)

Edited to add:
I loaded a saved game. I observed that the loading slowed down enormously on the terrain step. Just a guess, maybe the capability for terrain animations is the culprit, even though the setting to enable the capability is turned off.

Post Reply