xash3d
xash3d copied to clipboard
Mouse problem
In-game when i'm moving mouse with high speed it fully stops recognition of mouse moving. This is not my mouse problem or windows, cause in original engine [GoldSrc] it works OK.
Strange, I remember it was happening only on original engine. Can you send engine version? Enter host_ver in console.
1215 0.19.2
And which platform?
Win32 i386
SDL2-2.0.8 bug?
this still happens on current 'master' build (SDL 2.0.7)
I've been experiencing this same issue. Workarround:
- Disable VSync. From the main menu, go to "Configuration" > "Video" > "Video modes". There should be a checkbox for "Vertical Sync" at the bottom of the screen. After you uncheck the box, click "Ok".
- Quit the game.
- Launch Xash3D with the launch parameter
-console
. - Open the developer console, and type
fps_max 125
. The higher the value, the less this bug will affect you. I'd recommend using a number from here.
There is several issues with this workaround, as several mechanics in Half-Life are affected by framerate. Most notably, the higher your FPS is, the slower that NPCs will turn.
Another solution may be using m_rawinput 1. This is Win32 only bug. :(
Instead of warping mouse every frame into window center(that's why higher FPS may help), it will try to read relative values over SDL2.
Another solution may be using m_rawinput 1. This is Win32 only bug. :(
I'm running Kubuntu 18.10, and I'm experiencing this bug at 60 FPS.
@Jayman2000 where did you get client.so? Built from hlsdk-xash3d or from Steam?
I got it from Steam.
That's awkward. I never encountered this on Linux at all.
Mouse works bad on win32/sdl2 clients without m_rawinput If we capture mouse with SDL2, it will not work with legacy clients at all, so capture is disabled