Jump to content

OpenCore General Discussion


dgsga
8,773 posts in this topic

Recommended Posts

I have a question about Debug. I used Debug version then back to Release version, disabled watchdog settings clean the NVRAM but every restart OpenCore create an empty .txt file in EFI root. is it possible to tell OpenCore to stop creating a .txt file?

Edited by telepati
Link to comment
Share on other sites

Chime working great but I notice a 2-3 sec delay before the boot picker and chime appears, maybe because of the Resources folder?

does anyone else experience the delay? i'm using the release version booting from my nvme's efi.

Link to comment
Share on other sites

31 minutes ago, telepati said:

I have a question about Debug. I used Debug version then back to Release version, disabled watchdog settings clean the NVRAM but every restart OpenCore create an empty .txt file in EFI root. is it possible to tell OpenCore to stop creating a .txt file?


Set Target=0

  • Thanks 1
Link to comment
Share on other sites

Getting Panic after AppleIntelCPUPowerManagement: initialization complete.

 

Was working fine with 0.5.5 RELEASE.

 

Trying with the latest commit.

 

I am on Ivy Bridge 3470 (CFG Unlocked) and using ssdtprgen PM.

Link to comment
Share on other sites

I have been trying to get the correct layout id for my audio codec(ALC1220)

https://github.com/acidanthera/AppleALC/wiki/Supported-codecs

I have tried editing DeviceProperties>Add>PciRoot(0x0)/Pci(0x1f,0x3)>layout-id

I made sure to put the number in as a hexadecimal

according to some people I "layout-id" needs to be "Layout-id"

I still can't manage to get it working

I now have renamed HDAS to HDEF and still need to try out the layout id's with the rename

apparently you can use the alcid=xxx boot arg but I don't know where to place it 

does it go under DeviceProperties>Add>PciRoot(0x0)/Pci(0x1f,0x3) or NVRAM>7C436110-AB2A-4BBB-A880-FE41995C9F82>boot-args

I also need to keep the npci=0x2000 boot arg under NVRAM>7C436110-AB2A-4BBB-A880-FE41995C9F82>boot-args or my Hackintosh won't boot

 

 

if you could tell me where to add the alcid=xxx boot arg or tell me if me any other error it would help alot

 

my config.plist is linked below

config.plist

Edited by Hector van der Aa
Link to comment
Share on other sites

It goes under NVRAM > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args, like this really basic example for NVRAM;

 

    <key>NVRAM</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
            <dict>
                <key>UIScale</key>
                <data>AQ==</data>
            </dict>
            <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
            <dict>
                <key>boot-args</key>
                <string>alcid=1</string>
                <key>csr-active-config</key>
                <data>ZwAAAA==</data>
            </dict>
        </dict>

 

You get the idea, right? That should hopefully get it going for you.

 

Edited by Awesome Donkey
  • Like 1
Link to comment
Share on other sites

what was the procedure on opencore for dual boot windows on a single drive? with all the changes since .5.3 i havent followed along if possible can i get links to where it states the adjustments to make please?

Link to comment
Share on other sites

I have a good working system with Clover 5103/10.15.2

 

Now I wish to move to OC. I tried 0.5.5 and was able to boot and everything working fine.

 

But now I wanted to check out the 0.5.6 and I built it. Since then I am not able to boot as I am getting KP.

 

11 hours ago, Hector van der Aa said:

try nullcpupowermanagement kext

NullCPUPowerManagement.kext.zip

 

^This also did not work.^

 

Could some kind soul help me?

I can provide my config and the log and the EFI dir if required.

 

P.S. I would really love to have a discord invite.

Link to comment
Share on other sites

If your running windows

download propertree

 

add the kext to your kext folder in the oc folder

 

open propertree.bat and open your config.plist under file>open

 

then under click file>ocsnapshot and locate the root of the oc folder on the bootloader under  EFI. Make sure to select the oc folder and not click into it

 

and clicks select

 

save your config and ur good 2 go

 

 

this can be used for any kext or DSDT or SSDT changes

ProperTree-master.zip

  • Thanks 2
Link to comment
Share on other sites

On 2/24/2020 at 12:06 AM, Nanorise said:
Quick Update, removing my custom DSDT fixed the Audio issue, I had it since CLOVER days. (Still can't install BootCamp same issue)
 Is a DSDT really necessary with OpenCore?

I also have the audio issue, what is the DSDT removed. Thank you.

Link to comment
Share on other sites

My OpenCore (0.5.6) Catalina build (10.15.3) is running fine except for occasional freeze & kernel panics (maybe once or twice a day). Mobo is Gigabyte H87M-D3H, CPU is Core i5-4460, HD4600(headless) + RX 560 4GB. My config.plist is attached.

Here is the report when the system freezes.
I am not able to track the issue but it is somehow linked to GoogleChrome.
Any help would be appreciated.
 

panic(cpu 1 caller 0xffffff801464710b): "Invalid queue element linkage for 0xffffff8043f4d0c0: next 0xffffff8043c71de0 next->prev 0xffffff8043f4d0c0 prev 0xffffff8043f7a030 prev->next 0xffffff804374d0c0"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.81.5/osfmk/kern/queue.h:247
Backtrace (CPU 1), Frame : Return Address
0xffffff818ebeb8e0 : 0xffffff801453bb2b mach_kernel : _handle_debugger_trap + 0x47b
0xffffff818ebeb930 : 0xffffff80146734d5 mach_kernel : _kdp_i386_trap + 0x155
0xffffff818ebeb970 : 0xffffff8014664f4e mach_kernel : _kernel_trap + 0x4ee
0xffffff818ebeb9c0 : 0xffffff80144e2a40 mach_kernel : _return_from_trap + 0xe0
0xffffff818ebeb9e0 : 0xffffff801453b217 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff818ebebae0 : 0xffffff801453b5fb mach_kernel : _panic_trap_to_debugger + 0x21b
0xffffff818ebebb30 : 0xffffff8014cd2aa9 mach_kernel : _panic + 0x61
0xffffff818ebebba0 : 0xffffff801464710b mach_kernel : _pmap_remove_range_options + 0xe7b
0xffffff818ebebc80 : 0xffffff80146472a6 mach_kernel : _pmap_remove_options + 0x96
0xffffff818ebebce0 : 0xffffff80145d3b1b mach_kernel : _vm_map_destroy + 0x8eb
0xffffff818ebebe30 : 0xffffff80145db49e mach_kernel : _vm_map_remove + 0x5e
0xffffff818ebebe60 : 0xffffff801456c5e1 mach_kernel : _task_terminate_internal + 0x231
0xffffff818ebebea0 : 0xffffff8014a7f25c mach_kernel : _exit_with_reason + 0x27c
0xffffff818ebebf10 : 0xffffff8014a7efd3 mach_kernel : _exit1 + 0x23
0xffffff818ebebf30 : 0xffffff8014a7efa9 mach_kernel : _exit + 0x19
0xffffff818ebebf40 : 0xffffff8014b9b08a mach_kernel : _unix_syscall64 + 0x28a
0xffffff818ebebfa0 : 0xffffff80144e3206 mach_kernel : _hndl_unix_scall64 + 0x16

BSD process name corresponding to current thread: Google Chrome
Boot args: keepsyms=1 debug=0x100 shikigva=16

Mac OS version:
19D76

Kernel version:
Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64
Kernel UUID: A8DDE75C-CD97-3C37-B35D-1070CC50D2CE
Kernel slide:     0x0000000014200000
Kernel text base: 0xffffff8014400000
__HIB  text base: 0xffffff8014300000
System model name: iMac15,1 (Mac-42FD25EABCABB274)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 37708890222916
last loaded kext at 36749355580047: @filesystems.msdosfs	1.10 (addr 0xffffff7f99bc4000, size 69632)
last unloaded kext at 32397551955460: >usb.cdc	5.0.0 (addr 0xffffff7f99bc4000, size 28672)
loaded kexts:
org.pqrs.driver.Karabiner.VirtualHIDDevice.v061000	6.10.0
com.tuxera.filesystems.tuxera_ntfs	2017.12.18
com.intel.driver.EnergyDriver	3.7.0
com.insanelymac.RealtekRTL8111	2.2.2
as.lvs1974.RTCMemoryFixup	1.0.4
as.vit9696.VirtualSMC	1.1.0
xyz.racermaster.NoTouchID	1.0.3
org.vanilla.driver.CPUFriend	1.2.0
as.lvs1974.HibernationFixup	1.3.2
as.vit9696.!AALC	1.4.6
as.vit9696.WhateverGreen	1.3.6
as.vit9696.Lilu	1.4.1
@filesystems.msdosfs	1.10
>!ATopCaseHIDEventDriver	3430.1
@fileutil	20.036.15
>!AUpstreamUserClient	3.6.8
>!AMCCSControl	1.13
@kext.AMDFramebuffer	3.0.5
>!APlatformEnabler	2.7.0d0
>AGPM	111.4.2
>X86PlatformShim	1.0.0
@filesystems.autofs	3.0
>!AHDA	283.15
@kext.AMDRadeonX4000	3.0.5
@kext.AMDRadeonServiceManager	3.0.5
@AGDCPluginDisplayMetrics	4.7.2
>!AHV	1
|IOUserEthernet	1.0.1
|IO!BSerialManager	7.0.3f5
@private.KextAudit	1.0
>pmtelemetry	1
@Dont_Steal_Mac_OS_X	7.0.0
>!A!ISlowAdaptiveClocking	4.0.0
>!A!IHD5000Graphics	14.0.4
>eficheck	1
>AudioAUUC	1.70
@kext.AMD9500!C	3.0.5
|Broadcom!B20703USBTransport	7.0.3f5
>!A!IFramebufferAzul	14.0.4
>!AGFXHDA	100.1.424
>!AVirtIO	1.0
@filesystems.hfs.kext	522.0.9
@!AFSCompression.!AFSCompressionTypeDataless	1.0.0d1
@BootCache	40
@!AFSCompression.!AFSCompressionTypeZlib	1.0.0
@filesystems.apfs	1412.81.1
>AirPort.BrcmNIC	1400.1.1
>!AAHCIPort	341.0.2
>!ARTC	2.0
>!AACPIButtons	6.1
>!AHPET	1.8
>!ASMBIOS	2.1
>!AAPIC	1.7
$!AImage4	1
@nke.applicationfirewall	303
$TMSafetyNet	8
@!ASystemPolicy	2.0.0
|EndpointSecurity	1
>!AHIDKeyboard	209
>!AMultitouchDriver	3430.1
>!AInputDeviceSupport	3430.1
>!AHS!BDriver	3430.1
>IO!BHIDDriver	7.0.3f5
>!ASMBus!C	1.0.18d1
|IOSMBus!F	1.1
@kext.triggers	1.0
>DspFuncLib	283.15
@kext.OSvKernDSPLib	529
@kext.AMDRadeonX4000HWLibs	1.0
@kext.AMDRadeonX4000HWServices	3.0.5
|IOAVB!F	800.17
>!ASSE	1.0
@!AGPUWrangler	4.7.2
|IOSlowAdaptiveClocking!F	1.0.0
>!A16X50Serial	3.2
>!AHDA!C	283.15
|IOHDA!F	283.15
>X86PlatformPlugin	1.0.0
>IOPlatformPlugin!F	6.0.0d8
|Broadcom!BHost!CUSBTransport	7.0.3f5
|IO!BHost!CUSBTransport	7.0.3f5
|IO!BHost!CTransport	7.0.3f5
|IO!B!F	7.0.3f5
|IO!BPacketLogger	7.0.3f5
@kext.AMDSupport	3.0.5
@!AGraphicsDeviceControl	4.7.2
|IOAccelerator!F2	438.3.1
|IONDRVSupport	569.4
|IOGraphics!F	569.4
@plugin.IOgPTPPlugin	810.1
|IOEthernetAVB!C	1.1.0
>!UAudio	320.49
>usb.networking	5.0.0
>usb.!UHostCompositeDevice	1.2
>usb.!UHub	1.2
|IOAudio!F	300.2
@vecLib.kext	1.2.0
|IOSerial!F	11
|IOSurface	269.6
@filesystems.hfs.encodings.kext	1
|IOAHCIBlock!S	316.80.1
|IOUSB!F	900.4.2
|IO80211!F	1200.12.2b1
>mDNSOffloadUserClient	1.0.1b8
>corecapture	1.0.4
|IOSkywalk!F	1
>!AEFINVRAM	2.1
|IOAHCI!F	290.0.1
>usb.!UXHCIPCI	1.2
>usb.!UXHCI	1.2
>!AEFIRuntime	2.1
|IOHID!F	2.0.0
$quarantine	4
$sandbox	300.0
@kext.!AMatch	1.0.0d1
>DiskImages	493.0.0
>!AFDEKeyStore	28.30
>!AEffaceable!S	1.0
>!AKeyStore	2
>!UTDM	489.80.2
|IOSCSIBlockCommandsDevice	422.0.2
>!ACredentialManager	1.0
>KernelRelayHost	1
>!ASEPManager	1.0.1
>IOSlaveProcessor	1
|IOUSBMass!SDriver	157.40.7
|IOSCSIArchitectureModel!F	422.0.2
|IO!S!F	2.1
|IOUSBHost!F	1.2
>!UHostMergeProperties	1.2
>usb.!UCommon	1.0
>!ABusPower!C	1.0
|CoreAnalytics!F	1
>!AMobileFileIntegrity	1.0.5
@kext.CoreTrust	1
|IOTimeSync!F	810.1
|IONetworking!F	3.4
|IOReport!F	47
>!AACPIPlatform	6.1
>!ASMC	3.1.9
>watchdog	1
|IOPCI!F	2.9
|IOACPI!F	1.4
@kec.pthread	1
@kec.corecrypto	1.0
@kec.Libm	1

 

config.plist

Link to comment
Share on other sites

Hi all, I can't play the bootchime at startup, I read the documentation, however I can't understand if the card is not supported by AudioDxe or whatever it is.

I'm sorry if this question was already answered, at p. 133 of this thread there's a similar opencore log, but I didn't understand the reply, if it was solved amd how.

The error is:

07:488 00:009 OCAU: Cannot find specified audio device - Not Found
07:497 00:008 OC: Audio connection failed - Not Found

 

Here are some info:

 

Opencore boot log (relevant part):

07:210 00:009 OCAU: System volume is 69 (calculated from 69) - Success
07:220 00:009 OCAU: Matching PciRoot(0x1)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)...
07:230 00:009 HdaCodecAudioIoGetOutputs(): start
07:239 00:009 HdaCodecGetSupportedPcmRates(): start
07:248 00:009 HdaCodecGetOutputDac(): start
07:258 00:009 HdaCodecGetSupportedPcmRates(): start
07:267 00:009 HdaCodecGetOutputDac(): start
07:276 00:008 HdaCodecGetSupportedPcmRates(): start
07:285 00:009 HdaCodecGetOutputDac(): start
07:295 00:009 HdaCodecGetSupportedPcmRates(): start
07:304 00:009 HdaCodecGetOutputDac(): start
07:313 00:009 OCAU: 1/2 PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (4 outputs) - Success
07:323 00:009 HdaCodecAudioIoGetOutputs(): start
07:333 00:009 HdaCodecGetSupportedPcmRates(): start
07:342 00:009 HdaCodecGetOutputDac(): start
07:351 00:009 HdaCodecGetSupportedPcmRates(): start
07:361 00:009 HdaCodecGetOutputDac(): start
07:370 00:009 HdaCodecGetSupportedPcmRates(): start
07:379 00:009 HdaCodecGetOutputDac(): start
07:389 00:009 HdaCodecGetSupportedPcmRates(): start
07:398 00:009 HdaCodecGetOutputDac(): start
07:408 00:009 HdaCodecGetSupportedPcmRates(): start
07:416 00:008 HdaCodecGetOutputDac(): start
07:425 00:008 HdaCodecGetSupportedPcmRates(): start
07:434 00:008 HdaCodecGetOutputDac(): start
07:442 00:008 HdaCodecGetSupportedPcmRates(): start
07:469 00:026 HdaCodecGetOutputDac(): start
07:479 00:010 OCAU: 2/2 PciRoot(0x0)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (7 outputs) - Success
07:488 00:009 OCAU: Cannot find specified audio device - Not Found
07:497 00:008 OC: Audio connection failed - Not Found

 

Config.plist (relevant part):

	<key>UEFI</key>
	<dict>
		<key>ConnectDrivers</key>
		<true/>
		<key>Drivers</key>
		<array>
			<string>apfs.efi</string>
			<string>HFSPlus.efi</string>
			<string>FwRuntimeServices.efi</string>
			<string>AppleUsbKbDxe.efi</string>
			<string>AudioDxe.efi</string>
		</array>
		<key>Audio</key>
		<dict>
			<key>AudioSupport</key>
			<true/>
			<key>AudioDevice</key>
			<string>PciRoot(0x1)/Pci(0x2,0x0)</string>
			<key>AudioCodec</key>
			<integer>0</integer>
			<key>AudioOut</key>
			<integer>0</integer>
			<key>MinimumVolume</key>
			<integer>0</integer>
			<key>PlayChime</key>
			<true/>
			<key>VolumeAmplifier</key>
			<integer>0</integer>
		</dict>

 

AudioCodec should be right according to the documentation and to IoRegistry Explorer.

I also tried 1 and 2 for AudioOut without success, don't know if I keep trying changing the AudioOut or not.

OCEFIAudio_VoiceOver_Boot.wav (16 bit, 44100 kHz) is in EFI/OC/Resources/Audio folder.

I have a nvidia gpu with hdmi output (HDAU) and a pci audio card (HDEF), and I'm trying to have the audio at startup at the pci card since hdmi is not supported.

The pci audio pci card (Realtek ALC899) accordingly to gfxutil is at PciRoot(0x1)/Pci(0x2,0x0)

Note also that this audio card work very good with AppleALC.

02:569 00:009 HdaControllerGetName(): start
02:578 00:008 HdaControllerGetName(): controller is Intel X79/C600 Series HD Audio Controller
02:587 00:009 HdaControllerReset(): start
02:696 00:109 HdaControllerReset(): done
02:706 00:010 HdaControllerInstallProtocols(): start
02:716 00:010 HdaControllerInitCorb(): start
02:726 00:009 HdaControllerSetCorb(): start
02:735 00:008 HDA controller CORB allocated @ 0x7ECC0000 (0x7ECC0000) (256 entries)
02:743 00:008 HdaControllerInitRirb(): start
02:752 00:008 HdaControllerSetRirb(): start
02:761 00:009 HDA controller RIRB allocated @ 0x7ECBF000 (0x7ECBF000) (256 entries)
02:770 00:009 HdaControllerSetCorb(): start
02:779 00:008 HdaControllerSetRirb(): start
02:788 00:009 HdaControllerInitStreams(): start
02:797 00:009 HdaControllerInitStreams(): in offset 0, out offset 4
02:806 00:008 HdaControllerSetStream(0, 0): start
02:815 00:009 HdaControllerSetStream(1, 0): start
02:825 00:009 HdaControllerSetStream(2, 0): start
02:834 00:009 HdaControllerSetStream(3, 0): start
02:843 00:009 HdaControllerSetStream(4, 0): start
02:852 00:009 HdaControllerSetStream(5, 0): start
02:861 00:009 HdaControllerSetStream(6, 0): start
02:870 00:009 HdaControllerSetStream(7, 0): start
02:879 00:009 HdaControllerScanCodecs(): start
02:888 00:008 HdaControllerScanCodecs(): found codec @ 0x0
02:902 00:014 Assigning output stream 0 to codec
02:912 00:009 Assigning input stream 0 to codec
02:922 00:010 HdaControllerDriverBindingStart(): done
02:932 00:009 HdaCodecDriverBindingSupported(): attaching to codec 0x0
02:941 00:009 HdaCodecDriverBindingStart(): start
02:955 00:014 Codec ID: 0x10EC:0x899
02:969 00:014 Codec name: Realtek ALC899
02:983 00:014 Codec contains 1 function groups, start @ 0x1, end @ 0x1
02:998 00:014 Function group @ 0x1 is of type 0x1
03:047 00:049 Function group @ 0x1 contains 37 widgets, start @ 0x2, end @ 0x26
03:062 00:014 HdaCodecProbeFuncGroup(): probing widgets
05:419 02:357 HdaCodecProbeFuncGroup(): probing widget connections
05:429 00:010 Port widget @ 0x11 is an output (pin defaults 0x99430130)
05:439 00:010  Widget @ 0x10 (type 0x0)
05:454 00:014 Port widget @ 0x14 is an output (pin defaults 0x1114010)
05:464 00:010  Widget @ 0xC (type 0x2)
05:475 00:010  Widget @ 0x2 (type 0x0)
05:499 00:024 Port widget @ 0x15 is an output (pin defaults 0x1011020)
05:509 00:009  Widget @ 0xC (type 0x2)
05:519 00:009  Widget @ 0x2 (type 0x0)
05:539 00:019 Port widget @ 0x16 is an output (pin defaults 0x1016030)
05:548 00:009  Widget @ 0xC (type 0x2)
05:559 00:010  Widget @ 0x2 (type 0x0)
05:579 00:019 Port widget @ 0x17 is an output (pin defaults 0x1012040)
05:589 00:010  Widget @ 0xC (type 0x2)
05:599 00:010  Widget @ 0x2 (type 0x0)
05:619 00:020 Port widget @ 0x1B is an output (pin defaults 0x2214080)
05:630 00:010  Widget @ 0xC (type 0x2)
05:641 00:010  Widget @ 0x2 (type 0x0)
05:666 00:025 Port widget @ 0x1E is an output (pin defaults 0x1456090)
05:676 00:009  Widget @ 0x6 (type 0x0)
06:691 01:015 HdaCodecInstallProtocols(): start

Thanks to whoever will point me in the right direction.

 

EDIT: I'm running latest Catalina with latest (as of today) version of opencore development (github); Catalina runs in a virtualized environment (qemu) with gpu and audio cards passed through.

Edited by ghost8282
Link to comment
Share on other sites

I am in the process of updating from 0.5.5 to 0.5.6.  I only use the release version from github.  OpenCore-0.5.6-RELEASE does not contain BOOTX64.EFI.  Is this not required anymore?

Link to comment
Share on other sites

4 minutes ago, kjp4756 said:

I am in the process of updating from 0.5.5 to 0.5.6.  I only use the release version from github.  OpenCore-0.5.6-RELEASE does not contain BOOTX64.EFI.  Is this not required anymore?

1302932582_ScreenShot2020-03-02at19_27_21.png.f0d3da5bce06158e2e2ffdd6a54b05c0.png

  • Like 2
Link to comment
Share on other sites

13 minutes ago, HmO said:

1302932582_ScreenShot2020-03-02at19_27_21.png.f0d3da5bce06158e2e2ffdd6a54b05c0.png

Hmm thanks.  I re-downloaded it and now BOOT and Docs are there.

 

EDIT: I see what happened now.  I think there's a bug in "Archive Utility".  I download release zips for everything (opencore, WEG, lilu, etc).  I select all of the zips, right click, chose open with "Archive Utility".  All of the zips extract at once but Docs and BOOT are not extracted from the opencore zip.  If I use "The Unarchiver" instead, everything is fine.

Edited by kjp4756
  • Like 1
Link to comment
Share on other sites

I normally using Resolution 'Max'. I want to try a different resolution and set it to 2560x1440@32. But it still shows as a Max on Boot. Am I doing something wrong?

 

Edit: Sorry guys I thought resolution also affects the Boot screen. But it didn't.

 

1850840247_ScreenShot2020-03-02at20_48_43.thumb.png.af2a32df7aadda38bc5ada712f09861f.png

Edited by telepati
Link to comment
Share on other sites

2 hours ago, ghost8282 said:

Hi all, I can't play the bootchime at startup, I read the documentation, however I can't understand if the card is not supported by AudioDxe or whatever it is.

I'm sorry if this question was already answered, at p. 133 of this thread there's a similar opencore log, but I didn't understand the reply, if it was solved amd how.

The error is:

07:488 00:009 OCAU: Cannot find specified audio device - Not Found
07:497 00:008 OC: Audio connection failed - Not Found

 

Here are some info:

 

Opencore boot log (relevant part):


07:210 00:009 OCAU: System volume is 69 (calculated from 69) - Success
07:220 00:009 OCAU: Matching PciRoot(0x1)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)...
07:230 00:009 HdaCodecAudioIoGetOutputs(): start
07:239 00:009 HdaCodecGetSupportedPcmRates(): start
07:248 00:009 HdaCodecGetOutputDac(): start
07:258 00:009 HdaCodecGetSupportedPcmRates(): start
07:267 00:009 HdaCodecGetOutputDac(): start
07:276 00:008 HdaCodecGetSupportedPcmRates(): start
07:285 00:009 HdaCodecGetOutputDac(): start
07:295 00:009 HdaCodecGetSupportedPcmRates(): start
07:304 00:009 HdaCodecGetOutputDac(): start
07:313 00:009 OCAU: 1/2 PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (4 outputs) - Success
07:323 00:009 HdaCodecAudioIoGetOutputs(): start
07:333 00:009 HdaCodecGetSupportedPcmRates(): start
07:342 00:009 HdaCodecGetOutputDac(): start
07:351 00:009 HdaCodecGetSupportedPcmRates(): start
07:361 00:009 HdaCodecGetOutputDac(): start
07:370 00:009 HdaCodecGetSupportedPcmRates(): start
07:379 00:009 HdaCodecGetOutputDac(): start
07:389 00:009 HdaCodecGetSupportedPcmRates(): start
07:398 00:009 HdaCodecGetOutputDac(): start
07:408 00:009 HdaCodecGetSupportedPcmRates(): start
07:416 00:008 HdaCodecGetOutputDac(): start
07:425 00:008 HdaCodecGetSupportedPcmRates(): start
07:434 00:008 HdaCodecGetOutputDac(): start
07:442 00:008 HdaCodecGetSupportedPcmRates(): start
07:469 00:026 HdaCodecGetOutputDac(): start
07:479 00:010 OCAU: 2/2 PciRoot(0x0)/Pci(0x2,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000) (7 outputs) - Success
07:488 00:009 OCAU: Cannot find specified audio device - Not Found
07:497 00:008 OC: Audio connection failed - Not Found

 

Config.plist (relevant part):


	<key>UEFI</key>
	<dict>
		<key>ConnectDrivers</key>
		<true/>
		<key>Drivers</key>
		<array>
			<string>apfs.efi</string>
			<string>HFSPlus.efi</string>
			<string>FwRuntimeServices.efi</string>
			<string>AppleUsbKbDxe.efi</string>
			<string>AudioDxe.efi</string>
		</array>
		<key>Audio</key>
		<dict>
			<key>AudioSupport</key>
			<true/>
			<key>AudioDevice</key>
			<string>PciRoot(0x1)/Pci(0x2,0x0)</string>
			<key>AudioCodec</key>
			<integer>0</integer>
			<key>AudioOut</key>
			<integer>0</integer>
			<key>MinimumVolume</key>
			<integer>0</integer>
			<key>PlayChime</key>
			<true/>
			<key>VolumeAmplifier</key>
			<integer>0</integer>
		</dict>

 

AudioCodec should be right according to the documentation and to IoRegistry Explorer.

I also tried 1 and 2 for AudioOut without success, don't know if I keep trying changing the AudioOut or not.

OCEFIAudio_VoiceOver_Boot.wav (16 bit, 44100 kHz) is in EFI/OC/Resources/Audio folder.

I have a nvidia gpu with hdmi output (HDAU) and a pci audio card (HDEF), and I'm trying to have the audio at startup at the pci card since hdmi is not supported.

The pci audio pci card (Realtek ALC899) accordingly to gfxutil is at PciRoot(0x1)/Pci(0x2,0x0)

Note also that this audio card work very good with AppleALC.


02:569 00:009 HdaControllerGetName(): start
02:578 00:008 HdaControllerGetName(): controller is Intel X79/C600 Series HD Audio Controller
02:587 00:009 HdaControllerReset(): start
02:696 00:109 HdaControllerReset(): done
02:706 00:010 HdaControllerInstallProtocols(): start
02:716 00:010 HdaControllerInitCorb(): start
02:726 00:009 HdaControllerSetCorb(): start
02:735 00:008 HDA controller CORB allocated @ 0x7ECC0000 (0x7ECC0000) (256 entries)
02:743 00:008 HdaControllerInitRirb(): start
02:752 00:008 HdaControllerSetRirb(): start
02:761 00:009 HDA controller RIRB allocated @ 0x7ECBF000 (0x7ECBF000) (256 entries)
02:770 00:009 HdaControllerSetCorb(): start
02:779 00:008 HdaControllerSetRirb(): start
02:788 00:009 HdaControllerInitStreams(): start
02:797 00:009 HdaControllerInitStreams(): in offset 0, out offset 4
02:806 00:008 HdaControllerSetStream(0, 0): start
02:815 00:009 HdaControllerSetStream(1, 0): start
02:825 00:009 HdaControllerSetStream(2, 0): start
02:834 00:009 HdaControllerSetStream(3, 0): start
02:843 00:009 HdaControllerSetStream(4, 0): start
02:852 00:009 HdaControllerSetStream(5, 0): start
02:861 00:009 HdaControllerSetStream(6, 0): start
02:870 00:009 HdaControllerSetStream(7, 0): start
02:879 00:009 HdaControllerScanCodecs(): start
02:888 00:008 HdaControllerScanCodecs(): found codec @ 0x0
02:902 00:014 Assigning output stream 0 to codec
02:912 00:009 Assigning input stream 0 to codec
02:922 00:010 HdaControllerDriverBindingStart(): done
02:932 00:009 HdaCodecDriverBindingSupported(): attaching to codec 0x0
02:941 00:009 HdaCodecDriverBindingStart(): start
02:955 00:014 Codec ID: 0x10EC:0x899
02:969 00:014 Codec name: Realtek ALC899
02:983 00:014 Codec contains 1 function groups, start @ 0x1, end @ 0x1
02:998 00:014 Function group @ 0x1 is of type 0x1
03:047 00:049 Function group @ 0x1 contains 37 widgets, start @ 0x2, end @ 0x26
03:062 00:014 HdaCodecProbeFuncGroup(): probing widgets
05:419 02:357 HdaCodecProbeFuncGroup(): probing widget connections
05:429 00:010 Port widget @ 0x11 is an output (pin defaults 0x99430130)
05:439 00:010  Widget @ 0x10 (type 0x0)
05:454 00:014 Port widget @ 0x14 is an output (pin defaults 0x1114010)
05:464 00:010  Widget @ 0xC (type 0x2)
05:475 00:010  Widget @ 0x2 (type 0x0)
05:499 00:024 Port widget @ 0x15 is an output (pin defaults 0x1011020)
05:509 00:009  Widget @ 0xC (type 0x2)
05:519 00:009  Widget @ 0x2 (type 0x0)
05:539 00:019 Port widget @ 0x16 is an output (pin defaults 0x1016030)
05:548 00:009  Widget @ 0xC (type 0x2)
05:559 00:010  Widget @ 0x2 (type 0x0)
05:579 00:019 Port widget @ 0x17 is an output (pin defaults 0x1012040)
05:589 00:010  Widget @ 0xC (type 0x2)
05:599 00:010  Widget @ 0x2 (type 0x0)
05:619 00:020 Port widget @ 0x1B is an output (pin defaults 0x2214080)
05:630 00:010  Widget @ 0xC (type 0x2)
05:641 00:010  Widget @ 0x2 (type 0x0)
05:666 00:025 Port widget @ 0x1E is an output (pin defaults 0x1456090)
05:676 00:009  Widget @ 0x6 (type 0x0)
06:691 01:015 HdaCodecInstallProtocols(): start

Thanks to whoever will point me in the right direction.



What??? I have never seen audio device (HDEF) path with "PciRoot(0x0)/Pci(0x2,0x0)" for Intel chipset. Intel Chipset before SkyLake is "PciRoot(0x0)/Pci(0x1B,0x0)" and for skylake and above are "PciRoot(0x0)/Pci(0x1F,0x3)"

Edited by Andres ZeroCross
Link to comment
Share on other sites

×
×
  • Create New...