Pause in case of large fps loss in short time (even by 5 frames, in 350ms) - this could prevent people with older machines from failing because of fps loss.
If you have a frame counter and a realtime clock, you can approximate an "instantaneous" frame rate.peppy wrote:
This doesn't really make sense... when you get "lag" osu! is losing control on its main thread. Unless I was to poll activity on a second thread and control audio separately (which would involve a lot of synchronisation and performance overhead) this would simply not be possible. I don't see it as being a good idea or solution.
No, it isn't, but you do have a point. The player will normally continue playing during lag and only miss because of the input lock.strager wrote:
Is input properly recorded during the lag, though? (Only lag I've experienced was during AutoPilot with sliders and spinners taking too long graphically. I could still hit notes fine if I knew them, even during the lag.)
If the entire system lags (e.g. some retarded thread is stealing all your cycles) the input thread perhaps won't do much good unless it were of a high priority (which I'm not sure you can do with non-admin processes/threads).MetalMario201 wrote:
If input was monitored in a separate thread, so small that it would be effectively immune to lag, this would solve most problems.
Wouldn't that make things worse? =SEcho wrote:
You could give osu! a higher process priority.
I've always found this. Deadlocks always seem to result whenever you mess with anything's priority.strager wrote:
Wouldn't that make things worse? =SEcho wrote:
You could give osu! a higher process priority.
Seems to be quite common tbh to get very very short lag spikes, which sadly mess up your combo in osu. And for the record, I'm mainly using a computer more than capable of running osu, and I have my process list sorted out with nothing in there that I could get rid of. I've learned to live with it, but any solution would of course be nice.CheeseWarlock wrote:
And I don't know what you guys are talking about. I never get this sort of lag; osu! runs at a smooth 60fps, the same as my monitor's refresh rate, never dropping below 59 (until my laptop overheats, but that's a different problem, and I can't expect osu! to solve that for me). Either your computer sucks, or you have too many other programs running.
My machine is 2 years old, upgraded this year. (better CPU cooling, more ram and better graphics)awp wrote:
Soultion: fix your machine's envirnment
if your machine is older than 6 years, upgrade
if you can't afford an upgrade (60 dollars is probably enough), stop making demands and appreciate what you're getting for free
griiiiiiiinch