Looks like this is one of those games that does not like high core count CPU's. At least through Proton/Wine
Here is a test with a 7950x (32 threads) and 7900xtx with highest settings at 1080p

Here is it again limited to 4 threads with WINE_CPU_TOPOLOGY=4:0,1,2,3

Huh, that's very interesting! Indeed I'm running this on a 5900X, which has 24 threads. Oddly enough, I found that CPU usage was unexpectedly high during my playtime. Is this a common thing for Unity games?
I wasn't aware of the existence of WINE_CPU_TOPOLOGY (and I can't find any documentation for it either). Are there any downsides to using this as a workaround during my current playthrough? I'll try it out on my system as soon as I can.
Either way, I suppose this would all make this more of a Wine issue than a DXVK issue, correct?
I wasn't aware of the existence of WINE_CPU_TOPOLOGY (and I can't find any documentation for it either). Are there any downsides to using this as a workaround during my current playthrough? I'll try it out on my system as soon as I can.
There isn't really any downside if it's faster.
Either way, I suppose this would all make this more of a Wine issue than a DXVK issue, correct?
No, this is usually a problem with the game itself.
No, this is usually a problem with the game itself.
So is the expectation then that this game would have similar performance results on Windows? I can make some time and check it out on Windows before I close the issue if that's helpful.
I've observed a similar issue in a few games with 1700X and 5800X cpu's. For some years I run wine games with "taskset -c 0-7" for better performance.
WINE_CPU_TOPOLOGY is new to me as well.
WINE_CPU_TOPOLOGY is new to me as well.
It's a Proton Wine thing https://github.com/ValveSoftware/wine/blob/492470267af486cb24ad0deaa028168eb94618a4/dlls/ntdll/unix/system.c#L555
taskset will not help if the game does stupid stuff depending on how many cpu cores it thinks there are, because taskset doesn't change the number of cores reported to the gamesome games have problems with high reported core counts only on wine, can't remember which, but I do remember that there are some that need it only on linux. But I would assume that's more of a wine than dxvk problem.
Unity games tend more to run into this issue afaik
So is the expectation then that this game would have similar performance results on Windows? I can make some time and check it out on Windows before I close the issue if that's helpful.
@romatthe Windows applies a similar hack for some games.
Thanks for all the information and the extremely quick response!
proton 7.0x1 2023-03WINE_CPU_TOPOLOGYx5 2023-03WINE_CPU_TOPOLOGY=4:0,1,2,3`x1 2023-03DXVK_2023x1 2023-03
Hi,
The game Tower of Time has a native Linux version (with an OpenGL renderer). However, since I experienced some crashes with the native version, I switched over to Proton/DXVK. Running it under DXVK produces rather awful performance with the average FPS being somewhere between 30-40 fps, and sometimes even struggling to meet a stable 30 fps.
The native Linux version with the OpenGL renderer hovers between 80-90 fps on the exact same settings. My hardware should obviously be able to run this game fairly well.
Software information
Tower of Time v1.4.5, stock "Very High" setting on 3440x1440 resolution.
The game runs on Unity 5.6.5 (exact version number unsure, this is according to PCGamingWiki).
System information
Apitrace file(s)
Not sure if apitrace files are useful for debugging performance issues, please let me know if this is helpful and I'll provide it. I technically have access to Windows (which I believe is preferred over Wine?) but it's a pain to get it up and running.
Log files
I've attached performance log files captured via mangohud. Both were taken at the exact same stock "very high" settings with the same scenes loaded. I can't upload these to flightlessmango.com because the login system doesn't work, sorry!
OpenGL:
TowerOfTime-OpenGL_2023-03-14_17-22-00.csv
TowerOfTime-OpenGL_2023-03-14_17-22-00_summary.csv
DXVK:
TowerOfTime-DXVK_2023-03-14_17-30-43.csv
TowerOfTime-DXVK_2023-03-14_17-30-43_summary.csv
Please let me know if there's anything else useful I can provide, I'll try to get the info ASAP.