Skip to content
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

Cumulative AudioDxe issue #740

Open
4 of 10 tasks
vit9696 opened this issue Feb 26, 2020 · 103 comments
Open
4 of 10 tasks

Cumulative AudioDxe issue #740

vit9696 opened this issue Feb 26, 2020 · 103 comments
Assignees
Labels

Comments

@vit9696
Copy link
Contributor

vit9696 commented Feb 26, 2020

This issue is for discussing progress on the work items listed below - unless discussing these specifically, please open a new issue.

Currently there are several issues in AudioDxe, which we most likely want to resolve some time.

  • Currently most cards physically support 16-bit signed 44100 Hz or 48000 Hz audio streams. However, for audio speech these formats are usually an overkill, as most files are 8-bit unsigned 22000 Hz or 24000 Hz. These formats generally are not natively supported, so AudoDxe silently refuses to play these files. I believe we need to be able to upsample them in the fly the way AppleHda.efi does.
  • Currently we only support uncompressed PCM data and can only use .wav containers in particular. This takes a lot of disk space and may affect disk i/o when AudioDxe becomes more performant. I believe we need to support ADPCM QuickTime format in CAF containers, just like AppleHda.
  • Calling PlaySound or its async version generally takes for 1-3 seconds for unknown reasons. This is quite undesired for e.g. BeepGen protocol implementation, which produces much slower sequences of beeps (e.g. 3/200/150 beep after the successful login in FV2). It also makes password input in FV2 feel sluggish, as every entered character also adds a beep via VO protocol. I believe we should try to improve performance at the very least.
  • I initially wanted to implement BeepGen protocol as a looped call to PlaySound. However, once again, due to its lags it is not possible. Perhaps, even if we do not immediately resolve audio lags, we can at least have a separate interface for looped audio, as currently I have to allocate a buffer equal to sound length, which is dangerous and costly.
  • Mono audio produces longer delays than stereo audio between calling PlaySound and actual sound playback compared to stereo audio. I believe it needs to be investigated at the very least as this feels illogical.
  • Mono audio only plays on the left channel. This is definitely not right, as mono audio should be streamed to both channels.
  • Audio codecs on virtual machines do not work or have issues. VMware audio codec is not detected and I remember that QEMU audio codec also has issues. I am also not positive that AMD works fine or not. I believe we want to support VMware HDA at the very least for testing purposes.
    • Support is now improved: initial boot chime plays correctly on both QEMU and VMware; however both systems have issues (namely badly dropped and choppy sound) when playing sequences of samples, such as when using picker audio assist.
  • Setting up audio parameters, such as frequency or channel number, can cache values and be no-op most of the time. Currently it does not, which may add unnecessary delays during audio startup. I believe we need to agree on who handles caching. I am fine with both routes: AudioDxe and OC, but they need to be agreed upon.
  • AudioDxe driver connection takes a lot of time. This is probably the biggest problem even taking playback lags into account. I believe we should invent a way to make it less bad, as boot time is very critical for OpenCore.
    • Some improvement achieved via acidanthera/OpenCorePkg@e7ad34e but more still required for slower machines and/or more complex sound card layouts
    • The --force-codec (0.9.3) and --force-device (0.8.3) options to AudioDxe also improve boot times
  • Some users (not all) have crackles, pops or even 'booms' at sound card startup using AudioDxe. This means we need to re-order enabling amps and output channels at startup (most likely via an additional option, as there is unlikely to be a one size fits all approach).

There also are code cleanup issues, but this can be handled separately, as cleaning up AudioDxe and putting it to OcSupportPkg is pretty much a dedicated issue.

CC @Goldfish64, @Download-Fritz, @Andrey1970AppleLife

@Pavo-IM
Copy link

Pavo-IM commented Feb 29, 2020

I am also not positive that AMD works fine or not.
AMD somewhat works, the boot chime sound starts and sounds crystal clear but then stops about 1/3 of the length of it should be before the Apple logo shows.

@vit9696
Copy link
Contributor Author

vit9696 commented Feb 29, 2020

Added basic VMware support in master. It seems there are some issues:

  • Sound starts and plays properly for a short period of time, then it gets heavily distorted.
  • It does not seem like we can wait for sound completion, as sounds are interrupted soon after starting.

@MacNB
Copy link

MacNB commented Apr 21, 2020

Repetitive boot chime.
Chime-Recording.m4a.zip
I mentioned a problem with OC Boot Chime a while back here (that was on 5th March 2020 so cannot remember which OC version I used).
With the nightly build a day ago, OC 0.5.8 still has the problem of repetitive chime.

Let me know how I can help to debug the issue.
This is on a real system (Z77 chipset with i7-3770K) and not a VM.

@suhrmann
Copy link

suhrmann commented Jul 20, 2020

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?

Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K

From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

@chadify
Copy link

chadify commented Nov 22, 2020

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?

Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K

From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

I've got the same issue.

@lordofpc734
Copy link

lordofpc734 commented Nov 27, 2020

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?

Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K

From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

Got the same issue here. here is the OC 0.6.3 DEBUG log file.
opencore-2020-11-27-150856.txt
So I researched a bit, and vit recommended a user with similar issue to see if the audio device path is something else in the firmware. I assume they used the UEFI Shell to check this
in macOS, the audio device path is PciRoot(0x0)/Pci(0x1f,0x3)
I ran the devices command in the shell, I looked for that device path I mentioned above. found it. and recorded its Identifier (1C0). I randh -v 1C0 it returned the device ID and Vendor ID. along with some other information
https://cdn.discordapp.com/attachments/400050916411047937/781914411685249034/20201127_192401.jpg
I rebooted to macOS, started DPCImanager, and was able to match the Vendor id and Device ID. so, I assume its safe to say that the paths are the same in the OS, and firmware. however, I'm a novice. I could be wrong
https://cdn.discordapp.com/attachments/400050916411047937/781914547702202378/unknown.png
at this point I'm not sure what else I'm supposed to do. perhaps my device is simply not compatible?

@Toolybird
Copy link

(just putting this on record)

AudioDxe crashes QEMU/KVM

Looking into getting emulated audio working via AppleALC for QEMU/KVM macOS guests under Linux.

The new audio codec dump functionality for SysReport seems interesting. Unfortunately it results in some kind of QEMU crash:

QEMU 5.2.0 monitor - type 'help' for more information
(qemu) KVM internal error. Suberror: 1
emulation failure
RAX=0000000000000000 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000
RSI=0000000000000000 RDI=000000007e32ada8 RBP=000000007fee7110 RSP=000000007fee7088
R8 =0000000000000000 R9 =0000000000000080 R10=000000007e339078 R11=0000000000000000
R12=000000007eeae028 R13=0000000000000000 R14=0000000000000000 R15=000000007fee70e7
RIP=00000000000b0000 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0038 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0030 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy
GDT=     000000007f9ee698 00000047
IDT=     000000007f27a018 00000fff
CR0=80010033 CR2=0000000000000000 CR3=000000007fc01000 CR4=00000668
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d00
Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f
f ff ff ff

Interested in your thoughts on where the problem lies, ie: OC, QEMU, Linux Kernel etc. Please note it still hangs (without the above "emulation failure" message) if using TCG instead of KVM.

To reproduce, fire up a q35 UEFI guest via a modern QEMU. Add emulated audio with something similar to this:

-device ich9-intel-hda,bus=pcie.0,addr=0x1b
-device hda-micro,audiodev=hda
-audiodev pa,id=hda,server=/run/user/1000/pulse/native

then boot OC with AudioDxe.efi active.

Attached is:

  • OC Debug log
  • Linux audio code dump

Thanks

opencore-2021-01-28-204056.txt
linux-codec-dump.txt

@antoniomcr96
Copy link

Good morning @vit9696, I don't know if you are already aware of this problem, but I didn't find anything in the issues.
AudioDxe.efi breaks windows audio. It is reported also by other users (https://www.insanelymac.com/forum/topic/345996-opencores-boot-chime-breaks-windowss-sound/ ; https://www.reddit.com/r/hackintosh/comments/kaafjc/help_windows_audio_not_working_when_booting/ ). The problem has never been "officially" discussed.

I like the chime, but It blocks the audio device on windows. Is there anything that can be done?

@Enigmahack
Copy link

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?

Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K

From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?
Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K
From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

Got the same issue here. here is the OC 0.6.3 DEBUG log file.
opencore-2020-11-27-150856.txt
So I researched a bit, and vit recommended a user with similar issue to see if the audio device path is something else in the firmware. I assume they used the UEFI Shell to check this
in macOS, the audio device path is PciRoot(0x0)/Pci(0x1f,0x3)
I ran the devices command in the shell, I looked for that device path I mentioned above. found it. and recorded its Identifier (1C0). I randh -v 1C0 it returned the device ID and Vendor ID. along with some other information
https://cdn.discordapp.com/attachments/400050916411047937/781914411685249034/20201127_192401.jpg
I rebooted to macOS, started DPCImanager, and was able to match the Vendor id and Device ID. so, I assume its safe to say that the paths are the same in the OS, and firmware. however, I'm a novice. I could be wrong
https://cdn.discordapp.com/attachments/400050916411047937/781914547702202378/unknown.png
at this point I'm not sure what else I'm supposed to do. perhaps my device is simply not compatible?

I'm using a Skylake-based Toshiba Tecra Z50-C with the exact same issue, exact same audio device path, and exact same audioDxe problem - it simply can't find the device at all so no audio is being played at boot.

I'm including my debug files as well. This is running with OC 0.7.3, and everything is up-to-date. Audio works perfectly in macOS, just not when trying to use the audio device PciRoot(0x0)/Pci(0x1f,0x3)

Perhaps worth investigating.
opencore-2021-09-18-195536.txt

@mikebeaton
Copy link
Contributor

@Toolybird - Crash in QEMU should be fixed by acidanthera/OpenCorePkg@706cb4e

@mikebeaton
Copy link
Contributor

Good morning @vit9696, I don't know if you are already aware of this problem, but I didn't find anything in the issues. AudioDxe.efi breaks windows audio. It is reported also by other users (https://www.insanelymac.com/forum/topic/345996-opencores-boot-chime-breaks-windowss-sound/ ; https://www.reddit.com/r/hackintosh/comments/kaafjc/help_windows_audio_not_working_when_booting/ ). The problem has never been "officially" discussed.

I like the chime, but It blocks the audio device on windows. Is there anything that can be done?

@antoniomcr96 - Are you able to confirm whether the new commit makes any difference on this issue?

@antoniomcr96
Copy link

With latest commit ( acidanthera/OpenCorePkg@70196d0 )
Chime is played when windows boots. However, windows doesn't recognize any audio device after boot. So, the driver keeps breaking audio on windows.
Thanks for your consideration, I'm available for further debugging.

@13thdemarch
Copy link

13thdemarch commented Dec 20, 2021

Good morning @vit9696, I don't know if you are already aware of this problem, but I didn't find anything in the issues. AudioDxe.efi breaks windows audio. It is reported also by other users (https://www.insanelymac.com/forum/topic/345996-opencores-boot-chime-breaks-windowss-sound/ ; https://www.reddit.com/r/hackintosh/comments/kaafjc/help_windows_audio_not_working_when_booting/ ). The problem has never been "officially" discussed.
I like the chime, but It blocks the audio device on windows. Is there anything that can be done?

@antoniomcr96 - Are you able to confirm whether the new commit makes any difference on this issue?

Hi mikebeaton, I'm the author of that post on Insanelymac about AudioDxe a year ago.
I confirm that with latest commit of OCPkg about AudioDxe, it still breaks audio device on Windows after booting.
My spec is Dell G7 7588 Gaming Laptop, ALC256

@mikebeaton
Copy link
Contributor

mikebeaton commented Dec 20, 2021

I'm happy to try to investigate further. Please can you post OC debug log, when booting to Windows, and config.plist of affected system. (Just to confirm, it definitely doesn't produce any such problems when booting to Windows on test machines I have available.)

@13thdemarch
Copy link

I'm happy to try to investigate further. Please can you post OC debug log, when booting to Windows, and config.plist of affected system. (Just to confirm, if definitely doesn't produce any such problems when booting to Windows on test machines I have available.)

ok sure np, I will post after I'm back home from work.

@antoniomcr96
Copy link

windows boot logs with debug build
opencore-yogal390-windows.txt
config.plist.txt

@13thdemarch
Copy link

13thdemarch commented Dec 20, 2021

I'm happy to try to investigate further. Please can you post OC debug log, when booting to Windows, and config.plist of affected system. (Just to confirm, if definitely doesn't produce any such problems when booting to Windows on test machines I have available.)

ok sure np, I will post after I'm back home from work.

opencore-Dell-G7-7588-Windows-boot-log.txt
config.plist.txt

Here is my files. Sorry for late.
Edit: I have just re-uploaded new log files, the old have some issues

@mikebeaton
Copy link
Contributor

@aksm-unmei @antoniomcr96 Can you check whether this change acidanthera/OpenCorePkg@5b58dc1 makes any difference to the Windows audio issue. Build artefacts are here: https://github.com/acidanthera/OpenCorePkg/suites/4724043814/artifacts/130006681

@13thdemarch
Copy link

13thdemarch commented Dec 21, 2021

@aksm-unmei @antoniomcr96 Can you check whether this change acidanthera/OpenCorePkg@5b58dc1 makes any difference to the Windows audio issue. Build artefacts are here: https://github.com/acidanthera/OpenCorePkg/suites/4724043814/artifacts/130006681

Hi mikebeaton, thank you for your reply and work.
I have just tried that artifact and seems like nothing changed.
Here is the new log:
opencore-Dell-G7-7588-commit-5b58dc1.txt

image

Edit: Also I realized that when booting into Windows, the loading icon is spinning longer than usual. Usually there are 2 spinning rotations, but with AudioDxe, it takes 4 times.

@mikebeaton
Copy link
Contributor

I think the longer delay might just be with the change I tried. Can you confirm whether the current version (not in the test branch you just tried for me) also has the longer delay. Thank you for the additional Windows error.

@mikebeaton
Copy link
Contributor

mikebeaton commented Jan 13, 2022

No need to remove AppleALC. Set MaximumGain to zero.

I believe this is pretty clearly spelt out in the docs: MaximumGain is the "Maximum gain to use for UEFI audio, specified in decibels", and "On most Intel HDA hardware the reference level of 0 dB is the loudest volume of the hardware". Therefore, if you want the loudest volume of UEFI sound to be maximum, increase MaxiumumGain from its default of -15 (dB) up to maximum volume, 0 (dB).

But I would like to know that it all works on some more systems, since these are new changes, so if you like please try this and let me know what you get.

@gnpaone
Copy link

gnpaone commented Jan 14, 2022

No need to remove AppleALC. Set MaximumGain to zero.

I believe this is pretty clearly spelt out in the docs: MaximumGain is the "Maximum gain to use for UEFI audio, specified in decibels", and "On most Intel HDA hardware the reference level of 0 dB is the loudest volume of the hardware". Therefore, if you want the loudest volume of UEFI sound to be maximum, increase MaxiumumGain from its default of -15 (dB) up to maximum volume, 0 (dB).

But I would like to know that it all works on some more systems, since these are new changes, so if you like please try this and let me know what you get.

Changing MaximumGain from -15 to 0, MinimumAudibleGain from -55 to -128 from my above values does work, it does replicate the OS sound level, changing OS Sound level does change the Boot Chime volume, but more clarification can be added in the documentation with examples, like:
MaximumGain = 0 replicates exact maximum volume level present in the OS; = -15 is maximum volume of OS minus 15 dB
MinimumAudibleGain : Minimum volume, = -128 is exact minimum volume of OS; = -55 caps the minimum volume at 55 dB less than maximum volume
MinimumAssistGain : It mutes all the sound of the sound notes less than specified level, for example setting it -30 (& OS volume at 70%) mutes all the sound if the voice goes below 70% OS volume level - 30 dB, so those notes doesn't sound at all, u can observe this in the below audio recording where starting low notes doesn't sound in pre-boot (first time in recording), but those notes sound in apple default player (second time in recording) (as well as tested in VLC media player too - same result - not present in recording)
14 Jan, 12.00 pm​.zip

Thanks for the work 😁, it now replicates original mac 😉

@Gankosakae
Copy link

I upgraded OC to 0.7.7 and AppleALC.kext seems loaded properly.
But,it is no sound in-OS.
When I turn AudioDxe back to OC 0.7.6's,audio in-OS is worked.
So,I thought it should have something wrong with AudioDxe.
After some try and error,I found build 52f0d2c AudioDxe's audio in-OS still worked.
But,audio in-OS broken from build 4f214ab.
Comment in build 4f214ab seems to fix Windows audio in-OS.

My desktop is ASUS P5G41T-M LX mainboard with ALC887.
And OS is OS X El Capitan 10.11.6.

Thanks a lot if anyone can help.

@Horevicht
Copy link

Horevicht commented Jul 6, 2022

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?
Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K
From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

Got the same issue here. here is the OC 0.6.3 DEBUG log file. opencore-2020-11-27-150856.txt So I researched a bit, and vit recommended a user with similar issue to see if the audio device path is something else in the firmware. I assume they used the UEFI Shell to check this in macOS, the audio device path is PciRoot(0x0)/Pci(0x1f,0x3) I ran the devices command in the shell, I looked for that device path I mentioned above. found it. and recorded its Identifier (1C0). I randh -v 1C0 it returned the device ID and Vendor ID. along with some other information https://cdn.discordapp.com/attachments/400050916411047937/781914411685249034/20201127_192401.jpg I rebooted to macOS, started DPCImanager, and was able to match the Vendor id and Device ID. so, I assume its safe to say that the paths are the same in the OS, and firmware. however, I'm a novice. I could be wrong https://cdn.discordapp.com/attachments/400050916411047937/781914547702202378/unknown.png at this point I'm not sure what else I'm supposed to do. perhaps my device is simply not compatible?

Hi, does anyone knows how to fix it? I'm having the same problem on my Samsung Book E30 (ALC256, layout 11)... Audio in macOS runs perfect, but OCAU/HDA/AudioDxe, seems to hate me, thus no boot-chime for me :( everything's up-to-date (OC DEBUG 0.8.2)
Captura de Tela 2022-07-06 às 02 47 39

config.plist.zip
opencore-2022-07-06-052705.txt

@mikebeaton
Copy link
Contributor

mikebeaton commented Jul 6, 2022

@Horevicht - This bugtracker is meant to be for development, not support. The two sound systems are (largely) separate (about as much separate as one OS from another, i.e. they can possibly leave behind settings which affect each other, but that's it). So you 'just' don't have sound configured correctly in UEFI (i.e. AudioDxe), even though you do in macOS (i.e. AppleALC). Run through the guides again, then try forums.

@Horevicht
Copy link

Horevicht commented Jul 6, 2022

Are you aware of the error? OC: Audio connection failed - Not Found though audio in MacOS works fine?
Occured on ASUS Prime Z370-A I with with Realtek S1220A, Intel i7 8700K
From my OpenCore logs:

00:205 00:003 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
  . . . 
02:036 00:004 OCAU: System volume is 88 (calculated from 62) - Success
02:040 00:003 OCAU: No AudioIo instances - Not Found
02:043 00:003 OCAU: Cannot find specified audio device - Not Found
02:047 00:003 OC: Audio connection failed - Not Found

More info in this reddit thread (I am not OP):
https://www.reddit.com/r/hackintosh/comments/htynpi/opencore_not_detecting_hdaudio_but_audio_works

Got the same issue here. here is the OC 0.6.3 DEBUG log file. opencore-2020-11-27-150856.txt So I researched a bit, and vit recommended a user with similar issue to see if the audio device path is something else in the firmware. I assume they used the UEFI Shell to check this in macOS, the audio device path is PciRoot(0x0)/Pci(0x1f,0x3) I ran the devices command in the shell, I looked for that device path I mentioned above. found it. and recorded its Identifier (1C0). I randh -v 1C0 it returned the device ID and Vendor ID. along with some other information https://cdn.discordapp.com/attachments/400050916411047937/781914411685249034/20201127_192401.jpg I rebooted to macOS, started DPCImanager, and was able to match the Vendor id and Device ID. so, I assume its safe to say that the paths are the same in the OS, and firmware. however, I'm a novice. I could be wrong https://cdn.discordapp.com/attachments/400050916411047937/781914547702202378/unknown.png at this point I'm not sure what else I'm supposed to do. perhaps my device is simply not compatible?

Hi, does anyone knows how to fix it? I'm having the same problem on my Samsung Book E30 (ALC256, layout 11)... Audio in macOS runs perfect, but OCAU/HDA/AudioDxe, seems to hate me, thus no boot-chime for me :( everything's up-to-date (OC DEBUG 0.8.2) Captura de Tela 2022-07-06 às 02 47 39

config.plist.zip opencore-2022-07-06-052705.txt

@Horevicht - This bugtracker is meant to be for development, not support. The two sound systems are (largely) separate (about as much separate as one OS from another, i.e. they can possibly leave behind settings which affect each other, but that's it). So you 'just' don't have sound configured correctly in UEFI (i.e. AudioDxe), even though you do in macOS (i.e. AppleALC). Run through the guides again, then try forums.

Hi, thanks for the reply... I came here because my AudioDxe seems to not find my device path! Even though I have already settup correctly the UEFI sound (i.e. AudioDxe) in bunch other hacks. Thus, I believe it's not a "support" issue but a "development" issue.
Let me explain...
Hackintool, gfxutil and IORegistryExplorer tell me my HDEF is PciRoot(0x0)/Pci(0x1F,0x3), thus my AudioDevice would be that, right? But in OC Logs, HDA is not attachet at all , even though AudioDxe is loaded and connected successfully:

00:101 00:005 OC: Deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - Not Found
00:406 00:078 OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - Success
01:029 00:165 OCAU: OcAudioInstallProtocols (0, 0)
01:198 00:169 OCAU: 4B228577-6274-4A48-82AE-0713A1171987 protocol - Not Found
01:369 00:170 OCAU: C32332DF-FC56-4FE1-9358-BA0D529B24CD protocol - Not Found
01:538 00:169 OCAU: F4CB0B78-243B-11E7-A524-B8E8562CBAFA protocol - Not Found
01:708 00:169 OCAU: 3224B169-EC34-46D2-B779-E1B1687F525F protocol - Not Found
04:598 00:169 OC: Driver AudioDxe.efi at 0 (AudioDxe.efi) is being loaded...
05:788 00:169 OC: Driver AudioDxe.efi at 0 is successfully loaded!
05:957 00:169 OC: Driver AudioDxe.efi at 0 needs connection.
09:863 00:169 OC: Connecting drivers...
10:077 00:213 OC: Connecting drivers done...
13:934 00:003 OCAU: OcAudioInstallProtocols (0, 0)
13:938 00:003 OCAU: 4B228577-6274-4A48-82AE-0713A1171987 protocol - Success
13:941 00:003 OCAU: C32332DF-FC56-4FE1-9358-BA0D529B24CD protocol - Success
13:945 00:003 OCAU: F4CB0B78-243B-11E7-A524-B8E8562CBAFA protocol - Success
13:949 00:003 OCAU: 3224B169-EC34-46D2-B779-E1B1687F525F protocol - Not Found
13:952 00:003 OCAU: No AudioIo instances - Not Found
13:956 00:003 OCAU: Cannot find specified audio device - Not Found
13:959 00:003 OC: Audio connection failed - Not Found
39:592 00:246 OC: Setting devprop PciRoot(0x0)/Pci(0x1F,0x3):layout-id - Success

I'm a enthusiast and wanted so badly a boot-chime... I just don't know what I'm doing wrong... Would love to help with debugging!

@mikebeaton
Copy link
Contributor

mikebeaton commented Jul 6, 2022

@Horevicht Please produce another OC boot log, but with a debug version of AudioDxe.efi involved, not just OpenCore.efi. (Should be producing "HDA:" lines in the log.)

@Horevicht
Copy link

Horevicht commented Jul 6, 2022

@Horevicht Please produce another OC boot log, but with a debug version of AudioDxe.efi involved, not just OpenCore.efi. (Should be producing "HDA:" lines in the log.)

All my drivers are currently from OC 0.8.2 DEBUG (except for HfsPlus.efi)... Thus, AudioDxe.efi is from OC 0.8.2 DEBUG EFI folder (from opencorepkg)... Is it right? Forgive my stupidness
opencore-2022-07-07-035643.txt

@mikebeaton
Copy link
Contributor

Okay, can we just double-check this, please add any test value in the arguments to the AudioDxe driver, e.g.:

                                <key>Arguments</key>
                                <string>testing</string>

and resend debug log.

@Horevicht
Copy link

Okay, can we just double-check this, please add any test value in the arguments to the AudioDxe driver, e.g.:

                                <key>Arguments</key>
                                <string>testing</string>

and resend debug log.

I tried with --gpio-setup argument on AudioDxe, and it takes no effect on log. It's literally the same log, but i'll post it for reference just in a bit...

I think the main problem is AudioDxe being loaded and connected, but HDA itself does not (because there is not any HDA lines on log, even though I tried DEBUG version of AudioDxe/AppleALC/OC 0.8.2...

@Horevicht
Copy link

Horevicht commented Jul 7, 2022

Ok, i did tried bunch of options and different values on:

AudioDxe>>Arguments>>testing / --gpio-setup
UEFI>>Audio>>ResetTrafficClass / DisconnectHDA / SetupDelay

None of this could change my OC Debug log... AudioDxe it's properly loaded and connected, but HDA itself does not show up on any log that I attempt. I spent my whole night 'till morning doing several tests and comparing the logs, but ALL LOGS remains equal.
Here's another attempt:
Captura de Tela 2022-07-07 às 12 30 45
opencore-2022-07-07-152702.txt

Edit: I did a command on terminal and got this (i.e. my first HDA line log)
Last login: Thu Jul 7 13:31:00 on ttys000
gabrielhorevicht@MacBook-Pro-de-Horevicht ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log | awk '{gsub(/%0d%0a%00/,"");gsub(/%0d%0a/,"\n")}1'
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log OCCPU: TSC Adjust 0
OCCPU: Fallback Core Crystal Clock Frequency 24000000Hz
OCCPU: CPUFrequencyFromART 2592000000Hz 2592MHz = 24000000 * 216 / 2
OC: Starting OpenCore...
OC: Booter path - EFI\OC\OpenCore.efi
OCFS: Trying to locate filesystem on B285FF98 B47F8F98
OCFS: Filesystem DP - EFI\OC\OpenCore.efi
OC: Absolute booter path - EFI\OC\OpenCore.efi
OC: Storage root EFI\OC\OpenCore.efi
OCST: Missing vault data, ignoring...
OC: OcMiscEarlyInit...
OC: Loaded configuration of 28124 bytes
OC: Watchdog status is 0
OC: OpenCore DBG-082-2022-07-04 is loading in Optional mode (0/0)...
OC: Boot timestamp - 2022.07.07 15:27:02
OCCPU: MP services threads 4 (enabled 4) - Success
OCCPU: MP services Pkg 1 Cores 2 Threads 2 - Success
OCCPU: Found Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz
OCCPU: Signature A0660 Stepping 0 Model A6 Family 6 Type 0 ExtModel A ExtFamily 0 uCode C6 CPUID MAX (16/80000008)
OCCPU: EIST CFG Lock 0
OCCPU: TSC Adjust 0
OCCPU: Fallback Core Crystal Clock Frequency 24000000Hz
OCCPU: CPUFrequencyFromART 2592000000Hz 2592MHz = 24000000 * 216 / 2
OCCPU: Timer address is 0 from Unknown INTEL
OCCPU: Failed to get FSBFrequency data using Apple Platform Info - Not Found
OCCPU: Intel TSC: 2592000000Hz, 2592MHz; FSB: 99692307Hz, 99MHz; MaxBusRatio: 26
OCCPU: Detected Apple Processor Type: 09 -> 0905
OCCPU: CPUFrequencyFromTSC 0Hz 0MHz
OCCPU: CPUFrequency 2592000000Hz 2592MHz
OCCPU: FSBFrequency 99692307Hz 99MHz
OCCPU: Pkg 1 Cores 2 Threads 4
OC: OcLoadNvramSupport...
OC: Deleting NVRAM 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:DefaultBackgroundColor - Not Found
OC: Not deleting NVRAM 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:rtc-blacklist, matches add
OC: Deleting NVRAM 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version - Not Found
OC: Not deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args, matches add
OC: Not deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:ForceDisplayRotationInEFI, matches add
OC: Not deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:run-efi-updater, matches add
OC: Not deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:prev-lang:kbd, matches add
OC: Setting NVRAM 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:DefaultBackgroundColor - Success
OC: Setting NVRAM 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:rtc-blacklist - Not Found
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:ForceDisplayRotationInEFI - ignored, exists
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:SystemAudioVolume - ignored, exists
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args - ignored, exists
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config - ignored, exists
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:prev-lang:kbd - ignored, exists
OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:run-efi-updater - ignored, exists
OC: Current version is DBG-082-2022-07-04
OC: OcMiscMiddleInit...
OC: Setting NVRAM 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-path = PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(1,GPT,CAADF169-7FD0-45F0-B3BA-0E2AC8330BBE,0x28,0x64000)/EFI\OC\OpenCore.efi - Success
OC: StorageHandle B285FF98 with Full LauncherOption pointing to Default
OCB: Missing FW NVRAM, going on...
OCB: Have existing order of size 6 - Buffer Too Small
OCB: Have existing option at Boot0001, valid
OCB: Boot order has first option as the default option
OC: OcLoadUefiSupport...
OCAU: OcAudioInstallProtocols (0, 0)
OCAU: 4B228577-6274-4A48-82AE-0713A1171987 protocol - Not Found
OCAU: C32332DF-FC56-4FE1-9358-BA0D529B24CD protocol - Not Found
OCAU: F4CB0B78-243B-11E7-A524-B8E8562CBAFA protocol - Not Found
OCAU: 3224B169-EC34-46D2-B779-E1B1687F525F protocol - Not Found
OCAE: Builtin installed
OCRTC: Wake log is 0x00 0x00 0 0x00
OCOS: Discovered rotate NVRAM override to 0
OC: Automatic SB model j215 from model MacBookPro16,4
OC: Loading Apple Secure Boot with j215 (level 1)
OCII: AIFTimerBoostInit Current timer is 10000
OC: Installing KeySupport...
OCII: gST->ConIn B4868450 vs found B4868450
AIK: Using 5 (50ms)
OCABC: ALRBL 0 RTDFRG 1 DEVMMIO 1 NOSU 0 NOVRWR 0 NOSB 0 FBSIG 0 NOHBMAP 0 SMSLIDE 1 WRUNPROT 0
OCABC: FEXITBS 0 PRMRG 0 CSLIDE 1 MSLIDE 0 PRSRV 0 RBMAP 1 VMAP 1 APPLOS 0 RTPERMS 1 ARBAR -1
OCABC: Firmware has 4128998 free pages (729318 in lower 4 GB)
OCABC: Awaiting rendezvous with OpenRuntime r12
OC: RequestBootVarRouting 1
OC: AVX enabled - 1
OC: Got 4 drivers
OC: Driver AudioDxe.efi at 0 (AudioDxe.efi) is being loaded...
OCABC: EfiBootRt candidate -
OCABC: IsEfiBootRt 0 (BP 1, Apple 0)
OCB: Arch filtering 0(180228)->B2217018(180228) caps 4 - Success
OCCPU: TSC Adjust 0
OCCPU: Fallback Core Crystal Clock Frequency 24000000Hz
OCCPU: CPUFrequencyFromART 2592000000Hz 2592MHz = 24000000 * 216 / 2
HDA: GPIO setup stages 0x0, restore NSNPEN 0
OC: Driver AudioDxe.efi at 0 is successfully loaded!
OC: Driver AudioDxe.efi at 0 needs connection.
OC: Driver HfsPlus.efi at 1 (HfsPlus.efi) is being loaded...
OCABC: EfiBootRt candidate -
OCABC: IsEfiBootRt 0 (BP 1, Apple 0)
OCB: Arch filtering 0(37892)->B2367018(37892) caps 4 - Success
OC: Driver HfsPlus.efi at 1 is successfully loaded!
OC: Driver HfsPlus.efi at 1 needs connection.
OC: Driver OpenCanopy.efi at 2 (OpenCanopy.efi) is being loaded...
OCABC: EfiBootRt candidate -
OCABC: IsEfiBootRt 0 (BP 1, Apple 0)
OCB: Arch filtering 0(163840)->B221B018(163840) caps 4 - Success
OCCPU: TSC Adjust 0
OCCPU: Fallback Core Crystal Clock Frequency 24000000Hz
OCCPU: CPUFrequencyFromART 2592000000Hz 2592MHz = 24000000 * 216 / 2
OCUI: Registered custom GUI protocol
OC: Driver OpenCanopy.efi at 2 is successfully loaded!
OC: Driver OpenRuntime.efi at 3 (OpenRuntime.efi) is being loaded...
OCABC: EfiBootRt candidate -
OCABC: IsEfiBootRt 0 (BP 1, Apple 0)
OCB: Arch filtering 0(40964)->B2351018(40964) caps 4 - Success
OCABC: Got rendezvous with OpenRuntime r12
OCABC: MAT support is 1
OC: Driver OpenRuntime.efi at 3 is successfully loaded!
OC: Connecting drivers...
OC: Connecting drivers done...
OC: Found 2 pointer devices - Success
OCJS: PartitionInfo is Success
OCJS: Got APFS super block for F0FB177A-F1A3-3341-A5B7-C872A56E9B96
OCJS: Block (P:1|F:0) read req 8390E1 -> 41C8708 of 1000 (mask 0, mul 8) - Success
OCJS: APFS driver 1934121002000000/20220419 found for F0FB177A-F1A3-3341-A5B7-C872A56E9B96, required >= 1600000000000000/20210101, allow
OCJS: Connecting normally APFS driver on handle B285F718
OCC: Installing GOP (Unsupported) on ConsoleOutHandle...
OC: Requested resolution is 0x0@0 (max: 1, force: 0) from Max
OCC: Requesting 0x0@0 (max: 1) resolution, curr 0, total 5
OCC: Current FB at 0xC0000000 (0x7E9000), format 1, res 1920x1080 scan 1920
OCC: Mode 0 - 1920x1080:1
OCC: Mode 1 - 640x480:1
OCC: Mode 2 - 800x600:1
OCC: Mode 3 - 1024x768:1
OCC: Mode 4 - 1280x1024:1
OCC: Current mode matches desired mode 0
OC: Changed resolution to 0x0@0 (max: 1, force: 0) from Max - Already started
OC: Selected UIScale 1 based on 1920x1080 resolution
OC: Setting UIScale to 1 - Success
OCC: Using builtin text renderer with 1 scale
OCC: Install console control (B213B8F0/0/0), current - Success
OCC: Setup ASCII Output - Success
OC: Requested console mode is 0x0 (max: 0) from
OCAU: OcAudioInstallProtocols (0, 0)
OCAU: 4B228577-6274-4A48-82AE-0713A1171987 protocol - Success
OCAU: C32332DF-FC56-4FE1-9358-BA0D529B24CD protocol - Success
OCAU: F4CB0B78-243B-11E7-A524-B8E8562CBAFA protocol - Success
OCAU: 3224B169-EC34-46D2-B779-E1B1687F525F protocol - Not Found
OCAU: No AudioIo instances - Not Found
OCAU: Cannot find specified audio device - Not Found
OC: Audio connection failed - Not Found
OC: OcMiscLoadSystemReport...
OC: OcLoadAcpiSupport...
OCA: Found 20 ACPI tables
OCA: Detected table FACP (50434146) (OEM 524154533334484C) at BB289000 of 276 bytes at index 0
OCA: Detected DSDT at BB249000 of 260824 bytes at index 0
OCA: Detected table MCFG (4746434D) (OEM 524154533334484C) at BB291000 of 60 bytes at index 1
OCA: Detected table SSDT (54445353) (OEM 0074647353757043) at BB28F000 of 6986 bytes at index 2
OCA: Detected table SSDT (54445353) (OEM 6C62615466747044) at BB28A000 of 18745 bytes at index 3
OCA: Detected table FIDT (54444946) (OEM 524154533334484C) at BB248000 of 156 bytes at index 4
OCA: Detected table MSDM (4D44534D) (OEM 524154533334484C) at BB247000 of 85 bytes at index 5
OCA: Detected table SSDT (54445353) (OEM 0020746473536153) at BB243000 of 15435 bytes at index 6
OCA: Detected table HPET (54455048) (OEM 524154533334484C) at BB242000 of 56 bytes at index 7
OCA: Detected table SSDT (54445353) (OEM 7076525F556C6D43) at BB23E000 of 12420 bytes at index 8
OCA: Detected table SSDT (54445353) (OEM 3464756D635F6878) at BB23D000 of 1125 bytes at index 9
OCA: Detected table NHLT (544C484E) (OEM 524154533334484C) at BB23C000 of 45 bytes at index 10
OCA: Detected table LPIT (5449504C) (OEM 524154533334484C) at BB23B000 of 148 bytes at index 11
OCA: Detected table SSDT (54445353) (OEM 4365707954746254) at BB237000 of 9650 bytes at index 12
OCA: Detected table DBGP (50474244) (OEM 524154533334484C) at BB236000 of 52 bytes at index 13
OCA: Detected table DBG2 (32474244) (OEM 524154533334484C) at BB235000 of 84 bytes at index 14
OCA: Detected table DMAR (52414D44) (OEM 20202020324B4445) at BB234000 of 168 bytes at index 15
OCA: Detected table BGRT (54524742) (OEM 524154533334484C) at BB233000 of 56 bytes at index 16
OCA: Detected table WSMT (544D5357) (OEM 524154533334484C) at BB23A000 of 40 bytes at index 17
OCA: Detected table APIC (43495041) (OEM 524154533334484C) at BB232000 of 132 bytes at index 18
OCA: Detected table FPDT (54445046) (OEM 00544C552D4C4D43) at BB231000 of 68 bytes at index 19
OCA: Applying 4 byte ACPI patch skip 0, count 0
OCA: Patching DSDT of 260824 bytes with 0000000000000000 ID replaced 1 of 0
OCA: Refreshed DSDT checksum to DB
OCA: Applying 4 byte ACPI patch skip 0, count 0
OCA: Patching DSDT of 260824 bytes with 0000000000000000 ID replaced 1 of 0
OCA: Refreshed DSDT checksum to E2
OCA: Allocated new table SSDT at BB352000
OCA: Inserted table SSDT (54445353) (OEM 0000000043415741) of 73 bytes into ACPI at index 20
OCA: Allocated new table SSDT at BB351000
OCA: Inserted table SSDT (54445353) (OEM 58494659454B4E46) of 306 bytes into ACPI at index 21
OCA: Allocated new table SSDT at BB350000
OCA: Inserted table SSDT (54445353) (OEM 0000434574647353) of 125 bytes into ACPI at index 22
OCA: Allocated new table SSDT at BB34F000
OCA: Inserted table SSDT (54445353) (OEM 0000000030495047) of 68 bytes into ACPI at index 23
OCA: Allocated new table SSDT at BB34E000
OCA: Inserted table SSDT (54445353) (OEM 0067756C50757043) of 112 bytes into ACPI at index 24
OCA: Allocated new table SSDT at BB34D000
OCA: Inserted table SSDT (54445353) (OEM 00000000464C4E50) of 1110 bytes into ACPI at index 25
OCA: Allocated new table SSDT at BB34C000
OCA: Inserted table SSDT (54445353) (OEM 535542534348434D) of 252 bytes into ACPI at index 26
OCA: Allocated new table SSDT at BB34B000
OCA: Inserted table SSDT (54445353) (OEM 7862735574647353) of 217 bytes into ACPI at index 27
OCA: FACS signature is 0 (0)
OCA: Exposing XSDT table table FACP (50434146) (OEM 524154533334484C) at BB289000 of 276 bytes at index 0
OCA: Exposing XSDT table table MCFG (4746434D) (OEM 524154533334484C) at BB291000 of 60 bytes at index 1
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0074647353757043) at BB28F000 of 6986 bytes at index 2
OCA: Exposing XSDT table table SSDT (54445353) (OEM 6C62615466747044) at BB28A000 of 18745 bytes at index 3
OCA: Exposing XSDT table table FIDT (54444946) (OEM 524154533334484C) at BB248000 of 156 bytes at index 4
OCA: Exposing XSDT table table MSDM (4D44534D) (OEM 524154533334484C) at BB247000 of 85 bytes at index 5
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0020746473536153) at BB243000 of 15435 bytes at index 6
OCA: Exposing XSDT table table HPET (54455048) (OEM 524154533334484C) at BB242000 of 56 bytes at index 7
OCA: Exposing XSDT table table SSDT (54445353) (OEM 7076525F556C6D43) at BB23E000 of 12420 bytes at index 8
OCA: Exposing XSDT table table SSDT (54445353) (OEM 3464756D635F6878) at BB23D000 of 1125 bytes at index 9
OCA: Exposing XSDT table table NHLT (544C484E) (OEM 524154533334484C) at BB23C000 of 45 bytes at index 10
OCA: Exposing XSDT table table LPIT (5449504C) (OEM 524154533334484C) at BB23B000 of 148 bytes at index 11
OCA: Exposing XSDT table table SSDT (54445353) (OEM 4365707954746254) at BB237000 of 9650 bytes at index 12
OCA: Exposing XSDT table table DBGP (50474244) (OEM 524154533334484C) at BB236000 of 52 bytes at index 13
OCA: Exposing XSDT table table DBG2 (32474244) (OEM 524154533334484C) at BB235000 of 84 bytes at index 14
OCA: Exposing XSDT table table DMAR (52414D44) (OEM 20202020324B4445) at BB234000 of 168 bytes at index 15
OCA: Exposing XSDT table table BGRT (54524742) (OEM 524154533334484C) at BB233000 of 56 bytes at index 16
OCA: Exposing XSDT table table WSMT (544D5357) (OEM 524154533334484C) at BB23A000 of 40 bytes at index 17
OCA: Exposing XSDT table table APIC (43495041) (OEM 524154533334484C) at BB232000 of 132 bytes at index 18
OCA: Exposing XSDT table table FPDT (54445046) (OEM 00544C552D4C4D43) at BB231000 of 68 bytes at index 19
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0000000043415741) at BB352000 of 73 bytes at index 20
OCA: Exposing XSDT table table SSDT (54445353) (OEM 58494659454B4E46) at BB351000 of 306 bytes at index 21
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0000434574647353) at BB350000 of 125 bytes at index 22
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0000000030495047) at BB34F000 of 68 bytes at index 23
OCA: Exposing XSDT table table SSDT (54445353) (OEM 0067756C50757043) at BB34E000 of 112 bytes at index 24
OCA: Exposing XSDT table table SSDT (54445353) (OEM 00000000464C4E50) at BB34D000 of 1110 bytes at index 25
OCA: Exposing XSDT table table SSDT (54445353) (OEM 535542534348434D) at BB34C000 of 252 bytes at index 26
OCA: Exposing XSDT table table SSDT (54445353) (OEM 7862735574647353) at BB34B000 of 217 bytes at index 27
OC: OcLoadPlatformSupport...
OCSMB: Found DMI Anchor BBA6B000 v3.2 Table Address BBA68000 Length 0D96
OCSMB: Found DMI Anchor BBA6A000 v3.2 Table Address BBA68000 Length 0D96
OCSMB: Current SMBIOS 550XCJ/550XCR (NP550XCJ-KT1BR made by SAMSUNG ELECTRONICS CO., LTD.)
OC: PlatformInfo auto 1 OEM SN 0 OEM UUID 0 OEM MLB 0 OEM ROM 0 - Success
OC: New SMBIOS: Acidanthera model MacBookPro16,4
OCSMB: Post-override BIOS vendor Acidanthera 0
OCSMB: Number of CPU cache entries is 3
OCSMB: Number of CPU cache entries is 3
OCSMB: Number of CPU cache entries is 3
OCSMB: CPU1 display frequency is 2600MHz
OCSMB: Applying 1320 (1) prev BBA6B000 (3478/31), BBA6A000 (3478/24)
OCSMB: Patched B75E3000 v3.2 Table Address B75E4000 Length 0528 1E 9C
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:name (9) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:Model (30) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:SystemSerialNumber (26) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:system-id (16) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:board-id (21) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:board-rev (1) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:StartupPowerEvents (8) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:InitialTSC (8) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:FSBFrequency (8) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:DevicePathsSupported (4) - Success
OCDH: Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:RPlt (8) - Success
OC: Setting HW_BID Mac-A61BADE1FDAD7B05 - Success
OC: Setting HW_ROM 00:14:51:E1:CF:BD - Success
OC: Setting ROM 00:14:51:E1:CF:BD - Success
OC: Setting HW_MLB C02105303GU0000FB - Success
OC: Setting MLB C02105303GU0000FB - Success
OC: Setting HW_SSN C02F66Z1MD6T - Success
OC: Setting SSN C02F66Z1MD6T - Success
OC: Setting system-id 6733BDC9-82A1-0340-BDCA-992590F99634 - Success
OC: Setting FirmwareFeatures FDAFF066 - Success
OC: Setting ExtendedFirmwareFeatures 00000008FDAFF066 - Success
OC: Setting FirmwareFeaturesMask FFFFFF7F - Success
OC: Setting ExtendedFirmwareFeaturesMask 00000008FFFFFF7F - Success
OC: OcLoadDevPropsSupport...
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):AAPL,ig-platform-id - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):device-id - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):model - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-patch-enable - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-stolenmem - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-fbmem - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-unifiedmem - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-con0-enable - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):framebuffer-con0-alldata - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):enable-hdmi20 - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):disable-hdmi-patches - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):rps-control - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x2,0x0):enable-backlight-registers-fix - Success
OC: Setting devprop PciRoot(0x0)/Pci(0x1F,0x3):layout-id - Success
OC: OcMiscLateInit...
OC: Translated HibernateMode None to 0
OC: Hibernation activation - Invalid Parameter, hibernation wake - no
OC: Panic log does not exist
OC: OcLoadKernelSupport...
OC: All green, starting boot management...
OC: Handing off to external boot controller
OC: Ready for takeoff in 1000000 us
OCUI: Failed to load image (1/1) Resources\Image\Acidanthera\GoldenGate\Background.icns prefix:Acidanthera\GoldenGate icon:0 - Not Found
OCUI: Failed to load image (1/2) Resources\Image\Acidanthera\GoldenGate\Apple.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Failed to load image (2/2) Resources\Image\Acidanthera\GoldenGate\ExtWindows.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Failed to load image (1/2) Resources\Image\Acidanthera\GoldenGate\Other.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Failed to load image (2/2) Resources\Image\Acidanthera\GoldenGate\ExtTool.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Failed to load image (1/2) Resources\Image\Acidanthera\GoldenGate\ResetNVRAM.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Failed to load image (2/2) Resources\Image\Acidanthera\GoldenGate\ExtShell.icns prefix:Acidanthera\GoldenGate icon:1 - Not Found
OCUI: Info->fontSize 10 Info->bitField 192 Info->charSet 0 Info->stretchH 100 Info->aa 1
OCUI: Info->paddingUp 0 Info->paddingRight 0 Info->paddingDown 0 Info->paddingLeft 0
OCUI: Info->spacingHoriz 1 Info->spacingVert 1 Info->outline 0 Info->fontName
OCB: Adding fs 2007C5F5 for 1 custom entries and BEP (aux hidden)
OCB: Looking for default entry (0:)
OCB: Found 1 BootOrder entries with BootNext excluded
OCB: efi-boot-device-data - Not Found
OCB: efi-boot-next-data - Not Found
OCB: efi-backup-boot-device-data - Not Found
OCB: efi-apple-recovery-data - Not Found
OCB: Dumping BootOrder
OCB: 0 -> Boot0080 = PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Parsing predefined list...
OCB: 0 -> Boot0080 = PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Building entry from Boot0080
OCB: Assuming DP is full-form or lacks suffix
OCB: Expanded DP - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Expanded DP remainder - \DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Adding fs B2222D18 (E:0|L:0|P:Success) - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)
OCB: Adding entry type (T:2|F:0|G:0) - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Trying to get label from \DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices.contentDetails
OCB: Trying to get label from \DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices.disk_label.contentDetails
OCB: Registering entry Macintosh NVMe [Apple] (T:2|F:0|G:0|E:0|B:0) - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Adding bless entry on disk - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)
OCB: Adding entry type (T:2|F:0|G:0) - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCB: Discarding already present DP
OCB: Should boot from 0. Macintosh NVMe (T:2|F:0|G:0|E:0|DEF:0)
OCB: Perform boot Macintosh NVMe to dp PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi (0/0)
OCABC: EfiBootRt candidate - PciRoot(0x0)/Pci(0x1D,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-01-00-00)/HD(2,GPT,095D7F8F-E203-45B6-88C0-CFE431EC8CF7,0x64028,0x1DC8F260)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,8B60E4DDFB1E914BA4C6A495B1A610FE)/\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
OCABC: IsEfiBootRt 0 (BP 1, Apple 0)
OCI4: Verifying digest 48 (BFCCEAD1) override 0 48 (00000000)
OCSB: Verified IMG4 without issues
OCB: Arch filtering B1DD1018(723512)->B1DD1018(723512) caps 4 - Success
OCB: Matching <>/0[0] args on type 2
OCABC: VMware Mac installed on B1F15918 - Success
OCABC: Patching safe mode sur-2 at off 1F0B
OCABC: MMIO devirt start
OCABC: MMIO devirt 0xE0000000 (0x10000 pages, 0x800000000000100D) skip 0
OCABC: MMIO devirt 0xFE000000 (0x11 pages, 0x8000000000000001) skip 0
OCABC: MMIO devirt 0xFEC00000 (0x1 pages, 0x800000000000100D) skip 0
OCABC: MMIO devirt 0xFED00000 (0x4 pages, 0x800000000000100D) skip 0
OCABC: MMIO devirt 0xFEE00000 (0x1 pages, 0x8000000000000001) skip 0
OCABC: MMIO devirt 0xFF000000 (0x1000 pages, 0x800000000000100D) skip 0
OCABC: MMIO devirt end, saved 278620 KB
OCABC: All slides are usable! You can disable ProvideCustomSlide!
AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB.H.IS|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB|H:IS] 0
AAPL: #[EB|LOG:INIT] 2022-07-07T15:27:05
AAPL: #[EB|VERSION] <"boot.efi 540.120.36 (Official), built 2022-04-19T21:17:53-0700">
AAPL: #[EB|BUILD] <"BUILD-INFO[298]:{"DisplayName":"boot.efi","DisplayVersion":"540.120.3
6","RecordUuid":"E55E03A0-4166-4913-B8BA-A2B0C5A34EC3","BuildTime":"2022-04-19T21:17:53-0700","ProjectName":"efiboot","ProductName":"boot.efi","SourceVersion":"540.120.3","BuildVersion":"6","BuildConfiguration":"Release","BuildType":"Official"}">
AAPL: #[EB.CFG.DEV|!] Err(0xE) <- RT.GV booter-strict-xmlparser 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB|CFG:DEV] r5 0x0 0x0
AAPL: #[EB|H:IS] 0
AAPL: #[EB|WL:MODE] 0
AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
AAPL: #[EB|CFG:ARG] console 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
AAPL: #[EB|CFG:ARG] serial 0x0000000000000001 (0x0000000000000001 < 0x0000000000000000) default
AAPL: #[EB|CFG:ARG] preoslog 0x0000000000000001 (0x0000000000000001 < 0xFFFFFFFFFFFFFFFF) default
AAPL: #[EB|CFG:ARG] timestamps 0x0000000000000000 (0x0000000000000000 < 0xFFFFFFFFFFFFFFFF) default
AAPL: #[EB|CFG:ARG] log-level 0x0000000000000001 (0x0000000000000001 & 0x0000000000000021) default
AAPL: #[EB|CFG:ARG] breakpoint 0x0000000000000000 (0x0000000000000000 & 0x0000000000000000) default
AAPL: #[EB|CFG:ARG] kc-read-size 0x0000000000100000 (0x0000000000100000 < 0xFFFFFFFFFFFFFFFF) default
AAPL: #[EB|H:IS] 0
AAPL: #[EB|WL] 0 0 0x01 0x01 0 0x00
AAPL: #[EB|BRD:NV] Mac-A61BADE1FDAD7B05
OCOS: OS set: macOS 11.0
OCOS: OS set: Apple Inc. macOS 11.0
AAPL: #[EB|B:VAw]
AAPL: #[EB|B:IAw]
AAPL: #[EB|WL] 0 0 0x01 0x01 2 0x00
AAPL: #[EB.BST.IDT|+]
AAPL: #[EB|BM] J215AP
AAPL: #[EB.BST.IDT|-]
AAPL: #[EB|WL] 0 0 0x01 0x01 3 0x00
AAPL: #[EB|WL] 0 0 0x01 0x01 4 0x00
AAPL: #[EB|BRD:NV] Mac-A61BADE1FDAD7B05
AAPL: #[EB|WL] 0 0 0x01 0x01 5 0x00
AAPL: #[EB.H.CHK|BM] 0x0000000000000000
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB|WL] 0 0 0x01 0x01 23 0x0E
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB|WL] 0 0 0x01 0x01 24 0x0E
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.GV boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-signature 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image-key 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB.H.LV|!] Err(0xE) <- RT.SV- boot-image 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB|H:NOT]
AAPL: #[EB|SB:P] 0x1
AAPL: #[EB.B.MN|BM:+SB]
AAPL: #[EB|LIMG:DP] Acpi(PNP0A03,0)/Pci(1D|4)/Pci(0|0)/?[ 0x83 0x17 0x10 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 ]/HD(Part2,Sig095D7F8F-E203-45B6-88C0-CFE431EC8CF7)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842)
AAPL: #[EB|LIMG:FP] \DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\boot.efi
AAPL: #[EB|LIMG:OPT]
AAPL: #[EB.OPT.LXF|F] <"\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\com.apple.Boot.plist">
AAPL: #[EB.LD.LF|IN] 0 1 <"\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\com.apple.Boot.plist"> <"0">
AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\com.apple.Boot.plist">
AAPL: #[EB.OPT.LXF|LF!] Err(0xE)
AAPL: #[EB.OPT.LXF|F] <"Library\Preferences\SystemConfiguration\com.apple.Boot.plist">
AAPL: #[EB.LD.LF|IN] 0 1 <"Library\Preferences\SystemConfiguration\com.apple.Boot.plist"> <"0">
AAPL: #[EB|KF] <"">
AAPL: #[EB|MBA:CL] <"">
AAPL: #[EB|MBA:NV] <"agdpmod=vit9696">
AAPL: #[EB|MBA:KF] <"">
AAPL: #[EB|MBA:OUT] <"agdpmod=vit9696 chunklist-security-epoch=0 -chunklist-no-rev2-dev">
AAPL: #[EB|OPT:BM] 0x280100
AAPL: #[EB.OPT.LXF|F] <"\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\PlatformSupport.plist">
AAPL: #[EB.LD.LF|IN] 0 1 <"\DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2\System\Library\CoreServices\PlatformSupport.plist"> <"0">
AAPL: #[EB|P:CPR] N
AAPL: #[EB|P:MPI] N
AAPL: #[EB|P:BPI] N
AAPL: #[EB|KMR] 213729280
AAPL: #[EB.CS.CSKSD|+]
AAPL: #[EB.CS.CSKSD|!] Err(0xE) <- RT.GV boot-info-payload 8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF
AAPL: #[EB|WL] 0 0 0x01 0x01 6 0x0E
AAPL: #[EB.CS.LFC|+]
AAPL: #[EB.LD.LF|IN] 0 1 <"System\Library\Caches\com.apple.corestorage\EncryptedRoot.plist.wipekey"> <"0">
AAPL: #[EB.FS.AGSVH|PU] DF36B142-C8D8-43A6-A981-1B5E4CD4C8E2
AAPL: #[EB.FS.AGSVH|!] Err(0xE) <- BS.LocHB 59D76AE4-37E3-55A7-B460-EF13D46E6020
AAPL: #[EB.G.CS|-?] Ok(0)
AAPL: #[EB.LD.LF|IN] 0 1 <""> <"1">
AAPL: #[EB.B.SBS|SZ] 723512
AAPL: #[EB|B:SHA]
AAPL: #[EB.WL.PWLFNV|!] Err(0xE) <- RT.GV wake-failure 7C436110-AB2A-4BBB-A880-FE41995C9F82
AAPL: #[EB.WL.DT|!] Err(0xE) <- EB.WL.PWLFNV
AAPL: #[EB.WL.PWLFRTC|NONE]
AAPL: #[EB.WL.DT|!] Err(0xE) <- EB.WL.PWLFRTC
AAPL: #[EB.LD.LKC|D] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development">
AAPL: #[EB.LD.LF|IN] 0 1 <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development"> <"0">
AAPL: #[EB.LD.OFS|OPEN!] Err(0xE) <"boot\System\Library\KernelCollections\BootKernelExtensions.kc.development">
AAPL: #[EB.LD.LKC|R.2] <"boot\System\Library\KernelCollections\BootKernelExtensions.kc">
AAPL: #[EB.LD.LF|IN] 0 1 <"boot\System\Library\KernelCollections\BootKernelExtensions.kc"> <"0">
OC: Kext reservation size info 583000 exe 1B67000
OC: Trying 64-bit XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc
OC: Result of 64-bit XNU hook on boot\System\Library\KernelCollections\BootKernelExtensions.kc (A0EC1BDC) is Success
OCAK: Read kernel version 21.5.0 (210500)
OCAK: 64-bit PowerStateTimeout replace count - 1
OCAK: Patch success inline power state
OCAK: Found jettisoning fileset
OCAK: Patching invalid size 146000 with 2226000 for com.apple.iokit.IO80211FamilyLegacy
OCAK: Patching invalid size 22000 with 28AF000 for com.apple.driver.AppleMobileFileIntegrity
OCAK: Patching invalid size 81000 with BA3000 for com.apple.kec.corecrypto
OCAK: Patching invalid size 9000 with 24B3000 for com.apple.kext.CoreTrust
OCAK: Patching invalid size 19000 with 2A11000 for com.apple.security.AppleImage4
OCAK: Patching invalid size 1A000 with BC9000 for com.apple.driver.corecapture
OCAK: Patching invalid size 8000 with 258E000 for com.apple.iokit.CoreAnalyticsFamily
OCAK: Patching invalid size 17000 with 16CA000 for com.apple.iokit.IONetworkingFamily
OCAK: Patching invalid size 49000 with 134D000 for com.apple.iokit.IOSkywalkFamily
OCAK: Patching invalid size 5000 with 1433000 for com.apple.driver.mDNSOffloadUserClient
OCAK: Patching invalid size 2C000 with 142C000 for com.apple.iokit.IOPCIFamily
OCAK: Local relocs 2792 on FFFFFF8004250000
OC: Prelinked injection AirportItlwm.kext (AirportItlwm.kext) - Success
OC: Prelinked injection AirportItlwm.kext v2.1.0
OCAK: Patching invalid size 91000 with 10AA000 for com.apple.iokit.IOUSBHostFamily
OCAK: Patching invalid size 4000 with 2B87000 for com.apple.driver.AppleBusPowerController
OCAK: Patching invalid size 19000 with 27F1000 for com.apple.driver.AppleSMC
OCAK: Patching invalid size 3000 with AEB000 for com.apple.driver.watchdog
OCAK: Patching invalid size 2000 with 18D5000 for com.apple.iokit.IOACPIFamily
OCAK: Patching invalid size 4000 with 267D000 for com.apple.driver.usb.AppleUSBCommon
OCAK: Dependency com.apple.driver.usb.AppleUSBHostPlatformProperties was not found for kext com.apple.iokit.IOUSBHostFamily
OCAK: Local relocs 725 on FFFFFF80051F4000
OC: Prelinked injection IntelBluetoothFirmware.kext (IntelBluetoothFirmware.kext) - Success
OC: Prelinked injection IntelBluetoothFirmware.kext v2.1.0
OCAK: Local relocs 689 on FFFFFF80058C9000
OC: Prelinked injection Lilu.kext (Lilu.kext) - Success
OC: Prelinked injection Lilu.kext v1.6.1
OCAK: Local relocs 624 on FFFFFF80058F8000
OC: Prelinked injection NVMeFix.kext (NVMeFix.kext) - Success

@mikebeaton
Copy link
Contributor

mikebeaton commented Jul 7, 2022

@Horevicht - If you set any Arguments at all for AudioDxe you should get at least the one HDA: entry, as you are indeed seeing in at least the final listing above. (With the config.plist you sent, you should have been getting it in all log files - since you are including INFO level logging - so I have some doubt about what is happening there.)

It looks to me as if, in this case, AudioDxe is entirely failing to connect to the controller and codecs during the "Connecting drivers" phase. That's not a part I've looked at a great deal so far, but I'll look into it.

PS We'd normally see these kind of lines during the "Connecting drivers" phase (plus more, with info on the codec layout, the below is reduced with various greps); the "Connecting controller|codec" parts and their subsequent lines are (should be) triggered by the actual connection process:

01:557 00:008 OC: Connecting drivers...
01:776 00:017 HDA: Connecting controller - PciRoot(0x0)/Pci(0x1F,0x3)
01:785 00:009 HDA: Controller disable no snoop
01:795 00:009 HDA: Controller version 1.0
01:833 00:010 HDA: Controller is Intel 300 Series HD Audio Controller
01:944 00:110 HDA: Controller protocols installed
01:973 00:029 HDA: Controller initialized
01:982 00:009 HDA: Connecting codec 0x0
01:998 00:015 HDA:  | Codec ID: 0x10EC:0x255
02:013 00:015 HDA:  | Codec name: Realtek ALC255
02:027 00:013 HDA:  | Codec contains 1 function groups, start @ 0x1, end @ 0x1
04:726 01:019 HDA: Codec protocols installed
04:736 00:010 HDA: Codec initialized
04:746 00:009 HDA: Connecting codec 0x2
04:760 00:013 HDA:  | Codec ID: 0x8086:0x280B
04:774 00:014 HDA:  | Codec name: Intel Kaby Lake HDMI
04:789 00:015 HDA:  | Codec contains 1 function groups, start @ 0x1, end @ 0x1
06:048 01:013 HDA: Codec protocols installed
06:056 00:008 HDA: Codec initialized
06:085 00:029 OC: Connecting drivers done...

@mikebeaton
Copy link
Contributor

mikebeaton commented Jul 7, 2022

@Horevicht - Please could you run pci command from OpenShell, and send me the results. Do you need more info about that, or can you just do it?

@Horevicht
Copy link

@Horevicht - Please could you run pci command from OpenShell, and send me the results. Do you need more info about that, or can you just do it?
Captura de Tela 2022-07-07 às 22 11 31

What about that?

@mikebeaton
Copy link
Contributor

Can you try this modified AudioDxe.efi in your Drivers directory, and send debug o/p (make sure it has at least one HDA line in the output, by using Arguments=test or similar).

AudioDxe.zip

@Horevicht
Copy link

Can you try this modified AudioDxe.efi in your Drivers directory, and send debug o/p (make sure it has at least one HDA line in the output, by using Arguments=test or similar).

AudioDxe.zip

At first try, it played Boot-Chime easily! It was so beautiful that I cried <3 The log:
opencore-2022-07-08-152400.txt

@mikebeaton
Copy link
Contributor

Good good. Your controller is mis-reporting itself as a legacy (i.e. not HDA) audio controller. There are a couple of possible approaches, but I think the best one is to provide a new argument to force AudioDxe to treat a specified PCI device as an HDA Audio Controller, regardless of what the device says it is; or, put more simply, to force AudioDxe to (try to) connect to one particular device, without checking whether or not the device reports itself as an HDA device. I'll work on that.

@Horevicht
Copy link

Horevicht commented Jul 8, 2022

Good good. Your controller is mis-reporting itself as a legacy (i.e. not HDA) audio controller. There are a couple of possible approaches, but I think the best one is to provide a new argument to force AudioDxe to treat a specified PCI device as an HDA Audio Controller, regardless of what the device says it is; or, put more simply, to force AudioDxe to (try to) connect to one particular device, without checking whether or not the device reports itself as an HDA device. I'll work on that.

Thanks for it! I’ll be happily waiting! In meantime, can I just use the last AudioDxe.efi (+ Argument=test) that you sent (untill something official comes up in OC build/configuration, or anything like that), or am I supposed to do something else?
Once again, many thanks for the great help!!! I need to say that the whole OC experience have changed my life! Thank you all, developers!

@mikebeaton
Copy link
Contributor

Well feel free to use it for now. It'll work for you. It might work for anyone else with the same problem. It's not an official release, it's unsupported, and it'll become out of date and incompatible with the rest of OC at some point, but we'll/I'll add the improved fix to the official release, hopefully shortly. And thanks!

@mikebeaton
Copy link
Contributor

@Horevicht - Could you download the latest build from https://github.com/acidanthera/OpenCorePkg/suites/7285262741/artifacts/293607066 and check that it works for you?

AudioDxe will not work (again) with no arguments, but if you now use --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in Arguments it should work, and that is now the supported fix for systems like yours.

@Horevicht
Copy link

@Horevicht - Could you download the latest build from https://github.com/acidanthera/OpenCorePkg/suites/7285262741/artifacts/293607066 and check that it works for you?

AudioDxe will not work (again) with no arguments, but if you now use --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in Arguments it should work, and that is now the supported fix for systems like yours.

It worked like a charm!

@Horevicht
Copy link

Horevicht commented Jul 10, 2022

image

@Horevicht - Could you download the latest build from https://github.com/acidanthera/OpenCorePkg/suites/7285262741/artifacts/293607066 and check that it works for you?

AudioDxe will not work (again) with no arguments, but if you now use --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in Arguments it should work, and that is now the supported fix for systems like yours.

I think that the fix did something wrong with Windows… The Realtek driver do not show any output device, so I uninstalled it and now it shows 2 another kinds of driver in Device Manager (Intel High Definition Audio / Intel High Definition DSP)… Those 2 devices never existed in Device Manager… Is it possible that AudioDxe “replaced” the Realtek driver? When Windows is booted from BIOS, the Realtek driver is properly installed and functional, but when it’s booted from OC, happens that “driver switch”, thus I get no output sound device (i.e. no sound at all)

@mikebeaton
Copy link
Contributor

Well, you've never had AudioDxe attached and working before, at all. It is a known issue that AudioDxe can prevent sound in Windows on some systems, but there are also fixes for that. Look at the other arguments listed in the AudioDxe section of Configuration.pdf.

@Horevicht
Copy link

Well, you've never had AudioDxe attached and working before, at all. It is a known issue that AudioDxe can prevent sound in Windows on some systems, but there are also fixes for that. Look at the other arguments listed in the AudioDxe section of Configuration.pdf.

The Argument “—restore-nosnoop” resolved the issue! Thanks for all! Keep the good work!

@MagistraNocte
Copy link

I commented on #2073 adding some more info and speculation on the boom/pop/crackle sound at startup problem.

@seffs

This comment was marked as off-topic.

@mikebeaton
Copy link
Contributor

See first line, first post above, please: "This issue is for discussing progress on the work items listed below - unless discussing these specifically, please open a new issue."

This does look worth opening a new issue though, so please do.

@seffs
Copy link

seffs commented Jan 17, 2023

Done. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests