Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Steve_Jones

macrumors member
Jan 26, 2019
34
14
Here's mine for comparison purposes:

Code:
#!/usr/bin/env python
from opencore.build import OpenCoreBuild

if __name__ == '__main__':
    kexts = [
        {
            'project': 'Lilu',
            'repo': 'acidanthera',
            'version': '1.5.1'
        },
        {
            'project': 'NightShiftEnabler',
            'repo': 'cdf',
            'version': '1.1.0'
        },
        {
            'project': 'WhateverGreen',
            'repo': 'acidanthera',
            'version': '1.4.8'
        }
    ]
    build = OpenCoreBuild('Volumes/EFI', kexts)
    build.write_tree()
    settings = {
        'DeviceProperties': {
            'Add': {
                'PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)': {
                    'agdpmod': build.unhexlify('70 69 6B 65 72 61 00'),
                    'rebuild-device-tree': build.unhexlify('00'),
                    'shikigva': build.unhexlify('50'),
                    'unfairgva': build.unhexlify('01 00 00 00')
                }
            }
        },
        'Kernel': {
            'Quirks': {
                'DisableLinkeditJettison': True,
                'SetApfsTrimTimeout': 9999999
            },
            'Scheme': {
                'KernelArch': 'x86_64'
            }
        },
        'Misc': {
            'Boot': {
                'ConsoleAttributes': 15,
                'HideAuxiliary': True,
                'PollAppleHotKeys': True,
                'ShowPicker': False
            },
            'Security': {
                'BlacklistAppleUpdate': True,
                'ExposeSensitiveData': 3,
                'ScanPolicy': 0,
                'SecureBootModel': 'Disabled',
                'Vault': 'Optional'
            }
        },
        'NVRAM': {
            'Add': {
                '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14': {
                    'DefaultBackgroundColor': build.unhexlify('00 00 00 00'),
                    'UIScale': build.unhexlify('02')
                }
            },
            'Delete': {
                '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14': [
                    'DefaultBackgroundColor',
                    'UIScale'
                ]
            }
        },
        'PlatformInfo': {
            'SMBIOS': {
                'BIOSVersion': '9999.0.0.0.0',
                'BoardProduct': 'Mac-7BA5B2D9E42DDD94',
                'FirmwareFeatures': build.unhexlify('03 54 0C E0'),
                'FirmwareFeaturesMask': build.unhexlify('3F FF 1F FF')
            },
            'UpdateSMBIOS': True
        },
        'UEFI': {
            'ConnectDrivers': True,
            'Drivers': [
                'ExFatDxeLegacy.efi',
                'OpenRuntime.efi'
            ],
            'Output': {
                'ProvideConsoleGop': True,
                'Resolution': 'Max'
            },
            'ProtocolOverrides': {
                'AppleBootPolicy': True,
                'AppleUserInterfaceTheme': True
            },
            'Quirks': {
                'RequestBootVarRouting': True
            }
        }
    }
    build.write_plist(settings)
    build.run_misc_tasks()
 
Last edited:
  • Like
Reactions: MacForumsUser

borgo1971

macrumors regular
Sep 5, 2013
158
39
Any of those ROM should work, just download 2-3 of them and try one by one.
I tried all this:
Schermata 2021-07-28 alle 19.19.40.png

but with the one highlighted in green, ati-atiflash utility says it's the same I got on the card out of the box, instead with the one highlighted in red, card seems break and don't give any signal after reboot. Luckily I was able to reinstall the original firmware using the GT120. The other firmware won't be installed at all.
Is there any other chance to find a firmware that enables OC picker?
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I tried all this: View attachment 1812115
but with the one highlighted in green, ati-atiflash utility says it's the same I got on the card out of the box, instead with the one highlighted in red, card seems break and don't give any signal after reboot. Luckily I was able to reinstall the original firmware using the GT120. The other firmware won't be installed at all.
Is there any other chance to find a firmware that enables OC picker?
The Nitro+ should has dual ROM. Even you badly flash one of the ROM, you can simply flip the switch to boot from the good ROM, then flip the switch again (when the card is running, this is 100% fine), and rescue the bad ROM.

There should be no need to use the GT120.

Anyway, just for confirm your card is the Nitro+, correct? If yes, before you try any ROM, you can simply try to boot from another ROM.
 

borgo1971

macrumors regular
Sep 5, 2013
158
39
The Nitro+ should has dual ROM. Even you badly flash one of the ROM, you can simply flip the switch to boot from the good ROM, then flip the switch again (when the card is running, this is 100% fine), and rescue the bad ROM.

There should be no need to use the GT120.

Anyway, just for confirm your card is the Nitro+, correct? If yes, before you try any ROM, you can simply try to boot from another ROM.
Yes...
IMG_20210728_152214.jpg Switch_1.gif
and I found the switch (in first time I thought the hole was unused... made as standard for other cards), but even changing his position won't bring up boot picker. Data viewed by GPU-Z are exactly the same, in both position (I wouldn't have trusted to moving the switch with card running)
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I wouldn't have trusted to moving the switch with card running
Of course you can make your own decision to not to do anything. But I can tell you that's the common practice to rescue the ROM. Once booted to desktop. Nothing is needed from the ROM. You can flip it at anytime. The only time that you shouldn't flip the switch is during flashing.

Anyway, you may try few more ROM. The beauty of the dual ROM card is that you can play with the ROM (very risk free). Just need to flip the switch to rescue if you flashed a bad ROM (of course, you can use the GT120, that's your choice).

Or you can ask another member in this forum to send you a known good ROM. Many of them are using the Nitro+ RX580.
 

borgo1971

macrumors regular
Sep 5, 2013
158
39
Surprise!
Yes, I did a bit of mistakes... I was already nervous with myself because I'm unable to make MacPro work well as it did with Mojave and after I thought I've broke gpu with so many things to do, I panicked. Excuse me... I try to reboot myself. ?
My GPU has dual bios. Until yesterday, I used it only with performance mode. All tries I did until today morning are made in this mode. After I discovered the switch, I moved it to quiet mode, and even when I thought I was back in performance mode, I wasn't.
After I discovered to have another bios, I was confident that I would solve the problem. But until now, I didn't make much progress: boot picker won't show up in any case.
I tried to upgrade both bios (one at time), but the bios's on the card seems just the newest I can download from techpowerup.com, and the older one that mach card p/n and I was able to flash to the card, makes the card unusable (with no signal in Windows). I tried with the Pulse bios's too... but they won't be loaded at all.
Schermata 2021-07-28 alle 19.19.40.png

GPU-Z_performance.gif GPU-Z_quiet.gif
So I learned I have dual bios card, and how to set performance bios or quiet bios... but with picker I'm stuck at start line. Any idea, what to try to make the picker show up? Could someone with a working Sapphire RX580 Nitro+ share his bios or try if his card works with mine (I bundle both in a zip archive)?
 

Attachments

  • BIOS Sapphire RX580 Nitro+.zip
    220.7 KB · Views: 89
Last edited:

borgo1971

macrumors regular
Sep 5, 2013
158
39
Of course you can make your own decision to not to do anything.
After you told me I won't break the card with this, I did it more times for experimenting. Thanks.
Or you can ask another member in this forum to send you a known good ROM. Many of them are using the Nitro+ RX580.
Yes, I asked the same on "OpenCore on the Mac Pro" thread. And I bundle the ROM I toke form my card, so someone can try if they work on his card (even everyone can download matching ROMs from techpowerup.com).

In the meantime I discovered that with the actual config file (slightly modified version of Martin's config file) and the display connected through DVI (instead of using DisplayPort), picker shows up indifferently from BIOS mode. So I guess it's not a BIOS problem. Now I'm looking to find a way to show the picker using DisplayPort.
 
Last edited:

borgo1971

macrumors regular
Sep 5, 2013
158
39
Definitely, not showing boot picker with my RX580 Nitro+ is a Display Port problem. If I connect the monitor only with DVI or HDMI cable, I'll get the picker with most configuration. But not holding DP cable connected. I tried even with OC 0.72 built with this setup.py:

Code:
#!/usr/bin/env python

from opencore.build import OpenCoreBuild


if __name__ == '__main__':
    kexts = [
        {
            'project': 'Lilu',
            'repo': 'acidanthera',
            'version': '1.5.5'
        },
        {
            'project': 'FeatureUnlock',
            'repo': 'acidanthera',
            'version': '1.0.3'
        },
        {
            'project': 'WhateverGreen',
            'repo': 'acidanthera',
            'version': '1.5.2'
        }
    ]
    build = OpenCoreBuild('Volumes/EFI', kexts)
    build.write_tree()

    settings = {
        'DeviceProperties': {
            'Add': {
                'PciRoot(0x0)/Pci(0x7,0x0)/Pci(0x0,0x0)': {
                    'agdpmod': build.unhexlify('70 69 6B 65 72 61 00'),
                    'model': 'AMD Radeon RX580',
                    'rebuild-device-tree': build.unhexlify('00'),
                    'shikigva': build.unhexlify('50'),
                    'unfairgva': build.unhexlify('01 00 00 00')
                },
                'PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)': {
                    'built-in': build.unhexlify('00')
                }
            }
        },
        'Kernel': {
            'Delete': {
                '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14': [
                    'DefaultBackgroundColor',
                    'UIScale'
                ]
            }
            'Quirks': {
                'DisableLinkeditJettison': True,
                'SetApfsTrimTimeout': 9999999
            },
            'Scheme': {
                'KernelArch': 'x86_64'
            }
        },
        'Misc': {
            'Boot': {
                'ConsoleAttributes': 15,
                'HideAuxiliary': True,
                'PollAppleHotKeys': True,
                'PickerMode': 'External',
                'ShowPicker': True
            },
            'Security': {
                'BlacklistAppleUpdate': True,
                'ExposeSensitiveData': 3,
                'ScanPolicy': 0,
                'SecureBootModel': 'Disabled',
                'Vault': 'Optional'
            }
        },
        'NVRAM': {
            'Add': {
                '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14': {
                    'DefaultBackgroundColor': build.unhexlify('00 00 00 00'),
                    'UIScale': build.unhexlify('02')
                }
            },
            'Delete': {
                '4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14': [
                    'DefaultBackgroundColor',
                    'UIScale'
                ]
            }
        },
        'PlatformInfo': {
            'SMBIOS': {
                'BIOSVersion': '9999.0.0.0.0',
                'BoardProduct': 'Mac-7BA5B2D9E42DDD94'
            },
            'UpdateSMBIOS': True
        },
        'UEFI': {
            'AppleInput': {
                'AppleEvent': 'Builtin'
            },
            'ConnectDrivers': True,
            'Drivers': [
                'ExFatDxeLegacy.efi',
                'OpenCanopy.efi',
                'OpenRuntime.efi'
            ],
            'Output': {
                'ProvideConsoleGop': True,
                'Resolution': 'Max'
            },
            'ProtocolOverrides': {
                'AppleBootPolicy': True,
                'AppleUserInterfaceTheme': True
            },
            'Quirks': {
                'RequestBootVarRouting': True
            }
        }
    }
    build.write_plist(settings)
    build.run_misc_tasks()

Did someone find out if there's a workarond to show the picker with RX580 Nitro+ on DP?

EDIT: Now I learned that's only an output problem, I think I can live with it... if I need to boot from another device, I'll use the DVI cable that I already have. And if I need it, I'll buy another HDMI cable (the one used today for testing is from the TV decoder). In any case, if someone has a solution or a workarond, I'll happy to try it.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.