protonscr

[d3d9] Performance regression in several titles after a recent commit

dxvkclosed
doitsujin/dxvk#1460 · opened 2020-02-18 by NorbertHarangozo · updated 2020-02-18 · 9 comments · github
NNorbertHarangozo 2020-02-18 github

While testing the Vindictus issue I reported on the D9VK bug tracker a while ago, I've noticed that the game runs noticeably slower than it did a few weeks ago when I last tried. After doing some digging, I found out that the commit causing the problem is 50cf3a4.

I've tried a few other games as well, and some of them also took the 20-25% performance hit.
Other than the games listed below, I've also tested Borderlands 2, that one doesn't seem to be affected.

Software information

Vindictus, NFS Most Wanted 2005, TrackMania United Forever and potentially many others.

System information

  • GPU: RX 580 4GB
  • Driver: RADV ACO Git
  • Wine version: 5.1 TkG
  • DXVK version: 4cf3ef5

Apitrace file(s)

  • The issue can be reproduced by replaying the trace from the issue mentioned earlier.

Log files

Mmisyltoad 2020-02-18 github

Can you give numbers?

IIglu47 2020-02-18 github

I made 14 tests through bench in TrackMania United Forever option
first 3 with 1.5.4.r34 and other 3 with 1.5.4.r38 then 4 more each again
(without editing options, just by dragging and dropping dxvk files)

dxvk-git-1.5.4.r34.g7d3ec74b - 206 207 206 207 205 206 206 (~206,1 fps)
dxvk-git-1.5.4.r38.g4cf3ef53 - 167 166 167 166 166 170 167 (~167,0 fps)
upd. and dxvk-git-1.5.4.r35.g50cf3a46 - 170 166
*couple logs in links

  • nvidia proprietary driver: 440.59; gtx nvidia 1080ti
  • arch linux, liquorix-5.4.17
  • wine-tkg 5.1.r15.g49d52336
Mmisyltoad 2020-02-18 github

d3d9.zip

Can you try with this build?

IIglu47 2020-02-18 github

d3d9.zip

Can you try with this build?

164 162 162 162 163 164 165 (~163,1 fps) (but above I used dxvk-files from PKGBUILD)

NNorbertHarangozo 2020-02-18 github

In TrackMania, the framerate really depends on the environment you are playing in.

  • In a stadium level (StadiumA1), the fps went from 206 to 176.
  • In a coast level (StarCoastB4), the fps went from 340 to 250.

In NFS Most Wanted 2005, the fps went from 94 to 74.

Vindictus has a framerate cap of 60, but it drops a lot more often than it used to.

The build above doesn't seem to change anything.

Mmisyltoad 2020-02-18 github

Please make a separate bug that's something different entirely

Mmisyltoad 2020-02-18 github

This perf regression should be fixed in master now,

IIglu47 2020-02-18 github

dxvk 1.5.4.r42.g760a163f: 208 207 209 207 (~ 207,8 fps)

NNorbertHarangozo 2020-02-18 github

Indeed, performance is back to normal.

Nothing extracted yet.