-
Notifications
You must be signed in to change notification settings - Fork 58
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
cl_yieldcpu 1
causes massive stutter with nVidia RTX hardware on Windows
#179
Comments
We'll look into this. |
@nashmuhandes In this zip, there are 2 binaries, one is a regular release binary for windows, the other uses SDL. |
I'm hoping @nashmuhandes or another Windows 10/11 user can test, I tested these two binaries on a Windows 7 AMD/Nvidia machine and can't get any stuttering related to |
Tested binaries stable binaries from fteqw.org and @fhomolka's binaries on another (desktop) machine and had no stutter with either: OS: Windows 10 Pro If you could @nashmuhandes, let us know what CPU/GPU you have. I was also curious if you had OGG music installed? Maybe the stuttering is actually caused by bug #136 |
|
@nashmuhandes What about the builds provided here:
@Xylemon , We ruled that out in the brief conversation made in the Discord server, just before the issue was made on the tracker |
Try setting sys_clockprecision to 2 then back to 1 or something. I suspect it'll help a bit (until you restart the engine) - I think the engine might be failing to use the cvar's callback and thus not actually changing the system settings that the cvar is meant to override by default. Either way any kind of yielding/sleeping is going to increase stuttering by a bit, its just a question of how much. Its tempting to just enable it by default, but the environmentalist in me says no, let the cpu sleep between frames. |
Having tested this on my main machine and another machine, I was only able to reproduce the reported bug on my dad's laptop. One of the common factors between the other machine and the reported machine is the RTX series of card. |
Finally got around to testing this (sorry, been real busy).
I'm unable to run the SDL executable, missing DLLs. Setup is a 100% clean install (separate folder with fresh CFG) with literally only id1 PAKs and nothing else (no music, no colored lights etc). |
You can get an official SDL2.dll from here https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-2.28.2-win32-x64.zip |
There is unfortunately no difference with the I am still getting the same results as the official builds, as in - frame spikes with And again - fresh install, fresh CFG, all-default settings, base PAKs only and no additional content or music. My OS and hardware hasn't changed - Windows 10 Pro, i7 8700 @ 3.2 GHz, 32 GB RAM, m.2 SSD, RTX 2080. |
One thing that I just realized I didn't mention anywhere in here - I'm on a 144 hz display. Not sure if that has anything to do with anything (like maybe the problem isn't noticable on 60 hz displays? Just a wild guess, heh) |
We have tested it on different refresh rate displays with no problem. The only common factor we've found so far is RTX series hardware. FTE just may not deal with their power consumption properly, but we don't have a lot of RTX hardware to test, just a laptop from a family member. |
cl_yieldcpu 1
causes massive stutter on Windows 10cl_yieldcpu 1
causes massive stutter with nVidia RTX hardware on Windows
The default setting,
cl_yieldcpu 1
causes huge stutters on Windows 10 (and can be seen clearly on the built-in frame graph).Setting it to 0 eliminates the frame spikes.
The text was updated successfully, but these errors were encountered: