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 · 13 comments
Open

Cursor ocassionally stops (input thread stutter) #27227

Auruhausu opened this issue Feb 18, 2024 · 13 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.

@yomikomanda
Copy link

I had this problem too and switching from Multi threaded rendering to Single threded fixed it for me

@iwa
Copy link

iwa commented Jun 5, 2024

i had a few input stutters in the last 2-3 weeks, and recorded one tonight

here's the clip:
https://github.com/ppy/osu/assets/19956672/a9b5bb30-3953-48df-b4ec-1eefaccdab6d
edit: seems we can't really see the input lag on the clip as the clip itself stuttered too

the logs:
compressed-logs.zip

specs (dunno if you have them in the logs but in case):

  • ryzen 7 7700x, rx 7800 xt, 32gb ddr5 ram
  • wacom ctl-472, using external opentabletdriver
  • in-game tablet support disabled, high precision mouse disabled (always had issue with this setting on when using my tablet)
  • directX 11 experimental (my fps are more stable with it than normal directX 11)

if you need further details don't hesitate to @ me

edit 2: happened again, also have clip + logs if needed

@BenCheung0422
Copy link

@iwa I think they are still working on it to fix this issue.

@iwa
Copy link

iwa commented Jun 5, 2024

@iwa I think they are still working on it to fix this issue.

ikik but as it seems to be kind of an awkward issue, the more logs / cases they can analyze, the merrier i guess?

@Packsolite
Copy link

What i find interesting with this issue is that i'm playing lazer for years but it only started occuring around feburary this year.
Also you can easily recreate this by stressing your cpu using prime95.

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

8 participants