doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.42k stars 867 forks source link

Low performance on Radeon rx 7900xtx #3787

Open ElementSingularity opened 10 months ago

ElementSingularity commented 10 months ago

When playing in warframe, I notice that, compared to windows 10, the performance is roughly about half of what it is supposed to be. I am seeing 230+ frames in orbiter, compared to 350-500, navigation is fine, but in the new area, Sanctum Anatomica, frames drop to around 70-85, compared to 200+ in windows.

The Linux version info: EndeavorOS using the following kernels: Linux, Zen, and Nobara. Gnome Environment.

Games and settings: Warframe, max every setting, FSR off. Information above showing for the main areas tested.

System information

Logs are too big to send, even trying to spend as little time as possible to gather data. I will send a compressed file instead. steam-230410.zip

Blisto91 commented 10 months ago

Can you share a screenshot of a low performance section with the full dxvk hud on. Settings the environment variable DXVK_HUD to full will turn it on.

Also make a apitrace if possible.

ElementSingularity commented 10 months ago

Imma keep it real with you. I'm new to Linux so I don't exactly know many things. I'll probably have my friend help me if possible. If you can tell me how to do the apitrace thing then I'd be glad to.

Also note, I have a friend with an Rx 6800 and they have similar or better performance than me.

Blisto91 commented 10 months ago

No worries.

We have a guide for using apitrace here https://github.com/doitsujin/dxvk/wiki/Using-Apitrace. When using Proton you can skip the sections that talk about setting dll overrides (the line and gif that mentions/shows winecfg) as that is already set correctly. I am pretty sure that this game is 64bit so you can just start reading from just below the gif. If the performance drops alot while tracing then you know it is working. If you succeed in making a file then they will appear in the desktop folder of the Wine prefix (the pretend Windows install folders Wine software uses). Using Steam Proton each game have it's own prefix and i believe for this game using default install path it should appear in ~/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/Desktop/. If using flatpak Steam or non default install location it will be different.

As for a screenshot with dxvk hud on (not while using apitrace) in Steam if you right click on the game in your steam library -> select Properties -> insert DXVK_HUD=full %command% in to the launch options field then it should appear ingame.

ElementSingularity commented 10 months ago

So, I found something interesting while getting screenshots. I found that it's only in the new area that seems to be getting bad performance, so it might just be DE needing to optimize that new area perhaps. However, lets see if that's true or if there is something else at play here. I will get that trace to you soon. Screenshot from 2024-01-06 08-35-54 Screenshot from 2024-01-06 08-45-42 Screenshot from 2024-01-06 08-45-57 Screenshot from 2024-01-06 08-46-31 Screenshot from 2024-01-06 08-47-24 Screenshot from 2024-01-06 08-48-25

ElementSingularity commented 10 months ago

I tried to get the apitrace, but it seems that warframe doesn't want to generate it for us.

Redundanz commented 9 months ago

excellent frametimes and performance for 3440x1440 on a 7900xtx. also fully utilized. the screenshot with the 71fps was in shader compilation state. so expected. i can't imagine a 6800 (non-xt) to get above your values in 1440 uwqhd.