ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

Mouse behaves poorly with m_rawinput 1. #630

Closed disabledgamer closed 11 years ago

disabledgamer commented 11 years ago

When the newest beta update went live my mouse behaves extremely random, firing from mouse causes the mouse to fire either 0 1 8 or all available rounds from rifle, i have used m_rawinput perfectly fine up until an hour ago or so.

I am able to fire correctly using keyboard.

This is not exactly related to shooting as I tried jumping and walking with mouse and it behaved just as poorly as firing weapon.

Processor Information: Vendor: AuthenticAMD Speed: 2094 Mhz 2 logical processors 1 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Windows XP (32 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0

Video Card: Driver: ATI Mobility Radeon HD 4200

DirectX Driver Name:  ati2dvag.dll
Driver Version:  6.14.10.7028
DirectX Driver Version:  6.14.10.7028
Driver Date: 10 Dec 2009
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: ATI Mobility Radeon HD 4200
VendorID:  0x1002
DeviceID:  0x9712
Number of Monitors:  1
Number of Logical Video Cards:  1
No SLI or Crossfire Detected
Primary Display Resolution:  1366 x 768
Desktop Resolution: 1366 x 768
Primary Display Size: 13.27" x 7.48"  (15.20" diag)
                                        33.7cm x 19.0cm  (38.6cm diag)
Primary Bus Type Not Detected
Primary VRAM: 700 MB
Supported MSAA Modes:  2x 4x 

Sound card: Audio device: Conexant HD Audio output

Memory: RAM: 2812 Mb

Miscellaneous: UI Language: English Microphone: Not set Media Type: DVD Total Hard Disk Space Available: 2060344 Mb Largest Free Hard Disk Block: 1586059 Mb OS Install Date: Sep 01 2012 Game Controller: None detected

Installed software: Adobe Flash Player 11 Plugin ALPS Touch Pad Driver AnyDVD Atheros Client Utility ATI Catalyst Install Manager ATI Display Driver Catalyst Control Center Core Implementation Catalyst Control Center Graphics Full Existing Catalyst Control Center Graphics Full New Catalyst Control Center Graphics Light Catalyst Control Center Graphics Previews Common Catalyst Control Center InstallProxy Catalyst Control Center Localization All CCC Help Chinese Standard CCC Help Chinese Traditional CCC Help Czech CCC Help Danish CCC Help Dutch CCC Help English CCC Help Finnish CCC Help French CCC Help German CCC Help Greek CCC Help Hungarian CCC Help Italian CCC Help Japanese CCC Help Korean CCC Help Norwegian CCC Help Polish CCC Help Portuguese CCC Help Russian CCC Help Spanish CCC Help Swedish CCC Help Thai CCC Help Turkish ccc-core-preinstall ccc-core-static ccc-utility CCleaner Combined Community Codec Pack 2012-12-30 Conexant HD Audio CPUID CPU-Z 1.62.0 DVD Shrink 3.2 eReg foobar2000 v1.1.14a Fraps (remove only) GCFScape 1.8.4 Hotfix for Microsoft .NET Framework 3.5 SP1 (KB953595) Hotfix for Windows XP (KB2443685) Hotfix for Windows XP (KB954550-v5) IrfanView (remove only) Jed's Half-Life Model Viewer 1.3.6 Karen's Directory Printer Microsoft .NET Framework 1.1 Microsoft .NET Framework 2.0 Service Pack 2 Microsoft .NET Framework 3.0 Service Pack 2 Microsoft .NET Framework 3.5 SP1 Microsoft .NET Framework 4 Client Profile Microsoft Kernel-Mode Driver Framework Feature Pack 1.9 Microsoft User-Mode Driver Framework Feature Pack 1.0 Microsoft Visual C++ 2005 Redistributable Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30411 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148 Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.51106 Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.51106 Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.51106 Mozilla Firefox 19.0 (x86 en-US) Mozilla Maintenance Service MPC-HC 1.6.5.6366 qBittorrent 3.0.8 Realtek USB 2.0 Card Reader Skins Steam Unlocker 1.8.5 Vegas Pro 9.0 VLC media player 2.0.4 WebFldrs XP Windows Media Format 11 runtime Windows Media Player 11 WinRAR 4.00 (32-bit)

alfred-valve commented 11 years ago

The latest beta update did change the handling for raw input button presses (using the raw input message itself, so it should have much less latency now). Is anyone else seeing this issue?

dagla commented 11 years ago

After I press mouse2 button once it acts like the button is pressed down constantly.

edit: also happens with mouse3 1, 4 and 5 are not affected.

schoof commented 11 years ago

i too have problems since the last update (using m_rawinput 1; 0 isnt playable for me because when i move mouse a little bit faster the mouse cursor just stops responding, i and others have mentioned the problem before in other posts): when i click the left mouse button to shoot it only does single shots now!!! i cant do 2 or more shots although im pressing the mouse button!!! and the right mouse button which im using to zoom is behaving strangely also, for example the weapon zoom action is executed nonstop without me even doing it!!!

ghost commented 11 years ago

Confirm on Windows 7

JohnPrisoner commented 11 years ago

i have problem too. after last update. attack2 is bugged with raw_input 1

windows 7

fast fix please, i cant play with raw_input 0.

zp commented 11 years ago

Yeah, my +attack2 (mouse rightclick) looks bugged after last night's update. (m_rawinput 1)

Right clicking once will continuously +attack2 even after letting go of right click, I have to -attack2 in console to get it to stop. After I do -attack2 in console, right clicking does nothing.

+attack2 works normally if I bind it to a keyboard key though.

] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 15:28:40 Feb 26 2013 (5969)
Processor Information:
    Vendor:  GenuineIntel
    Speed: 3400 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Windows 7 (64 bit)
    NTFS:  Supported
    Crypto Provider Codes:  Supported 311 0x0 0x0 0x0

Video Card:
    Driver:  NVIDIA GeForce GTX 560 Ti 

    DirectX Driver Name:  nvd3dum.dll
    Driver Version:  9.18.13.1090
    DirectX Driver Version:  9.18.13.1090
    Driver Date: 29 Dec 2012
    Desktop Color Depth: 32 bits per pixel
    Monitor Refresh Rate: 59 Hz
    DirectX Card: NVIDIA GeForce GTX 560 Ti 
    VendorID:  0x10de
    DeviceID:  0x1087
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    No SLI or Crossfire Detected
    Primary Display Resolution:  1680 x 1050
    Desktop Resolution: 1680 x 1050
    Primary Display Size: 23.35" x 14.57"  (27.48" diag)
                                            59.3cm x 37.0cm  (69.8cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1280 MB
    Supported MSAA Modes:  2x 4x 8x 

Sound card:
    Audio device: Headphones (ThunderFX)

Memory:
    RAM:  8138 Mb

Miscellaneous:
    UI Language:  English
    Microphone:  Not set
    Media Type:  DVD
    Total Hard Disk Space Available:  1075869 Mb
    Largest Free Hard Disk Block:  317704 Mb
    OS Install Date: Dec 31 1969
    Game Controller: None detected

Installed software:
Rst-7 commented 11 years ago

The problem with m_rinput 1 topical. I was not comfortable to play with m_rinput 0, I need to 1. How to solve this problem?

Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 15:28:40 Feb 26 2013 (5969)

Windows 7 Ultimate x64 last update + net.f; Video Driver - 314.07 WHQL i5-2500k (4600MHz)\MSI GTX 680 Lightning\8Gb DDR-3 2133 CL9\850Watt\SS Kana

Mouse DPI-400; USB-500Hz; Sens in Windows 6\12; In Game 2.35. Launch Options CS1.6: "-noforcemparms -nomousegrab -nofbo -nomsaa -w 720 -d 480 -freq 120" Console: m_customaccel "0" m_customaccel_exponent "1" m_customaccel_max "0" m_customaccel_scale "0" m_mousethread_sleep "5"

zp commented 11 years ago

Looks like with m_rawinput 1, when you move your mouse while holding mouse1 it stops registering that mouse1 is held.

For instance, if I hold mouse1 while I have my knife out in CS it will slash like normal, but if I move my mouse at all, it stops slashing until you re-click the mouse1 button.

ghost commented 11 years ago

I have the same problem : when i enter in the Half Life , im using m_rawinput 1 and when i press the first time right click (-attack2) it shots continously like the right click is kept hold and it stops after i press (console key) repeatetly. If i use m_rawinput 0 it doesnt do this anymore , but its unplayable because when i move my cursor a little faster, the cursor is intrerupting and behaves unpropertly . And other BUG which all the other players encountered it is when you enter in half life , your cursor is blocked and does not move when you move your mouse (or it moves very very slowly just like you have your sensivity 0.000001) and it will come to normaly when you press ` key 2 times (enter and exit console). And the last BUG also that anyone else has encountered it is that in half life the console is spamming this : "Unknown command: s_disable_a3d" repetatly (i just play multiplayer mode).

ghost commented 11 years ago

//System Information http://205.196.123.166/e33sfx79scqg/k37yytmaqx1o8mh/System+Information.txt

alfred-valve commented 11 years ago

I can reproduce the buttons getting stuck down in m_rawinput 1 mode, we will have a hotfix out soon.

MrSchism commented 11 years ago

http://205.196.123.166/e33sfx79scqg/k37yytmaqx1o8mh/System+Information.txt

How about you drop that info into a gist (gist.github.com). Some of us won't click links that look suspicious on their own merrit, nor would we download anything from them.

It may just be paranoia... but I've dealt enough with SET and java-based drivebys.

I mean, I wound up using curl to find out the document information before even touching it.

Gr1mRe4pEr commented 11 years ago

Alfred, I am getting the opposite to you with m_rawinput = 1. When pressing down mouse button, they are releasing themselves. The result in counter-strike is that weapons stop firing. Also primed grenades tend to launch themselves without releasing the mouse button.

Perhaps what you see is caused by the same problem.

m_rawinput = 0 not affected, as other people say.

alfred-valve commented 11 years ago

@Gr1mRe4pEr , there is a state synchronization bug so you can both think clicks are missed or inverted, I am building the hotfix right now that will address both. Thanks to everyone for their descriptions of the issues, it really helps both discover and verify fixes :)

MrSchism commented 11 years ago

I feel like an idiot for not thinking of that, to be honest.

alfred-valve commented 11 years ago

Okay, I've updated the beta, restart Steam if you don't want to wait the 5 minutes for the client to automatically notice it :)

Gr1mRe4pEr commented 11 years ago

I can verify the fix is working. Nice work :)

If I notice anything later, I'll post a new thread.

ghost commented 11 years ago

This affects me also. I have a mouse acceleration issue I need fixed, as I'm one of those, who actually prefer mouse accel regardless of those dull comments that "mouse accel is bad".

Despite my many attempts at getting mouse accel to work under Steam it failed. It simply does not work. On the desktop the mouse runs blazing fast but under Steam to no avail.

Somehow, Steam is unable to adopt Ubuntu's desktop settings. I understand checking "raw input" will completely disable mouse accel, that I don't want to do, but if that is unticked, I am unable to move at all. Movements are entirely choppy. The game is unplayable (Counter-Strike 1.6 in particular).

It is very much unfair to force people not to use accel and simply remove it from the game. It was always optional. Many including me heavily rely on this feature, so it needs a fix ASAP.

All I'm asking is to preserve the game as it was, with mouse accel as an option to be enabled / disabled as per request and to revise it, because apparently Steam cannot utilize mouse settings from an Ubuntu desktop.