fabioiop / MBP-2010-GPU-Panic-fix

MBP 2010 GPU Panic fix to MacBook Pro 15" mid 2010
62 stars 6 forks source link

OS 13 Ventura with OCLP #10

Open walidbensalah opened 1 year ago

walidbensalah commented 1 year ago

Any solution/update on a working processus on Ventura ? Everything else is working flawlessly on my 2010 MBP 15 with OCLP/Ventura

fabioiop commented 1 year ago

Try replacing the AGPM-Override.kext in the EFI OpenCore folder (/EFI/OC/Kexts/AGPM-Override.kext) with this attachment.

Type this command to open EFI: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI

But keep safe a flash drive with a valid and bootable OpenCore as a backup if it doesn't work AGPM-Override.kext.zip

walidbensalah commented 1 year ago

Thanks but there is no AGPM-Override.kext in the EFI OpenCore folder (/EFI/OC/Kexts/AGPM-Override.kext) ! This is the EFI OpenCore kext folder : Screenshot 2023-02-11 at 10 08 31 PM

fabioiop commented 1 year ago

Build new one OpenCore setting SMBIOS Spoof to Minimal.

walidbensalah commented 1 year ago

Try replacing the AGPM-Override.kext in the EFI OpenCore folder (/EFI/OC/Kexts/AGPM-Override.kext) with this attachment.

Type this command to open EFI: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI

But keep safe a flash drive with a valid and bootable OpenCore as a backup if it doesn't work AGPM-Override.kext.zip

Added AGPM-Ovrrider.kext to EFI/OC/Kexts and loaded it through Config.plist using Propertree.

Didn't work, the system crashed on graphic swap as before.

walidbensalah commented 1 year ago

Build new one OpenCore setting SMBIOS Spoof to Minimal.

I am a simple computer user and it seems too difficult to go that way :). Pity that the integration of the crash problem within OCLP was abandoned :(

fabioiop commented 1 year ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before).

efi.zip

walidbensalah commented 1 year ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before).

efi.zip

Thank you very Much, It's working 100%. Will stress test for some days and let you know. You Rocks.

For Everyone On a MacBook Pro 2010 - MBP6,2 with Nvidia 330M crash problem (Capacitor 330um problem) : 1- Type this command on Terminal to open EFI: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI 2- Make a copy of your original EFI and system folders (just in case) 3- download the efi.zip provided by @fabioiop and unzip it 4-Delete EFI and System folders on the Step 1 mounted folder 4- Copy the provided EFI and System Folders to the EFI now empty folder 5- Restart your computer

walidbensalah commented 1 year ago

2 Week later, Everything working and no crash on OCLP Ventura 13.2.1 The Zip provided by @fabioiop is based on OCLP 0.6.1 (https://github.com/dortania/OpenCore-Legacy-Patcher/releases/tag/0.6.1). Use this version to not have Open Core popup asking you to update. Thanks @fabioiop and please share your updated OCLP EFI from time to time.

walidbensalah commented 1 year ago

Hi @fabioiop, can you share an updated EFI based on OCLP 0.6.2 please ? Thanks

helpme2k2 commented 1 year ago

HI @fabioiop I have installed the fix and quite happy with it. Am I supposed to leave the SIP disable all the time? I have the need to re-enable SIP. Because without SIP, the system won't add app to privacy for me to enable microphone and camera access.

fabioiop commented 1 year ago

HI @fabioiop I have installed the fix and quite happy with it. Am I supposed to leave the SIP disable all the time? I have the need to re-enable SIP. Because without SIP, the system won't add app to privacy for me to enable microphone and camera access.

This is not a issue with FIX or SIP disabled. The OCLP disables AMFI, which is why you don't get the permission alert. Try a script called TCCplus it enables access permissions to apps.

helpme2k2 commented 1 year ago

HI @fabioiop I have installed the fix and quite happy with it. Am I supposed to leave the SIP disable all the time? I have the need to re-enable SIP. Because without SIP, the system won't add app to privacy for me to enable microphone and camera access.

This is not a issue with FIX or SIP disabled. The OCLP disables AMFI, which is why you don't get the permission alert. Try a script called TCCplus it enables access permissions to apps.

Thanks , you just saved me a lot of time and brain juice.

walidbensalah commented 1 year ago

Build new one OpenCore setting SMBIOS Spoof to Minimal.

Tried this creating an 0.6.2 then an 0.6.3 beta OC then replaced config.plist and copied all the needed kext without success.

Get this message with 0.6.2 and 0.6.3

Screenshot 2023-04-02 at 20 23 43

fabioiop commented 1 year ago

Build new one OpenCore setting SMBIOS Spoof to Minimal.

Tried this creating an 0.6.2 then an 0.6.3 beta OC then replaced config.plist and copied all the needed kext without success.

Get this message with 0.6.2 and 0.6.3

Screenshot 2023-04-02 at 20 23 43

Keep safe in 0.6.1. You don't need update..

but if you want to try, before building the new EFI, go to Settings > SMBIOS Settings > Spoof Level > Minimal. Return to main window and build new EFI. After Installed replace the previous 0.6.1 AGPM-Override.kext (EFI/OC/Kexts). Reboot.

walidbensalah commented 1 year ago

Build new one OpenCore setting SMBIOS Spoof to Minimal.

Tried this creating an 0.6.2 then an 0.6.3 beta OC then replaced config.plist and copied all the needed kext without success. Get this message with 0.6.2 and 0.6.3 Screenshot 2023-04-02 at 20 23 43

Keep safe in 0.6.1. You don't need update..

but if you want to try, before building the new EFI, go to Settings > SMBIOS Settings > Spoof Level > Minimal. Return to main window and build new EFI. After Installed replace the previous 0.6.1 AGPM-Override.kext (EFI/OC/Kexts). Reboot.

Do the whole process but replacing AGPM-Override.kext after building and installing an OC with SMBIOS set to minimal is insufficient. it's not as stable and crashes within the hour.

NinoJMH commented 1 year ago

Hey Fabio! Hope you're doing well šŸ˜ I followed the guide posted on the comments here to get my Ventura working and so far so good. No crashes!

I'm having the safari rendering issues though, so I was wondering if you updated your OCLP to 0.6.3+ by any chance to fix that?

I tried installing 0.6.3, rebuilding and copying your AGPM kext file but that didn't work. Maybe I did it wrong šŸ˜… - thanks in advance!

fabioiop commented 1 year ago

Hey Fabio! Hope you're doing well šŸ˜ I followed the guide posted on the comments here to get my Ventura working and so far so good. No crashes!

I'm having the safari rendering issues though, so I was wondering if you updated your OCLP to 0.6.3+ by any chance to fix that?

I tried installing 0.6.3, rebuilding and copying your AGPM kext file but that didn't work. Maybe I did it wrong šŸ˜… - thanks in advance!

Hey! I don't have the MPB6,2 here with me right now, but you can try to rebuild the efi. Two steps are important. First go to SMBIOS Settings > Spoof Level > Minimal. Second go to Developer Settings and uncheck the checkbox for NVRAM write to flash. Build the new EFI and then replace the AGPM-Override.kext (EFI/OC/Kexts).

JulianGrayMedia commented 8 months ago

Hey guys, I just did the install of Ventura over a previously working Catalina install. I'm running OCLP version 1.0.1 (Latest).

I was planning on applying these Ventura fixes after the install completed, but I actually can't get the machine to boot. Every time the graphics driver initializes during boot up, I get a Kernal panic. I actually haven't been able to finalize the install. The machine hangs when I try to do a safe mode boot, and I'm not sure what to do at this point.

Any ideas?

JulianGrayMedia commented 8 months ago

Slight update, I managed to get the machine to boot for the first time via verbose mode, I installed the patcher and the EFI folder as described earlier in the thread and it didn't help. It crashes before it even boots under normal booting circumstances.

I haven't been able to get it to boot since, even with verbose.

any ideas?

fabioiop commented 8 months ago

Download the plist here (https://github.com/fabioiop/MBP-2010-GPU-Panic-fix/issues/10#issuecomment-1424945503) Open the EFI folder and edit the plist AGPM-Override.kext with the plist values from the downloaded kext: IOKitPersonalities > Vendor10deDevice0a29 save and reboot

Jossell777 commented 8 months ago

How can I fix macOS Sonoma?

JulianGrayMedia commented 8 months ago

Download the plist here (#10 (comment)) Open the EFI folder and edit the plist AGPM-Override.kext with the plist values from the downloaded kext: IOKitPersonalities > Vendor10deDevice0a29 save and reboot

I'm having a hard time understanding. I downloaded the AGPM-Override kext from #10, and that's living in the OC folder on my EFI folder. where do I add the values you've just sent over within in the kext?

OussamaElarbi commented 6 months ago

@fabioiop Your solution works super well for both Big Sur and Ventura. Have you tried it with the latest Sonoma release?

fabioiop commented 6 months ago

on Sonoma it is not working properly. But you can try at your own risk. Install the latest OLCP 1.3.0. Build and install Root patch. Build and install OpenCore. Then replace the EFI folder with this one attached.

Archive.zip

DJLeleX commented 6 months ago

on Sonoma it is not working properly. But you can try at your own risk. Install the latest OLCP 1.3.0. Build and install Root patch. Build and install OpenCore. Then replace the EFI folder with this one attached.

Archive.zip

EDIT: GPU panics on Ventura

Can confirm this boots on Sonoma and Ventura. (I just replaced OC folder inside EFI)

michcio19 commented 6 months ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before).

efi.zip

I installed latest ventura and use OCLP 1.3.0 build and installed Root patch. Build and install OpenCore then copy your EFI reboot macbook and still GPU panic any aidea?

DJLeleX commented 6 months ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before). efi.zip

I installed latest ventura and use OCLP 1.3.0 build and installed Root patch. Build and install OpenCore then copy your EFI reboot macbook and still GPU panic any aidea?

You have to build OpenCore with SMBIOS Spoof set to minimal. And just replace AGPM-Override.kext in EFI/OC/Kexts.

michcio19 commented 6 months ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before). efi.zip

I installed latest ventura and use OCLP 1.3.0 build and installed Root patch. Build and install OpenCore then copy your EFI reboot macbook and still GPU panic any aidea?

You have to build OpenCore with SMBIOS Spoof set to minimal. And just replace AGPM-Override.kext in EFI/OC/Kexts.

Working! One more question How to hide this message 229374628-8097177b-8fa5-4e49-80c5-51b0704faae3

DJLeleX commented 6 months ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before). efi.zip

I installed latest ventura and use OCLP 1.3.0 build and installed Root patch. Build and install OpenCore then copy your EFI reboot macbook and still GPU panic any aidea?

You have to build OpenCore with SMBIOS Spoof set to minimal. And just replace AGPM-Override.kext in EFI/OC/Kexts.

Working! One more question How to hide this message 229374628-8097177b-8fa5-4e49-80c5-51b0704faae3

Just replace the single kext and not the entire EFI folder.

michcio19 commented 6 months ago

I'll send you the OCLP files. Back up yours. Replace the files in the EFI folder with these attached ones (unzip before). efi.zip

I installed latest ventura and use OCLP 1.3.0 build and installed Root patch. Build and install OpenCore then copy your EFI reboot macbook and still GPU panic any aidea?

You have to build OpenCore with SMBIOS Spoof set to minimal. And just replace AGPM-Override.kext in EFI/OC/Kexts.

Working! One more question How to hide this message 229374628-8097177b-8fa5-4e49-80c5-51b0704faae3

Just replace the single kext and not the entire EFI folder.

Could you explain me more clear? (i'm beginner)

DJLeleX commented 6 months ago

@michcio19 1) Build Opencore with SMBIOS Spoof set to minimal and install it. DO NOT REBOOT. 2) Mount EFI partition with this command: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI 3) Go inside this folder: EFI/OC/Kexts 4) Replace only AGPM-Overrride.kext 5) Reboot

michcio19 commented 6 months ago

@michcio19

  1. Build Opencore with SMBIOS Spoof set to minimal and install it. DO NOT REBOOT.
  2. Mount EFI partition with this command: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI
  3. Go inside this folder: EFI/OC/Kexts
  4. Replace only AGPM-Overrride.kext
  5. Reboot

Gpu panic :( How about sonoma working using 'Archive.zip'?

DJLeleX commented 6 months ago

@michcio19

AGPM-Override.kext.zip

cheers

On Sat, 23 Dec 2023, 11:11 michcio19, @.***> wrote:

@michcio19 https://github.com/michcio19

  1. Build Opencore with SMBIOS Spoof set to minimal and install it. DO NOT REBOOT.
  2. Mount EFI partition with this command: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI
  3. Go inside this folder: EFI/OC/Kexts
  4. Replace only AGPM-Overrride.kext
  5. Reboot

Gpu panic :(

ā€” Reply to this email directly, view it on GitHub https://github.com/fabioiop/MBP-2010-GPU-Panic-fix/issues/10#issuecomment-1868260307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ3RNWOYHSOHZROTNV3YK2U4JAVCNFSM6AAAAAAUVES3V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGI3DAMZQG4 . You are receiving this because you commented.Message ID: @.***>

michcio19 commented 6 months ago

@michcio19 AGPM-Override.kext.zip cheers ā€¦ On Sat, 23 Dec 2023, 11:11 michcio19, @.> wrote: @michcio19 https://github.com/michcio19 1. Build Opencore with SMBIOS Spoof set to minimal and install it. DO NOT REBOOT. 2. Mount EFI partition with this command: sudo diskutil mountDisk disk0s1 && open /Volumes/EFI 3. Go inside this folder: EFI/OC/Kexts 4. Replace only AGPM-Overrride.kext 5. Reboot Gpu panic :( ā€” Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ3RNWOYHSOHZROTNV3YK2U4JAVCNFSM6AAAAAAUVES3V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGI3DAMZQG4 . You are receiving this because you commented.Message ID: @.>

Still GPU panic i returned to 'efi.zip'

michcio19 commented 6 months ago

How to fix microphone and camera e.g when i using messanger?

DJLeleX commented 6 months ago

check this: https://dortania.github.io/OpenCore-Legacy-Patcher/ACCEL.html#unable-to-run-zoom

On Tue, 26 Dec 2023, 14:33 michcio19, @.***> wrote:

How to fix microphone and camera e.g when i using messanger?

ā€” Reply to this email directly, view it on GitHub https://github.com/fabioiop/MBP-2010-GPU-Panic-fix/issues/10#issuecomment-1869550757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJZSFHV3JKVGLR4JYIDYLLG3VAVCNFSM6AAAAAAUVES3V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGU2TANZVG4 . You are receiving this because you commented.Message ID: @.***>

paulioliolio commented 4 months ago

So I used OCLP to install Ventura as described here (set SMBIOS Spoof to Minimal and then replace the AGPM-Override.kext in the EFI OpenCore folder). I've double-checked and I'm using the version linked above. How to know if it is working though? I still see the nVidia card in About This Mac and in the System Report. And if I run the Unigine Benchmark it still reports the nVidia card. The gfxCard app still shows the laptop switching between the cards also. Just want to check - should Ventura users also be using Fabio's app as well as doing the OCLP steps and manually replacing AGPM-Override?

HolaCaptain commented 1 month ago

Hi @fabioiop ! First Iā€™d like to thank you for the custom EFI you provided here. My mid-2010 MacBook Pro can live again on macOS Ventura. After being almost bricked due to the failing discrete GPU.

I reopen this thread about a possible Sonoma patch. I see you already provided a first patched EFI test which unfortunately trigger a panic/black screen right before the login screen. I understand that the technique of patching is different from Ventura to Sonoma, and that it could be challenging.

Just wanted to know if you experimented further on making a patched EFI for Sonoma, or if you have plan to do so eventually ?