Re: PC BF4 CPU Spike

by Lynx1
Reply

Original Post

PC BF4 CPU Spike

★★ Novice

I've been having this problem since I switched to windows 8.1. Every few minutes or so, an enormous CPU spike appears for a fragment of a sec and you end up faced 90° in other direction. It's annoying. I didn't noticed that huge spikes while I was running windows 7, so I started to monitor CPU, GPU, RAM, Disk, Network, and waited for the spike. To my own surprise, there was nothing unusual on those graphs when spike appeared, except that my CPU utilization wasn't going over 50%. I read somewhere that enabled Hyper Threading in BIOS can cause this, but then again I read that it can improve performance, so I left it on, stress tested cpu, it went to 100% for like 30 minutes, everything was smooth. So, does anyone know what causes this spikes?

PC build
I7 3930K @3.9Ghz
ASUS GTX 780 DirectCU II OC
16GB RAM HyperMaster Beast
SSD Samsung 840 evo

Message 1 of 8 (4,680 Views)

Re: PC BF4 CPU Spike

Hero (Retired)

Ok will give you settings and a list of things to try / look at it may help.

 

Run the game as Administrator:
Go to the Origin games folder (C:\Program Files (x86)\Origin Games\Battlefield 4) and find Bf4.exe. Right click it and go to PROPERTIES, then COMPATIBILITY and check the box next to RUN THIS PROGRAM AS ADMINISTRATOR.
Do the same with BF4_x86.exe as well.

Run Origin as Administrator:
Go to C:\Program Files (x86)\Origin and right click on Origin.exe and go to properties. Then go to compatibility tab and check the box next to RUN AS ADMIN.

Disable Origin in game:
In Origin - Application settings - Origin in Game - disable Origin in game

Origin Cloud Storage turn it off
Origin, settings, General

Make Sure BF4 is set to 64bit if your windows is 64bit
1- open origin and go to My Games
2-Right click BF4 and go to Game Properties
3-Under when launching this game set it to x64 and check off disable origin in game.
4- Hit apply and test you BF4

 

Another thing that may be worth trying: run a Clean Boot: http://help.ea.com/en/article/how-to-clean-boot-your-pc/
This should ensure that no programs are interfering in the background.

 

Disable Mantle if you have it and try Direct X also turn off all the apps you can in win8.1

Others have said if they uninstall MSI Afterburner issues / crashing is stopped. So if you have this installed remove program and test BF4. Also look at other programs as Fraps, Geforce experience, be sure to turn off the streaming function that is enabled by default ,Raptr, RivaTuner , ASRock eXtreme Tuner, Steam, Skype, aero ,Overwolf extra program in teamspeak and xfire are known to make issues as well. And I am sure more programs not in my list yet turn one off at a time and test BF4. Since last patch more programs now give issues :/

Uninstall the HD Audio Driver from the video card driver install add/remove programs. This silly thing makes issues in BF4 for some. Reboot then repair BF4 to be safe.

Another thing to try is re- install origin only.




If all this fails to fix it then try this...

BF4 folder in my documents holds game configs and screen shots even if BF4 is installed on different drive. When you uninstall BF4 it does NOT remove this folder. So when you install the game again you can still have the same issues. Even if its not a new install it is still worth trying as the game cfg could be mucked up.

1- Go to my Documents and remove BF4 folder place it on your Desktop or trash.
2- Be warned you do have to set up your in game settings again.
3-Repair BF4
4- When done go test your game. If it fails reboot your PC and run repair game again and test BF4.


If you want to rule out windows ...

 

Test your windows for errors
This works in all windows O/S vista Win7, Win8 and Win8.1 windows system file checker :] Copy and past this to note pad and put it on your desktop. As open programs can give you errors when you run this.

...... sfc /scannow ..... ever hear of it if not your going to love this .... it will inspect all the important windows files as well as the windows DLL files. If windows system file checker finds any issues with the windows files and windows DLL files it will replace them. This little tool as well as the event viewer saved me and fully helped me fix my BF4 issues as well as saved my .... many a format since I found it. This is the best toy they ever put in windows :]

For win7 go to start left click in search type cmd and right click cmd pick run as admin

For win 8.1 right click start bottom left of screen and pick command prompt admin

1 - Open administrator command prompt and close web pages and programs like origin.

2 - Type or copy and paste in sfc /scannow and hit enter, This takes 5 min to 15 min SSD vs HD

3 - This can go one of a few ways ..... no errors ... it fixed some errors ..... could not fix all errors...... does not finish checking and errors out ....... and the last one could not fix errors at all :/

4 -After its done reboot and do it again even if you had no errors the first time or had errors, could not fix ... run sfc /scannow again and when its done a second time reboot. You need to do this a and get no errors 2 x in a row ...

5- So if you ran it 2x and no errors your safe you can stop now for now lol, If you had errors first time but not the second then run sfc /scannow again and when its done reboot. You need to get could not find any errors 2 x to be safe. If it still finds errors try and run it a few more times until it finds no errors 2x AND ALWAYS REBOOT BETWEEN RUNNING sfc /scannow

6 - If you get a message indicating that it can not be repaired and you ran sfc /scannow more then 3x in a row on win vista or 7 mm you need a format or try repair win 7 :/ But after format or repair and all updates are done run sfc /scannow to make sure your windows is stable same deal 2x error free reboot between them.

If your O/S is Win8 or Win 8,1 then you can run this next command / line in administrator command prompt. Sadly this does not work for win vista or 7 :/ It will restore the health of your PC and you dont lose anything and it will also fix errors in the registry :]

dism.exe /online /cleanup-image /restorehealth ------- ONLY works for windows 8 and 8.1

7 - When its done reboot

Message 2 of 8 (4,644 Views)

Re: PC BF4 CPU Spike

★★ Novice

I've tried all of that, took me a while, the problem remains :/

Message 3 of 8 (4,620 Views)

Re: PC BF4 CPU Spike

Hero (Retired)

Have you tested with Hyper Threading in BIOS on and off  and tested BF4 with it under each one? If not I would test that to see if it makes any differences. As well as disable apps in windows when I installed win8.1 I un-installerd every app I never will use and turned off as much as I could with the apps.  Just open task manager and have a look at how many apps you have open and shut them down and test BF4 see if this helps at all.

Message 4 of 8 (4,592 Views)

Re: PC BF4 CPU Spike

[ Edited ]
★ Novice

I have a 3930k @4.5ghz as well. Unparked cores. On top of 2 780tis. and my pc does exactly what yours is as well. I have been running windows 8.1 for a while now tho. This issue seems like its started more from a update as it didnt do it before. I dont think its windows 8.1 Its unexplainable. But accourding to the BF4 ingame graph its the cpu with a major spike that is causing the slight stutter at  the most random of moments. Now its not happening all the time. But at least a few times each round... You figure out what it was?

Message 5 of 8 (3,933 Views)

Re: PC BF4 CPU Spike

★ Novice

Add Origin,You game located folder, bf4.exe, bf4_x86.exe, pbsvc.exe, Origin.exe, OriginClientService.exe to you antivirus exclude list.

 

https://www.youtube.com/watch?v=O9O_dkqC8kg&list=UUrHSVNFhqqEVrqjTgEypvrQ

Message 6 of 8 (3,528 Views)

Re: PC BF4 CPU Spike

[ Edited ]
★★★★★ Novice

"Add Origin,You game located folder, bf4.exe, bf4_x86.exe, pbsvc.exe, Origin.exe, OriginClientService.exe to you antivirus exclude list.
https://www.youtube.com/watch?v=O9O_dkqC8kg&list=UUrHSVNFhqqEVrqjTgEypvrQ" 

 

Thanks!!! This really helped me, after lots of other trial and errors!! 

 

I added bf4.exe, origin.exe  and OriginClientService.exe to my MS Antivirus, and my CPU spikes was gone!! 

Finally !!! :D

 

 

Message 7 of 8 (2,639 Views)

Re: PC BF4 CPU Spike

★★ Apprentice

All solutions here are bull *. These spikes never happen in bf3. They should fix the engine, not our pc's.

Message 8 of 8 (2,484 Views)