Stutter while gaming every 3-4 seconds in Windows using MacBook Pro 2012 (MacBook 9.1) using Windows 7

6

2

I'm using Windows with Bootcamp on my Mid-2012 MacBook Pro (Here is the config). Recently when I play a game, I get frequent (and somewhat constant) stutter every 2-3 seconds, no matter if it's a 2D or 3D game, no matter if I lower the graphic and resolution.

I've searched extensively in the past few days and finally went to ask it here. Things I've tried so far:

  1. GPU-Z shows GPU temprature of around 90 C when I have the stutter.
  2. In Process Explorer, I can see that GPU usage is 100%, even in lowest graphic settings of low resolution of a not-AAA game. (Lara Croft and Temple of Osiris for example and Ori and The Blind Forest)
  3. I've updated my nVidia drivers to the latest.
  4. I've uninstalled everything nVidia related and installed them again.
  5. I've disabled Audio and Network drivers (as I've read they can cause stutter in cases).
  6. I've tried DPC Latency Checker and mostly I see a spike when I observe a delay.

I'm very afraid to have hardware fault since where I live, we don't have Apple stores.

Also I've installed DS3 Driver to attach a PS3 controller to my PC, even though the controller was not attached during the tests, this might've affected the performance since I've read that stutter is caused by a driver having problem doing it's task on proper time frame.

Any help is appreciated.

idn

Posted 2015-05-23T06:55:26.803

Reputation: 71

capture a xperf trace of the stutter and share the trace (compressed as 7z): http://www.msfn.org/board/index.php?showtopic=140263

– magicandre1981 – 2015-05-23T17:43:44.700

have you captured the trace? – magicandre1981 – 2015-06-04T17:26:24.300

The problem was gone for a few days but came back. I've downloaded xpref and hopefully will run it and report back. – idn – 2015-06-04T19:45:41.270

Here it is: https://www.dropbox.com/s/hc744rvxky3yyxq/DPC_Interrupt.7z?dl=0

I've tried to go through it and I came to conclusion that it's the tcpip.sys file which is one of my network drivers. I assume it's my WLAN one since I've found people saying the same thing about it. I've tried to update it but can't find an update for it (it's inside a mid-2012 MacBook Pro). So I've tried to disable the adapter, can't say if it gets better or worse.

– idn – 2015-06-10T00:03:03.110

update or remove the tool that includes the driver networx.sys and see what happens. PCI\VEN_14E4&DEV_4331 = Broadcom BCM43xx. Look for newer Broadcom BCM43xx drivers: http://www2.station-drivers.com/index.php/downloads/Drivers/Broadcom/Wlan/BCM-43xx-Wireless-802.11a-b-g-n/

– magicandre1981 – 2015-06-10T04:35:45.397

Thanks. I did both of those things and here is the new xperf dump after doing both those things and a restart: https://www.dropbox.com/s/qn93xjmo3r3mmu2/DPC_Interrupt_2.7z?dl=0

BTW, I could not uninstall NetWorx, so I've deleted everything related to it, including networx.sys)

Thank you again for your help.

– idn – 2015-06-11T06:51:22.417

Needless to say that I still encounter the stutter but it's pattern is different now. After applying your suggestions, the stutter was gone and then it came back after like half an hour and the frequency changed as well. – idn – 2015-06-11T15:19:46.780

the new trace shows 1 small critical spike of the nVIDIA driver. The first trace showed 8 spikes. Capture a new trace which records the spikes. – magicandre1981 – 2015-06-11T16:48:18.003

Sorry, I did not understand your last question. How do you want the trace? – idn – 2015-06-11T20:02:30.707

Also I still had stutter every few seconds during the trace. – idn – 2015-06-11T20:03:22.130

As I said, the 2nd trace was much better and the only issue I saw was a stutter caused by your nVIDIA graphic driver – magicandre1981 – 2015-06-12T04:12:46.193

Thanks. How can I fix it?

I've read somewhere that nVidia audio drivers could be the problem, uninstalled it but didn't change anything. – idn – 2015-06-12T10:38:36.430

try different nVIDA GPU drivers. – magicandre1981 – 2015-06-12T17:33:16.040

You mean older ones? – idn – 2015-06-12T20:20:33.253

yes, also try older drivers. – magicandre1981 – 2015-06-13T06:14:24.030

Since I had no idea which older driver is good to go, I've installed the latest, same bugs. – idn – 2015-06-15T12:02:38.610

you use 352.86, try 353.06 or older ones like 350.12 or 347.88. Get them from nVIDIA: http://www.nvidia.com/Download/Find.aspx?lang=en-us

– magicandre1981 – 2015-06-15T17:33:06.180

I've installed 347.88 as a clean install but still get the stutter. – idn – 2015-07-15T23:23:16.460

This is my current xperf log:

https://www.dropbox.com/s/hc744rvxky3yyxq/DPC_Interrupt.7z?dl=0

(Where do you look in the Windows Performance Analyzer? I can't find "DPC CPU Usage" nor "Interrupt CPU Usage".

– idn – 2015-07-16T00:17:14.710

In LatencyMon I can see that tcpip.sys and dxgkenl.sys are troublesome. I've disabled my wifi adapter but the problem persists. – idn – 2015-07-16T00:35:58.933

I've tried xperfview with that file and I think problem lies with disk. Please keep in mind that I play my games from an USB attached external 2TB drive. – idn – 2015-07-16T01:13:43.170

I can't see any USb related spikes, but TCPIP: Total = 1979 for module tcpip.sys Elapsed Time, > 128 usecs AND <= 256 usecs, 23, or 0.24% – magicandre1981 – 2015-07-16T04:11:01.950

But I've updated my Broadcom driver already, due to your previous comment. What should I do? – idn – 2015-07-16T11:25:35.170

I've updated the LAN driver as suggested in another forum but the problem still persists, here is my current xperf log: https://www.dropbox.com/s/32lbt1uciscqwnq/DPC_Interrupt_20150717_0148.7z?dl=0

– idn – 2015-07-16T22:19:04.407

this helped, now you only have 2 spikes from the nVIDIA driver: Total = 28009 for module nvlddmkm.sys Elapsed Time, > 512 usecs AND <= 1024 usecs, 2, or 0.01% – magicandre1981 – 2015-07-17T04:17:18.610

But I'm already on an older driver. What should I do? – idn – 2015-07-17T11:44:08.007

Do you still have large issues? Maybe it is something else and not a DPC issue. – magicandre1981 – 2015-07-17T18:20:22.290

Yes I do have it and you said it's probably the nVidia driver.

Can it be the heat problem? I have the problem after about 20-30 seconds in the game and when my laptop's fans are rotating fast. But then again it can be software problem that causes a fault that causes high cpu usage and that's cause of high temperature.

How can I see if it's a hardware problem or a software one?

My other guess was my tcpip.sys is faulty now due to that NetWorx driver but you said it's now nVidia driver. – idn – 2015-07-17T23:49:35.743

Run GPU-Z and log the temperature: http://www.techpowerup.com/downloads/SysInfo/GPU-Z/ laptops are not the best hardware to play games. your GPU is only a midrange GPU which is limited to 128Bit memory with sometime GDDR3 instead of GDDR5 memory. maybe the GPU is simply too slow. here you can try to attach a external GPU via thunderbold: http://forum.techinferno.com/diy-e-gpu-projects/2109-diy-egpu-experiences-%5Bversion-2-0%5D.html

– magicandre1981 – 2015-07-18T05:31:11.717

Thing is I was gaming with this laptop before with no problem, with the same games. I also have this lag when I play not so GPU intensive games like Swappper.

I followed your advice and when I first encounter lag, my GPU temp is around 80 C and CPU cores temp around 83 on average on 4 cores.

But I've seen the CPU cores to go even over 100 at some point in previous tests.

Any advice? – idn – 2015-07-18T10:49:57.440

I also changed my nVidia driver to 350.12 (from 347.8) and here is my xpref log: https://www.dropbox.com/s/azomvsd1d0fpgta/DPC_Interrupt_20150718.7z?dl=0

– idn – 2015-07-18T13:11:21.630

latest trace sows again nVIDIA driver with some spikes: Total = 76960 for module nvlddmkm.sys Elapsed Time, > 512 usecs AND <= 1024 usecs, 8, or 0.01% 80°C may be the cause. Cleanup the fans a bit. – magicandre1981 – 2015-07-19T06:18:08.760

Thanks. Which way this is, is it faulty driver that causes high CPU usage or hardware problems that causes spikes in the driver?

I'm asking because we don't have Apple Care where I live and opening and cleaning it should be last thing I do and want to make sure it's not a software problem. – idn – 2015-07-20T12:22:10.307

we can't really tell you if it is a software or hardware issue. you have to do some "trial & error" way to find this out. turn the macbook off and clean the fan by blowing air with your mouth to the fan. Don't use a vacuum cleaner, that would kill the fan speed control. – magicandre1981 – 2015-07-20T17:38:26.810

I've reinstalled windows and behavior of stutter changed to more frequently but less stopping. CPU temp is more than 100 C and GPU temp is around 85 C.

I've captured a new xperf log, here it is: https://www.dropbox.com/s/5s0wqmf4k5owtby/DPC_Interrupt_20150812_0321.7z?dl=0

Hope this helps determining what this is since I didn't install any of the programs that messed with my files like NetWorx this time.

– idn – 2015-08-11T22:54:24.550

most delays come again from the nVIDIA driver. some DPC/cpu usage comes from USBPORT.SYS, so reduce the amount of connected USB devices. – magicandre1981 – 2015-08-12T04:18:00.747

How can this be? I've installed a brand new Windows installation with latest Apple's drivers!

What do you think about hardware problems like thermal paste on the CPU? Can it cause the DPC/Latency?

Also, would you please tell me how you observe my latency reports to figure out what is wrong with it. – idn – 2015-08-12T20:53:23.253

in the msfn guide I posted how to dump the statistics in a text file. Here look for values over 1024µs. Disable some apple USB devices and look what happens. – magicandre1981 – 2015-08-13T18:27:02.143

What apple USB devices? – idn – 2015-08-15T12:43:42.353

the facetime camera is also an usb device. disable such devices in device manager. – magicandre1981 – 2015-08-15T15:37:41.713

I've played a graphic heavy game, Batman Arkham City, on OS X of the same computer but did not encounter any stutter, so problem is probably not hardware side. Also it's strange that I've installed a brand new OS with latest Apple Bootcamp drivers and still have this bug. All I can think of is the image file that I've installed Windows from is somehow buggy, it's Win 7 Ultimate SP1. Any idea? – idn – 2015-08-24T11:01:59.437

@magicandre1981 I've did what you suggested and it got a bit better but what confuses me is the fact that I've had no problem with all this enable and playing games and now this? Also why I don't have stutter in OS X if I have hardware problem like heat? – idn – 2015-08-24T11:04:38.253

OSX and Windows work differently so you can't compare this. – magicandre1981 – 2015-08-24T17:04:56.410

What should I do now? I've opened the bottom face plat and the fans were clean. Do you think termal paste is problematic? Maybe the Windows image was somewhat faulty that didn't work with Boot camp? I'm totally lost here. – idn – 2015-09-02T22:14:23.263

I have no new idea how to solve it – magicandre1981 – 2015-09-03T04:21:28.297

Run Linpack within OSX for 20 mins and see what temps are like. That'll do CPU, then try Cinebench OPENCL test to check GPU temps. – Linef4ult – 2015-09-29T10:40:15.313

Answers

1

The temperature 90° C might be the limit for your GPU where it starts "throttling", i.e. halts for a bit to cool down. Or maybe the CPU using the same heatpipes/sink hits its limit. How high does the CPU temp go? (CPU-Z) and what specific CPU model does that MacBook have?

Put something small under the laptop to prod it up giving it more room to breathe or use some active cooling pad with USB-powered fans and see if there are less freezes

khampf

Posted 2015-05-23T06:55:26.803

Reputation: 21

+1 for the diagnosis. Thottling will slow down a CPU at that speed. And then it will be working as hard as possible (near 100% in top) at the lower speed whilest failing to keep up. However you skipped one likely problem source: A working, clean CPU fan and heatsink. – Hennes – 2016-01-29T13:14:24.300

You are totally correct - checking the airflow would be the first thing to do. – khampf – 2016-01-30T14:20:42.953

0

See https://forums.anandtech.com/threads/gpu-throttling-on-macbook-pro-9-1-mostly-solved.2333625/.

In my case, ThrottleStop showed the CPU as running at 3.4GHz constantly, averaging 90C. Disabling Turbo (in ThrottleStop) reduced it to 2.6GHz and 70C. I don't know if the culprit was power or heat, but after making the change the GPU seems happier and the stuttering is gone.

user701759

Posted 2015-05-23T06:55:26.803

Reputation: 1

Welcome to Super User! What change did you make? It would be preferable to include the essential parts of the answer here, and provide the link for reference.

– bertieb – 2017-02-26T21:52:38.187