FWIW, I’ve just installed Haiku Beta 4 on MacBook Pro 2015 (Model ID: MacBookPro11,5).
I had to use the rEFInd boot manager, and the “Use fail-safe video mode” boot option to be able to launch from the USB installation stick (it was also quite tricky to enter the boot options, I had to quickly press “Space” key several times right after I select Haiku USB in the rEFInd). For whatever reason after the first successful USB boot the UI was in Spanish, so I needed to blindly change the language settings (luckily the globe icon helped to find the right item).
I reformatted the 16 GB FAT32 partition to BeFS via DriveSetup, but for whatever reason it refused to change the partition type from Microsoft basic data partition to Haiku BFS, and I had to do it manually by rebooting into the Mac Recovery Mode deleting the GPT entry and readding it with the correct partition GUID (42465331-3BA3-10F1-802A-4861696B7521).
The Installer doesn’t add the haiku_loader.efi to the ESP (EFI system partition), so one has to copy it manually from the USB stick following the UEFI Booting Haiku instructions. I’m not sure why Installer still doesn’t handle such a simple operation by itself. There’s a 5-years old Trac issue #14967 which aims to handle all of UEFI installation corner cases, but IMHO most of the users would be happy with just the MVP solution suggested by @kallisti5 in one of the comments (as an engineer who embraces pragmatism I can’t agree more with his last sentence there: “You don’t eat an elephant all at once. It’s one bite at a time”).
Nevertheless, after a few hours of trial and error I now have Haiku running natively on a MacBook. Isn’t that awesome?
Idk if this is where you choose fail-safe resolution. It’s been a while since I did it in Haiku.
“You can configure Haiku to always boot using the fail-safe video driver by enabling ‘fail_safe_video_mode’ in ~/config/settings/kernel/drivers/kernel”
First I chose it in the Haiku Boot options (by hitting the Space key several times before the loading logo appeared), and then I made it permanent by enabling the fail_safe_video_mode in the file you mentioned.
I’m trying to boot haiku on the Macmini7,1. However it hangs on the first icon of the loader, not even on-screen output when enabled (however, i can get some when disableing some options like acpi, will try to figure out which exactly)
I observe the same behavior if I try to load Haiku in VMware with EFI enabled. It boots if I select “Disable local APIC” safe option (which also disables SMP and leaves Haiku with just one CPU core). Interestingly enough, VirtualBox EFI mode boots Haiku without issues (though there’s a visible delay before the first boot icon highlights). Maybe debugging it in VMware (via its gdb stub) would help to fix the issue you have on Macmini7,1.
Also, TIL I wasn’t able to boot Haiku in the CSM (Legacy) mode because MacBookPro11,4 firmware lacks the CSM support (provided in previous versions by the 2B0585EB-D8B8-49A9-8B8C-E21B01AEF2B7 UEFI app aka AppleLegacyLoad). Your Macmini7,1 has it, so it should be capable of loading Haiku both with EFI and CSM.
One disadvantage of the EFI boot with Haiku is that the resolution is fixed to just one (2880x1800x32) and there’s no way to change it. It would be nice if Haiku contained a way to specify a custom resolution using a modeline string.
Nope. The only resolution available on my MBP is 2880x1800. I tried to select a different one for rEFInd boot menu, and the rEFInd complained that 2880x1800 is the only one available. I can live with that most of the time, just by doubling the font sizes up to 24. Unfortunately, some UI elements don’t respect font size multiplier and looks really tiny.
That’s an interesting info for sure but I’m a bit puzzled what I should do with it. I’m already running Haiku in VMware Fusion so I can select macOS as a guest operating system.
You are using VMware Fusion, you already have a test version. The links show how it works and the software used, which can facilitate the understanding process.
I was thinking if we can update it to actually do 2x already starting from 2880x1800, wdyt? At 1.5x fonts look too small.
A better algorithm would be to take PPI into account, but I don’t think we read physical screen sizes from EDID at the moment.
I wonder if the edid data on macbooks is accurate. Considering it is for the language code of usb mac keyboards it could be?
for those where the data is accurate we can probably have a “smarter” algorithm to determine what physical size looks good for a laptop vs a desktop. and pick a nice middle ground.
But for the pixel size itself, i don’t have a strong opinion on when which font size should start. It’s just heuristics anyway and bound to be wrong.
maybe @waddlesplash has a comment too. IIRC he added that code in the first place.