@jckarter Thanks so much for posting this topic. This is conveniently relevant to me, as I’ve played around with Haiku off and on for a while and one of the machines I’ve been using it on is a 2011 Macbook Air 11". Over the past few days I’ve rekindled my Haiku itch and have become more determined to sort out at least some of the issues I’ve had on the Air. Your posts have helped shed some light on the quirks I’ve been noticing.
I wanted to add my experience to this, as it seems getting Haiku running well is extra difficult on Macs. I’m currently typing on an Asus K53e laptop running Haiku using the Dooble browser. Haiku on this machine works flawlessly out of the box (other than the webcam, as far as I can tell). The interesting thing is that this is also a Sandy Bridge laptop, so it’s got the same family of graphics that the Air has, yet I’ve experienced no driver issues. In Screen preferences:
- the screen is correctly identified as an LG 15.5" display
- the screen visualization shows “101 dpi”
- screen real estate is properly filled at the native panel resolution of 1366 x 768
- brightness works
- graphics are identified as Intel HD/Iris (SandyBridge Mobile GT2
This is contrary to the Air, which does seem to work when booted in legacy mode, but as you stated, when set to the native panel resolution of 1366 x 768, the desktop extends well off the screen, and I have to set it to 1024 x 768 to get it to fit properly (for anyone who doesn’t know, the easy way to do this if your Deskbar is off the screen is to click on the Haiku drive and navigate to /boot/system/preferences and you can open up Screen from there). More interestingly, I tonight I noticed inside the Screen preferences the following:
- the screen is detected as an Apple Computer Inc Color LCD 5.7" (this is obviously incorrect, and might explain the issue with screen real estate when set to the proper resolution)
- no dpi is listed on the screen visualization
- brightness still works
- graphics are identified correctly
However, as you also stated, this driver only works “properly” when booted in legacy mode. When I boot it in EFI mode, I get the skewed screen that you described. I have tested this by wiping the SSD and changing the partitioning and reinstalling several times. Installing Haiku has always been fairly easy and I’ve never had an issue with loading it from scratch (I’ve never used rEFInd, but I’m also not installing it with an existing version of Mac OS), but another interesting thing is that I can only load the OS off USB in legacy mode. If I try to boot in EFI I usually get 3 beeps after the Haiku loading screen appears (which indicates a RAM problem, but I promise you, I have tested the RAM countless times on this machine (precisely because of this!) and it has consistently passed) or it starts to load and just hangs after a while. Yet, loading off the internal SSD in EFI does work! But with the graphics driver issues, which requires me to use the standard VESA driver.
All in all, it’s pretty puzzling to me, although I’m not all that surprised given that it’s Apple hardware. I think Haiku is still a really good choice for this era of Apple computer though and I’d love to see it work better, so I’m going to continue to see what I can figure out. Again, thanks so much for creating this thread!
Edit: Welp, just for reference, I couldn’t post this comment using Dooble, I had to open up WebPositive and copy and paste it in order for the reply to actually post. The button wasn’t doing anything in Dooble. Dang! I am really impressed with how good Dooble is and hadn’t ran into too many issues with it so far. Oh well, I can live with that.