Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPS Drops While Playing and Opening Certain DX Interfaces #4010

Open
1 task done
naouh opened this issue Feb 8, 2025 · 2 comments
Open
1 task done

FPS Drops While Playing and Opening Certain DX Interfaces #4010

naouh opened this issue Feb 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@naouh
Copy link

naouh commented Feb 8, 2025

Describe the bug

There are significant FPS drops while playing and when opening certain DX interfaces. This issue was not present in older versions and only appeared after a recent update.

Video Example:
https://youtu.be/KGAHbkAq9oE

Potentially Related Issues:

#3973
#3978

Version Information:

Working Version: Multi Theft Auto v1.6-release-22920
Bugged Version: Multi Theft Auto v1.6-release-22930

Steps to reproduce

Play a map.
Open dx interface.

Version

Client: Multi Theft Auto v1.6-release-22930

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@naouh naouh added the bug Something isn't working label Feb 8, 2025
@naouh naouh mentioned this issue Feb 8, 2025
1 task
@TheNormalnij
Copy link
Member

Related to #3978

@tederis
Copy link
Member

tederis commented Feb 10, 2025

It can indeed be related to #3978. And the problem is that these lag spikes are inevitable by design. Just because the textures loading is synchronous. The only way to mitigate it is to disable the garbage(unclaimed textures) collection. I'm inclined to think that it would be better to run GC on demand only. For example, when a client is running out of free memory. I'll implement this logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants