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

Cursor ocassionally stops (input thread stutter) #27227

Open
Auruhausu opened this issue Feb 18, 2024 · 8 comments
Open

Cursor ocassionally stops (input thread stutter) #27227

Auruhausu opened this issue Feb 18, 2024 · 8 comments
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:input

Comments

@Auruhausu
Copy link

Type

Game behaviour

Bug description

After updating lazer I've discovered a really annoying thing: when playing STD (may also happen in Song Select menu) cursor ocassionaly stops while dragging tablet pen and after some time just "teleports" to the point where the pen is currently located. It happens anytime during gameplay and it is especially irritating when it happens at the end of a song.

Screenshots or videos

issue.mp4

Version

2024.131.0

Logs

compressed-logs.zip

@longnguyen2004
Copy link

Tracked at ppy/osu-framework#6181

@frenzibyte frenzibyte added osu!framework issue Can't resolve this without changes to osu!framework. type:input platform/windows and removed platform/windows labels Feb 18, 2024
@frenzibyte
Copy link
Member

frenzibyte commented Feb 18, 2024

Keeping this issue open and pinning to give visibility for anyone else coming to report it, since it's been reported over 5 times in the span of few days.

@frenzibyte frenzibyte pinned this issue Feb 18, 2024
@peppy
Copy link
Sponsor Member

peppy commented Feb 19, 2024

Does turning off "high precision input mouse" with this?

2024-02-19 11 12 26@2x

@Auruhausu
Copy link
Author

Tried both turning off and on this option, but the problem still shows up

@BenCheung0422
Copy link

For my experience, I have a kind of 2 types of input lags: sudden stop and delayed movements, and luckily I am able to record them. For the type with sudden slow cursor movements, I have experienced for periods vary from a few hundreds of milliseconds to a few seconds. And sometimes coming with rendering lags, but it seems like it would be another problem.

  • Sudden stop (blue circles "1" to "2"):
2024-03-11.22-26-13.out.mp4
  • Sudden delayed movements (near the end of this play, and apparent drop in input FPS is recorded):
2024-03-11.23-00-00.out.mp4

From #9283 (the case with rendering lag), it is mentioned that it might be GC-related, but for my recordings, no apparent relationships to GC can be found. In the mean time, I will still try to collect more information related to the lags and delays as useful as possible.

@peppy peppy changed the title Cursor ocassionally stops Cursor ocassionally stops (input thread stutter) Mar 12, 2024
@BenCheung0422
Copy link

BenCheung0422 commented Mar 12, 2024

This time. I have tracked on the logs and probably found that it might be related to the slow frames on the threads.

2024-03-13.00-51-08.out.mp4

Here, I used 2880x1620 DSR for my 1920x1080 monitor, and 8 font size instead of 12 (default) for the terminals.

logs-1710256102.zip

@peppy
Copy link
Sponsor Member

peppy commented Mar 12, 2024

Having the stats open probably does that, and is probably not related.

Also having windows displayed above the game, and potentially the game not focused, will not help.

ALso it's not running in fullscreen mode since windows are being displayed.

@BenCheung0422 Please open a separate discussion for your issue (or better yet, self-troubleshoot), it's not the same issue as what is being tracked here.

@BenCheung0422
Copy link

BenCheung0422 commented Mar 12, 2024

I am not sure if stats affect that. Also, in the video clip, I used OBS so that the console windows on the back can be rendered in front of the game window. Yesterday, I just captured the moments with cursor movement pauses. I will try to record with stats opened and see if I can capture the moments with slow movements. It is like there is frame loss in input threads in this case. I will open a new discussion (or issue) for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:input
Projects
None yet
Development

No branches or pull requests

5 participants