halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6 BETA] m_rawinput and acceleration

Open nekitz0r opened this issue 13 years ago • 109 comments

Hello everyone! I have a problem whit "m_rawinput" settings.

Motherboard : ASUS SABERTOOTH Z77 CPU : Intel Core i7-2600 (3.40Ghz Socket1155) RAM : Kingston DSRAM 2x2Gb "Hyper X" KHX2133C9AD3T1K2/4GX Video : ZOTAC GeForce GTX 470 AMP! Edition 1280Mb HDD : SSD 60Gb OCZ "Agility 2" Display : Samsung 2233rz (120Hz) OS : Windows 7 Ultimate PS 1 (64bit) Mice : Zowie AM

Half-Life and CS 1.6 fully installed and upgraded, and select "Beta" for BOTH games.

Check my screenshots in MouseMovementRecorder:

  1. http://filepic.ru/1361370797 in Windows -> everything is working fine (no acceleration)

  2. http://filepic.ru/1361370854 in CS (m_rawinput = 0) -> Goes back to old sensivity, but lags/don't respond correctly/breaking movement/etc

  3. http://filepic.ru/1361370877 in CS (m_rawinput = 1) -> The mouse works fine but with alot of acceleration (shooting far or close, seems I have negative and positive acceleration and it's impossible to play like that)

If I started CS with launch options (-w 800 -nofbo) I always have acceleration in game.

http://filepic.ru/1361370854 (m_rawinput = 0) http://filepic.ru/1361370877 (m_rawinput = 1)

If I started CS with launch options (-w 800 -noforcemparms -noforcemaccel -nofbo) I don't have acceleration. (not always). But Check screenshots:

http://filepic.ru/1361371802 (m_rawinput = 0) http://filepic.ru/1361371817 (m_rawinput = 1)

m_rawinput = 0 and m_rawinput = 1 -> not correctly movement for my mice.

Dear developers, can you make it looks like a ( http://filepic.ru/1361370797 in Windows) ? I think it's the only correctly movement for mice ( bit to bit). It's very need for normal playing.

nekitz0r avatar Feb 20 '13 15:02 nekitz0r

we all have this problem.. :(

DeNeDe avatar Feb 20 '13 15:02 DeNeDe

Thanks @nekitz0r , this hard data will really help find any problems and get the best mouse experience!

I think the program you are using may not work correctly for the raw input case, which may just be due to how the tool queries windows for movement.

alfred-valve avatar Feb 20 '13 16:02 alfred-valve

@alfred-valve Maybe you are right. need a more suitable program for check this.

nekitz0r avatar Feb 20 '13 16:02 nekitz0r

@alfred-valve I've noticed that sometimes CS activates Enhance pointer precision in Windows (Mouse settings) It's possible ? Or my mistake...

nekitz0r avatar Feb 20 '13 16:02 nekitz0r

There is nothing in code that I know of that enabled "enhance pointer precision" (I am not sure what that does)...

alfred-valve avatar Feb 20 '13 17:02 alfred-valve

@alfred-valve if you need the program he's using, you can download it from here https://docs.google.com/file/d/0B-oc73ZQFT19cF9HclJ5MW9nbTA/edit?usp=sharing source code is included (under GNU licence)

ghost avatar Feb 20 '13 17:02 ghost

I am not sure too. forget about it. if i see this again i will tell you

nekitz0r avatar Feb 20 '13 17:02 nekitz0r

@alfred-valve I've recorded a video about enabling "enhance pointer precision" by CS 1.6. link: http://youtu.be/d2s3xazS5U8 an article about what "enchance pointer precision" does: http://donewmouseaccel.blogspot.ru/2009/06/out-of-sync-and-upside-down-windows.html http://donewmouseaccel.blogspot.ru/2010/02/windows-mouse-pointer-acceleration_28.html

ghost avatar Feb 20 '13 17:02 ghost

Okay, after working out how to overclock my mouse to 1000hz (boy Microsoft makes that hard...) I can reproduce the console output you see. That said, when running older versions of Counter-Strike I reproduce EXACTLY the same thing, so I don't believe there is a regression here at all. Note that the command line parameters you probably want are: -noforcemparms -noforcemaccel -noforcemspd

I believe that raw input will give you the best experience here at the moment as it uses the native windows interfaces to get the best mouse cursor data.

That said, if I increase my FPS in game to 1000hz I can get the mouse deltas you want (i.e matching windows), so I will investigate adding a new feature that polls the mouse at a higher frequency than the running frame rate.

alfred-valve avatar Feb 20 '13 17:02 alfred-valve

What if you return them commands back?

AndreiRomania avatar Feb 20 '13 18:02 AndreiRomania

@AndreiRomania what do you mean "return them back"? -noforcemparms -noforcemaccel -noforcemspd - it works for me

ghost avatar Feb 20 '13 18:02 ghost

Same here but with the old commands i get more response from my mouse. The same thing is with all the players.

AndreiRomania avatar Feb 20 '13 18:02 AndreiRomania

The code is identical between the old and new client (if you are opted into the beta), as the program @nekitz0r found for us shows.

alfred-valve avatar Feb 20 '13 18:02 alfred-valve

Then why if i use Rawinput 0 and move the mouse fast like a whipshot the cusor stop moving sometimes and jumps why? if the -noforce is still working...?

AndreiRomania avatar Feb 20 '13 20:02 AndreiRomania

I have no idea @AndreiRomania , can you try running MouseMovementRecorder and performing that action so we can see what is going on in your OS.

alfred-valve avatar Feb 20 '13 20:02 alfred-valve

@alfred-valve I keep getting complaints about people's mousemovement being very jittery when using m_rawinput 0. They game is pretty much unplayable for them, and it's probably related to this issue.

idderf avatar Feb 20 '13 20:02 idderf

I cannot capture it it moves jittery but random and sometimes gets red ..... sometimes.

seems that i will have to stick with rawinput 1 or now :|

AndreiRomania avatar Feb 20 '13 20:02 AndreiRomania

@alfred-valve check this video http://www.youtube.com/watch?v=svOGtnilmKg&feature=youtu.be that the problem for @AndreiRomania and for me too. http://filepic.ru/1361370854 in CS (m_rawinput = 0) -> Goes back to old sensivity, but lags/don't respond. I think MouseMovementRecorder don't show lags. It's playable if I move my mouse very very slow. But if I want fast movement 180* or (360) I immediately get the lag and latency.

nekitz0r avatar Feb 20 '13 22:02 nekitz0r

@alfred-valve m_rawinput "1" working well. but it's not perfect for gaming. Just trust me, I am playing CS 1.6 7 years and I feeling it is a micro moment. I tested m_rawinput "1" an one hour on deathmatch and I see that I was playing badly. Alfred I believe that you can do better and I want help you but my english is too bad for that.

nekitz0r avatar Feb 20 '13 22:02 nekitz0r

m_rawinput "1" is not working well, there's still some kind of acceleration left, even with -noforce parameters.

Also, rawinput "0" creates huge mouselag. Was fine yesterday, but doesn't work today.

Steelseries Xai running at 500Hz on 64bit Win7

Cheers

pro-cs avatar Feb 20 '13 23:02 pro-cs