HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.87k stars 194 forks source link

Age of Empires IV - Looking at buildings destroys FPS #1323

Open Phireh opened 1 year ago

Phireh commented 1 year ago

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.

mbriar commented 1 year ago

Maybe give VKD3D_CONFIG=no_upload_hvv a try.

Phireh commented 1 year ago

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