Battlefield 2Mouse skipping and FPS Cap


13.10.2016, 08:48 - el_t0ro - - 19 Posts
Hi.

Could be it's commonly known, so it's probably a "doh!" post from me smiling

I was having alot of mouse skipping on BF2, and after raising my cap to over 100 (using 250 now), the skipping dissappeared.
Actually was allready noticable better at 120 fps cap.

I've had some of the same symptoms in other games aswell when using 100 fps cap. cod4, css/csgo etc i get microstutter at 100 fps. Could be that new graphic cards don't like that 100 clean cap.

But anyhooo, just a heads up if anyone else is experiencing mouse skipping/microstutter. You could try raising the cap.
game.LockFPS 0 = off, or any number.

Cheers!

Don't shoot!! I'm drinking!!

 
13.10.2016, 19:05 - S_h_a_r_k_93 - Administrator - 5351 Posts
Thank you very much for your report! I personally have game.lockfps 200 and renderer.drawfps 1 in my Video.con file, and I have made it read-only.

EDIT 2020: I don't have that setting anymore, only thing it was good at was overheating my GPU for no additional benefit as most of those extra frames are skipped anyways (I have a 60Hz Laptop Monitor).

Staff Officer Italy S_h_a_r_k_93 

[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]

 
24.04.2020, 04:40 - Daw3dx - Leading Aircraftman - 3 Posts
Hi i have the mouse skipping issue and its very annoying it only happens when im standing still and turning horizontally but it doesnt do it when i walk forward or backwards i raised my fps but it didnt do anything.

 
24.04.2020, 18:46 - S_h_a_r_k_93 - Administrator - 5351 Posts
Are you using any overlay software? If so try to close it completely.
Does your problem look like the one in this video? Scope lag during/after aim-down-sights?



If that's the problem, there are some fixes to try; but if this "mouse skip" that you are talking about is different, I don't know if it's going to be the same result. Do you have this problem both in Singleplayer and Multiplayer?

Staff Officer Italy S_h_a_r_k_93 

[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]

 
27.04.2020, 18:53 - Daw3dx - Leading Aircraftman - 3 Posts
Yes it happens in single player and multi player it almost feels like im skipping frames it only happens when i walk side ways or stand still look horizontally also jitters also when i jump and move left and right i get laggy movement also. And no its not like that video its more like this youtube.com/watch?v=CpAeUD7ZYMs
 
27.04.2020, 23:09 - S_h_a_r_k_93 - Administrator - 5351 Posts
Tried to help on Discord, to the best of my stored knowledge, but this seems like it's going to stay flat.
MEEEEEEEEEEEEEDIC!!! https://i.imgur.com/4lugd2P.png

Staff Officer Italy S_h_a_r_k_93 

[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]

 
06.05.2020, 09:06 - S_h_a_r_k_93 - Administrator - 5351 Posts
In the video I didn't spot the problem, looked like normal gameplay to me; but recently somebody came up on Reddit with the exact same issue that Daw3dx is describing (well, only when turning the mouse view around horizontally, didn't talk about moving sideways) and this video that the poster has recorded describes your problem perfectly, am I right?

We've had a very interesting comment by Manekk that I hereby quote: So I have been trying to fix this problem as well for ages. I came to the conclusion, that it is intended and has to do with the soldier animation. He will turn sideways without moving his feet and once you turn far enough, the feet will have to move. Let a friend do what you did in the video and watch him. If you find how to remove it, I'd love to learn how.



Perhaps not hope is lost, I have asked in our Discord to the users running with a 144Hz monitor if they experience the same issue, but so far it looks like there is no real solution for this problem; to a lesser extent, I do experience the same type of "skip" when looking around horizontally and standing still.

Best regards,
Staff Officer Italy S_h_a_r_k_93 

EDIT: Manekk has posted a clip here, where he adds that this problem also hinders his aiming ability: streamable.com/vk77p.

[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]

 
21.05.2020, 12:29 - Manekk - - 1 Posts

 Stutter or input lag?

Locking your frames can create quite a lot of input lag, depending on what kind of frame limiter is used. Many ingame frame limiters do a bad job and I feel like the one in BF2 is not particularly good. Newer Nvidia drivers offer an inbuilt frame limiter, which is not too bad, but the best frame limiter by far is RTSS.

The thing with RTSS is, that is adds exactly one frame of input lag. In turn it creates very stable frametimes which gives you a pretty smooth experience ingame. Frametimes are defined like this:

Frametime (ms) = 1000/fps

So if you run the game at 100 fps, you get a new frame every 10 ms. These 10ms are ADDED to the chain of input lag you experience. Since FPS are an average value, this could mean that one frame takes 15ms to render and then other one 5 ms, giving you an average of 10ms. This will cause perceived stutter.

 Where to put your money on

So what you want is STABLE frametimes; but BF2 makes this hard. Due to the hardware limitations at release of the game, only things in front of you will be rendered properly. You can check this by observing FPS and looking at the "action" and then looking away from the action. So if you are turning fast in battle, frametimes will become unstable for a split second which can cause mouse skipping and rubber banding.

So you can basically choose whether you want smoothness or input delay/lag. The statement that locking fps at the value your monitor supports is enough is wrong though, since higher FPS shorten frametimes and the frames will get to your PC faster. So what you see will be a bit less "in the past".

People seem to have the assumption that everything is instant, but in reality you will see everything that happens in your RAM/CPU around 10-200ms later, with 10 being on top notch Intel Hardware with a perfectly optimized system.

To get you in the ballpark, 35ms is around a head's length of a running soldier. In general BF2 is a rather CPU heavy game, so on modern hardware the bottleneck will always be the CPU. GPUs have evolved much faster than CPUs since 2005.

 So what do I do now?

I personally unlock my FPS with game.lockfps 0, because I crave that input lag reduction. You have to note, though, that doing so will tax your CPU more and you will need to optimize your windows environment so that not only the game, but also the OTHER components run well.

These other components are the windows infrastructure needed to run the game, including things such as USB drivers, mouse/kb drivers, Network protocols and drivers, graphics drivers, etc.


 
23.07.2020, 02:02 - Daw3dx - Leading Aircraftman - 3 Posts
There's still no official fix for this I've been experimenting but nothing I'm clueless right now but from what I found out it's not the mouse that causes the lag but the soldier movement animation since this is only an issue as infantry and this has been a problem for some people since the release of the game.
 
28.07.2020, 10:18 - Rotblut - Chief Technician - 900 Posts
Daw3dx wrote:

I've been experimenting but nothing.

My 2cents on this,

when I play BF2 I sometimes feel that my game is jerky. Sure, I was looking for a solution on the Internet to see the frame rate, came across the console commands and entered renderer.drawfps 1 in the console to see whether the frame rate slumped.

But as it is, I'm human and being lazy. That's why I often didn't do it and now I was looking for a solution for a permanent display to find out when the drops happen.

To always display the FPS in the game (top left in red), simply go to the Documents \ Battlefield 2 \ Profiles \ 0001 folder (repeat for every other profile), open the Controls.con file with the editor and at the end the line, renderer.drawfps 1
To keep the frame rate constant it makes sense to add the line game.lockfps 0. As Manekk mentioned already

Game on!

++ copy and paste ++
renderer.drawfps 1
game.lockfps 0

[ALIGN=center][img]https://i.imgur.com/vgrSKRc.gif[/img][/ALIGN]

 
07.02.2021, 23:59 - S_h_a_r_k_93 - Administrator - 5351 Posts
Additional videos of the problem (this comes from this reddit post):


From Harryold (this is more related to the aim-down-sight problem of the sniper rifles, though):


This comes from a new user (Cameron) who joined the BF2Hub Discord vigorously complaining about this problem Laugh maybe this is the time we crack it, who knows!


To reproduce the problem, you have to play any map Singleplayer (eg. Dalian) and:
  1. stand still, do not move forward or backwards or the issue will not appear (moving sideways is instead allowed, the issue will persist)
  2. move your mouse only horizontally because vertically the problem does not sussist
  3. move it fast or far enough for the mouse to stutter, tiny adjustments of your aim will not produce stuttering but if you keep moving the mouse sideways even slowly but consistently, you will see that some frames will be skipped: it is encouraged to try all sorts of speeds whilst moving horizontally but making sure your movement is long enough to witness a possible stutter

Cameron also established that framerate makes no difference, he has a 120fps display and at 200+FPS the problem is a lot more noticeable (on a 120hz display). He also quotes the OP of the reddit post saying
Hanfsalat wrote:

If I patch those instructions, the game won't mouse skip any longer but a side effect is that you can't turn your mouse any longer while parachuted

And finally he seems to have made a tiny discovery regarding fps limiter: "if you cap your FPS to 30, it's a lot less like stuttering and more like a "smooth" acceleration (considering it's 30fps) so to me it seems like there is mouse acceleration which is programmed for 30fps" [Cameron came in mentioning that BF1942 has built-in mouse acceleration therefore even BF2 should have it too] "either that or the stuttering just blends in more with a lower framerate. Also another thing that supports this is that the mouse cursor in the spawn and squad menu runs at 30fps. Between the mouse acceleration and the spawn menu cursor both seem to be intended for 30fps, and this 30fps movement upped at 60+fps appears like the stuttering seen in the videos".


He is also certain that the soldier animation does NOT have to do anything with this problem. "If your game is running at 60fps, everything in the game (all the movement from players, tanks etc) is happening at 60fps. Your mouse movement in the main menu is 60fps but when you go to the spawn menu, your mouse cursor there is not refreshing 60 times a second it's refreshing 30 times a second (but it's ONLY the mouse), so when you have 30fps mouse contrasting with what is otherwise 60fps, it looks like judder or stutter".

"The INGAME mouse treatment has some sort of tie to 30fps. So, while your mouse is UNDER the threshold for acceleration, your mouse is 60fps - or whatever your refresh rate is - HOWEVER when your mouse hits the threshold of acceleration, the ACCELERATION is applied 30 times every second. Also in battlefield 1942 there's also mouse acceleration present and it is effected by whether you are standing still or moving. But in 1942 the acceleration isn't applied 30 times a second, it's whatever your game is running at, so there is noticeable mouse acceleration (unlike bf2) but no stuttering".



This video instead is from 2022 and is from another new user in BF2Hub Discord, JJohn#0273:


The problem only appeared in multiplayer (unlike Cameron's instuctions), and after much troubleshooting by PvtStandOn the culprit seemed to be CPU overclocking done by the user, who set 10% CPU overclocking. It didn't impact his game in Windows XP, but caused some kind of throttling(?) when gaming on Windows 7. So changing voltage/frequency dealt with the problem.

[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]

 
12.10.2021, 09:41 - seaque - - 1 Posts
Having this problem for a long time. At first i thought it only happens when i use scope, but it always happens when i move or look around. I thought the game struggles with my monitor's FreeSync settings, but considering lots of people having this problem i don't think that's the issue. My FPS was locked at 65. It becomes a bigger problem when your enemy is so far away that he's around 10 pixels long and the game screws up your aim. I unlocked my FPS cap in Nvidia Panel, going to see if it's gonna make it better, after that i'm gonna turn off FreeSync and see if it makes any difference. I'll edit this comment as i make these chances.

I even found a page that's from 2005, it looks like the same problem.

http://www.rage3d.com/...showthread.php?t=33820224
 
17.07.2023, 22:42 - S_h_a_r_k_93 - Administrator - 5351 Posts
For the record, there was a new user come in to BF2Hub with a very bad case of stuttering.
The culprit in this case was BitDefender's "Shield" feature, after uninstalling it the problem was solved.



[url=https://shark.lost-soldiers.org#multimedia][bimg]https://i.imgur.com/iwPUBn7.png[/bimg][/url]   [size=4]All my contacts, social media and more!    [/size][size=5][url=https://shark.lost-soldiers.org]shark.lost-soldiers.org[/url][/size]