Jump to content
ErmaC

Clover General discussion

19,036 posts in this topic

Recommended Posts

Advertisement
 

Oh cool, I got it..!!!

Fully powering off mach, F11 to reset NVRAM, reboot.. freeze! A same issue like yours (UEFI) LoL, no problem on 1st reboot though. And using legacy it leads me to red screen of death, du no what's wrong with r4839.

(I'm still able booting to Linux using BIOS StartUp key for rolliing back to r4836, nevermind).

 

What is the last legacy revision that works because I don't see anything that should be affecting legacy in between those revisions. You are getting a general protection fault which means usually that a pointer has an incorrect address of unallocated memory region being used.

Share this post


Link to post
Share on other sites
Posted (edited)
 

What is the last legacy revision that works because I don't see anything that should be affecting legacy in between those revisions. You are getting a general protection fault which means usually that a pointer has an incorrect address of unallocated memory region being used.

OK, r4839 (UEFI / Legacy) is now working fine after commenting those line. Thanks.

I no longer hear "../Theme Name/sound.wav" ringing before GUI loaded though.

 

It looks like I misunderstood @Slice r4833 changelogs:

\Theme Name\sound.wav = Before Clover GUI

\drivers64UEFI\BootChimeDxe.efi = After it (pausing 5 secs on Apple logo, similar to a real mac w/o *.wav)

Honestly, I assumed *.wav file provided by him is Apple BootChime audio LoL

With r4836, I could hear both of them ringing (before & after Clover GUI, having diff. StartUp audios).

preboot.log_r4839_legacy_pointer.zip

Edited by Badruzeus

Share this post


Link to post
Share on other sites

Yeah IDK I see a bunch of problems with sound in the theme. For instance this makes no sense:

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

It only plays the sound if it's not daylight or there is an error and it's daylight? This should be written differently. Seems that the entire purpose of CheckSyncSound() is to stop playing the sound when the GUI is active, but why? It's played synchronously so this should never happen. So this call probably will always cause a hang since it calls StopStream without even checking if it's playing. Also If AudioIo is not found then the check for the private data is invalid since (NULL - offset) is a really large number and fails the check that it's NULL. AudioIo should be checked if NULL first.

Share this post


Link to post
Share on other sites
 

Clover4839 - only Fast Boor works.

Sorry! Clover4839UEFI  is works.

4839.jpg.6e288943e1e72477f3497ed4b447d39a.jpg

6:917  0:000  using scale  1.406250
6:917  0:000  theme contains font-family=DragonIsComing
7:118  0:200  found clipPaths for Banner
7:118  0:000  Banner position at parse [608,124]
7:137  0:019  parsed banner->width=773
7:139  0:001   icon 3 not parsed take common icons\func_secureboot
7:139  0:000   icon 4 not parsed take common icons\func_secureboot_config
7:141  0:002   icon 9 not parsed take common icons\tool_part
7:141  0:000   icon 10 not parsed take common icons\tool_rescue
7:142  0:000   icon 12 not parsed take common icons\vol_internal
7:142  0:000   icon 14 not parsed take common icons\vol_optical
7:142  0:000   icon 15 not parsed take common icons\vol_firewire
7:142  0:000   icon 16 not parsed take common icons\vol_clover
7:142  0:000   icon 17 not parsed take common icons\vol_internal_hfs
7:142  0:000   icon 18 not parsed take common icons\vol_internal_apfs
7:142  0:000   icon 19 not parsed take common icons\vol_internal_ntfs
7:142  0:000   icon 20 not parsed take common icons\vol_internal_ext3
7:144  0:001  icon main size=[203,203]
7:146  0:001  OSicon os_tiger not parsed
7:146  0:000  OSicon os_leo not parsed
7:146  0:000  OSicon os_snow not parsed
7:146  0:000  OSicon os_lion not parsed
7:146  0:000  OSicon os_cougar not parsed
7:146  0:000  OSicon os_mav not parsed
7:146  0:000  OSicon os_yos not parsed
7:162  0:015  OSicon os_suse not parsed
7:162  0:000  OSicon os_freebsd not parsed
7:162  0:000  OSicon os_freedos not parsed
7:166  0:003  parsing theme finish
7:166  0:000  Using vector theme 'cesium' (EFI\CLOVER\themes\cesium)
7:171  0:005    Channels: 2  Sample rate: 44100 Hz  Bits: 16
7:171  0:000  found 3 handles with audio
7:172  0:000  stored device=PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)
7:172  0:000  stored device=PciRoot(0x0)/Pci(0x1F,0x3)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)
7:172  0:000  got index=1
7:173  0:000  got volume 70
7:173  0:000  output to channel 1 with volume 70, len=4123880
31:624  24:451  theme inited
31:624  0:000  Chosen theme cesium
31:625  0:000  after NVRAM boot-args=darkwake=0

 

 

Share this post


Link to post
Share on other sites
Posted (edited)

Thanks apianti and blackosx got me booting with 4839, now to figure out the changes to make sounds work on boot!

 

EDIT: For me the sample provided by Slice works fine before the Clover GUI loads (Is it a cat?!?) and if I setup and test the boot chime in the shell I can hear it just fine using "BootChimeCfg.efi -t" but I don't hear anything when the OS is loading, could this be due to commenting out that line?

 

Boot.log of the important bit (I think)...

4:500  0:000  === [ InitTheme ] =========================================
4:500  0:000  use night theme
4:512  0:011  Using theme 'Mojave' (EFI\CLOVER\themes\Mojave)
4:512  0:000  theme Mojave defined in NVRAM found and theme.plist parsed
4:512  0:000  OS main and drive as badge
4:513  0:000  file sound not found
4:517  0:004    Channels: 2  Sample rate: 44100 Hz  Bits: 16
4:517  0:000  found 2 handles with audio
4:518  0:000  stored device=PciRoot(0x0)/Pci(0x1B,0x0)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,02000000)
4:518  0:000  got index=1
4:518  0:000  got volume 80
4:518  0:000  output to channel 1 with volume 80, len=353440
7:846  3:327  Loading font from ThemeDir: Success
7:847  0:000  theme inited
7:847  0:000  Chosen theme Mojave
7:847  0:000  after NVRAM boot-args=

 

Edited by D-an-W

Share this post


Link to post
Share on other sites
 

No you need BootChimeDxe.efi in drivers64UEFI for the chime to happen during macos boot. Also you may need to configure it if you haven't.

 

Where do I get BootChimeDxe.efi please?

 

I have \EFI\Clover\Tools\BootChimeCfg.efi and also EFI\Clover\Drivers64UEFI\AudioDxe.efi present and I have configured it with BootChimeCfg.efi -s 2 -v 80 -t from the Shell which then plays the Chime ok.

Share this post


Link to post
Share on other sites
 

Where do I get BootChimeDxe.efi please?

 

I have \EFI\Clover\Tools\BootChimeCfg.efi and also EFI\Clover\Drivers64UEFI\AudioDxe.efi present and I have configured it with BootChimeCfg.efi -s 2 -v 80 -t from the Shell which then plays the Chime ok.

You can build it your self with commands like..

git clone https://github.com/Goldfish64/AudioPkg
./macbuild.tool //or debbuild.sh under Linux (GCC5)

Binaries will be located on:

~/AudioPkg/UDK/Build/AudioPkg/RELEASE_XCODE5/X64

 

 

I no longer hear "../Theme Name/sound.wav" ringing before GUI loaded though.

I've to correct that with r4839 (commented), it works.. previously had problem with *.wav file used. My mistake.

AudioPkg-R1-RELEASE.zip

Share this post


Link to post
Share on other sites
Posted (edited)

Thanks, with your BootChimeDxe.efi in Drivers64UEFI I get the sound ok but can't boot, there is no progress bar shown it just sits with the Apple logo on screen after playing the Chime.

Edited by D-an-W

Share this post


Link to post
Share on other sites
Posted (edited)
 

Thanks, with your BootChimeDxe.efi in Drivers64UEFI I get the sound ok but can't boot, there is no progress bar shown it just sits with the Apple logo on screen after playing the Chime.

The dev said it' s still unstable #atm

You can try clear BootChimeCfg.efi NVRAM var with:

> FS0:
> cd EFI\CLOVER\tools
> BootChimeCfg.efi -x

// Reconfigure, or remove if it causes failed boot:
> cd EFI\CLOVER\drivers64UEFI
> rm BootChimeDxe.efi

 

Edited by Badruzeus

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
 

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

 

 

Are you referring to the sound made before the Clover UI or when the Apple logo appears please?

Share this post


Link to post
Share on other sites
Posted (edited)

Well, to be clear.. I'm sorry; actually @Slice never talk about "BootChimeDxe.efi" for implementation with Clover theme.

But it was me that at the 1st time made it becomes bit complicated on this topic. Oh yeah, it's probably working fine for some to be loaded with our bootloader, but both are 2 diff. stuffs, I think.

Edited by Badruzeus

Share this post


Link to post
Share on other sites
 
 
Are you referring to the sound made before the Clover UI or when the Apple logo appears please?

I only get custom sound before clover GUI, not at apple logo.


Sent from my iPhone using Tapatalk
 
 
Are you referring to the sound made before the Clover UI or when the Apple logo appears please?

I only get custom sound before clover GUI, not at apple logo.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
 

 

 

Are you referring to the sound made before the Clover UI or when the Apple logo appears please?

 

after Clover UI its a Apple Logo and the sound start at this time

But the Chime start even booting verbose  mode

 :D

Share this post


Link to post
Share on other sites
Posted (edited)
 

r4836 is no problem. since r4837, i got freeze gui

 

And another user in the same situation. Clover screen comes up and immediately hangs. Boot with 4836 and all is fine.

Edited by crashmaster4999

Share this post


Link to post
Share on other sites
There are different sounds before and after Clover GUI.

How do we set different sounds for before and after gui? I only get sound before gui not after using my own .wav file. Also does it have to be named sound.wav? I think I tried it named differently and it did not work.


Sent from my iPhone using Tapatalk
There are different sounds before and after Clover GUI.

How do we set different sounds for before and after gui? I only get sound before gui not after using my own .wav file. Also does it have to be named sound.wav? I think I tried it named differently and it did not work.


Sent from my iPhone using Tapatalk

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 SepehrM
      I'm trying to install High Sierra 10.13.3 on an ASUS N552VW laptop, and I get stuck after this message:
      "could not recover SATA HDD after 5 attempts, terminating" 
      And some other warnings afterwards.
      Specs:
      CPU: Intel Skylake 6700HQ 2.6GHz
      RAM: 16GB DDR4
      2TB HDD + 128GB SSD
      GPU: Intel HD Graphics 530 + Nvidia GTX960m
      I'm installing using a 16GB USB3 flash drive on one of HDD volumes (UEFI Mode)
       
      I uploaded the verbose log and clover config.plist
      config-new.plist

    • By Reel
      All work except camera
      You need SwitchResX that the screen does not freeze
         


    • 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
×