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

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
@h9826790 and others fallowing this thread, I compiled rEFInd again from one of Jief's source forge repo's.

I was able to get this one to display on the UGA R4780, however not joy loading GOP boot screens for my RX580.

Getting to a shell is somewhat troublesome with rEFInd and CloverX64.efi, but it does tell us something, that the Mac Pro does probe the PCI bus, find the expansion ROM of the GFX card, load the GOP rom up into memory, however the driver lists as "invalid".

Here is a look at Clover booted in legacy mode, and the RX580's rom loaded with loadpcirom.

Code:
            T   D
D           Y C I
R           P F A
V  VERSION  E G G #D #C DRIVER NAME                         IMAGE NAME
== ======== = = = == == =================================== ===================
65 00000001 D - -  1  - IDE Controller Init Driver          F3790689-FB90-4479
67 00000001 ? - -  -  - SATA Controller Init Driver         0325B5A1-0937-4A4F
69 00000010 D - -  1  - PCI AHCI Driver                     95AF7E4D-C45D-47FF
6C 00000010 B - -  1 40 PCI Bus Driver                      93B80004-9FB3-11D4
6E 00000010 D - -  1  - PCI ATA/ATAPI Bus Driver            69FD8E47-A161-4550
6F 00000010 B - -  1  1 ISA Bus Driver                      240612B5-A063-11D4
70 00000010 D - -  1  - ISA Serial Driver                   93B80003-9FB3-11D4
72 00000010 D - -  2  - Simple Network Protocol Driver      A2F436EA-A127-4EF8
73 00000010 D - -  4  - Apple Net Load File Driver          A3F436EA-A127-4EF8
74 00000010 D - -  2  - Apple NetServices Protocol Driver   7A5CFD97-8F27-458A
75 03040000 B - -  2  2 Intel(R) PRO/1000 3.4.00            07B70E53-B0EE-4DB3
76 00000010 D - -  4  - Usb Uhci Driver                     2FB92EFA-2EE0-4BAE
77 00000010 B - -  4  5 USB Bus Driver                      240612B7-A063-11D4
78 00000010 ? - -  -  - Usb Bot Mass Storage Driver         B40612B9-A063-11D4
79 00000010 ? - -  -  - Usb Cbi0 Mass Storage Driver        A3527D16-E6CC-42F5
7A 00000010 ? - -  -  - <UNKNOWN>                           B40612B2-A063-11D4
7B 00000010 ? - -  -  - Generic USB Mass Storage Driver     A5C6D68B-E78A-4426
7C 00000010 D - -  2  - Usb Keyboard Driver                 2D2E62CF-9ECF-43B7
7D 00000010 D - -  2  - Usb Mouse Driver                    2D2E62AA-9ECF-43B7
7E 00000010 ? - -  -  - Apple HID Interface Driver          07B37006-9302-408E
7F 00000010 D - -  5  - HFS File System Driver              4CF484CD-135F-4FDC
82 00000010 D - -  1  - Platform Console Management Driver  51CCF399-4FDF-4E55
83 00000010 D - -  2  - Platform Console Management Driver  51CCF399-4FDF-4E55
84 00000010 B - -  2  2 Console Splitter Driver             408EDCEC-CF6D-477C
85 00000010 B - -  2  2 Console Splitter Driver             408EDCEC-CF6D-477C
86 00000010 B - -  1  1 Console Splitter Driver             408EDCEC-CF6D-477C
87 00000010 ? - -  -  - Console Splitter Driver             408EDCEC-CF6D-477C
8B 00000010 D - -  1  - UGA Console Driver                  CCCB0C28-4B24-11D5
8C 00000010 ? - -  -  - Serial Terminal Driver              9E863906-A40F-4875
8D 00000010 D - - 16  - Generic Disk I/O Driver             CA261A26-7718-4B9B
8E 00000010 D - -  3  - FAT File System Driver              5058F21C-BC34-11D4
8F 00000010 B - -  4 12 Partition Driver                    43B93232-AFBE-11D4
A9 00000010 D - -  1  - <UNKNOWN>                           9204A71D-2050-4AB7
AA 00000010 D - -  1  - FireWire Ohci Driver                0412A7A1-C050-42C2
AC 00000010 ? - -  -  - FireWire Device Driver              6074610C-93C6-4A50
AD 00000010 ? - -  -  - <UNKNOWN>                           BCCAD460-4F7D-4E51
B8 00000010 D - -  2  - AGP Driver                          8A107CC5-DCDA-4FB7
D4 0010013E D - -  1  - ATI Radeon UGA Driver 01.00.318 
E8 000B69E1 ? - -  -  - APFS                                EFI\refind\drivers
E9 00000010 ? - -  -  - rEFInd 0.11.2 btrfs File System Dri EFI\refind\drivers
EA 00000010 ? - -  -  - rEFInd 0.11.2 ext2 File System Driv EFI\refind\drivers
EB 00000010 D - -  1  - rEFInd 0.11.2 ext4 File System Driv EFI\refind\drivers
EC 00000010 ? - -  -  - rEFInd 0.11.2 hfs File System Drive EFI\refind\drivers
ED 00000010 ? - -  -  - rEFInd 0.11.2 iso9660 File System D EFI\refind\drivers
EE 00000010 D - -  1  - rEFInd 0.11.2 ntfs File System Driv EFI\refind\drivers
EF 00000010 ? - -  -  - rEFInd 0.11.2 reiserfs File System  EFI\refind\drivers
F3 00013E00 ? - X  -  - AMD GOP X64 Release Driver Rev.1.62 rx580.rom[1]

When we boot in EFI mode and invoke a shell, it looks something like this:

Code:
F3 00013E00 ? - X  -  - AMD GOP X64 Invalid Driver Rev.1.62

Not sure what the issue is, but EFI v1.10 doesn't see this GOP driver as a valid driver, even with Jief's code changes to rEFInd. My working theory is the card and GOP driver Jief used loaded as a valid driver.

So, anyone that wants to play along, what you'll need is this version of rEFInd and a shell.

You'll have to install the shell to your efi partition as /efi/boot/bootx64.efi, then bless rEFInd and the shell will show up as the fallback efi under the disks menu. Invoking the shell from the rEFInd or Clover menu doesn't work on my MP3,1.

https://drive.google.com/open?id=1qrXbRiFIfqeqaxgmZ8tPGQn4PIdLL_Hh

Copy the refind folder to your EFI partition.

Then bless the REFIND.efi, something like:

Code:
mkdir /Volumes/ESP
sudo mount -t msdos /dev/diskxs1 /Volumes/ESP
sudo bless --mount /Volumes/ESP --setBoot --file /Volumes/ESP/efi/refind/REFIND.efi

Here is the Clover ShellX64.efi renamed to BOOTX64.efi, just make a dir named BOOT on your efi partion and copy it there, then it should show up in the rEFInd menu as a fallback EFI boot.

https://drive.google.com/open?id=1pt7PivN-TAj0tO5ndwqOiON1l5ynHEou

Install a UGA graphics card, as well as a GOP card for testing. On my MP3,1 post video goes to the UGA card if it is in the slot above the double wide slot, so I put my RX580 in the double wide slot and the UGA R4780 just above it. This gives me boot screens to the UGA card.

Once you have booted rEFInd invoke the shell and type:

Code:
drivers
drivers > drivers.txt

I'd be interested to know what graphics cards have a GOP driver that lists as valid( if any ), and what lists as "Invalid".
 
Last edited:

crjackson2134

macrumors 601
Mar 6, 2013
4,847
1,957
Charlotte, NC
@h9826790 and others fallowing this thread, I compiled rEFInd again from one of Jief's source forge repo's.

I was able to get this one to display on the UGA R4780, however not joy loading GOP boot screens for my RX580.

Getting to a shell is somewhat troublesome with rEFInd and CloverX64.efi, but it does tell us something, that the Mac Pro does probe the PCI bus, find the expansion ROM of the GFX card, load the GOP rom up into memory, however the driver lists as "invalid".

Here is a look at Clover booted in legacy mode, and the RX580's rom loaded with loadpcirom.

Code:
            T   D
D           Y C I
R           P F A
V  VERSION  E G G #D #C DRIVER NAME                         IMAGE NAME
== ======== = = = == == =================================== ===================
65 00000001 D - -  1  - IDE Controller Init Driver          F3790689-FB90-4479
67 00000001 ? - -  -  - SATA Controller Init Driver         0325B5A1-0937-4A4F
69 00000010 D - -  1  - PCI AHCI Driver                     95AF7E4D-C45D-47FF
6C 00000010 B - -  1 40 PCI Bus Driver                      93B80004-9FB3-11D4
6E 00000010 D - -  1  - PCI ATA/ATAPI Bus Driver            69FD8E47-A161-4550
6F 00000010 B - -  1  1 ISA Bus Driver                      240612B5-A063-11D4
70 00000010 D - -  1  - ISA Serial Driver                   93B80003-9FB3-11D4
72 00000010 D - -  2  - Simple Network Protocol Driver      A2F436EA-A127-4EF8
73 00000010 D - -  4  - Apple Net Load File Driver          A3F436EA-A127-4EF8
74 00000010 D - -  2  - Apple NetServices Protocol Driver   7A5CFD97-8F27-458A
75 03040000 B - -  2  2 Intel(R) PRO/1000 3.4.00            07B70E53-B0EE-4DB3
76 00000010 D - -  4  - Usb Uhci Driver                     2FB92EFA-2EE0-4BAE
77 00000010 B - -  4  5 USB Bus Driver                      240612B7-A063-11D4
78 00000010 ? - -  -  - Usb Bot Mass Storage Driver         B40612B9-A063-11D4
79 00000010 ? - -  -  - Usb Cbi0 Mass Storage Driver        A3527D16-E6CC-42F5
7A 00000010 ? - -  -  - <UNKNOWN>                           B40612B2-A063-11D4
7B 00000010 ? - -  -  - Generic USB Mass Storage Driver     A5C6D68B-E78A-4426
7C 00000010 D - -  2  - Usb Keyboard Driver                 2D2E62CF-9ECF-43B7
7D 00000010 D - -  2  - Usb Mouse Driver                    2D2E62AA-9ECF-43B7
7E 00000010 ? - -  -  - Apple HID Interface Driver          07B37006-9302-408E
7F 00000010 D - -  5  - HFS File System Driver              4CF484CD-135F-4FDC
82 00000010 D - -  1  - Platform Console Management Driver  51CCF399-4FDF-4E55
83 00000010 D - -  2  - Platform Console Management Driver  51CCF399-4FDF-4E55
84 00000010 B - -  2  2 Console Splitter Driver             408EDCEC-CF6D-477C
85 00000010 B - -  2  2 Console Splitter Driver             408EDCEC-CF6D-477C
86 00000010 B - -  1  1 Console Splitter Driver             408EDCEC-CF6D-477C
87 00000010 ? - -  -  - Console Splitter Driver             408EDCEC-CF6D-477C
8B 00000010 D - -  1  - UGA Console Driver                  CCCB0C28-4B24-11D5
8C 00000010 ? - -  -  - Serial Terminal Driver              9E863906-A40F-4875
8D 00000010 D - - 16  - Generic Disk I/O Driver             CA261A26-7718-4B9B
8E 00000010 D - -  3  - FAT File System Driver              5058F21C-BC34-11D4
8F 00000010 B - -  4 12 Partition Driver                    43B93232-AFBE-11D4
A9 00000010 D - -  1  - <UNKNOWN>                           9204A71D-2050-4AB7
AA 00000010 D - -  1  - FireWire Ohci Driver                0412A7A1-C050-42C2
AC 00000010 ? - -  -  - FireWire Device Driver              6074610C-93C6-4A50
AD 00000010 ? - -  -  - <UNKNOWN>                           BCCAD460-4F7D-4E51
B8 00000010 D - -  2  - AGP Driver                          8A107CC5-DCDA-4FB7
D4 0010013E D - -  1  - ATI Radeon UGA Driver 01.00.318 
E8 000B69E1 ? - -  -  - APFS                                EFI\refind\drivers
E9 00000010 ? - -  -  - rEFInd 0.11.2 btrfs File System Dri EFI\refind\drivers
EA 00000010 ? - -  -  - rEFInd 0.11.2 ext2 File System Driv EFI\refind\drivers
EB 00000010 D - -  1  - rEFInd 0.11.2 ext4 File System Driv EFI\refind\drivers
EC 00000010 ? - -  -  - rEFInd 0.11.2 hfs File System Drive EFI\refind\drivers
ED 00000010 ? - -  -  - rEFInd 0.11.2 iso9660 File System D EFI\refind\drivers
EE 00000010 D - -  1  - rEFInd 0.11.2 ntfs File System Driv EFI\refind\drivers
EF 00000010 ? - -  -  - rEFInd 0.11.2 reiserfs File System  EFI\refind\drivers
F3 00013E00 ? - X  -  - AMD GOP X64 Release Driver Rev.1.62 rx580.rom[1]

When we boot in EFI mode and invoke a shell, it looks something like this:

Code:
F3 00013E00 ? - X  -  - AMD GOP X64 Invalid Driver Rev.1.62

Not sure what the issue is, but EFI v1.10 doesn't see this GOP driver as a valid driver, even with Jief's code changes to rEFInd. My working theory is the card and GOP driver Jief used loaded as a valid driver.

So, anyone that wants to play along, what you'll need is this version of rEFInd and a shell.

You'll have to install the shell to your efi partition as /efi/boot/bootx64.efi, then bless rEFInd and the shell will show up as the fallback efi under the disks menu. Invoking the shell from the rEFInd or Clover menu doesn't work on my MP3,1.

https://drive.google.com/open?id=1qrXbRiFIfqeqaxgmZ8tPGQn4PIdLL_Hh

Copy the refind folder to your EFI partition.

Then bless the REFIND.efi, something like:

Code:
mkdir /Volumes/ESP
sudo mount -t msdos /dev/diskxs1 /Volumes/ESP
sudo bless --mount /Volumes/ESP --setBoot --file /Volumes/ESP/efi/refind/REFIND.efi

Here is the Clover ShellX64.efi renamed to BOOTX64.efi, just make a dir named BOOT on your refi partion and copy it there, then it should show up in the rEFInd menu as a fallback EFI boot.

Install a UGA graphics card, as well as a GOP card for testing. On my MP3,1 post video goes to the UGA card if it is in the slot above the double wide slot, so I put my RX580 in the double wide slot and the UGA R4780 just above it. This gives me boot screens to the UGA card.

Once you have booted rEFInd invoke the shell and type:

Code:
drivers
drivers > drivers.txt

I'd be interested to know what graphics cards have a GOP driver that lists as valid( if any ), and what lists as "Invalid".

I have no doubt that you, or some other wizard will figure this out. It will be a great accomplishment, and I can’t wait.

Thanks for your efforts!
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
There is good news and bad news.

I got an R9 280x and was able to get GOP boot screens working with both rEFInd and CloverUEFI.

The bad news is you can't boot the macOS or Windows 10, Linux seemed to work when booted from rEFInd.

Windows 10 halts much like Jief_Machak described, the MacOS just goes to a blank(white) screen with rEFInd and a black screen with Clover.

I'm assuming boot.efi or the mach_kernel is having trouble getting the console, the Mac Pro has a UGA console, and I think we would need a GOP Console Driver, I'd like to get @netkas take on that.

The latest version of rEFInd I posted here is the correct one for testing, Clover in UEFI mode lacks the GOP init code, it was taken out some time ago, however you can just add the driver EmuGopDxe.efi from the next loader to Clovers drivers64uefi folder.

I did add EmuGopDxe.efi to my Mac Pro3,1 boot firmware, and it does load, but it doesn't link, I also tried to add AMD GOP Driver v1.55 to my boot firmware, and it does load, but doesn't link to the device.

Maybe @netkas would help me the the connect and reconnect commands from the shell to see if I can get the drivers in my firmware to link with the graphics card.

Normally I would just do reconnect -r, however that seems to crash the shell.

I should be able to use connect, but I'm not sure how to use it, I think I'm not getting the correct driver handle. Under DRV from the left when I invoke drivers from the shell the EmuGopDxe.efi is DRV 56, but running connect 56 isn't correct, and I'm not sure how to get the correct handle?

Anyway, the R9 280x can already be flashed with a UGA EFI bios, I just got this card because I knew it had worked in the past for GOP boot screens. I was hoping I could use it to figure out what to edit in AMD GOP Driver v1.62 to get it to load for my RX580 and be seen as a valid driver, however without a GOP Console that wouldn't do anyone much good, as you can't boot the macOS:mad:
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
I've found it's something to do with the legacy VBios part of the option rom for AMD that makes the GOP driver load in the Mac Pro's firmware as Valid or INVALID.

This is good news, it means for the RX580 we shouldn't have to do any editing of the GOP driver, only edits to the legacy vbios section of the option rom.

Just for info, don't flash a GOP only option rom to an AMD card, unless you have a dual EEPROM card. You won't be able to flash it back, as something in the GOP rom or the PCIR header screws up the device ID, and without the legacy bios the GOP rom is going to load as INVALID anyway.

So don't waste you time like I did, and have to preform lifting of the EEPROM ground pin, solder two wires on it, start windows, then make the circuit with the wires so you can flash the rom back.

I really need some people to boot a EFI shell and test if AMD/nVidia GOP drivers are loading as valid or invalid. It maybe something as simple as the checksum of the legacy Vbios for AMD card.

We'll see...................

One more note, AWAYS run atiflash -i before you flash if you have more than one AMD card, even if you are sure your adapter number, make sure it sees all the ATI/AMD cards, or you'll be sorry.:mad:
 
Last edited:
  • Like
Reactions: handheldgames

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I've found it's something to do with the legacy VBios part of the option rom for AMD that makes the GOP driver load in the Mac Pro's firmware as Valid or INVALID.

This is good news, it means for the RX580 we shouldn't have to do any editing of the GOP driver, only edits to the legacy vbios section of the option rom.

Just for info, don't flash a GOP only option rom to an AMD card, unless you have a dual EEPROM card. You won't be able to flash it back, as something in the GOP rom or the PCIR header screws up the device ID, and without the legacy bios the GOP rom is going to load as INVALID anyway.

So don't waste you time like I did, and have to preform lifting of the EEPROM ground pin, solder two wires on it, start windows, then make the circuit with the wires so you can flash the rom back.

I really need some people to boot a EFI shell and test if AMD/nVidia GOP drivers are loading as valid or invalid. It maybe something as simple as the checksum of the legacy Vbios for AMD card.

We'll see...................

One more note, AWAYS run atiflash -i before you flash if you have more than one AMD card, even if you are sure your adapter number, make sure it sees all the ATI/AMD cards, or you'll be sorry.:mad:

Thanks for all the effort. I am now out of town, can’t do any test yet. The earliest possible will be end of Aug. Once I back home, I will try this EFI shell boot test on my 5,1 with the Sapphire PULSE RX580 (if no one done it yet).
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
The RX580 turned out to be no trouble at all, working boot screens.:D

I had flashed a modded Vbios to my RX580 that was customized for Ether minning. As it turns out there are "Protected Tables" in the legacy Vbios that are hashed, then there is a hash of those hashes, and the GOP rom will not work( See load as invalid ) if the hash is incorrect.

Long story short, so long as you don't modify your VBios, you should be golden and you can get working boot screens with your RX580........

However, this is only 75% of the battle, as you can only get boot screens with CloverUEFI or rEFInd, the last part for us to figure out is how to get the Apple Boot Selector/ FileVault2/Firmware Update screens working.

That part is tricky, because I don't know how the Apple Graphics Policy figures into things, and if it will work at all with GOP cards.

Code:
0:100  0:100  MemLog inited, TSC freq: 3191999578
0:100  0:000  Now is 20.8.2018,  16:24:8 (GMT)
0:124  0:024  Starting rEFInd on Apple EFI
1:201  1:077  ScanVolumes()
1:231  0:029  ScanVolumes add  whole disk volume to list
1:254  0:023  ScanVolumes add NEXT to list
1:281  0:027  ScanVolumes add  whole disk volume to list
1:307  0:025  ScanVolumes add unknown volume to list
1:382  0:075  ScanVolumes add 923 GiB ext4 volume to list
1:410  0:027  ScanVolumes add unknown volume to list
1:439  0:028  ScanVolumes add  whole disk volume to list
1:465  0:026  ScanVolumes add EFI to list
1:498  0:032  ScanVolumes add None to list
1:533  0:034  ScanVolumes add El Capitan to list
1:595  0:061  ScanVolumes add Recovery HD to list
1:648  0:053  ScanVolumes add  whole disk volume to list
1:701  0:052  ScanVolumes add Basic data partition to list
1:734  0:033  ScanVolumes add  FAT volume to list
1:794  0:060  ScanVolumes add  FAT volume to list
1:914  0:119  ScanVolumes add  whole disk volume to list
2:014  0:099  ScanVolumes add EFI to list
2:114  0:099  ScanVolumes add Clover to list
2:142  0:027  ScanVolumes add unknown volume to list
2:170  0:028  ScanVolumes add unknown volume to list
2:240  0:069  ConsoleControl ok
2:257  0:017  UgaDraw ok
2:274  0:016  GraphicsOutput ok
2:290  0:016  Available graphics modes for refit.conf screen_resolution:
2:304  0:013  Curr. Mode = -1, Modes = 8, FB = 80000000, FB size=0x0
2:368  0:064  SetMaxResolution: found best mode 0: 1920x1080
2:399  0:030  About to switch to graphic mode 0
2:414  0:015  Video mode change to mode #0: Success
2:429  0:015   - set
 
Last edited:

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
The RX580 turned out to be no trouble at all, working boot screens.:D

I had flashed a modded Vbios to my RX580 that was customized
for Ether minning. As it turns out there are "Protected Tables" in the legacy Vbios that are hashed, then there is a hash of those hashes, and the GOP rom will not work( See load as invalid ) if the hash is incorrect.

Long story short, so long as you don't modify your VBios, you should be golden and you can get working boot screens with your RX580........

However, this is only 75% of the battle, as you can only get boot screens with CloverUEFI or rEFInd, the last part for us to figure out is how to get the Apple Boot Selector/ FileVault2/Firmware Update screens working.

That part is tricky, because I don't know how the Apple Graphics Policy figures into things, and if it will work at all with GOP cards.

This is really a huge news to cMP users.

I really want to go home and try it ASAP.

Apple already fixed the firmware updater. No Mac EFI GPU is required.

And rEFInd / Clover itself is already a boot selector.

So, we get almost everything we need now.

FileVault of course can still be an issue. And I think single user mode is another one.

Anyway, I modded my RX580 ROM as well. Just the GPU voltage pointer, that will become “invalid” as well, isn’t it?
 
  • Like
Reactions: thomasthegps

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
This is really a huge news to cMP users.

I really want to go home and try it ASAP.

Apple already fixed the firmware updater. No Mac EFI GPU is required.

And rEFInd / Clover itself is already a boot selector.

So, we get almost everything we need now.

FileVault of course can still be an issue. And I think single user mode is another one.

Anyway, I modded my RX580 ROM as well. Just the GPU voltage pointer, that will become “invalid” as well, isn’t it?

Pretty sure the voltage pointer is in the protected tables. So that would mean INVALID.......

I think this is what AMD calls the GOP Authentication Check, I'm fairly sure the check is run by the GOP .efi and it checks the hash/s of the legacy VBios, I think @netkas could tell us more about that.

With CloverUEFI you can boot single user and FileVault2. I'll have to check if I can boot single user via Command+s in rEFInd. I know you can boot single user from rEFInd if you set your boot-args="-s", but that doesn't do you a lot of good if you have an unbootable system and you need to do maintenance.

I don't know if rEFInd can boot FV2.

rEFInd has no way to pass boot-args to the kernel like clover does.

EDIT: Holding Command+S directly after choosing your OS X boot volume in rEFInd works just fine for single user, just tested it.
 
Last edited:

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
rEFInd can boot FileVault 2. I have been doing it for years.

Do you know what version of rEFInd you are using?

I'm enabling FV2 on my 3,1 to test, still encrypting, but I don't see a menu entry in rEFInd for the FV2 Preboot, so maybe I need to wait till the encryption is done, or the custom version of rEFInd I have doesn't have the code needed.

I should be able to add the GOP init code to the latest version of rEFInd and rebuild it, if needed.
 

macsforme

macrumors regular
Mar 16, 2007
146
88
Do you know what version of rEFInd you are using?
It looks like I was on rEFInd 0.11.2. The FileVault 2 volume just shows as any other boot volume, for me. After selecting it, it proceeds to the login screen.

EDIT: It also works with rEFInd 0.11.3.
 
Last edited:
  • Like
Reactions: crjackson2134

thomasthegps

macrumors regular
Sep 23, 2015
220
145
France
Do you know what version of rEFInd you are using?

I'm enabling FV2 on my 3,1 to test, still encrypting, but I don't see a menu entry in rEFInd for the FV2 Preboot, so maybe I need to wait till the encryption is done, or the custom version of rEFInd I have doesn't have the code needed.

I should be able to add the GOP init code to the latest version of rEFInd and rebuild it, if needed.




Thans for the impressive work! With this new information in mind, do you think apple will release an updated firmware with boot screens ?
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
It looks like I was on rEFInd 0.11.2. The FileVault 2 volume just shows as any other boot volume, for me. After selecting it, it proceeds to the login screen.

EDIT: It also works with rEFInd 0.11.3.

I'm using rEFInd v0.10.3, and it doesn't seem to support FileVault2, so so work to be done there, maybe.
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
I can confirm that FileVault2 is bootable from CloverUEFI with AMD GOP Boot Screens on both the R9 280x and the RX580.

So, I should be able to update the GOP code to the latest build of rEFInd that supports FV2.

I was a little worried that the Preboot EFI env used by FV2 wouldn't be able to get video from our GOP cards, but the handoff goes smooth, no trouble at all.
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
with a bit of luck apple will give us bootscreen support...
I wouldn't hold my breath on that one, but it's not outside the realm of possibility, so we can hope.

Likely the day after I finish GOP boot screen support for the Apple OEM user interface, Apple will enable it with a FW update. #gettingsherlocked

One thing that gives us all hope is Apple said the RX580 was "Supported" on the 5,1 with Mojave, and has already enable FW updating with no boot screens, so maybe just maybe, they will enable GOP boot screens.

I assume lots of people will be buying RX580's for there 5,1's thinking they will be fully supported, and no boot screens will make people very angry, thus folks may raise enough stink with the Mothership.

Apple has been sued a few times in class action over listing things as "Supported", the MPEG2 card in the Beige G3 under OS X 10.0-10.2 was one they had to settle, as that machine was listed as supported, but the MPEG2 DVD playback didn't work under OS X. Back then OS X wasn't free( $129.99 ).

However, Mojave is still beta and Apple reserves the right to change the "Supported" list at any time, they could even drop the 5,1 altogether. It wouldn't be the first time. Early beta's of OS X supported other Old World Macs, not just the Beige G3's, but Apple dropped support in the beta phase because there were just to many compatibility issues, not the least of which some Apple OEM CDROM drives couldn't boot from Open Firmware, and some OEM Harddiscs couldn't either, in the PCI Old World Machines.
 
  • Like
Reactions: crjackson2134

thomasthegps

macrumors regular
Sep 23, 2015
220
145
France
I wouldn't hold my breath on that one, but it's not outside the realm of possibility, so we can hope.

Likely the day after I finish GOP boot screen support for the Apple OEM user interface, Apple will enable it with a FW update. #gettingsherlocked

One thing that gives us all hope is Apple said the RX580 was "Supported" on the 5,1 with Mojave, and has already enable FW updating with no boot screens, so maybe just maybe, they will enable GOP boot screens.

I assume lots of people will be buying RX580's for there 5,1's thinking they will be fully supported, and no boot screens will make people very angry, thus folks may raise enough stink with the Mothership.

Apple has been sued a few times in class action over listing things as "Supported", the MPEG2 card in the Beige G3 under OS X 10.0-10.2 was one they had to settle, as that machine was listed as supported, but the MPEG2 DVD playback didn't work under OS X. Back then OS X wasn't free( $129.99 ).

However, Mojave is still beta and Apple reserves the right to change the "Supported" list at any time, they could even drop the 5,1 altogether. It wouldn't be the first time. Early beta's of OS X supported other Old World Macs, not just the Beige G3's, but Apple dropped support in the beta phase because there were just to many compatibility issues, not the least of which some Apple OEM CDROM drives couldn't boot from Open Firmware, and some OEM Harddiscs couldn't either, in the PCI Old World Machines.


How could you add GOP boot screens support for the Apple OEM user interface ? From what I have understood the reason why it works with reFind is because it can use a GOP driver. I'm curious to understand how you're going to enable bootscreens with the OEM interface. My guess is that you would have to modify the rx580...
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
How could you add GOP boot screens support for the Apple OEM user interface ? From what I have understood the reason why it works with reFind is because it can use a GOP driver. I'm curious to understand how you're going to enable bootscreens with the OEM interface. My guess is that you would have to modify the rx580...

That's the real goal here, I just don't know if I can pull it off without a complete reverse engineer of Apple's EFI firmware.

At the very best, any solution will require a boot rom firmware update, and I've already added some drivers to my 3,1's firmware to support GOP, but haven't figured it all out yet.

Unfortunately, I don't know if EFI 1.1's user interface on Apple machines uses UGADraw to the exclusion of GOP or how the Apple Graphics Policy figures into these things, and the documentation for this is sparse at best, or just down right non-exsistant outside of NDA's.

In short I'm going to need some luck, but then I'd rather be lucky than good.:D
 

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
Truly inspiring. Even as an rEFInd-based solution, this is a huge contribution.

I'm wondering: would it be possible to get your implementation to set the UIScale boot service variable to enable a HiDPI boot screen, or even the DefaultBackgroundColor variable to enable a black boot screen (MVC has mentioned adding the black boot screen to his drivers)?
 

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,392
Red Springs, NC
Truly inspiring. Even as an rEFInd-based solution, this is a huge contribution.

I'm wondering: would it be possible to get your implementation to set the UIScale boot service variable to enable a HiDPI boot screen, or even the DefaultBackgroundColor variable to enable a black boot screen (MVC has mentioned adding the black boot screen to his drivers)?

The Next Loader has code that says it supports GOP @HiDPI, but I haven't been able to get it to work on my 3,1. I filed an issue, but no one has replied to it yet.

https://github.com/abdyfranco/next-loader/issues/2

However the EmuGOPDxe from next loader is how I got GOP working with CloverUEFI. Clover had support for GOP at the time Jief took the code from Clover to make rEFInd work with GOP, but later code has some of that commented out. However there is still enough GOP code in Clover to make it work with EmuGOPDxe.

I don't have a HiDPI display, just a bunch of older stuff I get by with, but I'm pretty sure @h9826790 still has one, so when he gets the time to do some testing, we may have a better idea how that would work.

Really I've had to do all the heavy lifting in this thread, and put out money to buy hardware to get things working at all. It's better when people collaborate, I just can't debug hardware I don't have, and no one outside of a multi billion dollar corporation can test all the configurations end users might need.

At strangedogs and themacelite we had teams of people helping, and we did what I try to do here, document the process, so others can do what we have done, and hopefully build on it.

As Dave is fond of saying "Make sure brain services is set to on".
 

LightBulbFun

macrumors 68030
Nov 17, 2013
2,900
3,195
London UK
I wouldn't hold my breath on that one, but it's not outside the realm of possibility, so we can hope.

Likely the day after I finish GOP boot screen support for the Apple OEM user interface, Apple will enable it with a FW update. #gettingsherlocked

One thing that gives us all hope is Apple said the RX580 was "Supported" on the 5,1 with Mojave, and has already enable FW updating with no boot screens, so maybe just maybe, they will enable GOP boot screens.

I assume lots of people will be buying RX580's for there 5,1's thinking they will be fully supported, and no boot screens will make people very angry, thus folks may raise enough stink with the Mothership.

Apple has been sued a few times in class action over listing things as "Supported", the MPEG2 card in the Beige G3 under OS X 10.0-10.2 was one they had to settle, as that machine was listed as supported, but the MPEG2 DVD playback didn't work under OS X. Back then OS X wasn't free( $129.99 ).

However, Mojave is still beta and Apple reserves the right to change the "Supported" list at any time, they could even drop the 5,1 altogether. It wouldn't be the first time. Early beta's of OS X supported other Old World Macs, not just the Beige G3's, but Apple dropped support in the beta phase because there were just to many compatibility issues, not the least of which some Apple OEM CDROM drives couldn't boot from Open Firmware, and some OEM Harddiscs couldn't either, in the PCI Old World Machines.

I doubt apple would pull the MP5,1 this late in the game especially considering the BootROM updates apple have made for the 5,1.


the G3 beige thing IIRC was also over OpenGL acceleration which the Rage Pro GPU supported in Mac OS 8.x/9.x but did not in OS X that pissed off a few people to say the least.

and no OS X 10.x DP ever supported any Pre G3 Macintosh the only versions of OS X that do are the 1.x Sever versions. and there where proper retail releases of OS X 1.x as OS X Server 1.x, so no Beige machine ever got dropped during a DP cycle.

the only PCI Beige machine with HDD/CDROM Booting issues like what you describe was the Power Macintosh 4400 where one of its ATA channels could not be used in OpenFirmware (at least as it stands, maybe if someone developed a proper nvramrc script patch for the 4400 it could of, the 4400 was very much a red-headed step child, you can read about my antics with mine here :) https://forums.macrumors.com/threads/success-with-the-power-macintosh-4400.2077767/ )

all other Macs where fine at an OpenFirmware level AFAIK. (thanks in part to them having nice decent NVRAMRC patches)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.