zearp / Nucintosh

Intel NUC Hackintosh Stuff
721 stars 85 forks source link

macOS beta 14.0 issues #130

Closed zearp closed 1 year ago

zearp commented 1 year ago

The first beta of macOS Sonoma was released. Download directly from Apple here.

Apple has dropped support for seemingly all Broadcom devices. So no more native wireless and bluetooth until the Ventura drivers are ported. I don't know what this means for any iServices that all work fine with the current Broadcom cards. Things like extending the screen to an iPad, iCloud integrations, Airdrop and so on.

It seems the end of hackintosh as we know it is ending. At least when it comes to a near vanilla experience. Soon we may have to compromise security and such in order to run macOS at that point for me personally it becomes more interesting to move to Linux instead.

Fedora combined with Gnome and some extensions is very macOS like in my experience. Specially if you only use apps designed with gtk in mind. Everything will look nice and consistent just like macOS.

Anyways, for now let's see how far we can get with Sonoma, likely one of the last macOS versions ever to still support Intel cpu's. My guess is after Sonoma there will be one more release with Intel support and then no more. We'll still receive security updates for a few years so there's enough time to either move to something else or buy serialised badly repairable Apple hardware.

Issues:

tl;dr unless you want to lose functionality and play with the new beta's stay on Ventura πŸ˜…

naryfa commented 1 year ago

Any updates? What does it take for Broadcom cards to be ported? Do you think anyone will even try doing it?

zearp commented 1 year ago

It will be done and is possible. But it will probably require you to disable some protections. We'll have to wait and see what the wizards at OCLP come up with. Mind you the beta is very fresh, the first beta it was only released a few weeks ago. The relentless release schedule from Apple makes it difficult to support 13.x and 14.x for some devs I'm sure.

Ventura will be the last macOS to natively support any Broadcom wireless and bluetooth. It's a big change by Apple, pretty much all of their older machines use Broadcom. So anyone who wants to run newer macOS will have to either upgrade the wifi (impossible most of the time) or use OCLP or buy a new Mac.

What it takes is usually the kexts from a previous release. You can try it yourself but I wouldn't mess with the beta's to be honest. Last few times I did there were some big changes which made it pretty much a waste of my time to keep testing. So I just wait until it the final is close before testing. I don't want to spend hours trying to get something to work only to have Apple break it again in another beta. It can be fun and educational if you want to do it but this time I don't want do it.

To be honest I've moved some of my NUCs over to Linux already. They perform better, run cooler, use less energy and do pretty much what I need them to do. I bult my own Fedora spin with Gnome which is pretty much macOS for Linux, with some extensions it's very good. Very consistent design they borrow(ed) a lot form macOS πŸ˜…

tl;dr once OCLP supports it we can probably use their kexts to get Broadcom going again, not sure about the security impact.

https://github.com/dortania/OpenCore-Legacy-Patcher/issues/1076

zearp commented 1 year ago

Oh of course having properly working iCloud on Sonoma will likely not happen due to Broadcom and also Intel not being natively supported. So that part will become hit and miss rather than fully supported. I can now put my iPad down and just move my mouse into it or use it as external display. That kind of stuff might stop working as well. Same for stuff like using your iPhone as webcam and so on.

Well have to wait and see and test what works and if its worth updating. Ventura will continue to work properly and will get security updates for at least a few more years. So there is time to migrate to Linux or buy a Mac. I prefer the former due to Macs being unrepairable. They even removed the lifeboat connector to get your data out if the board dies for some reason. No thanks, Tim.

naryfa commented 1 year ago

Waiting out until the final OS release is the way to go.

I've been using Linux since Ubuntu 9.04 so it's my turf. The irreparability (or perhaps now more apt non-upgradability) of Apple devices is pushing me away and I've been slowly transferring my tech life to other platforms. The next several months of developments by hackintosh devs will pretty much make the decision for me, but at this point I'm bound to move. The appeal just isn't there anymore, even though YouTubers would try to make people believe otherwise.

I'm not surprised Linux runs the NUCs cooler. After all, macOS is now bloated. I mean... just look at the ISO (dmg πŸ˜‰) size. I wish you could try the case that I use Cirrus7 Nimbini Extended, but I think I mentioned it before.

I'm of a humble opinion (albeit not necessarily correct) that the hackintosh community somewhat props up Apple's sales, because even though some can't afford a real Mac, they still buy their other devices. If I can't run the macOS anymore, then I don't want the iPhone, because my most important aspect of it was using iMessage at the computer. People would say, buy an older Mac if it's just for that... No, it's just the main reason among many.

I guess we'll see how things develop over the next several months.

sebasrock156 commented 1 year ago

Bluetooth may being fixed with BluetoothFixup (for both) plus IntelBluetoothFirmware and IntelBTPatcher kexts (for Intel) or BrcmBluetoothInjector and BrcmPatchRAM kexts (for Broadcom); with -lilubetaall boot-arg added and sometimes, in NVRAM --> 7C436110-AB2A-4BBB-A880-FE41995C9F82 we should be add [as DATA]: bluetoothExternalDongleFailed: 00 and bluetoothInternalControllerInfo: 0000000000000000000000000000 values in our own config.plist.

zearp commented 1 year ago

macOS Sonoma beta 2: https://swcdn.apple.com/content/downloads/02/02/032-95852-A_JX472QYN2N/0q2do64a61pmgv1u8j0l3ddyfrods0yvdo/InstallAssistant.pkg

Will be trying this today or tomorrow on my stock test NUC and one of my Broadcom ones. Let's see where things stand and for anything broken apply and test fixes where available.

zearp commented 1 year ago

Clean install with latest EFI and beta 2 results in only wifi not working. Bluetooth working out of the box and I could pair a mouse just fine. Will try wireless fixes later. I think we might need to wait until the upstream version of AirportItlwm supports Sonoma. Till then using the plain itlwm kext and Heliport might work. I have not tried that yet but on paper it should work. The itlwm kext just doesn't integrate and shows up as ethernet for macOS itself. Hence the need for another app to connect.

zearp commented 1 year ago

I do notice both 13.4.1 and 14.x are rarely clocking the cpu below 1.3ghz, whereas on Linux even when playing Youtube the clocks are like 700-900mhz. It runs a lot cooler there. I will look into changing this without affecting performance. Likely need to tweak or even just remove the Lilu cpu friend plugin. The thing is the NUC comes with a few different cpu's that have different frequencies available. So I guess the best would be to get rid of it and monitor the frequencies used. If we can rely on the stock/vanilal scaling that would be great. When doing light work it should scale to the lowest available clock speed. My idle temps are 10c higher in macOS than Linux on the same machine πŸ˜…

kababoom commented 1 year ago

What about the energy performance bios setting, does this play a role here? I do usually set them to balanced since I rarely need high performance. What tool do you use to monitor the clock frequency?

Daasin commented 1 year ago

P.s. There is now a version of Airportitlwm that works with sonoma. Successfully tested on NUC-10. Thought it would be helpful to point out.

zearp commented 1 year ago

I didn't see it in my release folder after syncing and compiling it today. Do we just use the Ventura target?

zearp commented 1 year ago

Oh the devs only posted a binary test version buried in an issue and didn't push any changes to the repo yet. I always compile from source with only the firmware we need. Without that the EFI becomes quite large. The test version is 16mb because it includes firmware for all the supported chipsets.

AirportItlwm-Sonoma-Preview01.zip

When they update the sources I will recompile it and push it to the repo.

zearp commented 1 year ago

Time to update my test machine from 13.4.1 to 14.0 beta 2 and see how things stand. I'm also trying the wireless driver test build.

Screenshot 2023-07-05 at 03 14 30

zearp commented 1 year ago

Update completed. Bluetooth works, wireless works. Everything looking good for the stock NUC!

Of course Apple enables some snooping when updating to beta's and it will re-enable some of these after each beta update as well haha.

Screenshot 2023-07-05 at 03 48 55

As far as cpu scaling goes, with cpu friend disabled the lowest frequency on my i5 model is 1.2ghz with cpu friend that's 700-800mhz as it's supposed to be. It just rarely runs at those low clock speeds. So it's best to leave those enabled. I'll have a look at the configuration and other related things like the scheduler.

DevHallOps commented 1 year ago

Hey zearp!

Amazing to see you still providing solid support and updates for this aging little box.

I unfortunately have shorted my internal USB headers. Multiple pci boards have just never shown up under both Linux and Mac for me despite the WiFi working a treat.

Re: Bluetooth, I’ll likely never get the native handoff features. But will a cheapo β€œCSR” 4.0 Bluetooth dongle, alongside my BCM94360CS2 work in Sonoma? I know you referenced purchasing a bunch of them before. Just need to be able to use my AirPods regularly.

zearp commented 1 year ago

Yeah, the CSR dongles are fine for bluetooth audio and mouse/keyboard. Regarding iServices, it remains to be seen what will work and what not. It might become like Intel where it is hit and miss. I would certainly miss the ability to paste in 2FA codes or forwards calls and such. I will remain on Ventura for those features if they can't be made to work. By the time Ventura stops getting security updates macOS will be Apple silicon only πŸ˜…

DevHallOps commented 1 year ago

Certainly getting to that end of the road with hackintoshing. My little Nuc has been chugging along faithfully. M1 or Linux is my next hop after this. But we will wait to see how far β€œafter this” is 😭

zearp commented 1 year ago

The NUC8 has been very good indeed.. reliable little boxes!

A few more years before Linux is my only options for these. By that time who knows what happening. I wouldn't mind some kind of crazy Ampere based system with 512 cores or something lol.

Meanwhile beta 3 was released on the 5th but I didn't get an OTA update of it...

https://swcdn.apple.com/content/downloads/25/58/042-06331-A_J3SK37ZPVW/a6x4qllf9rcgs2phc7mjyo6v1bpqb87anf/InstallAssistant.pkg

zearp commented 1 year ago

New wireless driver build. I hope they update the sources soon.

AirportItlwm-Sonoma-Preview02.zip

naryfa commented 1 year ago

Any word on Broadcom?

zearp commented 1 year ago

@naryfa you can check progress on the OCLP projects issue linked here: https://github.com/zearp/Nucintosh/issues/130#issuecomment-1604983599 -- short answer is no.

naryfa commented 1 year ago

OK, thanks for the info.

Read today also that Intel is exiting NUCs. I'm only throwing this in here as a side note, I know it's unrelated, but ... somewhat significant:

https://www.anandtech.com/show/18952/intel-set-to-exit-nuc-pc-business-pushes-partners-to-develop-more-sff-pcs

DanialPahlavan commented 1 year ago

Hi, I bought a used Mac because of the Apple ecosystem, I have an iPad and an iPhone, and a Mac laptop can help me, otherwise I had more options than I could buy, especially for installing Linux. I think Apple's security review this project for the new OS Update and they try to disable this project. thanks for all your efforts . β€οΈπŸ’•

stefanmrvic commented 1 year ago

Can I use LG 5k ultrafine 27' monitor on MacOS Ventura on Nucintosh?

zearp commented 1 year ago

@stefanmrvic wrong place to ask but it should work. If it connects using Thunderbolt it has to be connected before power on because hot plug doesn't work without patching the firmware and patching the firmware breaks sleep and some usb stuff. If it just uses display port then use the usb-c for it or if using hdmi use the hdmi port which may require some tweaks in the config but it should also just work. I've already enabled all the needed things for 4k but there's additional options we can add if it isn't enough.

I don't have any 5k displays myself but 4k works just fine.

stefanmrvic commented 1 year ago

@stefanmrvic wrong place to ask but it should work. If it connects using Thunderbolt it has to be connected before power on because hot plug doesn't work without patching the firmware and patching the firmware breaks sleep and some usb stuff. If it just uses display port then use the usb-c for it or if using hdmi use the hdmi port which may require some tweaks in the config but it should also just work. I've already enabled all the needed things for 4k but there's additional options we can add if it isn't enough.

I don't have any 5k displays myself but 4k works just fine.

After seeing the price of LG 5k, i think I'll just go with the 4k ;D

Can you tell me which 4k monitor you're using? I'm thinking of buying LG 24" 24UD58-B or LG 24'' 24MD4KLB-B

You have any recommendations? @zearp

zearp commented 1 year ago

I don't know the models I tested the EFI on, it's been a while but 4k was fine.

Just remember the NUCs HDMI is not really 2.0 it uses some kind of funky business called lspcon. The port is really a display port 1.2a. It is setup right but you may have better results using the usb-c port.

5k isn't officially supported but it did work for me. It is likely due to the display port tweaks we apply like enable-max-pixel-clock-override. There are some other options too that could be applied like setting HBR rates. It won't support full 10bit due to bandwidth limitations so only 8bit colours and maybe at 30hz or 60hz if lucky. Its been voer 3 years since I tested all these things with stuff I had available at work.

HDMI is supported through a MegaChips MCDP2800-BCT DisplayPort 1.2a to HDMI 2.0 Level Shifter/Protocol Converter (LSPCON). The HDMI port supports standard, enhanced, or high definition video, plus multi-channel digital audio on a single cable. The port is compatible with all ATSC and DVB HDTV standards and supports eight full range channels at 24-bit/192 kHz audio of lossless audio formats. The maximum supported resolution is 4096 x 2160 @ 60 Hz, 24bpp. The HDMI port is compliant with the HDMI 2.0a specification.

Using usb-c gives you some extras like daisy chaining and some minitors prefer no conversion. The usb-c port is a display port 1.2 without conversion. The HDMI port uses conversion to make a HDMI signal. Some screen do not like that.

DisplayPort output supports Multi-Stream Transport (MST) which allows for multiple independent video streams (daisy-chain connection with multiple monitors) over a single DisplayPort. This will require the use of displays that support DisplayPort 1.2 and allow for this feature.

Good luck, and as always devices on hackintosh are just a likely or unlikely to work as on real Macs. Which can be pretty finicky. I've even had cables that worked fine on Windows and Linux but didn't support all the resolution or refresh rates in macOS. It can be really picky with certain things. There's nothing we can do about that. Mac users run into the same problems. You don't wanna know how many posts I've seen on Apple's forums about screens and printers just not working properly. Or other strange behaviours. Unless it has this "Mad for Mac" label its a gamble if it works.

zearp commented 1 year ago

One issue is that I still don't get beta OTA updates offered despite some being available. This is probably easy to fix and might disappear on its own when we near the finals builds. Developer build 4 was released on the 25th and can be downloaded here: https://swcdn.apple.com/content/downloads/51/00/042-16905-A_EL0PGKG0SG/uhav59i5qk1wfy42ild7wscq85tpaqvdws/InstallAssistant.pkg

Other than that every update so far has installed fine and didn't break anything on stock NUCs.

MrMatu commented 1 year ago

Hello. I am having trouble installing this BETA on my Mac Mini 2012. It gets stuck on the Apple logo after doing all the process like I am supposed to using OpenCore.

zearp commented 1 year ago

@MrMatu Wrong Gitgub repo I think?

But to answer your question; your model is no longer supported by Apple for anything beyond Catalina for a while now. You will need to use OCLP to install Big Sur or newer on your system. Though having some 2012 models myself I wouldn't install anything beyond Catalina on those as the cpu simply lacks a lot of instructions newer macOS take advantage of. So it will fee sluggish. For 2012 models I suggest Fedora + Gnome or Catalina (which no longer received security updates).

MrMatu commented 1 year ago

I know it is not supported and I was using OCLP already. The mac 14 beta became available a few days ago and ever since I've had no luck installing it. It gets stuck on the LOGO. But Thanks.

semakj commented 1 year ago

Everything works fine on my iMac 27" Late 2013 (14,2), Nvidia GEForce GT 755M. However, I cannot boot into Safe Mode with root patches installed. I need Safe Mode to temporarily disable 3D acceleration to be able to perform virgin, initial runs of Acrobat Reader and Speedtest. (Due to som ancient bug in the NVIDIA root patches).

zearp commented 1 year ago

For some weird reason my Sonoma test machine's wifi worked fine until today and I had to update the kext to the latest (still no source available) binary itlwm test release.

Also their bluetooth sources don't build anymore. I hope they fix it at some point I much rather compile my own with only needed firmwares than have to include 30-50MB of firmwares we do not need. It may also grow the EFI too large for some of my machines that multi boot into Linux and have a small EFI partition. Sure I can make it bigger but I shouldn't have to.

It rubs me the wrong way when the provided source can't be build so we have to download a binary we have no clue whats in it. These kexts run at a very low level giving lots of access. Open source should mean we can build the binary using the provides sources but I haven't been able to compile the bluetooth drivers for a while now and I'm not willing to spend a lot of time trying to fix that. There is little point in auditing sources when you have no idea if the binary they provide is build using the same source.

Luckily bluetooth still work as we only use the firmware provider kext, the firmware itself is loaded by another kext. My hope is that we never have to change the OpenIntelWireless bluetooth kext again as it just contains the firmware we need. It is unlikely a newer firmware version is released by Intel for this so for now it's all good.

AirportItlwm-Sonoma-Preview04.zip

KirsebaerQAQ commented 1 year ago

Broadcom fixed now?

zearp commented 1 year ago

@KirsebaerQAQ No. Apple removed support for all Broadcom from Sonoma. We have two wait for OCLP to sort it and then see if we can back port their solution. I posted al ink to the relevant thread earlier in here if you want to keep to to date with Broadcom fixes follow that.

Stock NUCs work 100% in Sonoma including Intel bluetooth and wifi.

zearp commented 1 year ago

For those interested this is the EFI I am currently testing with.

EFI-Sonoma.zip

naryfa commented 1 year ago

This is hilarious. Stock WiFi/BT from Intel works, but the original one from Apple - nope.

Same situation with Apple Music lossless. It works on Windows and Android, but not older macOS. πŸ˜†

zearp commented 1 year ago

New beta dropped last week, again I didn't get an update offered for it. I'll do a clean install on my test NUC soon and see if this can be fixed or needs to be postponed until the GM release.

Developer beta 5: https://swcdn.apple.com/content/downloads/26/36/042-27162-A_4GKRLRWELJ/qyzyo86g692wlsewkyclfk686op47kuq5c/InstallAssistant.pkg

zearp commented 1 year ago

Updated EFI for beta 5 and above. It is required to either use this EFI to update or disable AirportItlwm in the config to prevent a bootloop during install.

EFI.zip

treforparr commented 1 year ago

Can we please try and fix thunderbolt two driver any developers willing to pay to fix this

zearp commented 1 year ago

@treforparr the only thing "broken" is hot plug which will not only requires you to flash a new bios into the controller but also need to write new acpi patches. I experimented with it but it's not worth the time and effort to be honest. Thunderbolt devices are very costly for testing purposes and all this just to get hot plug to work is simply not worth it. Indeed your best bet is to hire someone to do this. Thunderbolt works great, all devices just no hot plugging.

zearp commented 1 year ago

Developer beta 6 (public beta 4) was releases yesterday. Again no OTA update being offered. No update is even found when checking manually:

$ softwareupdate -l
Software Update Tool
Finding available software
No new software available.

I will do a clean install of this one and then see if we get the OTA for beta 7 offered or not. Here is is the direct download link to the installer: https://swcdn.apple.com/content/downloads/44/25/042-37835-A_BEAOB8L7HU/1qzvpcz2hplmg557cci42sr49egqus76v1/InstallAssistant.pkg

zearp commented 1 year ago

Clean install went ok, restoring my stuff also went ok using the migration tool. I assume the OTA updates will work eventually. I recall similar issues on previous beta's.

zearp commented 1 year ago

Developer beta 7 / public 5 has been released a few days ago: https://swcdn.apple.com/content/downloads/42/44/042-41491-A_KQV83P1014/znuthg9hd5na328qb6hz9mppa61p6x2dp9/InstallAssistant.pkg

Will download and update my cleanly installed Sonoma from 2 weeks ago. Will update here if any changes to the EFI are needed.

zearp commented 1 year ago

Booted up the Sonoma disk to test if I got offered an OTA this time and noticed a little warning saying I should sign into Apple ID to receive updates. I hope this isn't going to be in the final version.

Currently we get updates regardless if you're signed in or not. I'm not signed in on any of my test machines and I won't sign it as well and I also don't want to make a throw away Apple ID to test this.

I'll assume that by the time Sonoma is released auto updates will " justwork" and I just hope they will drop the sign in requirement to receive updates.

zearp commented 1 year ago

Lovely, even after checking the SHA sums and verified my download was proper it still proceeded to download the full 12GB installer again when I ran the installer.

Sep  4 18:07:16 nuc osinstallersetupd[961]: mountDiskImageWithPath: /Applications/Install macOS Sonoma beta.app/Contents/SharedSupport/SharedSupport.dmg
Sep  4 18:07:16 nuc osinstallersetupd[961]: Couldn't mount dmg! (error code 13)
Sep  4 18:07:17 nuc osinstallersetupd[961]: Started downloading package com.apple.pkg.InstallAssistant.Seed.macOS14Seed (https://swcdn.apple.com/content/downloads/42/44/042-41491-A_KQV83P1014/znuthg9hd5na328qb6hz9mppa61p6x2dp9/InstallAssistant.pkg)

This isn't the first time this happened. What a waste of bandwidth lol.

zearp commented 1 year ago

Well, no changes to the EFI posted here earlier are needed. This build introduces quite some animated slo-mo wallpapers in addition to the previously introduced widgets. Not of a fan of the direction Apple is taking macOS. But the writing has been on the walls since Big Sur.

Screenshot 2023-09-04 at 20 55 51

zearp commented 1 year ago

RC1 coming soon and final scheduled for the 26th this month. When the RC comes out it's time to check on the state of Broadcom. I'm also pretty sure Sonoma will be the last macOS for the Mac mini 2018. Not sure if Apple will drop native 8th gen support soon but they will at some point. Haswell (4th gen) was dropped after Monterey.

naryfa commented 1 year ago

I'd love to see Broadcom ported back, otherwise I have to take my unit apart and remove it. But then I'd get the m.2 port back, so maybe it's a better solution. Does Intel WiFi/BT work good with the current kexts on Sonoma?

zearp commented 1 year ago

Unless something magical happens Intel would be the way to go in Sonoma. Currently the only way to make Broadcom work --and that is just the networking, not the iCloud/etc stuff-- is to disable many security features, including breaking the filesystem seals. Which might break receiving updates and having to manually install those combo updates of yesteryear when and if they come out. All that needs to be tested but it is not looking good for Broadcom.

Intel can be used without disabling any security features. I don't think that even with the patches and security disabled the iCloud integration will work as in Ventura and earlier. Some stuff might work but it is no longer natively supported. Which was the only reason to even consider Broadcom cuz Intel was working for a long time with itlwm. You just didn't get proper iCloud integration with Intel. Broadcom will be on par with that in Sonoma with extra downsides.

My initial goal was to run vanilla macOS as its intended. To me vanilla means no modifications on the installed system. Which is what we have now, we use a stock Apple installer with an EFI that makes our NUC become a Mac essentially.

Vanilla also includes all the security features and it is part of what makes is so secure and stable. Even by accident a user or piece of software can not mess up your system but if we start breaking and disabling those things it may result in problems or worse, your machine being hacked and you wouldn't even know about it as the underlying security mechanism are disabled or even removed. with the file system sealing active nothing can change the essential system files.

I'm not sure if and how we integrate those patches. Most likely we need to create an installer as before, add the EFI and then patch the installer with OCLP. Once installed the system itself also needs to be patched. Whenever a macOS update comes out we have to make sure it won't break any of the patches and re-apply updated patches if needed.

Unlike now where we can just pretend you have a real Mac pretty much. Once macOS is released we have to see whats going to happen and what the Dortania guys will do. Currently the OCLP does not support using it on hackintosh. But many many people have Broadcom in their hacks. So we'll see. Maybe some other solution is found or a hackintosh OCLP edition is made.

tl;dr Broadcom is most likely EOL with Sonoma, at least for me.