protonscr

The Last of Us Part I - Wrong GPU or CPU utilization

vkd3dclosed
HansKristian-Work/vkd3d-proton#1669 · opened 2023-08-24 by kr1spy2115 · updated 2023-12-06 · 14 comments · github
Kkr1spy2115 2023-08-24 github

The performance in the game with VKD3D-proton is limited to like 80% of windows DX12 performance. Tried every proton or mesa versions and nothing changed.

Windows - High: 65 fps
Linux - High: 50 fps
GPU load was around 85% on Linux and 95-99% on Windows and CPU load was around 60-75% on Linux and ~95% on Windows during testing.

Software information
The Last of Us Part I - 1080p 120 Hz

System information
GPU: RX 6600 XT
CPU: i3-12100f
Driver: Mesa 23.1.6-23.1.2
Linux kernel: 6.4
Wine version: Proton Experimental / Proton GE 8.13-8.11
VKD3D-Proton version: bundled with Proton

BBlisto91 2023-08-24 github

Post a Proton log for good measure.
How is your overall vram usage when running the game and does launching with VKD3D_CONFIG=no_upload_hvv change anything?

Kkr1spy2115 2023-08-24 github

steam-12271807113394651136.log
I'm getting around 7 GB VRAM usage and changing textures settings dont do anything.
Command VKD3D_CONFIG=no_upload_hvv changes nothing

BBlisto91 2023-08-24 github

Could you try to run the game without amd_ags_x64 set as builtin as a quick test as i've seen a report of fps and frametime issues with it for this game. If you didn't set it yourself via the launch options then run the game with WINEDLLOVERRIDES="amd_ags_x64=n"

Kkr1spy2115 2023-08-24 github

WINEDLLOVERRIDES="amd_ags_x64=b" was faulty (removing it fixes fps) but game detects only 4 GB of VRAM tho, WINEDLLOVERRIDES="amd_ags_x64=n" doesnt work, i mean it runs game the same way like without it

BBlisto91 2023-08-24 github

Ye the second thing was just if you hadn't set it yourself. Thanks for checking i will do some poking.

Kkr1spy2115 2023-08-24 github

thanks for help, is there any way to make game think it has like more VRAM without the dll override?

KK0bin 2023-08-24 github

GPU load was around 85% on Linux and 95-99% on Windows and CPU load was around 60-75% on Linux and ~95% on Windows during testing.

So the game is just CPU limited.

BBlisto91 2023-08-25 github

Reproduced the issue.

thanks for help, is there any way to make game think it has like more VRAM without the dll override?

Don't know actually.

Kkr1spy2115 2023-08-25 github

GPU load was around 85% on Linux and 95-99% on Windows and CPU load was around 60-75% on Linux and ~95% on Windows during testing.

So the game is just CPU limited.

on windows yes, but on linux removing dll override fixed cpu usage or whatever it was and now cpu is like "unlocked" and im getting now avg 100 fps from cpu when i use lowest cpu settings

HHadrianneue 2023-08-28 github

@Blisto91 @K0bin reported here also https://github.com/ValveSoftware/wine/issues/196, found some clues to what is causing this issue.

VVladimirMrzv 2023-09-04 github

WINEDLLOVERRIDES="amd_ags_x64=n" also helps to load textures, without it they are blurry

BBlisto91 2023-12-05 github

@kr1spy2115 The game now have AGS builtin on Proton Experimental Bleeding Edge by default as the performance drop have received a fix. Are you able to verify that it is fine now on Bleeding Edge?

Kkr1spy2115 2023-12-05 github

@kr1spy2115 The game now have AGS builtin on Proton Experimental Bleeding Edge by default as the performance drop have received a fix. Are you able to verify that it is fine now on Bleeding Edge?

will do, thanks for info

i will play with this around today

Kkr1spy2115 2023-12-05 github

@kr1spy2115 The game now have AGS builtin on Proton Experimental Bleeding Edge by default as the performance drop have received a fix. Are you able to verify that it is fine now on Bleeding Edge?

my friend tested it and it works great now, no problems with it

Proton versions

Launch options

Upstream links