Jump to content
ErmaC

Clover General discussion

21,117 posts in this topic

Recommended Posts

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).

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

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

 

Screenshot 2.png

Edited by Badruzeus

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 by Badruzeus

Share this post


Link to post
Share on other sites
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.zip

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.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

@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 <_<

 

 

 

 

 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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 by Badruzeus

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

@slice

Is it possible to use a different sound.wav file when using the embedded theme, it always seems to use the embedded sound (sound.c) even when a sound.wav file is placed in the embedded theme folder

Thanks!

Share this post


Link to post
Share on other sites

No, embedded theme assumes ThemeDir=NULL. The folder exists for Clover.PrefPane to choose embedded theme.

I think you have no problem to compile Clover with other sound.

any.wav 16bit/8000Hz

xxd -l any.wav sound.c

Edit the name of the array and the name of the length. Replace in clover source and compile.

Share this post


Link to post
Share on other sites

r4866, report.

PlayAsync=TRUE, scan drive with play sound, then enter GUI. and i have a timeout 3, 3 -> 2 -> 1  freeze system.

PlayAsync=FALSE, scan drive after play sound, then enter GUI. there is no problem.

Edited by Sherlocks

Share this post


Link to post
Share on other sites
19 minutes ago, Sherlocks said:

r4866, report.

PlayAsync=TRUE, scan drive with play sound, then enter GUI. and i have a timeout 3, 3 -> 2 -> 1  freeze system.

PlayAsync=FALSE, scan drive after play sound, then enter GUI. there is no problem.

You may try again with AudioDxe-64.efi from AudioPkg repo?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

  • Similar Content

    • By gengstapo
      @Hervé
       
      Im having similar issue with my HS setup, dell latitute 3480, i5-7200U
      Once the hdmi plugged in, the laptop display went blank, only could see the external tv
      But, when i put my laptop to sleep & wake up again, both screen got display (hdmi still connected)
      Even the hdmi could be plugged off & in (after sleep), the laptop display is fine
       
      What could be the culprit?
      Dell’s MacBook Pro IORegistry.zip
      config.plist.zip
    • By TomZanna
      Hi, I'm trying to install Mac Os Catalina on a HP 550-132NL.
      The system has:
      i7-6700
      RAM 12 GB
      GT 730
      LAN Realtek RTL8161
      ALC3863
       
      It passes the verbose phase but after the Apple logo goes away, it gets stuck on a grey screen and I can only move the pointer.
      Can I try to boot with the iGPU?
       
      origin.zip
      CLOVER_dGPU_USB_3.zip
    • By MaLd0n
      ---TUTORIAL---
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Original Post--
      https://www.olarila.com/topic/6531-olarila-hackbeast-z390-designare-thunderbolt-full-dsdt-patches-clover-opencore/
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://www.olarila.com/topic/6364-mojave-catalina-on-mobos-series-100200300-with-opencore-bootloader/
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By dgsga
      Can I propose a new subforum be created for the new OpenCorePkg OpenCore front end being created by vit9696 and others, it is a fantastic piece of work:
      https://github.com/acidanthera/OpenCorePkg
      Even at version 0.1 it runs my Mojave 10.14.4 setup very nearly flawlessly. It consists of a 10KB bootstrap BootX64.efi and a 200KB OpenCore.efi OS loader. All configuration is done using a very well documented config.plist 
       
       
×