doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.07k stars 839 forks source link

Regression in 2.3 Sends Guild Wars Framerate from 300+ Down to 1.5 FPS #3837

Open ChthonVII opened 8 months ago

ChthonVII commented 8 months ago

Title basically says it all. Prior versions of DXVK easily had 300+ FPS running Guild Wars on my hardware, but version 2.3 has 1.5 FPS. The system is basically locked up and I can't reliably alt+tab out to close the program.

Software information

Guild Wars

System information

I did not attempt api trace or logs due to the system being locked up. Perhaps someone with newer hardware might be able to.

(FYI: The Guild Wars client can be downloaded for free, and the problem manifests immediately on the log-in screen, so reproducing this bug does not require an account.)

[Edit: It appears this problem is specific to the combination of Wine-GE-Proton8-26 and dxvk 2.3. If I swap out dxvk 2.3 for 2.2, it works. If I swap out Wine-GE-Proton8-26 for vanilla wine 9.1 (devel), it also works.]

Blisto91 commented 8 months ago

You mean that if you replace the dxvk files in Proton with an older version like 2.2 the issue stops? Is that 2.3 stable or the one that comes with Proton GE?

ChthonVII commented 8 months ago

You mean that if you replace the dxvk files in Proton with an older version like 2.2 the issue stops?

That is correct. Replacing the files with those from 2.2 fixes the problem.

Is that 2.3 stable or the one that comes with Proton GE?

The problem exists with both the binaries from this repo and the binaries extracted from lutris. ("Wine GE Proton" builds don't come with DXVK binaries. Instead they expect lutris or heroic launcher to provide them.)

jrugia commented 8 months ago

Works fine here with below setup.

System information

CPU: Intel i7-3770
GPU: Nvidia GTX 1080
Driver: 545.29.02
Wine version: Wine Staging 9.0 (Flags used - WINEDEBUG=-all  WINEESYNC=0  DXVK_LOG_LEVEL=none)
DXVK version: 2.3

1

Blisto91 commented 8 months ago

I am not seeing an immediate difference here either between 2.2 and 2.3 on my RX 6800. This is ran through Lutris with Wine GE 26

@ChthonVII It would be interesting with some dxvk logs or Wine logs including dxvk output. Also a screenshot of the game ran with DXVK_HUD=full. Or just a phone picture of the screen if the PC grinds too much to a halt for a proper screenshot

jrugia commented 8 months ago

It might be worth trying out a different Wine version. I don't recall the exact version but it would tank the fps on this game as low as 20fps. Changing the Wine version was all I did and the performance went back up.

ChthonVII commented 8 months ago

@jrugia

Yep, that seems to be it. The problem is specific to the combination of Wine-GE-Proton8-26 and dxvk 2.3. If I swap out dxvk 2.3 for 2.2, it works. If I swap out Wine-GE-Proton8-26 for vanilla wine 9.1 (devel), it also works.

Blisto91 commented 8 months ago

Did you come to a conclusion in regards to this? πŸ‘€

ChthonVII commented 8 months ago

Did you come to a conclusion in regards to this? πŸ‘€

Only that the problem seems to be specific to the combination of this one particular version of dxvk and one particular version of wine-ge. So I just avoid this combination. As for what goes so terribly wrong when these two are put together, I haven't a clue.

Blisto91 commented 8 months ago

When I tested myself I used that Wine version but wasn't at least immediately seeing anything off. This was on AMD though not Nvidia.

mirh commented 8 months ago

Can't you just try to bisect either of them?

Blisto91 commented 5 months ago

Quickly tried logging in with my RTX 4080 this time but i am not seeing an issue so far.