Jump to content
ErmaC

Clover General discussion

19,035 posts in this topic

Recommended Posts

Advertisement
2 hours ago, MakAsus said:
In version 4852 when I press F7 to any output, no longer hangs, but there is no sound, and most importantly, the sound does not appear at the start. If you configure the output and volume by BootChimeCfg.efi, then the sound appear at the start fine.  I using the built-in version 4852 drivers now.

log fragment:


8:426  0:000  Using vector theme 'Clovy' (EFI\CLOVER\themes\Clovy)8:443  0:016    Channels: 2  Sample rate: 44100 Hz  Bits: 168:443  0:000  output to channel 2 with volume 90, len=4211208:443  0:000   sound channels=2 bits=16 freq=4410011:239  2:795  theme inited
 

Here is a complete dump of the case when there is no sound:

nvramdump.txt

 

Have you tried 4853?

 

F7 is still a little buggy. But you shouldn't need BootChimeCfg.efi anymore, aaand...as Steve Jobs loved to say: it just works. I mean, the UI might still need some tweaking. But it does pretty much what I wanted it to do by default.

 

Give this one a try (attached). See if it works for you.

Clover_v2.4k_r4853.zip

 

Update: although BootChimeCfg.efi is not necessary with this build in order to get the boot sound, and the bug with the guitar distorted kind of sound was fixed with this build, the configuration UI doesn't seem to work as of right now, so, the only way I could find to configure the volume, for example, is from Shell, using BootChimeCfg.efi.

 

So, you probably shouldn't remove it just yet.

 

In the UI, if you try to change the volume (from already set 60 to 70 for example), it will reset itself to 0000.

Also, not sure if this is intended, but, no matter which output device you select, when you enter this section, it will always default to the first one, although that is not the one used for sound.

And, as I mentioned in my previous messages, F7 doesn't play back the sound for testing.

 

 

Screenshot1.thumb.png.c062bae00bdae9332fba6fe0296f193f.png

Edited by arsradu

Share this post


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

In the UI, if you try to change the volume (from already set 60 to 70 for example), it will reset itself to 0000.

Also, not sure if this is intended, but, no matter which output device you select, when you enter this section, it will always default to the first one, although that is not the one used for sound.

And, as I mentioned in my previous messages, F7 doesn't play back the sound for testing.

 

Same for me on my ASRock Z370 Prof. Gaming i7 running Clover 4853 rev.

Also rev. 4853 seems to hang before it enters CLOVER Menu. I have NO BootChimexxx in my EFI folder (no BootChime.efi, either NO BootChimeCFG). Just AudioDXE.efi in DriversX64 folder.

Share this post


Link to post
Share on other sites
2 minutes ago, Mork vom Ork said:

 

Same for me on my ASRock Z370 Prof. Gaming i7 running Clover 4853 rev.

Also rev. 4853 seems to hang before it enters CLOVER Menu. I have NO BootChimexxx in my EFI folder (no BootChime.efi, either NO BootChimeCFG). Just AudioDXE.efi in DriversX64 folder.

 

Yep, there's also that. Though Clover might reserve some space...to make sure the sound is played? I don't know. I'm probably wrong.

 

Yeah, you don't need BootChimeCfg...technically. But, since the UI doesn't work yet, it might be a good idea to keep it around if you wanna tweak the volume, for example.

Share this post


Link to post
Share on other sites

It seems that in my case, everything remained unchanged. Changed only the display menu. So far - BootChimeCfg still need to restore the settings. :(

Share this post


Link to post
Share on other sites
9 minutes ago, Download-Fritz said:

@Slice The sound files from the cesium theme make me want to put up a donation towards the health of whatever living thing made that noise, can you forward it?

 

I heard it before when he posted the changes for 4833 here. And I was like: wth is that? :)) Is that yawning...or what?

 

I guess they are just test files. :) And probably royalty free.

Share this post


Link to post
Share on other sites

LoL.. You know what, I thought that my audio device was broken when hearing sound.wav from r4833 provided by @Slice till I realized it hah haa..my bad I didn't preview the file b4 placing to theme dir when install clover via ubuntu linux :D

Share this post


Link to post
Share on other sites

Cool. The startup sound now plays on my laptop with 4855. Without using BootChimeCfg then clearing NVMRAM, I can set the volume and device output variable with Clover. The volume is saved but the device output isn't. So I still have to use BootChimeCfg in order to save all the parameters to NVRAM. 

 

You guys are mad geniuses. 

Edited by Tobiko
Had extra words

Share this post


Link to post
Share on other sites

I have a diff, but it based on revision 4853.  I never blame Slice, since he was always faster than me.

This patches contain some fixes for audio volume, port and also device to work with/from GUI and BootChimeCfg.

Please do check -or- take some -or- improve as usual and sync it with latest revision.

 

*update attachment

 

diff.diff.zip

Edited by cecekpawon

Share this post


Link to post
Share on other sites
[mention=112217]Slice[/mention] audio does not work on the bootloader and there is no option to change the volume to the clover GUI

234198530_Schermata2019-01-21alle09_45_42.thumb.png.056cfe49b046b032d14be6e6473dd51d.png

You mean the volume of the startup sound?

 

Does it work from Shell? Can you test the sound from there?

 

Cause there is an option in Clover’s GUI for that. You can see it in one of my screenshots above. But last time I tried it, it didn’t work very well (reset itself to 0000 when trying to change the volume). So I used BootChimeCfg.efi, accessed from Shell to adjust the volume. It’s a workaround.

 

You have to make sure you’re using the latest build. 4851 had some issues. But 4853 worked perfectly fine for me (aside from the GUI issues I mentioned above).

Share this post


Link to post
Share on other sites
12 minutes ago, Emanuele-1998 said:

@Slice audio does not work on the bootloader and there is no option to change the volume to the clover GUI

 

Can you give me preboot.log?

And wait for next Clover revision with some bugs corrected.

27 minutes ago, cecekpawon said:

Please take whatever it needs Slice _/|\_

Some notes.

1. I don't like ReallocatePool when we deal with 20*sizeof(HDA_OUTPUTS) bytes. May be 30 but not more.

2. F7 souldn't play sound file because it may absent. It's better to test hardware on a sound we sure to be playable.

3. About gSettings I am not decided finally. Keep only AudioVolume? What about other audio settings?

4. Currently we using gBootChimeVendorVariableGuid as Goldfish64 do. But it is not good for legacy Clover. May be remake to gAppleBootGuid? In this case we got saving audio parameters even with legacy Clover but we will loose original project compatibility.

 

PS. I need some ideas why PlayAsync is not working.

Share this post


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

Can you give me preboot.log?

And wait for next Clover revision with some bugs corrected.

Some notes.

1. I don't like ReallocatePool when we deal with 20*sizeof(HDA_OUTPUTS) bytes. May be 30 but not more.

2. F7 souldn't play sound file because it may absent. It's better to test hardware on a sound we sure to be playable.

3. About gSettings I am not decided finally. Keep only AudioVolume? What about other audio settings?

4. Currently we using gBootChimeVendorVariableGuid as Goldfish64 do. But it is not good for legacy Clover. May be remake to gAppleBootGuid? In this case we got saving audio parameters even with legacy Clover but we will loose original project compatibility.

 

@Slice I switched to 4855 and it works but the audio output does not remain fixed and when restarting it disappears remaining unchecked, then I can not boot via the HDMI because they are still in the process of being true?

 

I send you an example video, also as you can see the start of the clover gui is very slow even in the latest stable version, and pressing U that would be the button to shut down causes a bug.

1CE18938-4024-4443-8747-FCF1FC2883A7.jpeg

Edited by Emanuele-1998

Share this post


Link to post
Share on other sites

I switched to Clover r4855 without BootChimeCfg.efi and, as it turned out, Clover immediately writes the wrong value to NVRAM (got index=-1003609600, which cannot be changed without BootChimeCfg.efi). At the same time, it records the correct volume value (volume 90 received). It does not matter whether the audio output settings menu was used or not. In my configuration, hardware NVRAM is running. Therefore, I do not use EmuVariableUefi-64.efi and not nravam.plist :( If I boot from the flash drive which BootChimeCfg.efi and fix the output, then the value (got index = -1003609600) changes to the correct one, and the sound appears before loading Clover.

Edited by MakAsus

Share this post


Link to post
Share on other sites

@Slice

latest clover r4856, everything is good. thank you for update.

can we have chance to reset nvram(F11) lnclude BootChime GUID(initialized like factory)?

is BootChime GUID unique guid for only audiodxe.efi? not common?

 

also can we have chance for boot sound when showing apple log like BootChimeDxe.efi?

 

thanks in advance

 

EDIT1.

in r4856, sound.wav quality is bad. i listened original sound with electronic. i used sound.wav file from clovy theme folder

3:810  0:000  === [ InitTheme ] =========================================
3:810  0:000  use daylight theme
3:812  0:001  Using theme 'bootcamp' (EFI\CLOVER\themes\bootcamp)
3:812  0:000  Warning! Character width 9 should be even!
3:812  0:000    Channels: 2  Sample rate: 8000 Hz  Bits: 16
3:812  0:000  output to channel -780514048 with volume 80, len=75200
3:812  0:000   sound channels=2 bits=16 freq=8000
3:812  0:000  sound converted to 48kHz
6:448  2:635  Loading font from ThemeDir: Error
6:449  0:000  theme inited
6:449  0:000  Chosen theme bootcamp

Edited by Sherlocks

Share this post


Link to post
Share on other sites

Personally, I feel like having the startup sound before the UI is more realistic. But...an option to select to play it before or after, yeah, that would be interesting to have. I personally prefer it just the way it is now, meaning before the UI. I feel like it's closer to what real Macs do. But as I said, an option to choose which one you want, that would be interesting.

Edited by arsradu

Share this post


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

Personally, I feel like having the startup sound before the UI is more realistic. But...an option to select to play it before or after, yeah, that would be interesting to have. I personally prefer it just the way it is now, meaning before the UI. I feel like it's closer to what real Macs do. But as I said, an option to choose which one you want, that would be interesting.

Honestly, using AudioDxe, BootChimeDxe & BootChimeCfg from @Goldfish64 repo I can hear sound before - after Clover GUI since r4843 w/o issue, except my nvram is going crazy (sometimes).

Share this post


Link to post
Share on other sites

Hi

 

Sorry for questions for dummies:

  • I can't find internal speakers output in clover audio setting and rear output
  • Clover GUI seems to be slower at startup
  • I can't keep settings after reboot (I only use AptioMemoryFix): I must use emuvariable, Right.

Thanks

screenshot1.thumb.png.65f151987db067259d254065a903f400.png

Share this post


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

3. About gSettings I am not decided finally. Keep only AudioVolume? What about other audio settings?

4. Currently we using gBootChimeVendorVariableGuid as Goldfish64 do. But it is not good for legacy Clover. May be remake to gAppleBootGuid? In this case we got saving audio parameters even with legacy Clover but we will loose original project compatibility.

 

3. It would be nice if Clover have own config (plist) including audio device, portindex, and also volumelevel. You may take this as example. User can grab device & port_index values from log and store it to config plist (I have log those values on my prev diff).

4. For nvram values, Clover can read values from gBootChimeVendorVariableGuid (if any) as 1st attempt, read from gAppleBootGuid as 2nd attempt, and fallback to user config plist values as last attempt, then save it to from gBootChimeVendorVariableGuid (+ gAppleBootGuid, meh!).

 

19 hours ago, Slice said:

PS. I need some ideas why PlayAsync is not working.

 

Have not tried it with Clover yet, will do. (already discussed with dev days ago about async playback here).

 

18 hours ago, MakAsus said:

value (got index = -1003609600)

 

17 hours ago, Sherlocks said:

output to channel -780514048

 

@MakAsus @Sherlocks seems you have bad values stored to nvram.

 

17 hours ago, Sherlocks said:

also can we have chance for boot sound when showing apple log like BootChimeDxe.efi?

 

Having those option in Clover is also great. But why you dont just install BootChimeDxe.efi for that purpose?

* AudioDxe will should much more useful to enhanced the GUI like this instead of just greeting sound

 

 

* link removed

Edited by cecekpawon

Share this post


Link to post
Share on other sites
39 minutes ago, Matgen84 said:

Hi

 

Sorry for questions for dummies:

  • I can't find internal speakers output in clover audio setting and rear output
  • Clover GUI seems to be slower at startup
  • I can't keep settings after reboot (I only use AptioMemoryFix): I must use emuvariable, Right.

Thanks

screenshot1.thumb.png.65f151987db067259d254065a903f400.png

 

1. Well, I think your Realtek ALC892_Headphones should also be your "internal speakers". They're usually paired in switch mode. 

Rear output should probably be Realtek ALC892_LineOut (the first one). Actually, they're most likely all Rear Outs... Just...different ports for different speakers. But the first one is probably mapped as the Green one. So that's why I said the first one.

 

2. Yeah, it's been reported before. It might be intended though... Not sure.

 

3. Mmm...which system are you trying this on? Isn't your system using native NVRAM? If not, I think AptioMemoryFix should be enough. But I'm not sure Clover is working in cooperation with it...yet. If your other NVRAM related settings are saved, I'd say this is probably a Clover issue and it doesn't work with AptioMemoryFix quite yet. I don't know. I might be talking stupid. So don't take my word for it.

 

Thing is, depending on your system, you might or might not need AptioMemoryFix for NVRAM. I do not think you need EmuVariable. And especially you shouldn't be using both at the same time.

Edited by arsradu

Share this post


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

 

1. Well, I think your Realtek ALC892_Headphones should also be your "internal speakers". They're usually paired in switch mode. 

Rear output should probably be Realtek ALC892_LineOut (the first one). Actually, they're most likely all Rear Outs... Just...different ports for different speakers. But the first one is probably mapped as the Green one. So that's why I said the first one.

 

2. Yeah, it's been reported before. It might be intended though... Not sure.

 

3. Mmm...which system are you trying this on? Isn't your system using native NVRAM? If not, I think AptioMemoryFix should be enough. But I'm not sure Clover is working in cooperation with it...yet. If your other NVRAM related settings are saved, I'd say this is probably a Clover issue and it doesn't work with AptioMemoryFix quite yet. I don't know. I might be talking stupid. So don't take my word for it.

 

Thing is, depending on your system, you might or might not need AptioMemoryFix for NVRAM. I do not think you need EmuVariable. And especially you shouldn't be using both at the same time.

 

Thanks for reply :)

 

  1. I don't think Realtek ALC892_Headphones is Internal speakers and Rear output is not Realtek ALC892_LineOut (the first one). Both don't work in Clover options. Bootchimecfg.efi show Internal speakers in list output, mapped with rear green one.
  2. OK
  3. I don't know if my mobo 'Asus p8z77-v Pro' support native NVRAM. My other settings are saved.

Wait and see others commits :yes:

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