StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Bug: Mouse moving by itself with raw input disabled #954

Open Paladiumer opened 3 years ago

Paladiumer commented 3 years ago

Describe the bug

The mouse points at weird directions that will end up forming a spiral and the player looks up (video included) https://user-images.githubusercontent.com/43043721/120015512-b0d28480-bfe3-11eb-97f3-8f5123ae61c8.MOV

To Reproduce

Steps to reproduce the behavior:

  1. Open any map with raw acceleration disabled
  2. Do nothing special
  3. See the mouse creating a spiral itself

Expected behavior

Should follow the actual mouse without pointing somewhere by itself

Operating System (Optional: Only if OS Specific)

JJL772 commented 3 years ago

I'm not able to reproduce this. Input works fine with m_rawinput 1 and m_rawinput 0

Any other steps I can try to reproduce the problem?

Paladiumer commented 3 years ago

I was playing the game on my 1080p monitor connected through HDMI if this can help (there's quite a big difference in screen resolutions)

JJL772 commented 3 years ago

I tested with both fullscreen and windowed, but wasn't able to reproduce it

Paladiumer commented 3 years ago

Maybe it only happens on MacBooks with an external display connected running Linux then ? I'm not sure what can cause this

JJL772 commented 3 years ago

I've had some weirdness with the mouse when sharing mouse input with barrier, or when remoting in with nomachine, but that's due to how input forwarding works. Happens in any game in that situation too.

But I haven't had this in any other situation.

JJL772 commented 2 years ago

Not reproducible, closing this. Thanks for the report though, I'll keep my eye out for this issue happening in the future

JJL772 commented 2 years ago

I've figured out how to reproduce this! If you're running with low fps (<= 40 in my testing), cursor position starts to spazz out, which causes this.

ashifolfi commented 2 years ago

I just tested this. jacked settings up to manually induce low fps. turned off raw input. seems fine on my end video example:

https://user-images.githubusercontent.com/29577987/180670508-1357bf2d-252c-4b56-805d-d86547b23e75.mp4

I feel like someone else should also test just to be sure though

JJL772 commented 2 years ago

Awesome! I'll wait for @Paladiumer to test this if they have time. Otherwise, it's safe to close.

verygladen commented 2 years ago

Tested on latest Playtest_Beta and Nightly, can't reproduce.

Trico-Everfire commented 2 years ago

tested it on latest release, can't reproduce.

Trico-Everfire commented 2 years ago

Bug is still present, but the conditions for triggering it has changed. I was just walking on the catwalks in a4's intro. and I just started spinning uncontrolibly, I've played from a2 core to a4 intro without any issues but suddenly I started spinning on the catwalks. Please open this issue.

JJL772 commented 2 years ago

@Trico-Everfire Are you running with m_rawinput 0?

JJL772 commented 2 years ago

Yeah I can reproduce this

ShygalCoco commented 2 years ago

issue is most likely fixed, tested throughout sp_a4_intro with m_rawinput set to 0 and fps_max set to 30

AWildErin commented 2 years ago

I'll leave it for JJ to say whether it's fixed or not since they can reproduce what was mentioned a few comments ago.