Jump to content
ErmaC

Clover General discussion

21,480 posts in this topic

Recommended Posts

Advertisement

Hi

 

I don't understand why Clover shows only 2 devices on my system: Nvidia, Intel Pointer... Where is Realtek ALC892! Is this normal. Thanks.

 

screenshot0.png

2.png

Share this post


Link to post
Share on other sites

well. i tried this on my Dell but something is not right.

 

It can load BootChime in shell and sound works - sets/plays sound properly when i select Speaker.

 

but i get this with Clover  (on latest 4859) 

0:297  0:003  === [ LoadDrivers ] =======================================
0:372  0:074  Loading APFS.EFI  status=Success
0:384  0:011   - driver needs connecting
0:386  0:002  Loading VBoxHfs-64.efi  status=Success
0:391  0:005   - driver needs connecting
0:393  0:001  Loading FSInject-64.efi  status=Success
0:400  0:006  Loading SMCHelper-64.efi  status=Success
0:407  0:007  Loading AptioMemoryFix-64.efi  status=Success
0:417  0:010  Loading AudioDxe-64.efi  status=Success
0:422  0:005   - driver needs connecting
0:424  0:001  3 drivers needs connecting ...
0:427  0:002  PlatformDriverOverrideProtocol not found. Installing ... Success
0:430  0:003  APFS driver loaded
0:431  0:001  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
...

6:882  0:001  Using PlatformFeature from clover: 0x2
6:884  0:002  found 2 handles with audio
6:885  0:001  got index=3
6:887  0:001  got volume 40
...

7:240  0:006    Channels: 2  Sample rate: 44100 Hz  Bits: 16

7:241  0:001  output to channel 3 with volume 40, len=421120

7:243  0:001   sound channels=2 bits=16 freq=44100

7:244  0:001  StartupSound: Error setting up playback: Invalid Parameter

...

19:467  0:003  got embedded sound

19:472  0:001   sound channels=2 bits=16 freq=8000

19:474  0:001  sound converted to 48kHz

19:475  0:001  StartupSound: Error setting up playback: Invalid Parameter

 

so it tries use embedded sound with same message

 

Note: F7 gets no sound after bootchime works?

Share this post


Link to post
Share on other sites

Question: 

is there a way to set display Menu ratio X:Y ?

my native screen is FHD 1920x1080 (16:9 = 1.778) 

but i have to boot with 1280x1024 (1.25) or 1024x768 (1.333)

so everything looks squashed.

 

I am using Clovy - so it may be adjustable? - I see scale multipliers but not sure for non-uniform x vs y.

Share this post


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

Hi

 

I don't understand why Clover shows only 2 devices on my system: Nvidia, Intel Pointer... Where is Realtek ALC892! Is this normal. Thanks.

 

No idea... This is what it looks like in my case. And...believe it or not, option nr 3 seems to be Realtek ALC 892 according to DPCIManager.

 

 

Screenshot3.thumb.png.81945a01905a0d5d45fda62aa1391dd3.png

884747567_Screenshot2019-01-22at21_58_18.thumb.png.cf05ffd1496e846642749067af78c775.png

Share this post


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

Hi

 

I don't understand why Clover shows only 2 devices on my system: Nvidia, Intel Pointer... Where is Realtek ALC892! Is this normal. Thanks.

 

1 hour ago, arsradu said:

No idea... This is what it looks like in my case. And...believe it or not, option nr 3 seems to be Realtek ALC 892 according to DPCIManager.

 

Don't confuse the high definition audio controller chipset with the high definition audio codec chipset.

Share this post


Link to post
Share on other sites
 

me too. but 8000hz sound is not good. similar electronic sound. f7 test sound with bootcamp theme, same too(electronic).

in my case i can listen good quality with only 44100hz.

so, clovy theme sound is not good for me. because it has 8000hz

 

EDIT1.

when play clovy theme sound.wav in itunes, sound quality is not bad. it doesn't have electronic sound.

i think clover force to change frequency? 8000 hz to 44100hz? in this process, generate electronic sound?

i don't know exactly. i didn't see it in detail.

I too am experiencing the same electronic sound. But sounds fine in iTunes / preview.

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

I haven't had much success with this boot audio so far but with 4859 it's now playing back the built-in sound fine. However I want it to play back a custom chime.

 

I'm using the embedded theme and put the sound.wav into the theme folder but it defaults to the built-in one. Is it not possible to replace the chime for the embedded theme or is this a bug?

 

4:788  0:000  use night theme
4:788  0:000   using embedded theme
4:788  0:000  got embedded sound
4:788  0:000    Channels: 2  Sample rate: 8000 Hz  Bits: 16
4:788  0:000  output to channel 0 with volume 70, len=25600
4:788  0:000   sound channels=2 bits=16 freq=8000
4:788  0:000  sound converted to 48kHz
6:149  1:360  Using embedded font: Success
6:149  0:000  theme inited
6:149  0:000  Chosen embedded theme

 

Share this post


Link to post
Share on other sites
I haven't had much success with this boot audio so far but with 4859 it's now playing back the built-in sound fine. However I want it to play back a custom chime.
 
I'm using the embedded theme and put the sound.wav into the theme folder but it defaults to the built-in one. Is it not possible to replace the chime for the embedded theme or is this a bug?
 
4:788  0:000  use night theme4:788  0:000   using embedded theme4:788  0:000  got embedded sound4:788  0:000    Channels: 2  Sample rate: 8000 Hz  Bits: 164:788  0:000  output to channel 0 with volume 70, len=256004:788  0:000   sound channels=2 bits=16 freq=80004:788  0:000  sound converted to 48kHz6:149  1:360  Using embedded font: Success6:149  0:000  theme inited6:149  0:000  Chosen embedded theme

 


Did you name your custom sound....sound.wav and replace the built in one?


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
10 hours ago, apianti said:

 

 

Don't confuse the high definition audio controller chipset with the high definition audio codec chipset.

 

Ok. With bootchimecfg.efi, I"ve got sound on green rear Line out. But with commits 4859: no more sound with first Line output select in audio output parameters :cry:.

Share this post


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

You are right, this is a bug will be corrected.

 

There is the same issue with Audio Tuning: Clover don't save changing HDALayoutId after restart on my system.

Despite the explanation of Apianti, I do not understand why there is no ALC892 in the devices.

Share this post


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

 

There is the same issue with Audio Tuning: Clover don't save changing HDALayoutId after restart on my system.

Despite the explanation of Apianti, I do not understand why there is no ALC892 in the devices.

The issue should be debugged. First I want to see your boot.log.

 

@All

Sound 8000Hz has a bad quality but I include it into release because of space.

If you want a better quality place sound.wav 44100 into your theme folder.

Embedded theme is an exclusion. It has no own folder to download files and so embedded sound can't be replaced. Use other theme or build own clover with own sound.c sources. Beware the size!

 

13 hours ago, tluck said:

Question: 

is there a way to set display Menu ratio X:Y ?

my native screen is FHD 1920x1080 (16:9 = 1.778) 

but i have to boot with 1280x1024 (1.25) or 1024x768 (1.333)

so everything looks squashed.

 

I am using Clovy - so it may be adjustable? - I see scale multipliers but not sure for non-uniform x vs y.

Clover uses square pixels in any case of vector themes. Screen will be any ratio and background will be scaled in the same ration in X and Y then cropped.

Share this post


Link to post
Share on other sites
Clover uses square pixels in any case of vector themes. Screen will be any ratio and background will be scaled in the same ration in X and Y then cropped.
can we play boot sound with 8000hz like itunes?
i remember when clover first include audiopkg source, sound is no problem. isn't it right?

나의 LG-F800S 의 Tapatalk에서 보냄

Share this post


Link to post
Share on other sites

10:581  0:000  === [ InitTheme ] =========================================
10:581  0:000  use daylight theme
12:994  2:412  Theme view-bounds: w=1366 h=768 units=px
12:994  0:000  using scale  1.406250
12:994  0:000  theme contains font-family=PTMono-Regular
13:048  0:054  Banner position at parse [594,164]
13:052  0:004  parsed banner->width=741
13:065  0:012   icon 9 not parsed take common icons\tool_part
13:065  0:000   icon 10 not parsed take common icons\tool_rescue
13:068  0:003   icon 15 not parsed take common icons\vol_firewire
13:078  0:010  icon main size=[203,203]
13:086  0:007  OSicon os_tiger not parsed
13:228  0:141  parsing theme finish
13:228  0:000  Using vector theme 'BGM_SVG' (EFI\CLOVER\themes\BGM_SVG)
13:235  0:006    Channels: 2  Sample rate: 48000 Hz  Bits: 16
13:235  0:000  output to channel 6 with volume 70, len=893316
13:235  0:000   sound channels=2 bits=16 freq=48000
13:235  0:000  StartupSound: Error setting up playback: Invalid Parameter
13:235  0:000  theme inited
13:235  0:000  Chosen theme BGM_SVG


I have sound.wav and sound_night.wav in BGM_SVG Theme folder,, choose 7 (LineOut Rear) as Output Device in CLOVER. And i used Clover r4859

- No Sound before GUI CLOVER
- No Sound / Effect when Press F7 in GUI CLOVER or in Sound Boot Options.

Thankss..

Share this post


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

10:581  0:000  === [ InitTheme ] =========================================
10:581  0:000  use daylight theme
12:994  2:412  Theme view-bounds: w=1366 h=768 units=px
12:994  0:000  using scale  1.406250
12:994  0:000  theme contains font-family=PTMono-Regular
13:048  0:054  Banner position at parse [594,164]
13:052  0:004  parsed banner->width=741
13:065  0:012   icon 9 not parsed take common icons\tool_part
13:065  0:000   icon 10 not parsed take common icons\tool_rescue
13:068  0:003   icon 15 not parsed take common icons\vol_firewire
13:078  0:010  icon main size=[203,203]
13:086  0:007  OSicon os_tiger not parsed
13:228  0:141  parsing theme finish
13:228  0:000  Using vector theme 'BGM_SVG' (EFI\CLOVER\themes\BGM_SVG)
13:235  0:006    Channels: 2  Sample rate: 48000 Hz  Bits: 16
13:235  0:000  output to channel 6 with volume 70, len=893316
13:235  0:000   sound channels=2 bits=16 freq=48000
13:235  0:000  StartupSound: Error setting up playback: Invalid Parameter
13:235  0:000  theme inited
13:235  0:000  Chosen theme BGM_SVG


I have sound.wav and sound_night.wav in BGM_SVG Theme folder,, choose 7 (LineOut Rear) as Output Device in CLOVER. And i used Clover r4859

- No Sound before GUI CLOVER
- No Sound / Effect when Press F7 in GUI CLOVER or in Sound Boot Options.

Thankss..

 

Do you try PlayAsync to false parameters in config.plist.

 

Share this post


Link to post
Share on other sites

Test please the follow change in StartupSound.c, line 193

  - Status = AudioIo->SetupPlayback(AudioIo, OutputIndex, OutputVolume,
  + Status = AudioIo->SetupPlayback(AudioIo, AudioList[OutputIndex].Index, OutputVolume,

I am not at home now...

Share this post


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

Test please the follow change in StartupSound.c, line 193


  - Status = AudioIo->SetupPlayback(AudioIo, OutputIndex, OutputVolume,
  + Status = AudioIo->SetupPlayback(AudioIo, AudioList[OutputIndex].Index, OutputVolume,

I am not at home now...

 

Ok. I do that and report.

 

EDIT: Works fine. Thanks :D

Edited by Matgen84

Share this post


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

 

You can try this 4859 version with modified StartupSound.c by  @Slice  for testing

Clover_v2.4k_r4859.pkg.zip

 

I edited those lines (Line 193), then rebuild ./makepkg.

I can confirm,. it works.

Sound testing in GUI CLOVER works too

 

image.png.f7090e58a922235a04a8341c5d2f15a2.png
 

Share this post


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

I see no case to clean NVRAM.

Ok, thank you. And I just realized that "F7" for Startup audio test; is working either. I believe it sounds like a guitar.

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 KrzychuX86
      Hello my friends!
      First, idk if that's proper place for this post, if not, please move it.
       
      I'm trying to get Mojave working on my laptop. I have all proper kexts. Everything works great on Yosemite and Sierra, because I'm using Enoch bootloader for them. But I can't get Mojave to work with Enoch, so my only option is Clover.
      But I have some troubles with it:
      - I don't have uefi interface in my laptop, so my only option is Clover for BIOS,
      - Niresh Mojave contains only option to install Clover for UEFI. After installing it my system drops to PXE because it doesn't have UEFI so hard disk becomes non-bootable.
       
      But these problems can be solved, I "just" need to install Sierra first, which can be booted via Enoch and then I install Clover using official pkg installer, which has option to install BIOS version of Clover. Then I connect Niresh Mojave USB, Clover detects it and boots installer. I uncheck "Install bootloader" and I get bootable Mojave. Yay
       
      But the real problem is:
      Clover on my device is not working as well as Enoch. Why? Because when I'm on Enoch (for example on Sierra) my kexts for PS/2 keyboard and touchpad (Voodoo PS2 Controller kext) and for Wi-Fi are working good. They are installed in S/L/E and just works. But Clover somehow doesn't want to load them... or has something missing. System booted with Clover has not working keyboard, touchpad working as mouse and not working Wi-Fi.
       
      Guys! What I have to do to make Clover work as good as Enoch? What Enoch has that Clover hasn't? Why Clover can't load any kext EVEN from CLOVER/kexts/other?
      I have tried booting with -v but I don't see any error related to that...
      Can you help me please?
      Both Enoch and Clover configs are default ones without any modifications. 
      Any help is appreciated.
       
      P.S. I have lost all DMGs so I can't install MacOS right now, I need to redownload them but my Internet connection is very slow, so for any logs we'll need to wait. But maybe my problem is very easy to fix so I don't need to send any logs? Thanks for any answer
    • By viktr
      A few days ago I faced a problem - installed ocquirks and it somehow broke my prelinked kernel. System won't boot then, and I spent more than a day restoring from the netatalk  backup to copy working prelinked kernel directory from the backup to the s/l
      So, my question is - how to relink prelinked kernel without that? I found boot args -f UseKernelCache=No but it didn't work. I was able to boot to the recovery, if that can help.
    • By pilo2300
      Hi, I'm receiving these two errors before the system automatically reboots.
      36:296 00:063 OCSMC: SmcReadValue Key 4D535463 Size 1 36:351 00:054 OCSMC: SmcReadValue Key 4D534163 Size 2  
      Using OpenCore 0.5.7, Mojave 10.14.6 installed successfully (from USB, but have not gone through OS setup ie. 'select your country' screen yet) but now selecting the Mojave drive in the boot picker results in the above error.
      Hardware is Gigabyte H77-DS3H, Core i7 3770 (Ivy Bridge), Radeon Sapphire RX 580 Pulse, 16GB DDR3 ram.
       
      I had a fully working 10.14.4 install running OC 0.5.6 prior to this.

      OpenCore log and config.plist (with SMBIOS serials etc removed) attached - any help greatly appreciated.
       
      Thank you.
      opencore-2020-04-08-000853.txt
      config.plist
    • By anokic
      I have been using clover to install and configuration my Hackintosh High Sierra 10.13.6. It's been a struggle and a pain. Can't restart/shutdown/wake from sleep. Random freezes. When freeze happens mouse works but in loading state. UI and open apps freeze not the mouse. I can make the apps smaller and move them.

      I haven't used any DSDT nor SSDT. Tried 5 or 6 of them from others but sometimes i end up not booting. Could someone explain me do i even need them and why? Do i need DSDT or SSDT or both?

      I'm going to try to install everything OpenCore. The first thing is i can't use a method that needs an internet while installing MacOS cause my ethernet/internet only works when i install MacOS. So i can't use the images i need full installation. Okay i have the full installation for 10.13.6. I need to use a version 10.13.4-6 versions cause application Sketch needs the newer one High Sierra 10.13.4++ version.

      Can you tell me? Can i use same kexts from Clover on OpenCore? Secondly how can i install full USB MacOS installer? (High Sierra 10.13.6 version i have is 7gb i think thats it)
      Is there a version of AMDHigh Sierra version made from the community for 10.13.4++ version?
      If i use the normal 10.13.6 High Sierra should i use this AMD 10.13.6 Kernel when i have installed the MacOS or some other kernel that's better for my system? https://github.com/Shaneee/AMD-High-Sierra-XNU/releases
      Whats the best version of High Sierra to use for Ryzen and Nvidia system?

      Will it be better to use OpenCore?

      Specs:
      Mortar Max B450M
      Ryzen 2600x
      Nvidia GTX 1060
      16gb DDR4 2400mhz
    • By TimothyF
      My steps so far:
      Set up Catalina install USB exactly according to Plain Vanilla guide. Disconnect my Windows drive in PC, so that only the empty Hard Drive is connected to Motherboard. Boot to USB, select Install Catalina option. BIOS set to UEFI, Safe mode Off. Always get stuck at the same IOconsoleUsers: GIOScreenLockState point. Tried -radvesa, -radoff, nv-disable=0 boot options (separately), and disabling BIOS virtualization (vt-d) -> NO luck. This from the top search result https://www.reddit.com/r/hackintosh/comments/b5a6ry/ioconsoleusersgioscreenlockstate_3_blackscreen/  
      Screen pics attached. Here are the last couple of lines that could be important:
      GTrace synchronization point 4
      Unsupported CPU
      Unsupported PCH
      Adding ADGP mode validate property
      hmm.. mismatch sizes 3100 vs 20
      IOConsoleUsers: time(0) 0->0, lin 0, llk 1,
      IOconsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
       
      Please give me some ideas what else might work. Thank you.


       
       
      Other details of Clover and Desktop PC below:
       
      Clover USB specs OS installer used: Catalina (10.15) Clover revision: 5103 Kexts included: ATH9KFixup.kext AppleALC.kext Lilu.kext RealtekRTL8111.kext USBInjectAll.kext VirtualSMC.kext WhateverGreen.kext config.plist: config.plist ------------------------------------------ Target Desktop specs: Dell Inspiron 3847 (64 bit) CPU: Intel Core i5-4460, 3.2 GHz, 4 cores Architecture: Haswell GPU: Intel HD 4600 Motherboard: Dell 088DT1 (version A01) Chipset: Intel H81 Install method: with USB, configured with Clover, 100% following Plain Vanilla guide for Desktops RAM: 12 GB, 2 slots Hard drive for installation: SATA HDD 4TB, by HGST LAN: RTL8111/8168/8411 WLAN: AR9565 (atheros) Audio: Realtek ALC661 (not 100% sure this is correct)  
×