dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Master Arena: Poor performance with light shafts

Open jeremyPGE opened this issue 5 years ago • 9 comments

Hello everyone,

I've been developing a game for a few years on Unreal Engine 3 and I'm testing DXVK. I want to tell you that I was pleasantly surprised with the performance. It's really a good job.

Well, I'm here to report two issues:

  • Low performance with high resolutions (on 2K when using ultra quality settings, on 4K with any quality settings).
  • Very low performance when light shafts are enable in any screen resolution.

Light shafts cost when using legacy DX9, but with DXVK the cost is insane.

I have recorded some benchmarks to compare performances, a playlist is available here: https://www.youtube.com/playlist?list=PLV913EkEcIFC51j-UsW9Pu39A9ekbauL6

There are two cases tested: 1080p and 4K from low textures quality to ultra. If you take a look at the videos "1080p DirectX9 vs Vulkan (dxvk) XXXX", you will observe good performances with dxvk. But if you check "4K DirectX9 vs Vulkan (dxvk) XXXX" you will observe that DirectX9 is running better than dxvk in any case (sorry, the fps counter is tiny).

I have to precise: On the game, when we select a new quality preset, it reduce textures quality only. There is no static mesh LOD yet. So there is exactly the same number of triangle to draw and draw primitives call in any game graphic quality. The only thing changing is textures resolution. Draw call primitives are bigger than other games on this type (Arena FPS) because we decided to work with the most modular assets possible. As the level editor is included, players can create what they want with our modular assets library (5000+).

As I've done several tests, I'm ready to run other tests and provide needed files but in this wiki: https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace the link to download prebuilt apitrace files is dead ( https://people.freedesktop.org/~jrfonseca/apitrace/apitrace-msvc-latest.7z ) If you want to test it, the game is available on steam: Master Arena Demo :)

### System information

  • GPU: Nvidia GTX1080
  • Driver: 451.67
  • OS: Windows 10
  • DXVK version: dxvk-1.7

Best regards, Jérémy

jeremyPGE avatar Jul 22 '20 09:07 jeremyPGE

I'm also seeing something similar in Mass Effect with an amd card (even though nothing this big). I wonder if it isn't related to #1675, #1717 and #1721?

mirh avatar Aug 13 '20 23:08 mirh

The problem of #1717 is already fixed and the user just opened an identical issue to ask for a build.

#1721 seems to be just a stupid game that spams API calls (not even draw calls) like there's no tomorrow.

K0bin avatar Aug 14 '20 00:08 K0bin

@Joshua-Ashton can you take a look at some point?

doitsujin avatar Aug 14 '20 00:08 doitsujin

I did test #1717 and from 145 fps (was 184 before with d3d9) performance tanked even more to 104. I assumed that was just some half-assed hotfix to be ironed out in the future.

#1721 didn't really provide real performance figures but similarly it's faring worse.

mirh avatar Aug 14 '20 00:08 mirh

@mirh please don't hijack other people's issues. If you have anything specific to report and can provide us something to work with, please open a separate issue.

doitsujin avatar Aug 14 '20 00:08 doitsujin

Is this still an issue?

Your game is Master Arena, right? https://store.steampowered.com/app/704020/Master_Arena/

K0bin avatar Aug 31 '22 00:08 K0bin

Yes it's still an issue. And yes, https://store.steampowered.com/app/704020/Master_Arena/ is my game.

jeremweb avatar Sep 05 '22 18:09 jeremweb