Jump to content
30960 posts in this topic

Recommended Posts

No, embedded theme assumes ThemeDir=NULL. The folder exists for Clover.PrefPane to choose embedded theme.

I think you have no problem to compile Clover with other sound.

any.wav 16bit/8000Hz

xxd -l any.wav sound.c

Edit the name of the array and the name of the length. Replace in clover source and compile.

r4866, report.

PlayAsync=TRUE, scan drive with play sound, then enter GUI. and i have a timeout 3, 3 -> 2 -> 1  freeze system.

PlayAsync=FALSE, scan drive after play sound, then enter GUI. there is no problem.

Edited by Sherlocks
  • Sad 1
19 minutes ago, Sherlocks said:

r4866, report.

PlayAsync=TRUE, scan drive with play sound, then enter GUI. and i have a timeout 3, 3 -> 2 -> 1  freeze system.

PlayAsync=FALSE, scan drive after play sound, then enter GUI. there is no problem.

You may try again with AudioDxe-64.efi from AudioPkg repo?

  • Like 1
16 minutes ago, Sherlocks said:

no. i always use AudioDxe
efi in Clover without BootChimeDxe.efi.

Yeah, no idea then.. I previously had similar issue; and it' s solved by using AudioDxe from this one.

 

Interesting is; I just tried with ridiculous test on my mac.. removing prelinkedkernel && kernelcache from System (w/o rebuilt). What I got? Sound was looping like music DJ on Apple Boot if PlayAsync=true, sweet. A little problem is I just can't boot into it. What verbose log told?

"Error loading kernelcache".

 

Edited by Badruzeus
  • Haha 1
11 hours ago, Badruzeus said:

Is this issue occurred after r4866 only or..? You may try rolling back to attached r4864 below (+ Goldfish64's AudioDxe): 

r4864_AudoDxe_Goldfish64.zip

I have started testing AudioDxe since r4849. I suppose around that one I found Slice's post about PlayAsync and since then have tried to fiddle with it. I have also checked both AudioDxe versions. No matter what, when the GUI is not invoked the sound loop appears.

@Slice Still the same. When booting directly, without timeout, the sound is playing (90% of it - it's cut at the end) and keeps looping until the 2nd stage. It also happens when I confirm boot selection quickly while the sound is playing. It looks like booting boot.efi, when the sound is still playing is locking audio buffer somehow. Take a look on these videos below please. 

 

 

 

1 hour ago, bidero said:

Still the same. When booting directly, without timeout, the sound is playing (90% of it - it's cut at the end) and keeps looping until the 2nd stage. It also happens when I confirm boot selection quickly while the sound is playing. It looks like booting boot.efi, when the sound is still playing is locking audio buffer somehow. Take a look on these videos below please. 

 

Hey, at least you get to enjoy that nice quality sound. Over and over again. :))

 

Update: by the way, I just compiled and tested 4868, replaced AudioDxe upon installation and set PlayAsync=True. No issues on my side. The sound plays only once, the UI shows up a little faster, and everything alright from that point forward.

Edited by arsradu
  • Like 1
51 minutes ago, arsradu said:

 

Hey, at least you get to enjoy that nice quality sound. Over and over again. :))

 

Update: by the way, I just compiled and tested 4868, replaced AudioDxe upon installation and set PlayAsync=True. No issues on my side. The sound plays only once, the UI shows up a little faster, and everything alright from that point forward.

 

Yeah, I love this sound but after so many reboots I think I will have enough of it ;) 

 

Could you do a little test and set timeout to 0 in config.plist and let clover skip GUI?

4 minutes ago, bidero said:

 

Yeah, I love this sound but after so many reboots I think I will have enough of it ;) 

 

Could you do a little test and set timeout to 0 in config.plist and let clover skip GUI?

 

Yep, setting it to Timeout = 0 will indeed cause the chime to go into a loop. And indeed, it will only play like 90% of it at a time.

I place long sound file into my theme and boot with it. PlayAsync.

Music is playing.

I choose a system, press details, set verbose, start macOS with selected option.

Music continue playing.

boot.efi started and shows ++++++++

Music continue playing.

kernel started, and I see running lines on the screen about loaded kexts

Music continue playing until some of them and finally shut up. I think because of VoodooHDA started.

All is good.

  • Like 1
5 minutes ago, Slice said:

I place long sound file into my theme and boot with it. PlayAsync.

Music is playing.

I choose a system, press details, set verbose, start macOS with selected option.

Music continue playing.

boot.efi started and shows ++++++++

Music continue playing.

kernel started, and I see running lines on the screen about loaded kexts

Music continue playing until some of them and finally shut up. I think because of VoodooHDA started.

All is good.

 

But will it play if you set timeout to 0?

4 minutes ago, bidero said:

 

But will it play if you set timeout to 0?

I didn't tested because I never set timeout 0. I want to see Clover. Timeout=2 is not long delay compared to booting OS.

Logically thinking sound must play up to kernel started so with timeout=0 as well.

  • Haha 1
29 minutes ago, Slice said:

I didn't tested because I never set timeout 0. I want to see Clover. Timeout=2 is not long delay compared to booting OS.

Logically thinking sound must play up to kernel started so with timeout=0 as well.

 

@SliceEven though I have never posted here, I'm visiting InsanelyMac daily since 2011. I really appreciate your contribution (I think we all do) and I know that without you and all you guys here, there would be no hackintosh community. However I'm really trying to understand such approach. Hopefully someday the issue will be resolved ;) 

  • Like 2

Hi @Slice

There's GUI bug introduced since r4867 that "Text" position becomes Offset at 36px upper.

(Left img. Right is uncommitted). Thanks.

r4868.png

Edited by Badruzeus
  • Like 4
8 hours ago, bidero said:

 

@SliceEven though I have never posted here, I'm visiting InsanelyMac daily since 2011. I really appreciate your contribution (I think we all do) and I know that without you and all you guys here, there would be no hackintosh community. However I'm really trying to understand such approach. Hopefully someday the issue will be resolved ;) 

If you don't want to hear sound then you have different approaches.Delete sound file or tune other output or set zero volume.

  • Like 1
  • Haha 1
1 hour ago, Slice said:

If you don't want to hear sound then you have different approaches.Delete sound file or tune other output or set zero volume.

 

I think he only wants to skip over Clover's boot selection screen, while still keeping the startup sound. In other words, he does want to hear the sound, but he wants to skip the boot selection screen.

 

Pretty much like on real Macs. Basically select a default boot drive, and just skip Clover GUI and go straight to the Apple logo & loading animation.

 

But I don't know if that's possible with the current implementation. Or maybe it is possible and I don't know how... :)

  • Like 1
9 hours ago, Badruzeus said:

Hi @Slice

There's GUI bug introduced since r4867 that "Text" position becomes Offset at 36px upper.

(Left img. Right is uncommitted). Thanks.

r4868.png

 

Hi @Slice

 

Same issue here with PNG theme:

 

screenshot0.png

Edited by Matgen84
8 hours ago, arsradu said:

Pretty much like on real Macs. Basically select a default boot drive, and just skip Clover GUI and go straight to the Apple logo & loading animation.

 

But I don't know if that's possible with the current implementation. Or maybe it is possible and I don't know how... :)

If Clover respects the boot order whenever set by SysPrefs > StartupDisk (this goes into a NVRAM setting IIRC) instead of its last booted volume flag, and does not detect a specific keyboard combination to either avoid auto-boot or to load into recovery mode (similar to what F5/F8 would do for Windows, or the command+R on the real deal). I'm not a low level programmer, but IMHO, it does not look hard to implement: Even Microsoft did that :hysterical:

  • Like 1
16 hours ago, Badruzeus said:

Hi @Slice

There's GUI bug introduced since r4867 that "Text" position becomes Offset at 36px upper.

(Left img. Right is uncommitted). Thanks.

r4868.png

 

6 hours ago, Matgen84 said:

 

Hi @Slice

 

Same issue here with PNG theme:

 

screenshot0.png

Should be resolved in 4870.

  • Thanks 2
11 hours ago, arsradu said:

 

I think he only wants to skip over Clover's boot selection screen, while still keeping the startup sound. In other words, he does want to hear the sound, but he wants to skip the boot selection screen.

 

Pretty much like on real Macs. Basically select a default boot drive, and just skip Clover GUI and go straight to the Apple logo & loading animation.

 

But I don't know if that's possible with the current implementation. Or maybe it is possible and I don't know how... :)

 

Thanks. That's exactly what I was trying to explain :) 

×
×
  • Create New...