Jump to content
ErmaC

Clover General discussion

18,976 posts in this topic

Recommended Posts

Posted (edited)

Hi Guys

 

Despite of Slice's guide, I haven't any sound: AudioDxe isn't compatible with external HDMI. I use Nvidia HDMI audio output on my desktop. :cry::cry::cry:

 

From Goldfish64 Readme file:

AudioPkg is a set of drivers/applications for supporting audio (currently only Intel HD audio) under UEFI.

 

Edited by Matgen84

Share this post


Link to post
Share on other sites
Advertisement

Tried it on a H170N-Wifi, which only uses the HD530.

Since the Boards has two HDMI outlets I tested the following on both HDMI ports, but couldn't get a tone out of it.Clover4833-1.thumb.jpg.c896f1ba1190e16d5da2cf5f31458e50.jpg

 

Switching to "-s 2" I could hear the chime, while i had a headset plugged in at green rear.

Share this post


Link to post
Share on other sites

I was off for some days. Maybe this has been explained already somewhere else. Anyway, my problem is that when building the current clover revision with Build Clover command, I get the following error:

 

Processing meta-data .

build.py...
~/src/edk2/Clover/Library/WaveLib/WaveLib.inf(35): error 000E: File/directory not found in workspace
	~/src/edk2/AudioPkg/AudioPkg.de

How to solve this issue? 

Share this post


Link to post
Share on other sites
6 minutes ago, KGP-iMacPro said:

I was off for some days. Maybe this has been explained already somewhere else. Anyway, my problem is that when building the current clover revision with Build Clover command, I get the following error:

 


Processing meta-data .

build.py...
~/src/edk2/Clover/Library/WaveLib/WaveLib.inf(35): error 000E: File/directory not found in workspace
	~/src/edk2/AudioPkg/AudioPkg.de

How to solve this issue? 

 

I think Build_Clover.command will be update. You can post this issue to the Build_Clover topic. 

Share this post


Link to post
Share on other sites
5 hours ago, KGP-iMacPro said:

I was off for some days. Maybe this has been explained already somewhere else. Anyway, my problem is that when building the current clover revision with Build Clover command, I get the following error:

 


Processing meta-data .

build.py...
~/src/edk2/Clover/Library/WaveLib/WaveLib.inf(35): error 000E: File/directory not found in workspace
	~/src/edk2/AudioPkg/AudioPkg.de

How to solve this issue? 

Rev 4834.

Just wonder how can I compile before.

Share this post


Link to post
Share on other sites
16 hours ago, Matgen84 said:

Hi @Slice

 

Thanks for commit r4833: If I understand well Goldfish64's readme, it works only for Intel HD. My system use HDMI audio via my Nvidia graphic card. How can I have sound at startup on Clover GUI in this case. There is a solution.

 

No, it just doesn't work for HDMI or digital outputs, there are both intel and nvidia controllers and many audio codecs supported.

 

16 hours ago, Slice said:

VoodooHDA works with HDMI as well as with non-Intel chipsets so yes it's possible just requires a work.

 

Yes, just need to add digital support, but there is intel and nvidia chipsets support already, the only other one would be amd, that I know of. Don't confuse the controller chipset with the codec chipset.

https://en.wikipedia.org/wiki/Intel_High_Definition_Audio#Host_controller

https://en.wikipedia.org/wiki/Sound_card#Integrated_sound_hardware_on_PC_motherboards

Share this post


Link to post
Share on other sites
Posted (edited)

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

also current gui screen -> play boot sound -> scan drive -> clover gui screen.

when play boot sound, hold 3sec(follow wav sound length), can we play boot sound with clover gui at the same time?

Edited by Sherlocks

Share this post


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

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

also current gui screen -> play boot sound -> scan drive -> clover gui screen.

when play boot sound, hold 3sec(follow wav sound length), can we play boot sound with clover gui at the same time?

Снимок экрана 2019-01-05 в 10.09.20.png

 I think -x will be answer to your question.

 

There is StartPlaybackAsync but it is still not full developed.

Share this post


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

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

 

There are three variables in NVRAM if you want to trace it

Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Volume' DataSize = 0x01
  00000000: 3C                                               *<*
Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Index' DataSize = 0x08
  00000000: 00 00 00 00 00 00 00 00-                         *........*
Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Device' DataSize = 0xA2
  00000000: 50 00 63 00 69 00 52 00-6F 00 6F 00 74 00 28 00  *P.c.i.R.o.o.t.(.*
  00000010: 30 00 78 00 30 00 29 00-2F 00 50 00 63 00 69 00  *0.x.0.)./.P.c.i.*
  00000020: 28 00 30 00 78 00 31 00-42 00 2C 00 30 00 78 00  *(.0.x.1.B.,.0.x.*
  00000030: 30 00 29 00 2F 00 56 00-65 00 6E 00 4D 00 73 00  *0.)./.V.e.n.M.s.*
  00000040: 67 00 28 00 41 00 39 00-30 00 30 00 33 00 46 00  *g.(.A.9.0.0.3.F.*
  00000050: 45 00 42 00 2D 00 44 00-38 00 30 00 36 00 2D 00  *E.B.-.D.8.0.6.-.*
  00000060: 34 00 31 00 44 00 42 00-2D 00 41 00 34 00 39 00  *4.1.D.B.-.A.4.9.*
  00000070: 31 00 2D 00 35 00 34 00-30 00 35 00 46 00 45 00  *1.-.5.4.0.5.F.E.*
  00000080: 45 00 46 00 34 00 36 00-43 00 33 00 2C 00 30 00  *E.F.4.6.C.3.,.0.*
  00000090: 30 00 30 00 30 00 30 00-30 00 30 00 30 00 29 00  *0.0.0.0.0.0.0.).*
  000000A0: 00 00                                            *..*

 

Share this post


Link to post
Share on other sites
Posted (edited)

Well, my friend's old Pentium laptop has no UEFI support (also non Hackintosh compatible), but he wants Windows UEFI on it so.. I converted whole Disk to GPT, manually created 200MB EFI using gParted under Ubuntu Live and set is as=boot,esp. I restored my prev. Windows 10 64-bit backup using G4L (Ghost for Linux) to a new NTFS partition (/dev/sda2), restoring EFI\Microsoft\ to ESP (/dev/sda1), repairing BCD with Windows PE (bootrec /RebuildBcd bla bla bla) and it's booting just fine using USB FlashDisk with Clover on it (following @fusion71au guide actually, thanks to him).

 

I then, manually installing Clover using Ubuntu Live into Internal EFI Partition (should be Legacy-GPT, but Windows is UEFI emulated, right?) Bootloader files used: boot (boot6) | boot0 (boot0af) | boot1 (boot1f32) \\Oh ya, I manually copying "BOOT && CLOVER" dir using FileManager, so not included on screenshot below LoL

 

Seems no problem with bootloader installation on Legacy as usual (I think, CMIIW), Windows is also booting fine.

The only issue is, everytime I powering on laptop it always goes to Firmware screen first (not laptop's BIOS) so I need to always pressing "Continue" to get Clover boot after it.

My questions are:

1. What's causing this issue? I've tried boot6 && boot7 with a same result #btw

2. How to set "Timeout" with only single boot volume (so I don't need to press KB key twice but just boot to Windows directly)? I realized it doesn't work here.

 

Thanks.

 

Screenshot from 2019-01-05 07-35-23.png

Edited by Badruzeus

Share this post


Link to post
Share on other sites

Hi @Slice

 

Thanks for adding AudioDxe :)

 

Could you do the same thing with BootChimeCfg in Clover / tools. For those who want to configure the driver. Please.

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, Badruzeus said:

Well, my friend's old Pentium laptop has no UEFI support (also non Hackintosh compatible), but he wants Windows UEFI on it so.. I converted whole Disk to GPT, manually created 200MB EFI using gParted under Ubuntu Live and set is as=boot,esp. I restored my prev. Windows 10 64-bit backup using G4L (Ghost for Linux) to a new NTFS partition (/dev/sda2), restoring EFI\Microsoft\ to ESP (/dev/sda1), repairing BCD with Windows PE (bootrec /RebuildBcd bla bla bla) and it's booting just fine using USB FlashDisk with Clover on it (following @fusion71au guide actually, thanks to him).

 

I then, manually installing Clover using Ubuntu Live into Internal EFI Partition (should be Legacy-GPT, but Windows is UEFI emulated, right?) Bootloader files used: boot (boot6) | boot0 (boot0af) | boot1 (boot1f32) \\Oh ya, I manually copying "BOOT && CLOVER" dir using FileManager, so not included on screenshot below LoL

 

Seems no problem with bootloader installation on Legacy as usual (I think, CMIIW), Windows is also booting fine.

The only issue is, everytime I powering on laptop it always goes to Firmware screen first (not laptop's BIOS) so I need to always pressing "Continue" to get Clover boot after it.

My questions are:

1. What's causing this issue? I've tried boot6 && boot7 with a same result #btw

2. How to set "Timeout" with only single boot volume (so I don't need to press KB key twice but just boot to Windows directly)? I realized it doesn't work here.

 

Thanks.

 

You have a problem with NVRAM as nothing will ever be saved, you should replace the EmuVar module with the FSVariable module from DUET for some partial support. You can skip clover GUI entirely by just putting microsoft bootmgfw.efi as bootx64.efi.

 

EDIT: You may want to just use DUET actually.

EDIT2: Oh, actually I think the legacy firmware loads CLOVERX64.efi by default not BOOTX64.efi.

Edited by apianti

Share this post


Link to post
Share on other sites
Posted (edited)
41 minutes ago, apianti said:

 

You have a problem with NVRAM as nothing will ever be saved, you should replace the EmuVar module with the FSVariable module from DUET for some partial support.

Hmmb that's why how many times I "Change Boot Order" on firmware it'll always reset to default after mach reboot, a same issue with VirtualBox even if configured as UEFI.. firmware configurations are not saved once app relaunched due to lack of NVRAM.

 

Funny thing here's (sorry, my bad); it boots directly into Clover w/o pressing "Continue" when I plugged Laptop's KeyBoard off (using USB ext-KB to replace it). I just realized that some Laptop's keys are broken (always keep pressed) after checking it using Keyboard Test software under Windows. I think they prevent (or suspend) Clover boot.

 

41 minutes ago, apianti said:

You can skip clover GUI entirely by just putting microsoft bootmgfw.efi as bootx64.efi.

Oh great, thank you. Much better idea with single Windows boot (though, I never tried this before.. honestly)

 

But my friend now (seems) feel happy using Clover bcoz he could place his gf's photo on it (I believe in his mind, Clover=Theme not a Boot Manager LoL).

 

Edited by Badruzeus

Share this post


Link to post
Share on other sites
4 hours ago, Badruzeus said:

Hmmb that's why how many times I "Change Boot Order" on firmware it'll always reset to default after mach reboot, a same issue with VirtualBox even if configured as UEFI.. firmware configurations are not saved once app relaunched due to lack of NVRAM.

 

Funny thing here's (sorry, my bad); it boots directly into Clover w/o pressing "Continue" when I plugged Laptop's KeyBoard off (using USB ext-KB to replace it). I just realized that some Laptop's keys are broken (always keep pressed) after checking it using Keyboard Test software under Windows. I think they prevent (or suspend) Clover boot.

 

Oh great, thank you. Much better idea with single Windows boot (though, I never tried this before.. honestly)

 

Yeah but it boots directly into clover with the usb right? So I doubt the keyboard is the issue, although maybe who knows... I know the NVRAM is for sure as there is no way to save the nvram.plist from windows to be loaded later. The FSVariable module from DUET saves the variable store when exiting boot services instead, so no runtime changes are saved but at least your would get semi working nvram. Either that or write an administrator app or kernel driver that dumps the uefi variables into a plist on the ESP. You might want to read my edit in the previous post about the default boot as I forgot it is different for clover legacy firmware, although if he wants to keep it whatever, lol. You can set DefaultVolume to the ESP (which you can get from log) and the DefaultLoader to \EFI\Microsoft\Boot\bootmgfw.efi, then set Timeout to whatever and it should automatically boot. As for the FSVariable module you can edit Clover.fdf and uncomment the line for it and comment out the other lines for NVRAM below or you can try using -DREAL_NVRAM to build and see if the real nvram can be used, however, I'm not sure how safe that is.

Share this post


Link to post
Share on other sites
 

latest r4839 build causes freeze gui after scan drive. i can't use any behaviour on gui

Are you referring to Vector theme or..?

Share this post


Link to post
Share on other sites
Posted (edited)
 

no, i'm using bootcamp normal theme.

just after some commits, i got freeze gui. i have to use power down button.

Weird, it' s working fine here.. already pressing "F3" several times and it seems no issue (F3 also scans whole disk besides hide / unhide entries, right?). For reference, I built it with EDK2 (though I see no dff. compared to UDK, both work well on my case), I don't use ApfsDriverLoader #BTW.

preboot_r4839_a43SJ.zip

Edited by Badruzeus

Share this post


Link to post
Share on other sites
Posted (edited)
 

Weird, it' s working fine here.. already pressing "F3" several times and it seems no issue (F3 also scans whole disk besides hide / unhide entries, right?). For reference, I built it with EDK (though I see no dff. compared to UDK, both work well on my case), I don't use ApfsDriverLoader #BTW. Clover v2.4k r4839

preboot_r4839_a43SJ.zip

 

in my case, last work is r4834. today i built r4839. i got freeze gui. seems other side.

i didn't any behaviour. just got freeze gui. first show gui -> show scan drive text in gui then, show drive list with automatic boot drive my mac drive. but freeze gui

Edited by Sherlocks

Share this post


Link to post
Share on other sites
Posted (edited)
 

in my case, last work is r4834. today i built r4839. i got freeze gui. seems other side.

i didn't any behaviour. just got freeze gui. first show gui -> show scan drive text in gui then, show drive list with automatic boot drive my mac drive. but freeze gui

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

 

 

 


IMG_20190106_164338.jpg
 

 

Edited by Badruzeus

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=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/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
×