Xenia: Performance degradation due to texture churn caused by lookup failures

Created on 19 May 2018  路  11Comments  路  Source: xenia-project/xenia

The fps are very low since the latest commits (I don麓t know which one causses it)

  • [Vulkan] Fix a PrepareResolve call the last commit forgot.
  • [GPU] Use the pitch field in tfetch constants
  • [Vulkan] Workaround for rapid fence reuse causing a memory leak

Build from 2018/05/15 has no problems.

gpu gpu-vulkan

Most helpful comment

@Parovozik For the system hang, use beta driver 397.96 if you're on Nvidia.

All 11 comments

It's probably the memory leak workaround.

@gibbed I don麓t know, but fps fall down from 60fps to 5fps (Bayonetta)

If I can help or provide something you need to improve this (log, test, etc) please let me know.

Confirming, there is a huge slow down in several games.

Although there are slowdowns, a lot of games that would crash after a few minutes now don't crash

@legoj15 But that improvement is because this particular PR? (Workaround for rapid fence reuse causing a memory leak) Or maybe another one before.

In the case that this change can benefit some games for avoid crashes, maybe there麓s some method to improve the bad side of the PR. Like I said, for example bayonetta is totally unplayable. Falling from 60 fps to 5 fps.

Same for me all new builds from [May 15+] works is very slow
Example 'Spyro Dawn of the Dragon' run at 50-60fps on old builds and 15-20fps on all new builds. This almost for all games now. Sometimes up to 10x slower. And some games cause critical glitches and hang up the whole pc (full freeze without any errors, after only reboot pc).

@Parovozik For the system hang, use beta driver 397.96 if you're on Nvidia.

Issue is caused by the changes that begin with https://github.com/xenia-project/xenia/commit/191dc30bee2489153dd5f3570a280dffdbff2ebf.

I eventually replaced this code, but the issue remains. Due to the changes, textures are being unnecessarily reuploaded to the GPU constantly enough to affect performance.

Resolved or partially resolved as of https://github.com/xenia-project/xenia/commit/bbebfd49c88417384c974284c222d9e574ea45a5.

Requires further testing.

@gibbed Performance is back to normal after your commits.

@gibbed Not only solved, also I think this improves many other games. A lot of users noticed this great improvement in the latest videos of youtube for Xenia.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kobyaustin1 picture kobyaustin1  路  4Comments

drillsar picture drillsar  路  4Comments

niko1point0 picture niko1point0  路  3Comments

TranzRail picture TranzRail  路  3Comments

adokova picture adokova  路  4Comments