protonscr

Age of Empires IV - Looking at buildings destroys FPS

vkd3dopen
HansKristian-Work/vkd3d-proton#1323 · opened 2022-12-06 by Phireh · updated 2022-12-06 · 2 comments · github
PPhireh 2022-12-06 github

DE: GNOME 3 (have also tried KDE Plasma and OpenBox, same problems)
GPU: AMD 6600XT
Driver: vulkan-radeon 22.2.3-1
Kernel: 6.0.10-zen2-1-zen (have also tried unpatched 6+ and 5.19, same problems)
Proton: experimental-7.0-20221129
Log created with PROTON_LOG=1: https://gist.github.com/Phireh/36d27afcc2293a0ef8f308322ccc1990

When having a building (or a cancelled building's rubble) on camera, FPS drops dramatically to the point of being unplayable (3x+ slowdowns depending on the number/size of buildings). Here I have a few examples:

image
image
image

Looking away returns performance back to normal
image

Deleting the building's rubble by placing farms on top also restores FPS
image

This seems to happen with all "proper" buildings (barracks, archery ranges, etc., but not with farms) and gets worse with the bigger buildings like the Abassid Dynasty's house of wisdom I used for the pictures.

Oh, also I have a Windows dual boot and the game works just fine with my hardware.

Mmbriar 2022-12-06 github

Maybe give VKD3D_CONFIG=no_upload_hvv a try.

PPhireh 2022-12-06 github

Maybe give VKD3D_CONFIG=no_upload_hvv a try.

Thank you for the quick response! I just tried it and it seems to have worked. I still get a bit of a drop, but it's much more in line with what I would expect.

image
image

Launch options