julian-poidevin / MBPMid2010_GPUFix

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.
MIT License
369 stars 60 forks source link

Problems with the mac after leaving it to sleep. @Julian Vallejo Help Me #152

Open RodBueno98 opened 2 years ago

RodBueno98 commented 2 years ago

Good evening Folks, I hope you all are well when you are reading my message. I direct this message to @Julian Vallejo, could you help me? I just bought a used macbook here in Brazil (it's not possible to buy a new one here) and it started having a problem every time I leave it at rest (I just close the screen), I've noticed that the error happens after leaving the mac longer of 10 hours at rest. This last time the mac appeared the error I copied the code. Could you help me with a patch?

I will provide the code.:

panic(cpu 1 caller 0xffffff7fa905845f): "Failed to quiesce supporting devices in last sleep attempt (0xa) after sleep/wake(2/1), M8 was available, sleepFailCnt(0x100), Healed(1), Panic(0), SMC(0)" @AppleEmbeddedOSSupportHost.cpp:983 Panicked task 0xffffff9033dba670: 179 threads: pid 0: kernel_task Backtrace (CPU 1), panicked thread: 0xffffff9033d86aa0, Frame : Return Address 0xffffffe07c9b3820 : 0xffffff8011885ffd 0xffffffe07c9b3870 : 0xffffff80119e6035 0xffffffe07c9b38b0 : 0xffffff80119d5803 0xffffffe07c9b3900 : 0xffffff8011825a60 0xffffffe07c9b3920 : 0xffffff80118863cd 0xffffffe07c9b3a40 : 0xffffff8011885b86 0xffffffe07c9b3aa0 : 0xffffff8012116409 0xffffffe07c9b3b10 : 0xffffff7fa905845f 0xffffffe07c9b3bb0 : 0xffffff801205734e 0xffffffe07c9b3bf0 : 0xffffff7fa905701b 0xffffffe07c9b3c30 : 0xffffff8012027289 0xffffffe07c9b3ca0 : 0xffffff8012042be1 0xffffffe07c9b3d50 : 0xffffff8012027aa9 0xffffffe07c9b3da0 : 0xffffff80120404ee 0xffffffe07c9b3e40 : 0xffffff801203c5af 0xffffffe07c9b3e90 : 0xffffff801203a0d0 0xffffffe07c9b3ee0 : 0xffffff8012039f6a 0xffffffe07c9b3f20 : 0xffffff80120574ae 0xffffffe07c9b3f60 : 0xffffff8012056ad7 0xffffffe07c9b3fa0 : 0xffffff801182518e Kernel Extensions in backtrace: com.apple.driver.AppleEmbeddedOSSupportHost(1.0)[F001921E-716F-32E7-937F-4DC859DB3987]@0xffffff7fa9055000->0xffffff7fa9059fff dependency: com.apple.driver.AppleSMC(3.1.9)[4174C698-A692-3609-94C7-453B6CEB337D]@0xffffff8013029000->0xffffff8013041fff dependency: com.apple.iokit.IOACPIFamily(1.4)[9AAF8737-B8CD-3A43-A654-69FD563A54CA]@0xffffff8013f40000->0xffffff8013f41fff

Process name corresponding to current thread (0xffffff9033d86aa0): kernel_task

Mac OS version: 21D49

Kernel version: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 Kernel UUID: 93729D02-FE6F-355B-BA76-BA930AA7103F KernelCache slide: 0x0000000011600000 KernelCache base: 0xffffff8011800000 Kernel slide: 0x0000000011610000 Kernel text base: 0xffffff8011810000 __HIB text base: 0xffffff8011700000 System model name: MacBookPro14,2 (Mac-CAD6701F7CEA0921) System shutdown begun: NO Panic diags file available: YES (0x0) Hibernation exit count: 9

System uptime in nanoseconds: 1090767106242 Last Sleep: absolute base_tsc base_nano Uptime : 0x000000fdf6c934b0 Sleep : 0x000000fd93e9a7cc 0x00005ef23b33f93b 0x000000f608ec401b Wake : 0x000000fdb8253f88 0x00000002fa595be5 0x000000fda1850667 Zone info: Foreign : 0xffffff802766d000 - 0xffffff802767a000 Native : 0xffffff8033fa0000 - 0xffffffa033fa0000 Readonly : 0xffffff8500c6c000 - 0xffffff869a600000 Metadata : 0xfffffff3dd471000 - 0xfffffff3fd53b000 Bitmaps : 0xfffffff3fd53b000 - 0xfffffff40053b000 last started kext at 783564193394: >usb.cdc.acm 5.0.0 (addr 0xffffff7faa684000, size 12288) last stopped kext at 682814251874: >AGDCBacklightControl 6.4.12 (addr 0xffffff7fa9175000, size 12288) loaded kexts: @UVCService 1

AudioAUUC 1.70 AGPM 127 !APlatformEnabler 2.7.0d0 X86PlatformShim 1.0.0 @filesystems.autofs 3.0 @fileutil 20.036.15 !AHIDALSService 1 !AUpstreamUserClient 3.6.8 !A!IPCHPMC 2.0.1 !AGraphicsDevicePolicy 6.4.12 !AHDA 283.15 !A!IKBLGraphics 18.0.4 !A!IKBLGraphicsFramebuffer 18.0.4 !AEmbeddedOSSupportHost 1 @AGDCPluginDisplayMetrics 6.4.12 pmtelemetry 1 |IOUserEthernet 1.0.1 usb.!UUserHCI 1 !AHV 1 !ADiskImages2 126.60.3 !A!ISlowAdaptiveClocking 4.0.0 !AThunderboltIP 4.0.3 eficheck 1 !ABacklight 180.4 !AMCCSControl 1.14 @filesystems.apfs 1933.80.3 !AFileSystemDriver 3.0.1 @filesystems.tmpfs 1 @filesystems.lifs 1 @filesystems.hfs.kext 582.60.2 @BootCache 40 @!AFSCompression.!AFSCompressionTypeZlib 1.0.0 @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1 !ATopCaseHIDEventDriver 5020.1 AirPort.BrcmNIC 1400.1.1 @private.KextAudit 1.0 !ASmartBatteryManager 161.0.0 !AACPIButtons 6.1 !ARTC 2.0.1 !ASMBIOS 2.1 !AACPIEC 6.1 !AAPIC 1.7 @!ASystemPolicy 2.0.0 @nke.applicationfirewall 402 |IOKitRegistryCompatibility 1 |EndpointSecurity 1 @Dont_Steal_Mac_OS_X 7.0.0 @kec.!AEncryptedArchive 1 usb.cdc.acm 5.0.0 usb.serial 6.0.0 !UAudio 414.7 !AAudioClockLibs 100.9.1 driverkit.serial 6.0.0 @kext.triggers 1.0 !AGraphicsControl 6.4.12 DspFuncLib 283.15 @kext.OSvKernDSPLib 529 |IOAccelerator!F2 462.4.1 usb.IOUSBHostHIDDevice 1.2 !AHDA!C 283.15 |IOHDA!F 283.15 |IOAudio!F 300.10 @vecLib.kext 1.2.0 |IO!BSerialManager 9.0.0 |IO!BPacketLogger 9.0.0 |IO!BHost!CUSBTransport 9.0.0 |IO!BHost!CUARTTransport 9.0.0 |IO!BHost!CTransport 9.0.0 IO!BHost!CPCIeTransport 9.0.0 |IOAVB!F 1010.2 @plugin.IOgPTPPlugin 1000.11 |IOEthernetAVB!C 1.1.0 |CSR!BHost!CUSBTransport 9.0.0 |Broadcom!BHost!CUSBTransport 9.0.0 |Broadcom!B20703USBTransport 9.0.0 !AIPAppender 1.0 @!AGPUWrangler 6.4.12 |IOSlowAdaptiveClocking!F 1.0.0 !AThunderboltDPOutAdapter 8.5.1 X86PlatformPlugin 1.0.0 IOPlatformPlugin!F 6.0.0d8 !A!ILpssUARTv1 3.0.60 !A!ILpssUARTCommon 3.0.60 !AOnboardSerial 1.0 |IOSerial!F 11 @!AGraphicsDeviceControl 6.4.12 !ABacklightExpert 1.1.0 |IONDRVSupport 593 |IOGraphics!F 593 !ASMBus!C 1.0.18d1 usb.cdc.ecm 5.0.0 usb.cdc.ncm 5.0.0 usb.!UiBridge 1.0 usb.cdc 5.0.0 usb.networking 5.0.0 usb.!UHostCompositeDevice 1.2 !AThunderboltDPInAdapter 8.5.1 !AThunderboltDPAdapter!F 8.5.1 !AThunderboltPCIDownAdapter 4.1.1 !AHPM 3.4.4 !A!ILpssI2C!C 3.0.60 !AXsanScheme 3 !ABSDKextStarter 3 |IOSurface 302.11.1 @filesystems.hfs.encodings.kext 1 !AActuatorDriver 5430.21 !AHIDKeyboard 228 !AMultitouchDriver 5430.21 !AInputDeviceSupport 5400.30 !AHS!BDriver 5020.1 IO!BHIDDriver 9.0.0 !AHSSPIHIDDriver 63 !AThunderboltNHI 7.2.8 |IOThunderbolt!F 9.3.3 !AHSSPISupport 63 |IO80211!FLegacy 1200.12.2b1 |IOSkywalk!F 1.0 mDNSOffloadUserClient 1.0.1b8 corecapture 1.0.4 |IONVMe!F 2.1.0 !A!ILpssSpi!C 3.0.60 !A!ILpssDmac 3.0.60 usb.!UHostPacketFilter 1.0 |IOUSB!F 900.4.2 !A!ILpssI2C 3.0.60 !A!ILpssGspi 3.0.60 usb.!UXHCIPCI 1.2 usb.!UXHCI 1.2 !AEFINVRAM 2.1 !AEFIRuntime 2.1 |IOSMBus!F 1.1 |IOHID!F 2.0.0 |IOTimeSync!F 1000.11 |IONetworking!F 3.4 DiskImages 493.0.0 |IO!B!F 9.0.0 |IOReport!F 47 $quarantine 4 $sandbox 300.0 @kext.!AMatch 1.0.0d1 |CoreAnalytics!F 1 !ASSE 1.0 !AKeyStore 2 !UTDM 532.40.7 |IOUSBMass!SDriver 209.40.6 |IOSCSIBlockCommandsDevice 452.60.2 |IO!S!F 2.1 |IOSCSIArchitectureModel!F 452.60.2 !AMobileFileIntegrity 1.0.5 $!AImage4 4.2.0 @kext.CoreTrust 1 !AFDEKeyStore 28.30 !AEffaceable!S 1.0 !ACredentialManager 1.0 KernelRelayHost 1 |IOUSBHost!F 1.2 !UHostMergeProperties 1.2 usb.!UCommon 1.0 !ABusPower!C 1.0 !ASEPManager 1.0.1 IOSlaveProcessor 1 !AACPIPlatform 6.1 !ASMC 3.1.9 |IOPCI!F 2.9 |IOACPI!F 1.4 watchdog 1 @kec.pthread 1 @kec.Libm 1 @kec.corecrypto 12.0