protonscr

[d3d9] FPS and GPU usage drops when looking at a specific area

dxvkopen performanced3d9
doitsujin/dxvk#4827 · opened 2025-04-04 by MUKZET · updated 2025-04-06 · 12 comments · github
MMUKZET 2025-04-04 github

When I look at specific areas on certain maps, FPS and GPU usage drops drastically.

FPS on some maps drops at under 20FPS.

without dxvk.conf has same results.

Image

Software information

SD GUNDAM ONLINE

System information

  • GPU: AMD Radeon RX 6900 XT
  • Driver: 25.3.1
  • Wine version:
  • DXVK version: 2.6

Apitrace file(s)

can't run the game with apitrace
game fails to start

Log files

GOnline_d3d9.log

BBlisto91 2025-04-04 github

Hi there and thank you for the issue.
Can you check if adding d3d9.cachedDynamicBuffers = True to the dxvk.conf helps?

Edit:
I see this is being spammed quite a lot in the log

err:   Presenter: Failed to create Vulkan swapchain: VK_ERROR_OUT_OF_DEVICE_MEMORY
info:  Presenter: Actual swapchain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_SRGB
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: no)
info:    Buffer size:  3440x1440
info:    Image count:  3
MMUKZET 2025-04-04 github

Hi there and thank you for the issue. Can you check if adding d3d9.cachedDynamicBuffers = True to the dxvk.conf helps?

Edit: I see this is being spammed quite a lot in the log

err:   Presenter: Failed to create Vulkan swapchain: VK_ERROR_OUT_OF_DEVICE_MEMORY
info:  Presenter: Actual swapchain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_SRGB
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: no)
info:    Buffer size:  3440x1440
info:    Image count:  3

d3d9.cachedDynamicBuffers = True didn't help.

It has same results.

Is there any other thing I can try?

BBlisto91 2025-04-04 github

Can you post a screenshot looking at the area with the hud set to full ? Without any other configs besides hud applied.

MMUKZET 2025-04-04 github

Can you post a screenshot looking at the area with the hud set to full ? Without any other configs besides hud applied.

Image

Ddoitsujin maintainer 2025-04-04 github

is this even any better without dxvk? we can't do much if the game just decides to be slow.

The swapchain spam probably isn't helping either but it's not clear whether that happens during gameplay at all.

MMUKZET 2025-04-04 github

is this even any better without dxvk? we can't do much if the game just decides to be slow.

The swapchain spam probably isn't helping either but it's not clear whether that happens during gameplay at all.

Image

without dxvk, the game has horrible micro stutter.

BBlisto91 2025-04-04 github

But how does the average FPS compare to dxvk in the trouble area?

Edit: By that i mean does it have a similar large drop?

MMUKZET 2025-04-04 github

But how does the average FPS compare to dxvk in the trouble area?

Edit: By that i mean does it have a similar large drop?

Average FPS is also lower than dxvk. and micro stutter happens on all maps.

Ddoitsujin maintainer 2025-04-04 github

The question is whether the frame rate also drops in that particular area without dxvk.

MMUKZET 2025-04-04 github

The question is whether the frame rate also drops in that particular area without dxvk.

No, It doesn't drop like dxvk.

WWinterSnowfall 2025-04-04 github

Is there any other thing I can try?

d3d9.allowDirectBufferMapping = False perhaps, although I wouldn't get my hopes up.

MMUKZET 2025-04-05 github

Is there any other thing I can try?

d3d9.allowDirectBufferMapping = False perhaps, although I wouldn't get my hopes up.

Sadly, it didn't work.

Nothing extracted yet.