Jump to content
ErmaC

Clover General discussion

21,070 posts in this topic

Recommended Posts

You have to comment out the line as mentioned on the previous page and then compile, I guess this will be fixed in a future build.

 

 

Edited by D-an-W

Share this post


Link to post
Share on other sites
Advertisement
3 hours ago, Slice said:

Congratulation! You have fine ear for music!

It is not a cat, this sound made by my daughter. :P

Another one

 

sound.wav 2.zip

 

I only got sound after press enter to my macOS partition, but there is no sound before GUI Clover. I put sound.wav and sound_night.wav in BGM_SVG theme folder. I used Clover r4836

image.thumb.png.cbd8e78e7c72cdc0057f455c337b52c1.png

 

 

Share this post


Link to post
Share on other sites

Update : try with CLOVER r4840 and result still same. Only sound after i press enter in macOS Partition (macOS Chime sound), but no sound before GUI Clover.

Here is the log (sound.wav and sound_night.wav are in BGM_SVG folder theme)

preboot.log

Share this post


Link to post
Share on other sites
2 hours ago, D-an-W said:

 

 

Regarding the AFTER Clover GUI sound, I still can't get the OS to boot if BootChimeDxe.efi is present in Drivers64UEFI but I do get the sound (Just no progress bar shows up).

BootChimeDxe is out of discussion here. I didn't make it and didn't recommend it.

Share this post


Link to post
Share on other sites
5 minutes ago, Slice said:

BootChimeDxe is out of discussion here. I didn't make it and didn't recommend it.

Why ? its part of Audiopkg 

No issue here using this drivers on drivers64

Edited by chris1111

Share this post


Link to post
Share on other sites
23 minutes ago, Slice said:

BootChimeDxe is out of discussion here. I didn't make it and didn't recommend it.

Is my *.wav audio config correct? Converting with VLC #btw

I uploaded them here (credits: Zedge, etc.)

Can't test them one by one, especially using VM (bcoz it sees no Audio Device detected, right?).

 

Screenshot 21.png

Share this post


Link to post
Share on other sites
11 minutes ago, Badruzeus said:

Is my *.wav audio config correct? Converting with VLC #btw

I uploaded them here (credits: Zedge, etc.)

Can't test them one by one, especially using VM (bcoz it sees no Audio Device detected, right?).

 

Screenshot 21.png

The config is correct at least it is the same as my.

My sound card supported 16bps/44100Hz and your?

Share this post


Link to post
Share on other sites
1 hour ago, Andres ZeroCross said:

Update : try with CLOVER r4840 and result still same. Only sound after i press enter in macOS Partition (macOS Chime sound), but no sound before GUI Clover.

Here is the log (sound.wav and sound_night.wav are in BGM_SVG folder theme)

preboot.log


Solved,, just set NVRAM Variables to YES in CLOVER Preferences. Then go to shell and config bootchimecfg.efi. And i must delete BootChimeDxe.efi to prevent hang on apple logo.

Play Async with true still very buggy,, audio stop after i press any key in CLOVER GUI.

Share this post


Link to post
Share on other sites
23 minutes ago, Slice said:

The config is correct at least it is the same as my.

My sound card supported 16bps/44100Hz and your?

I can hear all sample rate's Test from 44100-192000 Hz when running Windows with my Realtek ALC269-VB.

Is there any diff. on system preboot compared to running system on this case?

Speakers.png

Share this post


Link to post
Share on other sites

Hey @Slice, you missed one problem in 4840. I noted here you made a mistake in loading the sound 

If it's daylight, then the sound is not loaded because you are only checking for error which should not have happened unless night time sound was not found. Might I suggest you change to this:

    if (!DayLight) {
      Status = StartupSoundPlay(ThemeDir, L"sound_night.wav");
    }
    if (DayLight || EFI_ERROR(Status)) {
      Status = StartupSoundPlay(ThemeDir, L"sound.wav");
    }

 

EDIT: PS. Did anyone see that github now has unlimited private repositories? Is microsoft actually making something better?? Did I die like three years ago and now I'm in a weird simulation where they are keeping my brain alive as some sort of computational machine?

Edited by apianti

Share this post


Link to post
Share on other sites

@apianti

I mean that if daylight OR (SOUND_NIGHT IS NOT FOUND) then play sound.wav. For me it works tested day and night.

Some problems with allocated pools and opened protocols.

Share this post


Link to post
Share on other sites

So, with PlayAsync=true using r4840 I hear "\Theme Name\sound.wav" on Clover GUI loading.

It' s working, thanks @Slice but just.. when GUI appears, simultaneous wav sounds crappy (or buggy as what you said).

Share this post


Link to post
Share on other sites
1 hour ago, Slice said:

@apianti

I mean that if daylight OR (SOUND_NIGHT IS NOT FOUND) then play sound.wav. For me it works tested day and night.

Some problems with allocated pools and opened protocols.

 

Except this line breaks your assumption that Status is an error: https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l4198. Which is why some users had crash in CheckSyncSound() because no AudioIo was ever set because StartupSoundPlay() isn't called if a raster theme is loaded successfully unless it's night time. As for the sound breaking when playing asynchronously it is because of this: https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/Drivers/AudioDxe/HdaController/HdaControllerMem.c#l446. All the events in WaitForInputEventPoll() have the same tpl of TPL_NOTIFY meaning that the callback for the audio will not interrupt any of these. Try changing to TPL_HIGH_LEVEL and see if that gives correct results.

 

EDIT: Actually probably all driver events are TPL_NOTIFY, so probably every driver event is not interrupted like it should be to continue playing the sound.

Edited by apianti

Share this post


Link to post
Share on other sites

Now i test it again, use Clover r4840.

1. Delete BootChimeDxe.efi di Drivers64Uefi
2. Just use AudioDxe.efi in Drivers64UEFI
4. Set audio device from shell (There is sound when command applied)
5. Put sound wav and sound_night.wav in BGM_SVG folder

There is no sound before GUI CLOVER or in CLOVER (PlayAsync=False).

There is log "not found AudioIo" in preboot log.

Try reset Nvram (F11 in Gui clover), set from shell but no change

Thanks

 

c3f154f57065875d67e760d0844f853f.jpg

Sent from my Mi Note 2 using Tapatalk
 

preboot.log

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
15 minutes ago, Andres ZeroCross said:
Now i test it again, use Clover r4840.

1. Delete BootChimeDxe.efi di Drivers64Uefi
2. Just use AudioDxe.efi in Drivers64UEFI
4. Set audio device from shell (There is sound when command applied)
5. Put sound wav and sound_night.wav in BGM_SVG folder

There is no sound before GUI CLOVER or in CLOVER (PlayAsync=False).

There is log "not found AudioIo" in preboot log.

Try reset Nvram (F11 in Gui clover), set from shell but no change

Thanks
 
c3f154f57065875d67e760d0844f853f.jpg&key=d5a2bb75ad7ad5876bef6ca9074dfbe9e4748188b0d818c49b9434edc869641d

Sent from my Mi Note 2 using Tapatalk
 
preboot.log


May sound silly but you are using the theme that you put the sound files on yeah?


Sent fr

Edited by SavageAUS

Share this post


Link to post
Share on other sites
3 minutes ago, SavageAUS said:


May sound silly but you are using the theme that you put the sound files on yeah?


Sent from my iPhone using Tapatalk
May sound silly but you are using the theme that you put the sound files on yeah?


Sent from my iPhone using Tapatalk


Yeah,,

Theme is loaded but sound = no

  

image.png

Share this post


Link to post
Share on other sites
43 minutes ago, Andres ZeroCross said:

Now i test it again, use Clover r4840.

1. Delete BootChimeDxe.efi di Drivers64Uefi
2. Just use AudioDxe.efi in Drivers64UEFI
4. Set audio device from shell (There is sound when command applied)
5. Put sound wav and sound_night.wav in BGM_SVG folder

There is no sound before GUI CLOVER or in CLOVER (PlayAsync=False).

There is log "not found AudioIo" in preboot log.

Try reset Nvram (F11 in Gui clover), set from shell but no change

Thanks

Sent from my Mi Note 2 using Tapatalk

 

This shows that there is just no audio io protocol installed on any of the devices, did you check to make sure you have nvram variables after configuring and restart?

 

EDIT: Nevermind, it wouldn't have gotten that far if they didn't exist. There should be a line that prints out the device path of the selected device, I bet it is being converted incorrectly so it doesn't match the one clover is using exactly.

EDIT2: Please run this command on your EFI partition and upload the file it generates:

dmpstore -all > nvram.txt

 

Edited by apianti

Share this post


Link to post
Share on other sites
 
This shows that there is just no audio io protocol installed on any of the devices, did you check to make sure you have nvram variables after configuring and restart?
 
EDIT: Nevermind, it wouldn't have gotten that far if they didn't exist. There should be a line that prints out the device path of the selected device, I bet it is being converted incorrectly so it doesn't match the one clover is using exactly.
Sorry, i am not sure how to check it?

Sent from my Mi Note 2 using Tapatalk

Share this post


Link to post
Share on other sites

Please run this command on your EFI partition and upload the file it generates:

dmpstore -all > nvram.txt
 
Edited by apianti

Share this post


Link to post
Share on other sites
23 minutes ago, apianti said:

This shows that there is just no audio io protocol installed on any of the devices, did you check to make sure you have nvram variables after configuring and restart?

 

EDIT: Nevermind, it wouldn't have gotten that far if they didn't exist. There should be a line that prints out the device path of the selected device, I bet it is being converted incorrectly so it doesn't match the one clover is using exactly.

If i use all the files from here, i have to rename sound.wav to sound_night.wav else no sound. but if i make my own sound.wav/sound_night.wav, i got no sound.

 

So maybe @apianti's EDIT: above make sense.

 

Share this post


Link to post
Share on other sites
10 minutes ago, cecekpawon said:

 

Yeah, that's why I wanted to see the variable value. I imagine he is still using the older version though, which could also have an issue with matching the string.

 

10 minutes ago, ellaosx said:

If i use all the files from here, i have to rename sound.wav to sound_night.wav else no sound. but if i make my own sound.wav/sound_night.wav, i got no sound.

 

So maybe @apianti's EDIT: above make sense.

 

 

These are unrelated problems. For the sound.wav to sound_night.wav, yes that is problem for raster theme as I posted before. For your own sounds, see here:

 

Edited by apianti

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 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 
       
       
    • By kingoffright
      Dear all,
       
      I have a external harddisk about 500GB, I installed the clover into it and the harddisk is GPT format, below is the 3 partitions details:
      FS01: EFI - disk0s1 - fat32
      FS02: install mac  image - disk0s2 -  hfs+
      FS03: install windows 10 - disk0s3 - fat32
       
      I can use this external harddisk to install Mac without issue, I use below steps to install windows 10
      enter the FS03:
      cd to efi/boot/ and excuete bootx64.efi
      after pop up the windows install screen, i click next and it shows error 'A media driver your computer needs is missing...' and the installation can not go any further.
      Firstly I use ultraiso to write the windows 10 image to a flash disk and no issue to start install window 10 so the image is working fine. Since I dont know how to write
      a wiindow installation image into harddisk partition, I used winrar extra all the files into disk0s3, am I missing some steps or actually clover not support to install windows
      by partitions, apprecating any helps.
       
×