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

Editor maxes out CPU thread on beefy system, runaway thread suspected #546

Open
thelabcat opened this issue Sep 7, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@thelabcat
Copy link

thelabcat commented Sep 7, 2024

ChroMapper version
0.10.779 Linux

Describe the Issue
While in the editor, a thread of my CPU consistently and instantly maxes out. My cooling fan kicks on high. This is a beefy system, it handles GTA5 on max settings with ease. ChroMapper shouldn't be causing this.

Steps to Reproduce

  1. Platform is Fedora 40 x64
  2. Open ChroMapper to the editor on any map (even an empty one).

Expected Behavior
My system to generally remain cool, definitely not kicking into high gear.

Additional Context
I do not experience lag or ChroMapper stutters when this happens. I suspect the problem is caused by an event or rendering loop that is not limited in how many times it can loop per second (this would be an "FPS limit" if it were graphics), thus it is running as fast as it can all the time needlessly.

@thelabcat thelabcat added the bug Something isn't working label Sep 7, 2024
@Caeden117
Copy link
Owner

the FPS Limit doesnt just limit GPU usage - reducing the event loop would also reduce workload on the CPU. ChroMapper has two settings related to this, the VSync and Maximum FPS setting.

If these settings don't help, try checking the Wiki section on increasing your performance. The performance increases should also reduce the workload demand on your CPU.

@thelabcat
Copy link
Author

thelabcat commented Sep 7, 2024

I turned the FPS limit down to 10, and it limited it back up to 15. So far, so good. But loading up the editor, this is the fastest 15 FPS I've ever seen: I could not tell any difference at all. It also did not affect the runaway loop. I think the FPS limiter is broken.

@thelabcat
Copy link
Author

Strike that, I turned off monitor frame rate sync (aka VSync) and the regular frame limiter is working now. So, I don't know if VSync is supposed to supersede the frame rate limit, but it does.

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

2 participants