[Bug 50096] New: Performance Regression in Secondhand Lands
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Nov 4 16:42:01 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=50096
Bug ID: 50096
Summary: Performance Regression in Secondhand Lands
Product: Wine
Version: 5.14
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winex11.drv
Assignee: wine-bugs at winehq.org
Reporter: escomk3 at hotmail.com
Distribution: ---
Created attachment 68573
--> https://bugs.winehq.org/attachment.cgi?id=68573
Good and Bad Terminal Output (+xranrd)
After 9905a5a8 [1], the maximum FPS reached in Secondhand Lands can be around
5, when it is around 30-120 (120 being the maximum limit) depending on the
situation before this commit.
Running some quick profiling, there doesn't seem to be obvious (to me)
differences between the good and the bad in that regard.
Adding some TRACEs into the new code, I couldn't notice yet if anything there
was being called a lot, but I did notice something that may or may not be a bit
odd:
In 'xrandr14_get_gpus2' [2] I'm seeing 'new_gpus: 4' and 'count: 3265744',
which seems a "little bit" excessive (though I'm not sure if I'm doing things
right at all, nor do I necessarily understand the code at all).
This is how I was counting them:
*new_gpus = gpus;
TRACE("new_gpus: %d.\n");
*count = provider_resources->nproviders;
TRACE("count: %d.\n", count);
ret = TRUE;
Download (no account is needed as the issues is visible in the main title menu
already):
- https://www.secondhandlands.com/download.php
Some Winetricks are required to get the game running at all:
- d3dx9_43
- d3dcompiler_43
Latest Wine version tested:
- wine-5.20-234-gb793799d3d5
1.
https://source.winehq.org/git/wine.git/commitdiff/9905a5a81d6baf59e992c5b2a8ea92ee4054e5d6
2.
https://source.winehq.org/git/wine.git/blob/9905a5a81d6baf59e992c5b2a8ea92ee4054e5d6:/dlls/winex11.drv/xrandr.c#l934
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list