MBPMid2010_GPUFix : Finally a fix for kernel panic of MacBook Pro 2010 !

Discussion in 'Mac Apps and Mac App Store' started by julian-poidevin, May 4, 2017.

  1. julian-poidevin, May 4, 2017
    Last edited: May 16, 2017

    julian-poidevin macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #1
    MBPMid2010_GPUFix is an utility program that allows to fix MacBook Pro (15-inch, Mid 2010) intermittent black screen or loss of video. The algorithm is based on a solution provided by user fabioroberto on MacRumors forums.

    The utility is based on Qt Framework and only available on OSX.

    What is this GPU bug ?
    MacBook Pro's from Mid-2010 (MacBook6,2) suffers from GPU issues. This is a known problem from Apple. Basically, a kernel panic is triggered randomly while using the computer.

    What is the solution ?
    A software fix as been found by fabioroberto on this thread.
    My software provides an automated way to apply this fix.

    Screenshot
    [​IMG]

    Also, do not hesitate to star my Github if this fix worked for you ! :)

    Quick Download

    Latest release
    Lastest release can be found here

    ENJOY !
     
  2. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #2
    Can you walk through the steps required to run this when using Sierra?
     
  3. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #3
    Unfortunately I couldn't try on Sierra.
    Are you getting an error when executing the software ? Can you tell me what's happening ?
    Thanks.
     
  4. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #4
    It talks about disabling System Integrity Protection.

    I know elsewhere you mentioned creating a bootable USB drive and running terminal commands from there. Not Sure I fully understood the processes. I'd rather not brick the darn thing :)
     
  5. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #5
    --- Post Merged, May 4, 2017 ---
    You can see FAQ of the project for more information about SIP and how to disable it.
    Or : when when the pop-up appears, juste clic on the button "Take me to tutorial" button to jump right into a YouTube tutorial.
     
  6. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #6
    Do you re- enable the SIP after running your app?
     
  7. julian-poidevin, May 4, 2017
    Last edited: May 4, 2017

    julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #7
    No, there is no way for an application to access this setting, otherwise I would have automatically disabled it.
    You have to re-enabled it manually.

    Also, if you activated updates on your Macbook, the patched file will be overwrited and you'll need to run the MBPMid2010_GPUFix software again. So I would not recommend re-enabling the SIP.
     
  8. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #8
    Sorry - poor choice of words on my part. I meant do I need to re-enable SIP after running the app?

    Thank you for your clarification on the SIP disable / re-enabling.
     
  9. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #9
    There is no need to re-enable SIP to get the patch working. Hope I understood your question correctly this time ;)
     
  10. Trungtv macrumors newbie

    Trungtv

    Joined:
    May 2, 2017
    #10
    Hi. I really really thank you about this tool
    Is working for me at sierra. Good job and thank you again.
    Finally i have good way to fix this proplem.
     
  11. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #11
    Wonderfull, glad to have some feedback. Enjoy your mac now fully working ! ;)
     
  12. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #12
    Disabled SIP
    Restarted
    Installed the fix
    Ran Cinebench - kernel panic almost immediately running the openGL test. System Log attached - it's meaningless to me.

    I have not re-enabled the SIP.

    Anonymous UUID: D30AF9D6-CC50-D8B5-99EA-EAB2F956B683

    Fri May 5 11:30:23 2017

    *** Panic Report ***
    panic(cpu 0 caller 0xffffff7fa1f95bd5): "GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff913b204000 0x0a5480a2, D0, P3/4\n"@/Library/Caches/com.apple.xbs/Sources/AppleGraphicsControl/AppleGraphicsControl-3.12.9/src/AppleMuxControl/kext/GPUPanic.cpp:127
    Backtrace (CPU 0), Frame : Return Address
    0xffffff8128b63630 : 0xffffff801ecd7b92
    0xffffff8128b636b0 : 0xffffff7fa1f95bd5
    0xffffff8128b63790 : 0xffffff7f9fe0fa6a
    0xffffff8128b63850 : 0xffffff7f9fedc9e8
    0xffffff8128b63890 : 0xffffff7f9fedca53
    0xffffff8128b63910 : 0xffffff7fa015ba85
    0xffffff8128b63a80 : 0xffffff7f9fefe711
    0xffffff8128b63aa0 : 0xffffff7f9fe167e0
    0xffffff8128b63b50 : 0xffffff7f9fe14150
    0xffffff8128b63d50 : 0xffffff7f9fe15382
    0xffffff8128b63e30 : 0xffffff7f9fdc0de2
    0xffffff8128b63e90 : 0xffffff7fa1f62f91
    0xffffff8128b63ee0 : 0xffffff7fa1f618a2
    0xffffff8128b63f00 : 0xffffff801ed0c31a
    0xffffff8128b63fb0 : 0xffffff801edc6537
    Kernel Extensions in backtrace:
    com.apple.driver.AppleMuxControl(3.12.9)[154B0440-E3AE-3639-AB05-C7C4D03384C2]@0xffffff7fa1f87000->0xffffff7fa1f9afff
    dependency: com.apple.driver.AppleGraphicsControl(3.12.9)[9E403CC1-B0BD-320E-B2BA-812490DF1671]@0xffffff7fa1f7f000
    dependency: com.apple.iokit.IOACPIFamily(1.4)[5D7574C3-8E90-3873-BAEB-D979FC215A7D]@0xffffff7f9fc6e000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[1A48C605-D609-381F-90AB-C2547D2D0D12]@0xffffff7f9f563000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]@0xffffff7f9fd67000
    dependency: com.apple.driver.AppleBacklightExpert(1.1.0)[C49819CE-729A-36B2-9AC1-744A43DC236F]@0xffffff7fa1f82000
    com.apple.nvidia.classic.NVDAResmanTesla(10.0)[78C84D68-23A9-3597-9AFC-E91B44E5A5B5]@0xffffff7f9fdbe000->0xffffff7fa0029fff
    dependency: com.apple.iokit.IOPCIFamily(2.9)[1A48C605-D609-381F-90AB-C2547D2D0D12]@0xffffff7f9f563000
    dependency: com.apple.iokit.IONDRVSupport(2.4.1)[4EB2843C-C821-3AD0-B333-575FD6ED6FB1]@0xffffff7f9fdae000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]@0xffffff7f9fd67000
    com.apple.nvidia.classic.NVDANV50HalTesla(10.0)[07A95AE2-5869-3389-ACC8-A9675B47ACA4]@0xffffff7fa0035000->0xffffff7fa02e0fff
    dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[78C84D68-23A9-3597-9AFC-E91B44E5A5B5]@0xffffff7f9fdbe000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[1A48C605-D609-381F-90AB-C2547D2D0D12]@0xffffff7f9f563000
    com.apple.driver.AGPM(110.22)[D2A6476D-895C-33EE-8A84-7548FA9B5748]@0xffffff7fa1f5f000->0xffffff7fa1f75fff
    dependency: com.apple.iokit.IOPCIFamily(2.9)[1A48C605-D609-381F-90AB-C2547D2D0D12]@0xffffff7f9f563000
    dependency: com.apple.driver.IOPlatformPluginFamily(6.0.0d7)[4BEF649C-7CFD-31CA-8D84-1F0DB25BF60B]@0xffffff7fa0793000
    dependency: com.apple.iokit.IONDRVSupport(2.4.1)[4EB2843C-C821-3AD0-B333-575FD6ED6FB1]@0xffffff7f9fdae000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]@0xffffff7f9fd67000
    dependency: com.apple.AppleGraphicsDeviceControl(3.12.9)[C5A263AD-4212-31A1-9DE2-A73A25F2ADC0]@0xffffff7fa1f58000

    BSD process name corresponding to current thread: kernel_task

    Mac OS version:
    15G1421

    Kernel version:
    Darwin Kernel Version 15.6.0: Fri Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64
    Kernel UUID: 9B4679AF-7EE6-3BCE-9DD7-C30975A80BB3
    Kernel slide: 0x000000001ea00000
    Kernel text base: 0xffffff801ec00000
    __HIB text base: 0xffffff801eb00000
    System model name: MacBookPro6,2 (Mac-F22586C8)

    System uptime in nanoseconds: 1701300782992
    last loaded kext at 1003256374115: com.apple.filesystems.smbfs 3.0.1 (addr 0xffffff7fa2092000, size 409600)
    last unloaded kext at 366906437969: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fa2092000, size 61440)
    loaded kexts:
    com.sophos.nke.swi 9.6.50
    com.sophos.kext.oas 9.6.51
    com.parallels.virtualhid 1.0.3 3
    com.parallels.virtualsound 1.0.36 36
    com.apple.filesystems.smbfs 3.0.1
    com.apple.driver.AudioAUUC 1.70
    com.apple.filesystems.ntfs 3.13
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.driver.AGPM 110.22.0
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AppleOSXWatchdog 1
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleMikeyDriver 274.12
    com.apple.driver.AppleHDA 274.12
    com.apple.driver.AppleUpstreamUserClient 3.6.1
    com.apple.driver.pmtelemetry 1
    com.apple.GeForceTesla 10.0.0
    com.apple.iokit.IOUserEthernet 1.0.1
    com.apple.driver.AppleIntelHDGraphics 10.0.0
    com.apple.iokit.IOBluetoothSerialManager 4.4.6f1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHV 1
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.4.6f1
    com.apple.driver.AppleLPC 3.1
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AppleSMCLMU 208
    com.apple.driver.AppleMuxControl 3.12.9
    com.apple.driver.AppleIntelHDGraphicsFB 10.0.0
    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
    com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
    com.apple.driver.AppleMCCSControl 1.2.13
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 245.4
    com.apple.driver.AppleUSBCardReader 3.7.1
    com.apple.driver.AppleUSBTCKeyboard 245.4
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
    com.apple.BootCache 38
    com.apple.driver.AppleIRController 327.6
    com.apple.iokit.SCSITaskUserClient 3.7.7
    com.apple.iokit.IOAHCIBlockStorage 2.8.5
    com.apple.driver.AirPort.Brcm4331 800.20.24
    com.apple.iokit.AppleBCM5701Ethernet 10.2.0
    com.apple.driver.AppleFWOHCI 5.5.4
    com.apple.driver.AppleAHCIPort 3.1.8
    com.apple.driver.usb.AppleUSBEHCIPCI 1.0.1
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleACPIButtons 4.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 4.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
    com.apple.nke.applicationfirewall 163
    com.apple.security.quarantine 3
    com.apple.security.TMSafetyNet 8
    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
    com.apple.AppleGraphicsDeviceControl 3.12.9
    com.apple.kext.triggers 1.0
    com.apple.driver.DspFuncLib 274.12
    com.apple.kext.OSvKernDSPLib 525
    com.apple.nvidia.classic.NVDANV50HalTesla 10.0.0
    com.apple.nvidia.classic.NVDAResmanTesla 10.0.0
    com.apple.iokit.IOSurface 108.2.3
    com.apple.iokit.IOSerialFamily 11
    com.apple.driver.CoreCaptureResponder 1
    com.apple.driver.AppleHDAController 274.12
    com.apple.iokit.IOHDAFamily 274.12
    com.apple.iokit.IOAudioFamily 204.4
    com.apple.vecLib.kext 1.2.0
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.4.6f1
    com.apple.driver.AppleSMBusPCI 1.0.14d1
    com.apple.driver.AppleBacklightExpert 1.1.0
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleGraphicsControl 3.12.9
    com.apple.driver.IOPlatformPluginLegacy 1.0.0
    com.apple.driver.IOPlatformPluginFamily 6.0.0d7
    com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
    com.apple.driver.AppleSMBusController 1.0.14d1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleSMC 3.1.9
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.7
    com.apple.iokit.IOUSBMassStorageDriver 1.0.0
    com.apple.driver.AppleUSBMultitouch 250.5
    com.apple.iokit.IOBluetoothFamily 4.4.6f1
    com.apple.iokit.IOUSBHIDDriver 900.4.1
    com.apple.driver.usb.cdc 5.0.0
    com.apple.driver.usb.networking 5.0.0
    com.apple.driver.usb.AppleUSBHostCompositeDevice 1.0.1
    com.apple.driver.usb.AppleUSBHub 1.0.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.7
    com.apple.iokit.IOBDStorageFamily 1.8
    com.apple.iokit.IODVDStorageFamily 1.8
    com.apple.iokit.IOCDStorageFamily 1.8
    com.apple.iokit.IOAHCISerialATAPI 2.6.2
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.7
    com.apple.iokit.IO80211Family 1110.26
    com.apple.driver.corecapture 1.0.4
    com.apple.iokit.IOEthernetAVBController 1.0.3b3
    com.apple.driver.mDNSOffloadUserClient 1.0.1b8
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOFireWireFamily 4.6.1
    com.apple.iokit.IOAHCIFamily 2.8.1
    com.apple.iokit.IOUSBFamily 900.4.1
    com.apple.driver.usb.AppleUSBEHCI 1.0.1
    com.apple.iokit.IOUSBHostFamily 1.0.1
    com.apple.driver.AppleUSBHostMergeProperties 1.0.1
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 300.0
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.AppleMobileFileIntegrity 1.0.5
    com.apple.driver.AppleCredentialManager 1.0
    com.apple.driver.DiskImages 417.4
    com.apple.iokit.IOStorageFamily 2.1
    com.apple.iokit.IOReportFamily 31
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 4.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.Libm 1
    com.apple.kec.pthread 1
    com.apple.kec.corecrypto 1.0
     
  13. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #13
    Damned, when you patched, what was the message showed in the log section of the application? Does it says that the Mac was patched successfully or it failed?
    --- Post Merged, May 5, 2017 ---
    I didn't have a single kernel panic since I applied the fix. This is weird.
    --- Post Merged, May 5, 2017 ---
    Do you have the last version of the application? The version 0.1.1 does not show any error message when the password entered is wrong. The new version 0.2.0 asks for password when authentification failed.
     
  14. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #14
    The dialog said successful installation.

    I downloaded on 5/3 - I think it is ver 0.1.1

    It did ask for password, Which I presumed was my password for the machine.
     
  15. julian-poidevin, May 5, 2017
    Last edited: May 5, 2017

    julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #15
    Yes, it's the password of your session. Can you please download the new version, try to re-apply the fix and copy paste the log of the application?

    Thanks
     
  16. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #16
    Will do.

    | Checking compatibility

    MBPModelVersion : MacBookPro6,2 ➔ Compatibility : OK ✓

    | Checking SIP Status

    SIP Disabled

    | Searching for AppleGraphicsPowerManagement.kext

    AppleGraphicsPowerManagement.kext found

    ********** Starting MBP GPU Fix **********

    Copying Info.plist file

    Patching Info.plist

    - FindChild - key|MacBookPro6,2

    - NextSibling - dict

    - FindChild - key|Vendor10deDevice0a29

    - FindSibling - key|BoostPState

    - FindSibling - key|BoostTime

    - FindSibling - key|Heuristic

    - FindSibling - key|Threshold_High

    - FindSibling - key|Threshold_High_v

    - FindSibling - key|Threshold_Low

    - FindSibling - key|Threshold_Low_v

    Info.plist successfully patched

    | Loading Kernel Extension

    Removing existing kext in tmp : ✓

    Copying actuel kext into tmp : ✓

    Copying patched Info.plist into kext : ✓

    Changing permission of kext : ✓ /tmp/AppleGraphicsPowerManagement.kext/Contents/_CodeSignature/CodeResources

    /tmp/AppleGraphicsPowerManagement.kext/Contents/_CodeSignature

    /tmp/AppleGraphicsPowerManagement.kext/Contents/Info.plist

    /tmp/AppleGraphicsPowerManagement.kext/Contents/MacOS/AppleGraphicsPowerManagement

    /tmp/AppleGraphicsPowerManagement.kext/Contents/MacOS

    /tmp/AppleGraphicsPowerManagement.kext/Contents/version.plist

    /tmp/AppleGraphicsPowerManagement.kext/Contents

    /tmp/AppleGraphicsPowerManagement.kext



    Removing existing kext : ✓

    Copying patched kext into Extension : ✓

    Loading modified kext : ✓

    ********************* MBP GPU Fixed Successfully *********************
    --- Post Merged, May 5, 2017 ---
    Installed - I have not attempted to run the Cinebench test yet.
     
  17. johnh57 macrumors regular

    Joined:
    Jul 6, 2011
    Location:
    Montana
    #17
    That seems to have worked! Passed the cinebench test without blowing up.

    Thank you!
     
  18. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #18
    Yeayyyyy so cool! Enjoy ;)
     
  19. falford89 macrumors newbie

    Joined:
    May 15, 2017
    #19
    Thanks so much for this! Will it allow me to use external displays with the MacBook now? I tried and it still crashes, but I was wondering if I had to put it in discrete only mode or something like that. Thanks.
     
  20. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #20
    Hi, thanks for your words ! Unfortunately this fix will only work if you use the MBP screen.
    Using a secondary screen will still make the MBP to crash.

    You shouldn't need to change anything in Mac settings. The fix works by itself any no more modification is needed.
     
  21. imom macrumors regular

    imom

    Joined:
    Feb 20, 2008
    #21
    Seems to be working so far on OSX 10.12.5. Thanks!
     
  22. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #22
    Very cool. Thanks for letting me know !
     
  23. kojot841 macrumors newbie

    kojot841

    Joined:
    May 21, 2017
    #23
    Hi Julian,

    Thanks a lot for this program, works like a charm! :) I wanted to ask you, I am about to change the capacitor in question and was wondering how can I restore the original (non edited) version of the .kext file. In your program the "Restore defaults config" button is non clickable - https://screencast.com/t/dofa46rTn

    Thanks
     
  24. julian-poidevin thread starter macrumors newbie

    julian-poidevin

    Joined:
    May 2, 2017
    Location:
    France
    #24
    Unfortunately, the restoration of old Kernel file is not available in application yet. I'm working on it.
    You have two choices :
    • wait for a new update of OSX : this will erase all the modification to the kernel file and replace the values by the default ones.
    • restore manually by changing the kernel file and loading with Kext Utility (I can help you with that if you wish).

    What do you prefer ?

    EDIT : You can also use recovery feature explained here : https://apple.stackexchange.com/a/43129

     
  25. kojot841 macrumors newbie

    kojot841

    Joined:
    May 21, 2017
    #25
    Hey Julian,

    Thanks for the quick response. I found in other theme, someone has mentioned to run this command in Terminal: RM -R /System/Library/Extensions/AppleGraphicsPowerManagement.kext


    Maybe I can try this first?


    Thanks,
     

Share This Page