Jump to content
ErmaC

Clover General discussion

18,976 posts in this topic

Recommended Posts

 
after Clover UI its a Apple Logo and the sound start at this time
But the Chime start even booting verbose  mode
 
how can i do this?
i want only boot sound when present apple logo.

나의 LG-F800S 의 Tapatalk에서 보냄

Share this post


Link to post
Share on other sites
Advertisement
 

Well I compile myself AudioPkg and it works very well at revision Clover 4834

No setup nothing, Boot Chime works 
Here are the files to put in your EFI 4834 ➤ or more HIGHER

Of course the Chime is in the Hackintosh-MF theme if you use another theme, put the Chime in the exact theme

enjoy :)

EFI.zip

 

nice work. firstly, on none touch setting, seems volume size is 100%. i have to set vol 60% on shell.

Share this post


Link to post
Share on other sites

I don't seem to be getting a before Clover GUI sound anymore and the only thing I can think has changed is the "Daylight Theme" is being selected...

4:507  0:000  === [ InitTheme ] =========================================
4:507  0:000  use daylight theme
4:519  0:011  Using theme 'Mojave' (EFI\CLOVER\themes\Mojave)
4:519  0:000  theme Mojave defined in NVRAM found and theme.plist parsed
4:519  0:000  OS main and drive as badge
4:522  0:003  Loading font from ThemeDir: Success
4:522  0:000  theme inited
4:522  0:000  Chosen theme Mojave
4:523  0:000  after NVRAM boot-args=

I have sound.wav and sound_night.wav in the theme folder (Both same file).

 

This is the log from last night...

4:625  0:000  === [ InitTheme ] =========================================
4:625  0:000  use night theme
4:636  0:011  Using theme 'Mojave' (EFI\CLOVER\themes\Mojave)
4:636  0:000  theme Mojave defined in NVRAM found and theme.plist parsed
4:636  0:000  OS main and drive as badge
4:643  0:006    Channels: 2  Sample rate: 44100 Hz  Bits: 16
4:643  0:000  found 2 handles with audio
4:644  0:000  stored device=PciRoot(0x0)/Pci(0x1B,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,02000000)
4:644  0:000  got index=1
4:644  0:000  got volume 80
4:644  0:000  output to channel 1 with volume 80, len=411172
8:372  3:728  Loading font from ThemeDir: Success
8:373  0:000  theme inited
8:373  0:000  Chosen theme Mojave
8:373  0:000  after NVRAM boot-args=

 

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

Share this post


Link to post
Share on other sites
Posted (edited)

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
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
Posted (edited)
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
Posted (edited)

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
Posted (edited)
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
Posted (edited)

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
Posted (edited)
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

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   0 members

    No registered users viewing this page.

  • Similar Content

    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
×