Jump to content

OpenCore General Discussion


dgsga
8,888 posts in this topic

Recommended Posts

12 hours ago, Andrey1970 said:

Simply download OpenCore source code from master and launch macbuild.tool
https://github.com/acidanthera/OpenCorePkg/archive/master.zip

 

Morning,

 

Thanks for the link. Tried to compile it with XCode but it fails saying there is a lexical or preprocessor issue. Its been a while since I played with XCode but I suppose theres something in build settings that needs to be configured?

 

Thanks

Link to comment
Share on other sites

CPU: Intel Xeon X5680

MB: X58

Boot type: USB OC Legacy

OC version: 0.5.7

 

Failing to boot the macOS installer after first reboot when installing.

 

Anyone seen this error before?  (XNU hook)

 

72:857 00:161 OCB: Performing OcShowSimpleBootMenu... 0
73:015 00:158 OCB: BootNext has not been found
73:175 00:159 OCB: BootOrder is unavailable - Not Found
73:336 00:160 OCB: Initial default is 0, fallback
84:492 11:155 OCB: Should boot from macOS Installer (T:2|F:0|DEF:0)
84:813 00:321 OCB: Perform boot macOS Installer to dp PcieRoot(0x0)/Pci()/Sata()/HD(2,GPT,,,)/\macOS Install Data\Locked Files\Boot Files\boot.efi (0/0)
84:996 00:182 OCB: Matching <> args on type 2 0
85:165 00:168 OCOS: OS set: <null> Mac OS X 10.15
85:326 00:161 OCOS: OS set: Apple Inc. Mac OS X 10.15
85:516 00:189 Trying XNU hook on \macOS Install Data\Locked Files\Boot Files\prelinkedkernel
86:050 00:534 Kext reservation size 7487488
99:463 13:412 Comp kernel (26165004 bytes) cannot be read at 00000000
99:759 00:295 Result of XNU hook on \macOS Install Data\Locked Files\Boot Files\prelinkedkernel is Invalid Parameter
110:953 11:193 OC: Boot failed - Aborted
111:249 00:296 OCB: StartImage failed - Aborted

 

Edited by FlipBot76
Link to comment
Share on other sites

13 hours ago, davidm71 said:

 

Xcode complains that I don't have a developer certificate installed so won't compile...

 

Showing Recent Issues

No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "5DG8PLV54H" with a private key was found.

 

Sounds like you are trying to compile OCBuilder app itself. Just download the release and run it.

  • Like 3
Link to comment
Share on other sites

Just now, Pavo said:

Sounds like you are trying to compile OCBuilder app itself. Just download the release and run it.

 

Unfortunately I can't find the 0.5.8 release. 

 

Anyway to overcome the compilation error? Must be something simple..

 

Thanks

Link to comment
Share on other sites

1 minute ago, davidm71 said:

 

Unfortunately I can't find the 0.5.8 release. 

 

Anyway to overcome the compilation error? Must be something simple..

 

Thanks

I wasn't talking about OpenCore 0.5.8 release I was talking OCBuilder.app download the release of that and run the app to compile OpenCore 0.5.8 automatically. 

https://github.com/Pavo-IM/ocbuilder/releases/download/7.2.4/OCBuilder.app.zip

Link to comment
Share on other sites

4 minutes ago, Pavo said:

I wasn't talking about OpenCore 0.5.8 release I was talking OCBuilder.app download the release of that and run the app to compile OpenCore 0.5.8 automatically. 

https://github.com/Pavo-IM/ocbuilder/releases/download/7.2.4/OCBuilder.app.zip

 

Thank you. So much more easier than using XCode.

 

Thanks

Link to comment
Share on other sites

1 hour ago, davidm71 said:

 

Morning,

 

Thanks for the link. Tried to compile it with XCode but it fails saying there is a lexical or preprocessor issue. Its been a while since I played with XCode but I suppose theres something in build settings that needs to be configured?

 

Thanks

 

Simply make that that I wrote. You don't need to launch xcode. The third-party utility OCBuilder it isn't necessary.

Link to comment
Share on other sites

Please, can anybody help-me to understand how SwapKeys are supposed to work?

 

Eg: By defaul, in my kb, Alt=Option and Win=Comand but I'll do like to leave as real Mac where Alt=Cmd and Win=Opt.

 

Is that possible at OpenCore interface? Because even with SwapKeys=Yes this have no effect to me.

Link to comment
Share on other sites

My computer GA-Z390-M-Gaming. i9 9900K. G. Skill 32GB 3200 MHz DDR4
EFI-OpenCore-0.5.8-DEBUG  2020-04-19
Catalina 10.15.3


1. After resetting nvram, the keyboard and mouse in PickerMode will not work.
Is it normal?

Similar settings on my other computer Gigabyte GA-Z170, everything works.


2. PickerAudioAssist and appla sound do not work at startup.

Settings::
AudioCodec - 2
AudioOut - Testowałe,: -1, 0, 1, 2, 3, 4. I hear nothing.
PlayChime - yes

 

Debug fragment:
07:651 00:002 OC: Requested console mode is 0x0 (max: 0) from 
07:654 00:002 OCAU: System volume is 0 (calculated from 0) - Success
07:657 00:002 OCAU: Matching PciRoot(0x0)/Pci(0x1F,0x3)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,02000000)...
07:697 00:002 OCAU: 1/3 PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (6 outputs) - Success
07:738 00:002 OCAU: 2/3 PciRoot(0x0)/Pci(0x1F,0x3)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (6 outputs) - Success
07:749 00:002 OCAU: 3/3 PciRoot(0x0)/Pci(0x1F,0x3)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,02000000) (1 outputs) - Success
07:752 00:002 OCAU: Setting language to en-US:0
07:755 00:002 OCAU: Language for audio en-US:0 - Success
14:236 00:003 OC: Wave Resources\Audio\OCEFIAudio_en_Loading.wav was requested

 

What do I need to add?

 

Similar settings on my other computer Gigabyte GA-Z170, everything works..

 

3. I have this problem:

When starting, I always get this error:


No Arguments are initialised for method [_STA]
ACPI Error: Method parse/execution failed [\_TZ.TZ10._STA] (Node ffffff804f171090)), AE_AML_UINITIALIZED_LOCAL (20160938/psparse-632)
ACPI Error: Method execution failed [\_TZ.TZ10._STA] (Node ffffff804f171090)), AE_AML_UINITIALIZED_LOCAL (20160938/uteval-183)

 

Someone has a similar problem here, unfortunately I could not find someone to solve this problem.


 

Anyone met with this?

What do I need to add?

 

Thanks for the help.
 

Link to comment
Share on other sites

Hi,

 

Was wondering if there is a tool for creating custom SSDT-EC and SSDT-PLUG AML files Opencore requires? Wonder if Hackintool does that? Second wonder if I have a Kabylake motherboard running a Skylake processor I would suppose I need a readymade version of Skylake SSDT files off of the Opencore guide?

 

THANKS

Link to comment
Share on other sites

On 4/18/2020 at 4:01 PM, nijhawank said:

I converted my Clover based Catalina installation to OpenCore and everything is perfect. Amazing work by team Acidanthera @Download-Fritz @vit9696 @Andrey1970
 

However I now tried to upgrade my 10.15.2 installation to 10.15.4 (I’m using the full Installer), the Installer says that my Mac needs a firmware update to install to APFS volume and it asks me to pick a HFS+ partition instead. See the attached screenshot.

I can however workaround the problem by choosing Macbookpro14,1 instead of Macbookpro13,1 that I normally use. It seems OpenCore is spoofing / reporting  an older Boot ROM when using Macbookpro13,1. 
My hack is a Lenovo T460 laptop with i5-6300u and is better matched with Macbookpro13,1 but even otherwise the problem of spoofing an older Boot ROM seems to be a bug with OpenCore. I’m using OpenCore 0.5.7. What you all think?

FE10C52A-3F29-46E0-8849-B2032802563C.jpeg

 

@vit9696 @Andrey1970 @Download-Fritz Any thoughts on this?

Link to comment
Share on other sites

7 hours ago, ghost8282 said:

Hello,

I have some problem with the boot audio, I'd want to play chime at startup.

The setup seems correct, but I have an error in OpenCore log (OCAU: Cannot find specified audio device - Not Found).

From Opencore log:


07:634 00:006 OCAU: Matching PciRoot(0x1)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)...
07:640 00:006 HdaCodecAudioIoGetOutputs(): start
07:647 00:006 HdaCodecGetSupportedPcmRates(): start
07:653 00:006 HdaCodecGetOutputDac(): start
07:659 00:006 HdaCodecGetSupportedPcmRates(): start
07:665 00:006 HdaCodecGetOutputDac(): start
07:671 00:006 HdaCodecGetSupportedPcmRates(): start
07:677 00:006 HdaCodecGetOutputDac(): start
07:683 00:005 HdaCodecGetSupportedPcmRates(): start
07:689 00:006 HdaCodecGetOutputDac(): start
07:695 00:005 OCAU: 1/2 PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (4 outputs) - Success
07:701 00:006 HdaCodecAudioIoGetOutputs(): start
07:707 00:005 HdaCodecGetSupportedPcmRates(): start
07:713 00:005 HdaCodecGetOutputDac(): start
07:719 00:005 HdaCodecGetSupportedPcmRates(): start
07:725 00:006 HdaCodecGetOutputDac(): start
07:732 00:006 HdaCodecGetSupportedPcmRates(): start
07:738 00:006 HdaCodecGetOutputDac(): start
07:744 00:006 HdaCodecGetSupportedPcmRates(): start
07:750 00:006 HdaCodecGetOutputDac(): start
07:756 00:006 HdaCodecGetSupportedPcmRates(): start
07:762 00:006 HdaCodecGetOutputDac(): start
07:768 00:006 HdaCodecGetSupportedPcmRates(): start
07:775 00:006 HdaCodecGetOutputDac(): start
07:781 00:006 HdaCodecGetSupportedPcmRates(): start
07:787 00:006 HdaCodecGetOutputDac(): start
07:793 00:005 OCAU: 2/2 PciRoot(0x0)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (7 outputs) - Success
07:799 00:006 OCAU: Cannot find specified audio device - Not Found
07:806 00:006 OC: Audio connection failed - Not Found

The 4 outputs device is HDAU from my nvidia gpu card, the 7 outputs device is HDEF from the integrated audio device.

From gfxutil -f HDEF:


./gfxutil -f HDEF
00:02.0 8086:1d20 /PCI0@0/HDEF@2 = PciRoot(0x1)/Pci(0x2,0x0)

Relevant section of config.plist:


		<key>Audio</key>
		<dict>
			<key>AudioCodec</key>
			<integer>0</integer>
			<key>AudioDevice</key>
			<string>PciRoot(0x1)/Pci(0x2,0x0)</string>
			<key>AudioOut</key>
			<integer>0</integer>
			<key>AudioSupport</key>
			<true/>
			<key>MinimumVolume</key>
			<integer>20</integer>
			<key>PlayChime</key>
			<true/>
			<key>VolumeAmplifier</key>
			<integer>1000</integer>
		</dict>

.......

		<key>Drivers</key>
		<array>
			<string>HfsPlusLegacy.efi</string>
			<string>OpenRuntime.efi</string>
			<string>UsbMouseDxe.efi</string>
			<string>AudioDxe.efi</string>
			<string>OpenCanopy.efi</string>
		</array>

HDEF is Realtek ALC899 (Vendor ID: 0x10EC0899).

I tried AudioOut from 0 to 7, same error.

I'm able to dump the codec from the OpenShell with HdaCodecDump, see attached.

 

 

Audio resources are in their place:

oc.png.bee568d49189b187c681f01ba9b33d27.png

 

 

Not sure why OpenCore is reporting the address PciRoot(0x0)/Pci(0x2,0x0) instead of PciRoot(0x1)/Pci(0x2,0x0) as specified in the config.plist?

 

Do you think is it a bug?

I thought to open a github issue for this, but not sure where to place, if in "Bug in OpenCore or KEXTs" or in "Bug in tools or applications", and if this can be classified as a bug...I know vit9696 and all the devs have a lot of work to do and I don't want to make them waste time for nothing.

What do you think?

 

Thanks

 

dump.txt

 

Issue solved, thanks to vit9696, here is his reply, I think it can help some other people:

https://github.com/acidanthera/bugtracker/issues/864

 

So I simply changed the address in the config.plist (Audio section) from PciRoot(0x1)/Pci(0x2,0x0)  ---> which was the address reported by gfxutil, to PciRoot(0x0)/Pci(0x2,0x0) ---> which is the address seen by opencore, and now chime works good.

  • Thanks 1
Link to comment
Share on other sites

hi does anyone know how to get out of this kp 

applelpc::notifyplatformaspm registering with plugin with aspm support false

panic(cpu 0 caller somebody

if there wouldnt be a limit of download pics to 1 mb I would have posted an actual kp @Andrey1970 ti mogeg pomoch 

Edited by markl18
Link to comment
Share on other sites

10 hours ago, Pavo said:

I wasn't talking about OpenCore 0.5.8 release I was talking OCBuilder.app download the release of that and run the app to compile OpenCore 0.5.8 automatically. 

https://github.com/Pavo-IM/ocbuilder/releases/download/7.2.4/OCBuilder.app.zip

 

 

AfpsDriverLoader.efi didn't get compiled and is missing from the build after running that app. Have everything else I think.

Link to comment
Share on other sites

26 minutes ago, davidm71 said:

 

 

AfpsDriverLoader.efi didn't get compiled and is missing from the build after running that app. Have everything else I think.

Apparently you haven't been keeping up with current development of committed changes to OpenCore, ApfsDriverLoader.efi is no longer created because its built into OpenCore.efi. Please make sure you know what you are doing before submitting an issue.

  • Like 1
Link to comment
Share on other sites

1 minute ago, Pavo said:

Apparently you haven't been keeping up with current development of committed changes to OpenCore, ApfsDriverLoader.efi is no longer created because its built into OpenCore.efi. Please make sure you know what you are doing before submitting an issue.

 

 

Sorry trying my best to learn as much as possible. Thank you for taking time to reply. Thank you.

  • Like 1
Link to comment
Share on other sites

7 minutes ago, nijhawank said:


Will check and let know. But may I ask what is this? Just a debug build and you expect me to provide the logs or you have made some changes and want me to give a try?

 

 Thanks for it.

made some changes. Simply confirm that the mbp13,1 installation works.

  • Like 1
Link to comment
Share on other sites

25 minutes ago, Andrey1970 said:

made some changes. Simply confirm that the mbp13,1 installation works.

 

Hi Andrey 1970 

i have issue 

AllowSetDefault=true do not work with External GUI when i reache gui it is not select default partition and also not work hide unhide partition using space button

please help me 

i attached config with latest commit changes

 

config.plist

Link to comment
Share on other sites

×
×
  • Create New...