Jump to content
30960 posts in this topic

Recommended Posts

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?

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.

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

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.

  • Like 2
 

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

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

 

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

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.

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.

  • Like 2
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에서 보냄

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

  • Sad 1
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.

 

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

  • Like 1
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
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
 

  • Like 1

AudioDxe is working fine with r4860, thanks @Slice

Still, I'm just bit confuse; do we need to always clear NVRAM first for any "Startup sound output" option changes via GUI?

preboot_r4860.zip

1 hour ago, Badruzeus said:

AudioDxe is working fine with r4860, thanks @Slice

Still, I'm just bit confuse; do we need to always clear NVRAM first for any "Startup sound output" option changes via GUI?

preboot_r4860.zip

I see no case to clean NVRAM.

  • Thanks 1
Does not work on my X299 clone.....and I tried all of these options......using Clover 4861
 
Now, I added nothing else, no BootChime stuff, just selected the options and rebooted, each one.  Do I need to do something special?  Do I have to use a specific Theme? (because I just used my standard Buttons theme).  My computer uses a Vega 64 and normally plays it's output on my HDMI, but for this test, I connected a speaker to my green port on the rear of my computer (which, in my computer is seen as internal speakers).  I tested to make sure I got sound, and then went through the rebooting I described earlier.   Three of the HDMI/AMD outputs locked up the computer entirely (only a power off or reset would restore control). 
 
I did use the SVG option, didn't make any difference.....
 
301340704_ScreenShot2019-01-24at12_37_05PM.png.769b4506a8a70d769986698ead2f60bc.png

You need to have the sound file (named sound.wav) in the theme folder that you are you using to hear the sound. The wav file also must be converted properly or you can copy and paste the one supplied in the Clovy folder to your current theme folder.


Sent from my iPhone using Tapatalk
×
×
  • Create New...