-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lilu not firing early without working GOP/UGA display output on macOS 11 #1623
Comments
OpenCore-Legacy-Patcher issue 180 was discovered while trying to find the cause for this AppleALC issue. |
This is OCLP issue, not AppleALC. You got it wrong again :) On AppleALC side I may try recommending adding timeouts like alcdelay=1000. CC @khronokernel |
Thanks for that tip! |
alcdelay doesn't help so far, even the maximum of 3000 doesn't.
Both working and non-working boots show those lines after HDA kexts have started loading. |
@internetzel Can you provide an IOReg of both working and non-working AppleALC? File -> SaveAs: |
Here are the IOReg dumps - although I created them using IORegistryExplorer 3.0.2, which are incompatible to the version 2.1.0 you posted. |
With OCLP, we inject the following properties:
Checking your IOReg, I see that these 3 properties are in fact present however AppleALC seems to have ignored them as |
alcid=81 does not seem to have any effect - moreover once again I cannot boot Mojave without display when using that setting?! |
Using -alcdbg reveals the following difference (last line):
(not working)
|
The above difference only occurs when having set use-layout-id to 0, instead of the 1 being set by OCLP. |
Please provide debug logs for AppleALC in file format. |
I cannot reproduce the above log message difference any longer. BTW I need liludump=200 because booting from USB2.0 connected spinning hard drive is painfully slow; Firewire booting used to be much faster. |
It is really all about timing. AppleHDA is probed before Lilu detects all the hardware. Currently Lilu startup on macOS 11 happens on screen enablement, so it is quite logical that the patching fails. The issue is not reproducible on macOS 10.15, correct? I am not sure we want to change this behaviour, fixing up the GPU may be a better idea. |
Did not test Catalina again, but Mojave does boot blindly with AppleALC working. |
I guess I will reopen this as it is technically a bug, but I am not sure I will get there any soon. |
Has there been a workaround for this issue yet? Currently, every time I want to boot macOS my laptop is in docked/clamshell mode, I need to take the laptop and boot it with the lid open as it does not recognize the external displays on boot. It's a slight annoyance as I do swap between Windows and macOS often. |
My Lilu fork might have early booting improvements for Big Sur and later. All Lilu based kexts need to be compiled using the same Lilu.kext. |
AppleALC is not fully working (it's loading but there's no audio devices available) on my iMac 11,1 (late 2009 27" core-i5, AMD RX480 graphics card upgrade) when there's no actually working EFI display output available.
I'm using OpenCore-Legacy-Patcher, revision 0ac3353 for setting up and installing OpenCore. I added liludump=200 manually in order to get the lilu logs.
There are some differences in the lilu logs, that might indicate some timing issues.
Lilu_1.5.2_20.4 ALC working.txt
Lilu_1.5.2_20.4 ALC not working.txt
The text was updated successfully, but these errors were encountered: