Page 1 of 2

[Solved] fps spikes

Posted: 2012-02-28 21:06
by mangeface
I've got spikes in the fps while I'm playing. I tested this online and in SP, and it does it in both. Normally I'm making 100fps and every few seconds my fps drops down to 30-40. I re-installed the drivers to my GPU and that didn't fix it. Then I re-installed PR and that also did nothing. I tried playing ArmA 2 to see if I had any problems and I maintained a steady 50fps with no lag spikes at all.

Specs
CPU-AMD FX-8150 3.6MHz
Mobo-Gigabyte 990FXA-UMD5
GPU-XFX Radeon HD 7970
RAM-16GB Corsair Vengance DDR3 1600

re: [Solved] fps spikes

Posted: 2012-02-28 23:24
by LITOralis.nMd
Not much can be done about that,

2 options:

you can lock the max fps in game.

you can tinker with the turbo settings in your BIOS.

Anyone else with an AMD FX CPU having this problem?

re: [Solved] fps spikes

Posted: 2012-02-29 00:49
by mangeface
[R-COM]LITOralis.nMd wrote:Not much can be done about that,

2 options:

you can lock the max fps in game.

you can tinker with the turbo settings in your BIOS.

Anyone else with an AMD FX CPU having this problem?
Yeah, I listed 3.6MHz on my CPUs, but I just remembered I OC'd them to 4.2MHz through AMD Vision. Maybe the overclocking and turbo boost are causing the lag? I'll have a couple of videos posted here in a bit. 1 PRAA and the other PRBF2. I'll have them up sometime tomorrow.

re: [Solved] fps spikes

Posted: 2012-02-29 19:20
by MaSSive
Turn off Turbo boost, and power savers defragment your HDD. Clear the cache let it optimize again.

re: [Solved] fps spikes

Posted: 2012-02-29 21:51
by mangeface
[R-COM]MaSSive wrote:Turn off Turbo boost, and power savers defragment your HDD. Clear the cache let it optimize again.
I'll give it a try. Turbo boost I can understand, but the HDD that the game runs on is about a week old (installed as a part of a brand new build).

Here's the difference of the videos.

PR:BF2

BF2 2012-02-28 19-22-08-48.avi - YouTube

PR:ArmA 2

arma2oa 2012-02-28 19-28-31-00.avi - YouTube

re: [Solved] fps spikes

Posted: 2012-02-29 22:10
by mangeface
Disabled turbo boost, power savers and cleared the cache. Still same problem. Possible problem with DirectX? Would completely uninstalling PR and BF2, then reinstalling reset everything and get the proper drivers installed for the game? This is strictly a PR:BF2 and BF2 problem. I experience zero problems with any of my other games. That includes ArmA 2 and all expansion packs, PR:ArmA 2, DCS:Blackshark 2 and LockOn Flaming Cliffs 2 (This summarizes the list of all games that I play).

re: [Solved] fps spikes

Posted: 2012-02-29 22:53
by Vincento94
Try defragging your BF2 folder.

re: [Solved] fps spikes

Posted: 2012-03-01 01:14
by rushn
if that doesnt work then try to re install BF2

re: [Solved] fps spikes

Posted: 2012-03-01 03:52
by MaSSive
darkside12 wrote:but the HDD that the game runs on is about a week old (installed as a part of a brand new build).

PR:BF2

BF2 2012-02-28 19-22-08-48.avi - YouTube

http://www.youtube.com/watch?v=MeuToqbmYx8
It doesn't matter if hard drive is brand new or 10 years old. Once you install a game files ( and large files ) get scattered in fragments at various blocks throughout the drive. That causes fragmentation, and if you try to load and play that game, hard drive will have very large read/write operations, which will cause stuttering like in that video above.

Defragment the drive.

re: [Solved] fps spikes

Posted: 2012-03-01 03:52
by Psyrus
So rather than tell you to defrag for the millionth time, let's troubleshoot!

- Run BF2, does it experience similar frame drops etc?
- Have a quick run through some of the various types of levels: Fallujah, Marlin, Gaza [City] // Kashan, Burning Sands, Black Gold [Desert] // Qinling, Korengal, Kozelsk [Forest]
Do all these types of levels exhibit the same frame-loss behavior?
- Play in a window with windows resource monitor and gpu-z on in the background, see if any component is spiking during your frame loss.

If none of these yield useful data we can move on to more focused testing :)

re: [Solved] fps spikes

Posted: 2012-03-01 22:17
by mangeface
Defragged the HDD, nothing changed. Psyrus, the fps drop occurs in BF2. I'll try the windowed mode with resource monitor and gpu-z in the background and see what comes up. At this point, I really think that it's the game itself and it just needs to be re-installed.

re: [Solved] fps spikes

Posted: 2012-03-02 07:35
by MaSSive
Since its not fragmentation, lets try deleting BF2 profiles, as they may become corrupt sometimes.

Go to My Documents\Battlefield 2 and delete everything in it.

This next is important step so make sure you follow it. DO NOT RUN PR AFTER THIS. Run vBF2 instead, retrieve your accounts, adjust your settings, and join one MP game to make sure it runs fine. If all is all right, you can turn it off and run PR.

If not, well I think reinstall has to take place at this point. You might try to reinstall patches but likely it wont do much.

One more thing..do you have any of these AV? ( Kaspersky AV/IS; Norton AV/IS any other that has Sonar, or early detection ( heuristic )? If so turn them off and see if it help. Check their quarantines too for traces of any BF2 or PR files.

re: [Solved] fps spikes

Posted: 2012-03-03 00:30
by mangeface
[R-COM]MaSSive wrote:If not, well I think reinstall has to take place at this point. You might try to reinstall patches but likely it wont do much.

One more thing..do you have any of these AV? ( Kaspersky AV/IS; Norton AV/IS any other that has Sonar, or early detection ( heuristic )? If so turn them off and see if it help. Check their quarantines too for traces of any BF2 or PR files.
I already tried a reintstall earlier on, didn't do anything.

I run AVG, Malwarebytes, and Ad-Aware.

re: [Solved] fps spikes

Posted: 2012-03-03 00:41
by LITOralis.nMd
I just watched your PR youtube video twice, I'm thinking it might be an audio driver issue.

First, start PR and go to options->Audio, note which option is already set,
then switch your audio options to low.
Or, IF it is set to hardware, switch to swoftware, if set to software, switch to hardware.
COnnect to a server for a moment and see if it helps.

Next, try to update the audio drivers?
GIGABYTE - Motherboard - Socket AM3+ - GA-990FXA-UD5 (rev. 1.x)

If your audio options were originally set to Dolby, you need to follow these steps:
GIGABYTE - Support & Downloads - FAQ

re: [Solved] fps spikes

Posted: 2012-03-03 03:02
by MaSSive
I was not talking about reinstall but deletion of BF2 profile directory, or bypassing it with command line switches.

Tried disabling AVG and all scanners and then playing?

re: [Solved] fps spikes

Posted: 2012-03-03 04:51
by mangeface
[R-COM]MaSSive wrote:I was not talking about reinstall but deletion of BF2 profile directory, or bypassing it with command line switches.

Tried disabling AVG and all scanners and then playing?
I'll give that a try. Just noticed something quite interesting though. I was running vanilla BF2 with GPU-Z open, and I went to the sensors page and it said my GPU core clock was 300MHz while running the game. The damn card I have came clocked at 1000MHz (XFX Radeon HD 7970) and I used AMD Vision to oc it to 1100 MHz (which I just figured out from AMDs homepage that my GPU isn't supported by the program). I don't know if this could be the problem, but it definitely is worrisome to me. It is weird, because if that's what the clock is at, then why the hell can it play ArmA 2 at high graphics, but not handle BF2 at all?
'[R-COM wrote:LITOralis.nMd;1740560']I just watched your PR youtube video twice, I'm thinking it might be an audio driver issue.

First, start PR and go to options->Audio, note which option is already set,
then switch your audio options to low.
Or, IF it is set to hardware, switch to swoftware, if set to software, switch to hardware.
COnnect to a server for a moment and see if it helps.

Next, try to update the audio drivers?
GIGABYTE - Motherboard - Socket AM3+ - GA-990FXA-UD5 (rev. 1.x)

If your audio options were originally set to Dolby, you need to follow these steps:
GIGABYTE - Support & Downloads - FAQ
Audio? Interesting. I'll double check the drivers for the mother board. I have an ASUS Xonar D1 sound card installed, so I keep the Realtek drivers disabled since they seem to cause problems with the ASUS card.

Okay, I checked the drivers and they're up to date. Went into the game and the audio was set to low. Switched between software and hardware, nothing changed.

re: [Solved] fps spikes

Posted: 2012-03-03 17:25
by mangeface
mangeface wrote:Just noticed something quite interesting though. I was running vanilla BF2 with GPU-Z open, and I went to the sensors page and it said my GPU core clock was 300MHz while running the game. The damn card I have came clocked at 1000MHz (XFX Radeon HD 7970) and I used AMD Vision to oc it to 1100 MHz
That's the problem. I ran PRAA and had GPU-Z running and it said the clock on my GPU was 1100MHz. Something that links the graphics of the game to the graphics card is messed up. Every other game I have runs fine except any EA game. I tried running BF3 and it's doing the same thing also. So I have BF2 and 3 having the fps drop. Any idea what EA Games uses for their graphics drivers so I can check that out?

re: [Solved] fps spikes

Posted: 2012-03-03 22:20
by MaSSive
Is your game installed in Program Files (x86) by chance? I mean do you install all your games there or is BF2+PR and BF3 maybe installed there?

re: [Solved] fps spikes

Posted: 2012-03-03 23:12
by mangeface
[R-COM]MaSSive wrote:Is your game installed in Program Files (x86) by chance? I mean do you install all your games there or is BF2+PR and BF3 maybe installed there?
No, it's installed on my data drive. Only Windows and required or high priority programs are installed on my C: drive. I just tried something, will let you know if it works.

re: [Solved] fps spikes

Posted: 2012-03-04 05:58
by mangeface
Fixed it. I just reinstalled Windows.