Welcome, Guest.
Username: Password: Remember me

TOPIC: 4.4 increasing frame times with Vulkan

4.4 increasing frame times with Vulkan 2 weeks 2 days ago #1

Hi. At first I was struggling to launch X4 Foundations (which is Vulkan based game) with ReShade, but now after I've reinstalled the GPU drivers without GeForceExperience I can launch the game with ReShade.
But I have encountered an issue, where after some time my FPS start dropping over time and frame times are constantly increasing even when there's nothing happening on screen and camera is static. FPS constantly getting worse so in aprox. 5 minutes frames go down gradually from 120 to 30. Reloading shaders, turning ReShade off or switching to performance mode doesn't help - frames stay on the same level. Only restarting the game helps but the issue repeats. When I launch the game without ReShade everything works fine. I also noticed that when I turn perf. mode ON my settings for each shader revert back to their default - and when I disable perf. mode - settings are back to custom values.
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 2 weeks 2 days ago #2

4.4 has a memory leak in Vulkan that worsens every frame and tanks performance. This is fixed in upcoming 4.5.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: MrFreud

4.4 increasing frame times with Vulkan 2 weeks 2 days ago #3

Thank you! You're the best!
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 2 weeks 2 days ago #4

crosire wrote:
4.4 has a memory leak in Vulkan that worsens every frame and tanks performance. This is fixed in upcoming 4.5.

Is the fix already implemented on github?
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 2 weeks 2 days ago #5

Yes
Cheers, crosire =)
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 1 week 40 minutes ago #6

crosire wrote:
Yes

I dont understand. Can I get a version without the Vulkan memory leak somehow?
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 6 days 20 hours ago #7

Open source so the code would be here.
github.com/crosire/reshade

Which then turns into a compiled release version with I assume 4.5 as the next one for all the changes done since 4.4.0 and then the fixes up to 4.4.2 :)
Though occasionally someone compiles the current WIP version as a sort of test or experimental release and I think the fixes for VC++ 2019 are in as well so anyone downloading the student edition could technically compile the code though there are also other dependencies such as in this case the Vulkan SDK and then the skill for compiling the various projects or the full thing into various .DLL files or the complete setup file / installer.

I've only experimented a bit with it and can't really do even that yet but once the next version is at a good state it'll likely hit a new release on this website but there might be further fixes planned or pending code commits to integrate before it's ready. :)
The administrator has disabled public write access.

4.4 increasing frame times with Vulkan 6 days 13 hours ago #8

Hm ok. But is it possible for me to somehow get a usable reshade version, with vulkan, and without the memory leak bug? Sorry i am no programmer and doesnt understand everything :)
The administrator has disabled public write access.