dgsga Posted January 29, 2019 Share Posted January 29, 2019 @slice Is it possible to use a different sound.wav file when using the embedded theme, it always seems to use the embedded sound (sound.c) even when a sound.wav file is placed in the embedded theme folder Thanks! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661824 Share on other sites More sharing options...
Slice Posted January 29, 2019 Share Posted January 29, 2019 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. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661827 Share on other sites More sharing options...
Sherlocks Posted January 29, 2019 Share Posted January 29, 2019 (edited) 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 January 29, 2019 by Sherlocks 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661850 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 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? 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661854 Share on other sites More sharing options...
Sherlocks Posted January 29, 2019 Share Posted January 29, 2019 You may try again with AudioDxe-64.efi from AudioPkg repo?no. i always use AudioDxeefi in Clover without BootChimeDxe.efi.나의 LG-F800S 의 Tapatalk에서 보냄 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661855 Share on other sites More sharing options...
Badruzeus Posted January 29, 2019 Share Posted January 29, 2019 (edited) 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 January 29, 2019 by Badruzeus 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661856 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 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. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661866 Share on other sites More sharing options...
Slice Posted January 29, 2019 Share Posted January 29, 2019 Check Clover 4868 and AudioDxe from it. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661875 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 @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. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661884 Share on other sites More sharing options...
arsradu Posted January 29, 2019 Share Posted January 29, 2019 (edited) 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 January 29, 2019 by arsradu 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661890 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 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? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661902 Share on other sites More sharing options...
arsradu Posted January 29, 2019 Share Posted January 29, 2019 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. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661906 Share on other sites More sharing options...
Slice Posted January 29, 2019 Share Posted January 29, 2019 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. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661908 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 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? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661911 Share on other sites More sharing options...
Slice Posted January 29, 2019 Share Posted January 29, 2019 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. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661913 Share on other sites More sharing options...
bidero Posted January 29, 2019 Share Posted January 29, 2019 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 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661925 Share on other sites More sharing options...
LockDown Posted January 29, 2019 Share Posted January 29, 2019 (edited) legacy still dont save startup sound settings (GUI). But, if i enter shell then exit (w/o doing anything), and set the startup sound again (GUI), it saves it. Edited January 29, 2019 by ellaosx Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661942 Share on other sites More sharing options...
Badruzeus Posted January 30, 2019 Share Posted January 30, 2019 (edited) Hi @Slice There's GUI bug introduced since r4867 that "Text" position becomes Offset at 36px upper. (Left img. Right is uncommitted). Thanks. Edited January 30, 2019 by Badruzeus 4 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661943 Share on other sites More sharing options...
tluck Posted January 30, 2019 Share Posted January 30, 2019 FYI - PlayAsync=true now works on my 2 laptops without issue with r4868. nice! 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661956 Share on other sites More sharing options...
Slice Posted January 30, 2019 Share Posted January 30, 2019 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. 1 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661962 Share on other sites More sharing options...
arsradu Posted January 30, 2019 Share Posted January 30, 2019 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... 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661967 Share on other sites More sharing options...
Matgen84 Posted January 30, 2019 Share Posted January 30, 2019 (edited) 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. Hi @Slice Same issue here with PNG theme: Edited January 30, 2019 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2661981 Share on other sites More sharing options...
Alex HQuest Posted January 30, 2019 Share Posted January 30, 2019 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 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2662008 Share on other sites More sharing options...
Slice Posted January 30, 2019 Share Posted January 30, 2019 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. 6 hours ago, Matgen84 said: Hi @Slice Same issue here with PNG theme: Should be resolved in 4870. 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2662019 Share on other sites More sharing options...
bidero Posted January 30, 2019 Share Posted January 30, 2019 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 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/745/#findComment-2662036 Share on other sites More sharing options...
Recommended Posts