Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
That should be just added the version number.
Can you try?

Based on your reports earlier in this thread, I believe OpenCore never really 'fixed' the issue with the Radeon VII, but more got lucky that a certain version of the code pinged the driver's memory layout to a state where the caching was right. It's possible we got something similar with EnableGop 1.1.

Note: I set myself a rule with EnableGop versioning to only increase the version number if there is a significant functional difference. The driver is rebuilt automatically at every release, and may not be binary the same, even if the version number is the same. The functional difference between the initial release and 1.1 is the fix for verbose boot lines appearing over the picker, which does indeed (also) apply to the native picker when enabled by EnableGop, and is fixed in EnableGop by the code change which fixes it in OC.
It's my fault, I completely forget about that fix for verbose boot (despite I read that more than once).

Anyway, I've just tested both EnableGop 1.1 ffs and EnableGopDirect 1.1 ffs.

Despite both still buggy for Radeon VII (for new joiner of this thread, this problem so far only exsit on Radeon VII, but not any other GPU). I confirmed that EnableGop 1.1 can also work, but act tiny bit different then EnableGopDirect 1.1 (EnableGop won't show the light grey background before the dark mode boot picker show up).
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
That you, that'd be great!

As ever you really don't need to disable the related OpenCore parameters, though you can. ProvideConsoleGop really won't do anything if it's already been provided. DirectGopRendering will, in fact, provide the same thing twice, but it is more or less harmless. I tend to leave the main OC settings alone, if I'm just testing.
If I keep DirectGopRendering enabled in the config. Then the cMP will always show flawless boot picker. In this case, I have to disable it to test if EnableGop / EnableGopDirect works as expected.
 

Bmju

macrumors 6502a
Original poster
Dec 16, 2013
702
768
If I keep DirectGopRendering enabled in the config. Then the cMP will always show flawless boot picker. In this case, I have to disable it to test if EnableGop / EnableGopDirect works as expected.
Ah, testing how the EnableGop-installed behaviour looks within OC afterwards. Okay, yes! Thank you.
 
Last edited:

Bmju

macrumors 6502a
Original poster
Dec 16, 2013
702
768
It's my fault, I completely forget about that fix for verbose boot (despite I read that more than once).

Anyway, I've just tested both EnableGop 1.1 ffs and EnableGopDirect 1.1 ffs.

Despite both still buggy for Radeon VII (for new joiner of this thread, this problem so far only exsit on Radeon VII, but not any other GPU). I confirmed that EnableGop 1.1 can also work, but act tiny bit different then EnableGopDirect 1.1 (EnableGop won't show the light grey background before the dark mode boot picker show up).
Thank you very much for retesting. Okay, still TODO then. 😏
 
  • Like
Reactions: h9826790

Tacos_iN_Space

macrumors newbie
Mar 6, 2023
7
1
As mentioned the 1st Post, purpose of Pre-OpenCore GOP support is to enable the native Apple boot picker and early macOS boot progress bar display on non-natively supported GPUs, before, or even without, the rest of OpenCore.
So for example if you hold the Alt/Option on the keyboard straight after the Apple Chime, you will see the Apple Start-up Manager screen to select the the drive to boot...this is before OpenCore starts. If you do not use OpenCore, you will see Apple's native startup UI and progress bar on many of the listed GPU's on the 1st post.

That is achieved by adding to your existing Mac BootROM with the EnableGOP.ffs or EnableGopDirect.ffs.
For your RX580 EnableGop.ffs is sufficient.

The EnableGopDirect.ffs is for adding this feature to your existing Mac BootROM if have a GPU that requires DirectGopRendering setting in OpenCore config.plist file; e.g. Radeon VII GPU.

The EnableGop.efi and EnableGopDirect.efi are for adding this feature to your GPU's firmware instead of your Mac's firmware. There's a separate process for flashing your GPU.

Only one is necessary....flashing your Mac or flashing your GPU.

This is a really great feature addition to your Mac but you strictly do not need it if you are happy with the fact that OpenCore already shows you the boot progress bar and can even display OpenCore's Startup Managers (or boot picker) always at boot up or only if you hold the Alt/Option/Esc key (depending on how it's boot bicker is configured).

Read the warning of the 1st post !
If you do not know what you are doing then you could brick your Mac or your GPU !
Hello.
I am reading through all the posts to understand the GPU flashing process.
I have the AMD M6100—just flash with the correct ROM from Ausdauersportler's page, no need to mess with the iMac ROM? Install the GPU and reboot?
 
Last edited:

zozomester

macrumors 6502
Apr 26, 2017
372
267
Hungary
If I keep DirectGopRendering enabled in the config. Then the cMP will always show flawless boot picker. In this case, I have to disable it to test if EnableGop / EnableGopDirect works as expected.
What did you inject into Bootrom? EnableGop 1.1 or EnableGopDirect 1.1 ffs?
Thanks!
 

MacNB2

macrumors 6502
Jul 21, 2021
310
239
Hello.
I am reading through all the posts to understand the GPU flashing process.
I have the AMD M6100—just flash with the correct ROM from Ausdauersportler's page, no need to mess with the iMac ROM? Install the GPU and reboot?

Sorry I don't have experience of iMac flashing. Flashing the GPU with EnableGop using method described here will give native boot screen. Don't have iMac anymore to try it. @Ausdauersportler can provide a better answer to you than I.
 

Ludacrisvp

macrumors 6502a
May 14, 2008
797
363
funny this talk of Xserve's I was just wondering myself what compatibility with the Xserve3,1 might be like

as mention Hardware/firmware wise its a lot Like MacPro4,1 complete with a later BootROM that was never issued as an update for existing machines

may not really matter at this point but the xserve3,1 pretty happily runs the MacPro 5,1 144.0.0.0 bootrom, if you want to use all DIMM slots you do need some help from OC though to redefine the memory profile, otherwise you typically will panic during boot of macos if you have DIMMs in slots that the SMBIOS definition that macos uses doesn't expect. I posted a modified flasher of the MP4,1->5,1 app that does xserve3,1->MP5,1 144 in the xserve section.

See here:
 
Last edited:
  • Like
Reactions: startergo

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
What did you inject into Bootrom? EnableGop 1.1 or EnableGopDirect 1.1 ffs?
Thanks!
I tested all combinationss

1) EnableGop 1.1 only = Boot screen avail, dark mode OC boot picker showed up straight away, but need mouse pointer to "paint" the update.

2) EnableGopDirect 1.1 only = Boot screen avail, light grey background showed up and then OC boot picker show up, only the area around icons a black, the other background area stay light grey, need mouse pointer to "paint" the update.

3) EnableGop 1.1 + DirectGopRendering enabled in the OpenCore config plist = Boot screen avail, perfect dark mode OC boot picker.

4) EnablegGopDirect 1.1 + DirectGopRendering enabled in the OpenCore config plist = Boot screen avail, light grey background may show up before the dark mode OC boot picker show up. But once the boot picker displayed, it works perfectly.

So, for normal daily use, the best combination should be EnableGop 1.1 + DirectGopRendering. This gives you some backup boot screen ability, but also work flawlessly as long as OpenCore is functioning.
 
  • Like
Reactions: zozomester and Bmju

osxfr33k

macrumors regular
Jun 26, 2019
164
21
I have been out of the scene for a while but back again. If I enable in config DirectGopRendering do I still need to flash my Saphire Pulse RX580 8GB rom or as the thread has mentioned the bootrom in MacPro3,1 through 5,1? I am also going to install Monterey and Ventura soon on all 3 cMP. I flashed a bunch of Nvidia GT640’s while back to get boot screen but not from this thread.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I have been out of the scene for a while but back again. If I enable in config DirectGopRendering do I still need to flash my Saphire Pulse RX580 8GB rom or as the thread has mentioned the bootrom in MacPro3,1 through 5,1? I am also going to install Monterey and Ventura soon on all 3 cMP. I flashed a bunch of Nvidia GT640’s while back to get boot screen but not from this thread.
No.

OpenCore has the required GOP driver build in. As long as you config it to use those build driver (e.g. enabled DirectGopRendering). There is no need to flash the cMP.

In this case, flashing the cMP allow us to use GOP boot screen even outside OpenCore enviornment (e.g. hold Option key to boot).
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,987
1,494
Germany
I have been out of the scene for a while but back again. If I enable in config DirectGopRendering do I still need to flash my Saphire Pulse RX580 8GB rom or as the thread has mentioned the bootrom in MacPro3,1 through 5,1? I am also going to install Monterey and Ventura soon on all 3 cMP. I flashed a bunch of Nvidia GT640’s while back to get boot screen but not from this thread.

do NOT flash EnableGOP in a Mac Pro 3,1 firmware.

See post 1 / supported hardware.
 
  • Like
Reactions: Bmju

terabay

macrumors member
May 3, 2021
34
7
Hi, I got the following error. Am I doing something wrong?


tools % vBiosInsert.sh -n M5000M.ROM EnableGop.efi M5K.ROM

Auto-detecting GOP offset...

Compressing EFI using EfiRom...

Adding Nvidia header...

Combining...

Verifying (starting at 0x1D800)...

Found compressed EFI ROM start at 0x38

Input size: 86472, Output size: 143456, Scratch size: 13376

UEFI decompression failed!
 

terabay

macrumors member
May 3, 2021
34
7
Idk can you send me the ROM?
This rom is from the following thread. Thank you in advance!
 

Attachments

  • M4000M+M5000M.zip
    283.4 KB · Views: 101

Ausdauersportler

macrumors 603
Nov 25, 2019
5,007
5,826
This rom is from the following thread. Thank you in advance!
Have you read the post where you found the vBIOS?

These roms have a standard un-patched Nvidia GOP that will only load on UEFI 2.0
So to enable boot-screens with OpenCore / rEFInd+ you must check your config file to
make sure "reload_gop" or "ReloadOptionROMs" + "ForgeUefiSupport" are enabled.
OpenCore Config.plist is attached, it might also fix the sleep issue? (up to High Sierra only)


__

From what I read and understand EnableGop relies on GOP which in turn will only load if OpenCore is active which should be avoided since the EFI picker starts before OC will be booted.

Does this work?
 

Bmju

macrumors 6502a
Original poster
Dec 16, 2013
702
768
This rom is from the following thread. Thank you in advance!
This is weird, it's not like any other Nvidia ROM I've seen so far. The initial header size is different, 0x400 instead of 0x600; and, probably more important, there is no additional 0x18 byte size Nvidia header block within the inserted GOP ROM either - assuming it was inserted, not original. So - not having the card and given that the current script has worked on quite a lot of Nvidia ROMs now - I'm not really sure what changes to make to the script, to make this work.

As someone's also pointed out, these cards don't work on recent macOS - are you sure this is what you want to do?

You might have to try asking over other on that other thread whether anyone has successfully added EnableGop to this card.
 

startergo

macrumors 603
Sep 20, 2018
5,022
2,283
This rom is from the following thread. Thank you in advance!
I tried this one
and it works:
Code:
MyTools % sudo ./vBiosInsert.sh -n 218680.rom EnableGop.efi M5K.ROM
Password:
Auto-detecting GOP offset...
Compressing EFI using EfiRom...
Adding Nvidia header...
Combining...
Verifying (starting at 0x1CC00)...
Found compressed EFI ROM start at 0x50
Input size: 87984, Output size: 40960, Scratch size: 13376
SUCCESS.
Done.
 
  • Like
Reactions: h9826790

startergo

macrumors 603
Sep 20, 2018
5,022
2,283
Also for the M4000M here it works:
Code:
sudo ./vBiosInsert.sh -n 213474.rom EnableGop.efi M4K.ROM
Auto-detecting GOP offset...
Compressing EFI using EfiRom...
Adding Nvidia header...
Combining...
Verifying (starting at 0x1CC00)...
Found compressed EFI ROM start at 0x50
Input size: 87984, Output size: 40960, Scratch size: 13376
SUCCESS.
Done.
 
  • Like
Reactions: h9826790

joevt

macrumors 604
Jun 21, 2012
6,971
4,262
As someone's also pointed out, these cards don't work on recent macOS - are you sure this is what you want to do?
I suppose such cards are good for Windows and Linux and High Sierra and earlier. For later macOS, it might at least work without acceleration similar to what you might get from a VM. My GTX 680 works well in a MacPro3,1 without acceleration in Mac OS X 10.4 to 10.8, and with acceleration from 10.9 to 13 (I may be misremembering the transition version), but it seems that you'll miss acceleration more in the later macOS versions which use the GPU more for transparency effects, etc. which were not used in early Mac OS X versions.
 

Bmju

macrumors 6502a
Original poster
Dec 16, 2013
702
768
This rom is from the following thread. Thank you in advance!
Can you try this and let me know? It's experimental - i.e. I cannot test it here - so I'm assuming you have hardware flashing capabilities (I think you have to, to be modifying this card at all?) and can restore your card in case this bricks it - if not, do not proceed.
 

Attachments

  • M5K.zip
    152.7 KB · Views: 62
Last edited:

terabay

macrumors member
May 3, 2021
34
7
Can you try this and let me know? It's experimental - i.e. I cannot test it here - so I'm assuming you have hardware flashing capabilities (I think you have to, to be modifying this card at all?) and can restore your card in case this bricks it - if not, do not proceed.
Thank you but it seems now my iMac logic board is faulty after re-assembled gpu and others since I get only one LED on and no boot-up when pressing the power button?
So i have to check actually what's going on first. If the logic board or power supply is dead, it will take a few weeks to test your rom.
Anyway, thank you.. grrrrr.
 

sergiodadi

macrumors member
Jan 23, 2020
58
79
Nice, France
Thank you very much, but remove VGA section is so complex for me now.

I have the same problem:

Code:
serge@iMac-de-Serge-2 EnableGop % ./vBiosInsert.sh -a amdimac2.rom EnableGop.efi amdimac2new.rom   
Auto-detecting GOP offset...
Compressing EFI using EfiRom...
Combining...
 - Not enough space within 128k limit - aborting!
serge@iMac-de-Serge-2 EnableGop %


I have the same iMac (iMac 12,2) and same graphic card (WX4130 Dell) and remove VGA section is also complex for me :(

If I understand , we must wait for a WX4130_EFI .rom

Now there is a directory EG:

Code:
ls -la IMAC-EFI-BOOT-SCREEN/EG
total 2136
drwxr-xr-x  13 serge  wheel     416 11 mar 14:18 .
drwxr-xr-x  16 serge  wheel     512 11 mar 14:18 ..
-rw-r--r--   1 serge  wheel   86181 11 mar 14:18 M4000-EnableGop-LVDS.rom.zip
-rw-r--r--   1 serge  wheel   86424 11 mar 14:18 M4000-EnableGop-eDP.rom.zip
-rw-r--r--   1 serge  wheel   84913 11 mar 14:18 M5100-EnableGop-LVDS.rom.zip
-rw-r--r--   1 serge  wheel   85034 11 mar 14:18 M6000-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel   86824 11 mar 14:18 M6100-Elpida-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel   86467 11 mar 14:18 M6100-HynixBFR-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel  175050 11 mar 14:18 S7100X-6939-LVTMA-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel   85873 11 mar 14:18 W5170M-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel   86458 11 mar 14:18 W6150M-4GB-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel  100058 11 mar 14:18 W7170M-EnableGop.rom.zip
-rw-r--r--   1 serge  wheel  102915 11 mar 14:18 WX7100_1243_EnableGop.rom.zip

a directory EG2:

Code:
serge@iMac-de-Serge-2 BootNatif % ls -la IMAC-EFI-BOOT-SCREEN/EG2
total 16920
drwxr-xr-x  33 serge  wheel     1056 11 mar 14:18 .
drwxr-xr-x  16 serge  wheel      512 11 mar 14:18 ..
-rw-r--r--   1 serge  wheel    40316 11 mar 14:18 CoreEG2.ffs
-rw-r--r--   1 serge  wheel    40260 11 mar 14:18 CoreEG2_x64.efi
-rw-r--r--   1 serge  wheel     7260 11 mar 14:18 EDIDParser.ffs
-rw-r--r--   1 serge  wheel     7204 11 mar 14:18 EDIDParser_x64.efi
-rw-r--r--   1 serge  wheel    63488 11 mar 14:18 M370-2820-EG2_.rom
-rw-r--r--   1 serge  wheel   185344 11 mar 14:18 M370.efi
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 M4000-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 M5100-ElpidaSamsung-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 M5100-HynixAFR-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 M5100-HynixBFR-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 M6000-EG2_adj.rom
-rw-r--r--   1 serge  wheel   189952 11 mar 14:18 NV14Python_EG2.efi
-rw-r--r--   1 serge  wheel   262144 11 mar 14:18 RX470-EG2.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 RX480_4GB_EG_adj.rom
-rw-r--r--   1 serge  wheel  1048576 11 mar 14:18 RX5500XT-NV14-EG2.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 S7100X-6930-LVTMA-EG2_adj.rom
-rw-r--r--   1 serge  wheel   185344 11 mar 14:18 VenusEG2.efi
-rw-r--r--   1 serge  wheel    61952 11 mar 14:18 Venus_XTA--6821.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 W5170M-EG2.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 W5170M-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 W6170M-4GB-EFI_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 W6170M-EG2_adj.rom
-rw-r--r--   1 serge  wheel   131072 11 mar 14:18 W7170M-EG2_adj.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4130-EG2_adj_ALT_VRAM.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4130_EG2_adj.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4150-EG2_adj_ALT_VRAM.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4150_EG2_adj.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4170-EG2_adj.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX4170-EG2_adj_ALT_VRAM.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX7100-EG2_adj.rom
-rw-r--r--   1 serge  wheel   524288 11 mar 14:18 WX7100-EG2_adj_ALT_VRAM.rom

and EFI directory is empty :(

I think you just have to be patient :)

thanks to all developers 👍
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.