Andres ZeroCross Posted January 28, 2019 Share Posted January 28, 2019 (edited) 1 minute ago, meaganmargaret said: Good for you, you want to play music.sounds before and during Clover loading? Okay, great. Ah,, finally you understand. And @Matgen84 want to use audio from theme folder too. So you and matgen have different situation and different solution Edited January 28, 2019 by Andres ZeroCross 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661658 Share on other sites More sharing options...
Matgen84 Posted January 28, 2019 Share Posted January 28, 2019 (edited) 5 hours ago, Andres ZeroCross said: It's like freeze Issue. Make sure you use latest Clover (r4862 is good) 1. Make sure there are sound.wav and sound_night.wav ini your Theme Folder 2. Set PlayAsync=True Post the result I use latest Clover r4864: Sound.wav is in my Theme folder (I use only daytime) As I said before I set PalyAsync=true I've a sound before enter Clover GUI. Once on Clover GUI, no keyboard, no mouse. All works well with PlayAsync=false (Realtek ALC892) Edited January 28, 2019 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661669 Share on other sites More sharing options...
Badruzeus Posted January 28, 2019 Share Posted January 28, 2019 26 minutes ago, Matgen84 said: I use latest Clover r4864: Sound.wav is in my Theme folder (I use only daytime) As I said before I set PalyAsync=true I've a sound before enter Clover GUI. Once on Clover GUI, no keyboard, no mouse. All works well with PlayAsync=false (Realtek ALC892) Any boot log? Do you have FileVault drivers installed, or PS2 / USB *.efi drivers for KB-Mouse? Using AptioMemory* or OsxAptio*? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661671 Share on other sites More sharing options...
yapan4 Posted January 28, 2019 Share Posted January 28, 2019 (edited) 11 hours ago, Sherlocks said: upload your clover preboot or booted log. 나의 LG-F800S 의 Tapatalk에서 보냄 Note: temporary i use old 120Gb HDD for beta testing bootlog.txt Edited January 28, 2019 by yapan4 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661678 Share on other sites More sharing options...
Slice Posted January 28, 2019 Share Posted January 28, 2019 2 hours ago, Matgen84 said: I use latest Clover r4864: Sound.wav is in my Theme folder (I use only daytime) As I said before I set PalyAsync=true I've a sound before enter Clover GUI. Once on Clover GUI, no keyboard, no mouse. All works well with PlayAsync=false (Realtek ALC892) There is a bug in AudioDxe-64.efi provided in Clover repo. If you want PlatAsync=true then you have to replace it by the driver from here AudioPkg-R1-RELEASE.zip I am working to fix the mistake. 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661681 Share on other sites More sharing options...
Badruzeus Posted January 28, 2019 Share Posted January 28, 2019 1 minute ago, Slice said: There is a bug in AudioDxe-64.efi provided in Clover repo. If you want PlatAsync=true then you have to replace it by the driver from here AudioPkg-R1-RELEASE.zip I am working to fix the mistake. Actually, from r4843 (or earlier); provided AudioDxe-64.efi also made stuck at Apple logo if BootChimeDxe.efi is installed on \efi\clover\drivers64uefi. (Since you've suggested to not discuss about BootChimeDxe here so, I never reported this issue). Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661683 Share on other sites More sharing options...
Slice Posted January 28, 2019 Share Posted January 28, 2019 1 minute ago, Badruzeus said: Actually, from r4843 (or earlier); provided AudioDxe-64.efi also made stuck at Apple logo if BootChimeDxe.efi is installed on \efi\clover\drivers64uefi. (Since you've suggested to not discuss about BootChimeDxe here so, I never reported this issue). Moreover PlayAsync caused broken sound so why I implemented the switch YES/NO. Some mistakes already resolved in Goldfish repo and in Clover but not finally. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661685 Share on other sites More sharing options...
Badruzeus Posted January 28, 2019 Share Posted January 28, 2019 (edited) VirtualBox is also able to detect Audio device on preboot, using Host Audio Driver: Core Audio | Audio Controller: IntelHD under VM's Settings, as SigmaTel STAC9920/9921. HDA Codec (0x7680) is should be supported by AudioPkg as well. So, having no sound is bcoz VirtualBox doesn't support Native NVRAM? Device Description Intel 82801FB(M) ICH6(-M) - High Definition Audio Controller [A-1] Bus Type PCI Bus / Device / Function 0 / 5 / 0 Device ID 8086-2668 Subsystem ID 8384-7680 Revision 01 Hardware ID PCI\VEN_8086&DEV_2668&SUBSYS_76808384&REV_01 Device Properties Device Description SigmaTel STAC9220 A1 Device Type Audio Bus Type HDAUDIO Device ID 8384-7680 Subsystem ID 8384-7680 Revision 1034 Hardware ID HDAUDIO\FUNC_01&VEN_8384&DEV_7680&SUBSYS_83847680&REV_1034 Edited January 28, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661686 Share on other sites More sharing options...
LockDown Posted January 28, 2019 Share Posted January 28, 2019 Clover r4864 legacy still has problem saving my prefered lineout, so no sound before gui. Its defaulting to hdmi on bootup. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661690 Share on other sites More sharing options...
Slice Posted January 28, 2019 Share Posted January 28, 2019 There is one more mistake for legacy Clover. Will be corrected soon. 1 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661701 Share on other sites More sharing options...
bidero Posted January 28, 2019 Share Posted January 28, 2019 I'm still having problem using "PlayAsync" no matter what Clover revision I'm on. While it's working great when entering the GUI (the sound starts to play just before it reaches GUI and stops), when there is no timeout set, no GUI invoked and Clover is booting directly to Mojave, the sound keeps looping through the 1st stage - until RX580 is initiated. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661772 Share on other sites More sharing options...
Badruzeus Posted January 28, 2019 Share Posted January 28, 2019 (edited) Thanks @Slice "PlayAsync=true" is now working fine with r4866, currently.. using provided AudioDxe-64.efi from SF, but only with UEFI (also no more stuck on Apple logo if BootChimeDxe.efi is loaded). Still I get no idea how to make it works with Legacy; I've cleared NVRAM several times, reconfiguring AudioIO through Clover's Startup Sound Option or even with ..\tools\BootChimeCfg, with no success. Not a big deal for me, though. And about r4866 commit (it' s bit sensitive area to discuss related to licensing, but..) I've to tell that all sound*.wav files provided with my uploaded Clover themes on repo were taken from Android Open Source Project (AOSP) notification audio located on \system\media\audio\notifications: Antimony Capella Castor Deneb Highwire KzurbSonar MoonBeam OnTheHunt Palladium PixieDust Pizzicato Polaris Pollux Procyon SpaceSeed Voila Xenon Correct me if I'm wrong. preboot.log_a43sj_r4866.zip Edited January 28, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661790 Share on other sites More sharing options...
LockDown Posted January 28, 2019 Share Posted January 28, 2019 @Slice Preasing F7 to test sound is distorted. Sound is good if you boot though. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661791 Share on other sites More sharing options...
SavageAUS Posted January 28, 2019 Share Posted January 28, 2019 Thanks [mention=112217]Slice[/mention] "PlayAsync=true" is now working fine with r4866, currently.. using provided AudioDxe-64.efi from SF, but only with UEFI (also no more stuck on Apple logo if BootChimeDxe.efi is loaded). Still I get no idea how to make it works with Legacy; I've cleared NVRAM several times, reconfiguring AudioIO through Clover's Startup Sound Option or even with ..\tools\BootChimeCfg, with no success. Not a big deal for me, though. And about r4866 commit (it' s bit sensitive area to discuss related to licensing, but..) I've to tell that all sound*.wav files provided with my uploaded Clover themes on repo were taken from Android Open Source Project (AOSP) notification audio located on \system\media\audio\notifications: Antimony Capella Castor Deneb Highwire KzurbSonar MoonBeam OnTheHunt Palladium PixieDust Pizzicato Polaris Pollux Procyon SpaceSeed Voila Xenon Correct me if I'm wrong.preboot.log_a43sj_r4866.zipDid you have to reconfigure audio after switching from goldfish’s AudioDxe to clovers? Did you keep or remove BootChimeDxe? Sound when entering Mac drive or before GUI? I just installed 4866 and no sound that’s why I ask. Sent from my iPhone using Tapatalk Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661792 Share on other sites More sharing options...
Badruzeus Posted January 28, 2019 Share Posted January 28, 2019 Just now, SavageAUS said: Did you have to reconfigure audio after switching from goldfish’s AudioDxe to clovers? Did you keep or remove BootChimeDxe? Sound when entering Mac drive or before GUI? I just installed 4866 and no sound that’s why I ask. I've tried all of them and having no issue with Realtek ALC269-VB: 1. Keep prev. nvram vars + Goldfish64's AudioDxe = Success 2. Clear prev. nvram vars + Clover's AudioDxe = Success 3. Using Goldfish64's AudioDxe + BootChimeDxe = Success 4. Using Clover's AudioDxe + BootChimeDxe = Success 5. Configuring AudioIO via Clover Startup Audio Options = Saved 6. Configuring AudioIO via Shell > efi\clover\tools\bootchimecfg = Saved. Only AudioDxe with Legacy is not working (yet) on my case. 1 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661793 Share on other sites More sharing options...
fusion71au Posted January 29, 2019 Share Posted January 29, 2019 19 minutes ago, Badruzeus said: Only AudioDxe with Legacy is not working (yet) on my case. Strange. With r4866, boot chime now working on my legacy machines with native Clover AudioDxe-64.efi (sound before Clover GUI). Previously, only worked with self compiled Goldfish64's AudioDxe + BootChimeDxe (sound after selecting/booting macOS entry). Boot log... 8:333 0:000 found 2 handles with audio 8:333 0:000 got index=1 8:333 0:000 got volume 85 8:333 0:000 === [ InitTheme ] ========================================= 8:333 0:000 use night theme 8:346 0:013 Using theme 'BGM' (EFI\CLOVER\themes\BGM) 8:347 0:000 OS main and drive as badge 8:347 0:000 file sound read: sound_night.wav Not Found 8:357 0:009 Channels: 2 Sample rate: 44100 Hz Bits: 16 8:357 0:000 output to channel 1 with volume 85, len=560896 8:357 0:000 sound channels=2 bits=16 freq=44100 11:977 3:620 free sound 11:977 0:000 sound play end with status=00000040 11:978 0:001 Loading font from ThemeDir: Success 11:979 0:000 theme inited 11:979 0:000 Chosen theme BGM 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661797 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 @Slice I have tried almost everything and still the same. The sound keeps looping. Clover 4866, AudioDxe R1, PlayAsync. Here's a video that will hopefully explain the issue. There are two parts. At the beginning of the video I'm invoking GUI by a keypress. The sound plays nicely. After the reboot I'm letting clover to automatically boot to MacOS - and here is where the fun begins By the way, AudioDxe adds around 3 seconds extra to the boot time Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661798 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 22 minutes ago, fusion71au said: Strange. With r4866, boot chime now working on my legacy machines with native Clover AudioDxe-64.efi (sound before Clover GUI). Previously, only worked with self compiled Goldfish64's AudioDxe + BootChimeDxe (sound after selecting/booting macOS entry). If only you told me how to make it works with Legacy I meant; on a Legacy BIOS with Clover installed w/o mac.. having (Apple Like) Chime is cool isn't it? Hah haa Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661804 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 44 minutes ago, bidero said: @Slice I have tried almost everything and still the same. The sound keeps looping. Clover 4866, AudioDxe R1, PlayAsync. Here's a video that will hopefully explain the issue. There are two parts. At the beginning of the video I'm invoking GUI by a keypress. The sound plays nicely. After the reboot I'm letting clover to automatically boot to MacOS - and here is where the fun begins By the way, AudioDxe adds around 3 seconds extra to the boot time Your issue seems about BootChimeDxe (sound that we hear when loading boot.efi / Apple Logo) This is actually, out of discussion here. But try using this previous version: BootChimeDxe-64.zip Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661807 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 18 minutes ago, Badruzeus said: Your issue seems about BootChimeDxe (sound that we hear when loading boot.efi / Apple Logo) This is actually, out of discussion here. But try using this previous version: BootChimeDxe-64.zip Unfortunately not. I'm not using BootChimeDxe. With BootChimeDxe the sound is played exactly the moment the apple logo appears and it's working OK. When using PlayAsync + AudioDxe only, the sound is played much earlier (much closer to the real mac) and continues to GUI, or starts looping when timeout is set to 0. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661809 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 3 minutes ago, bidero said: Unfortunately not. I'm not using BootChimeDxe. With BootChimeDxe the sound is played exactly the moment the apple logo appears and it's working OK. When using PlayAsync + AudioDxe only, the sound is played much earlier (much closer to the real mac) and continues to GUI, or starts looping when timeout is set to 0. Give us preboot.log (or debug.log). Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661810 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 26 minutes ago, Badruzeus said: Give us preboot.log (or debug.log). Here it is. But like I said, when entering Clover GUI, the sound plays perfectly. It only loops (and a bit at the end is cut off) when the GUI is not invoked. preboot.log 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661811 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 (edited) 8 minutes ago, bidero said: Here it is. But like I said, when entering Clover GUI, the sound plays perfectly. It only loops (and a bit at the end is cut off) when the GUI is not invoked. OK, I just watched your video once more. Have you tried with PlayAsync=false under GUI? Edited January 29, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661812 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 3 minutes ago, Badruzeus said: OK, I just watched your video once more. Have you tried with PlayAsync=false under GUI? With PlayAsync turned off everything is OK, but you have to wait almost 4 seconds for the sound to be played. The reason I would like to use async is that the sound starts playing much earlier and the apple logo shows up during the chime. This way I can shave few seconds of the boot time. With BootChimeDxe the problem is only partially solved, as AudioDxe still needs to load and it also takes a bit. So with PlayAsync this first part of boot (where you see black screen with all the logos removed) takes almost half the time compared to BootChimeDxe and double that with Async turned off. 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661815 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 3 minutes ago, bidero said: With PlayAsync turned off everything is OK, but you have to wait almost 4 seconds for the sound to be played. The reason I would like to use async is that the sound starts playing much earlier and the apple logo shows up during the chime. This way I can shave few seconds of the boot time. With BootChimeDxe the problem is only partially solved, as AudioDxe still needs to load and it also takes a bit. So with PlayAsync this first part of boot (where you see black screen with all the logos removed) takes almost half the time compared to BootChimeDxe and double that with Async turned off. Is this issue occurred after r4866 only or..? You may try rolling back to attached r4864 below (+ Goldfish64's AudioDxe): r4864_AudoDxe_Goldfish64.zip Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/744/#findComment-2661816 Share on other sites More sharing options...
Recommended Posts