WinstonAce Posted September 28, 2013 Share Posted September 28, 2013 Here's log+dsdt's still don't get hdmi audio 2161b.zip Link to comment Share on other sites More sharing options...
Slice Posted September 28, 2013 Share Posted September 28, 2013 Here's log+dsdt's still don't get hdmi audio It's a victory! Now device injection is perfect Loading Acpi table from file DSDT-pa0.aml Acpi table [DSDT] successfully installed and loaded Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions) Parsing completed Disassembly completed ASL Output: DSDT-pa0.dsl - 228226 bytes About HDMI I'll recommend you to set <key>Audio</key> <dict> <key>Inject</key> <string>Detect</string> </dict> And see what is happen with layout-id. Did you have HDMI working in other way? How? Link to comment Share on other sites More sharing options...
WinstonAce Posted September 28, 2013 Share Posted September 28, 2013 With Detect it set the layout to 0 which doesn't work (no audio at all) with the attached dsdt I get hdmi audio this is toleda patch from this repository https://raw.github.com/toleda/audio_hdmi_5series/master DSDT.zip Link to comment Share on other sites More sharing options...
DislikeYou Posted September 28, 2013 Share Posted September 28, 2013 I updated Clover and see that the config.plist now looks different, I wonder about GenerateIvyStates, I am supposed to write it in SSDT section? I do not see GenerateIvyStates mentioned in the wiki anymore, or I am blind Also I see that there is 2 places now in the config where you write default boot volume and timeout, hmm? Link to comment Share on other sites More sharing options...
Pene Posted September 28, 2013 Share Posted September 28, 2013 I updated Clover and see that the config.plist now looks different, I wonder about GenerateIvyStates, I am supposed to write it in SSDT section? I do not see GenerateIvyStates mentioned in the wiki anymore, or I am blind Also I see that there is 2 places now in the config where you write default boot volume and timeout, hmm? True, old entries were forgotten there. I corrected the config sample in r2163. And you can always see the correct syntax at: http://clover-wiki.zetam.org/Configuration About GenerateIvyStates - yes, it seems gone. I am not sure what happened with it, so perhaps someone else can comment about that. Link to comment Share on other sites More sharing options...
xpamamadeus Posted September 28, 2013 Share Posted September 28, 2013 True, old entries were forgotten there. I corrected the config sample in r2163. And you can always see the correct syntax at: http://clover-wiki.zetam.org/Configuration About GenerateIvyStates - yes, it seems gone. I am not sure what happened with it, so perhaps someone else can comment about that. For me GenerateIvyStates works automaticaly. and i think its a correct behavior. Why we must have thinks in config when can be autodetected It will be rally great if Clover can know what i thinking about and what i want without config.plist :D 1 Link to comment Share on other sites More sharing options...
k3nny Posted September 28, 2013 Share Posted September 28, 2013 Clover will automatically turn on state generation for Haswell and Ivy Bridge CPUs. The key GenerateIvyStates does not exist anymore, just refer to the Configuration site in the wiki if you want to disable the generation options. You do not need to differ between Generate[C/P]States and GenerateIvyStates anymore. 1 Link to comment Share on other sites More sharing options...
bikinifarm Posted September 28, 2013 Share Posted September 28, 2013 Using version 2165 with KernelCpu flag on, on a Haswell CPU, KernelCpu patch does not apply. Why, and how to force... Thanks in advance... The message is as follows: KernelCpu patch: Enabled: Not Executed! Link to comment Share on other sites More sharing options...
Slice Posted September 28, 2013 Share Posted September 28, 2013 Using version 2165 with KernelCpu flag on, on a Haswell CPU, KernelCpu patch does not apply. Why, and how to force... Thanks in advance... The message is as follows: KernelCpu patch: Enabled: Not Executed! Yes, it is a bug. Wait please....@pene Look DBG_RT("Enabled: "); if ((gCPUStructure.Family!=0x06 && AsciiStrStr(OSVersion,"10.7")!=0)|| (gCPUStructure.Model==CPU_MODEL_ATOM && ((AsciiStrStr(OSVersion,"10.7")!=0) || AsciiStrStr(OSVersion,"10.6")!=0)) || (gCPUStructure.Model==CPU_MODEL_IVY_BRIDGE && AsciiStrStr(OSVersion,"10.7")!=0) || (gCPUStructure.Model==CPU_MODEL_IVY_BRIDGE_E5 && AsciiStrStr(OSVersion,"10.7")!=0) ) { KernelAndKextPatcherInit(); If user want then he will do this patch. Link to comment Share on other sites More sharing options...
Riley Freeman Posted September 28, 2013 Share Posted September 28, 2013 Yes, it is a bug. Wait please.... I was getting this on my x79 as well. I thought it was due to either the 3930k or 10.6.8. Was this the same bug? Link to comment Share on other sites More sharing options...
Slice Posted September 28, 2013 Share Posted September 28, 2013 Test, please, CLOVERX64.efi-2165a.zip Link to comment Share on other sites More sharing options...
Pene Posted September 28, 2013 Share Posted September 28, 2013 Yes, it is a bug. Wait please.... @pene Look< why this is all? If user want then he will do this patch. Yes, it is currently being restricted to 10.7 and some CPU models. I checked on 10.9 DP8 mach_kernel and the same pattern exists. Seems it didn't change from 10.7, so I think we can enable for all OS/CPU. Link to comment Share on other sites More sharing options...
Riley Freeman Posted September 28, 2013 Share Posted September 28, 2013 Test, please, CLOVERX64.efi-2165a.zip It said that the kernel patch was applied here in 10.6.8 and 10.9 so that's working. But I guess the patch itself doesn't work with SB-E because I got a KP in 10.6.8 and a restart in 10.9. Link to comment Share on other sites More sharing options...
WinstonAce Posted September 28, 2013 Share Posted September 28, 2013 One more question, regarding custom entries I want to hide the recovery and OS X Install partition with ability to unhide them with F3 the recovery works just fine but the installation partition always visible attached my config Thanks in advance config.plist.zip Link to comment Share on other sites More sharing options...
Pene Posted September 28, 2013 Share Posted September 28, 2013 One more question, regarding custom entries I want to hide the recovery and OS X Install partition with ability to unhide them with F3 the recovery works just fine but the installation partition always visible attached my config Thanks in advance The Installer type is for 2nd stage install only. Use the regular hide feature and hide it by name if its not 2nd stage install. Link to comment Share on other sites More sharing options...
WinstonAce Posted September 28, 2013 Share Posted September 28, 2013 But unhide doesn't work in this mode Link to comment Share on other sites More sharing options...
D-an-W Posted September 28, 2013 Share Posted September 28, 2013 Evening folks, is there any progress with the new HDA rules? With the Audio > Inject section removed... I still get... Link to comment Share on other sites More sharing options...
bikinifarm Posted September 28, 2013 Share Posted September 28, 2013 Test, please, CLOVERX64.efi-2165a.zip I tested by replacing the file in /EFI/CLOVER/CLOVERX64.efi. Getting same results, for 10.8.4 and 10.9.DP8, meaning: KernelCpu patch: Enabled: Not Executed! Perhaps the fact that I am on Haswell makes the difference, since there is a check there with CPU_MODEL_IVY_BRIDGE. Thanks once again.. Link to comment Share on other sites More sharing options...
Riley Freeman Posted September 29, 2013 Share Posted September 29, 2013 You also have to replace /EFI/BOOT/BOOTX64.efi with the file (renamed to match). Link to comment Share on other sites More sharing options...
bikinifarm Posted September 29, 2013 Share Posted September 29, 2013 Thanks Riley Freeman. Will try and report back... Link to comment Share on other sites More sharing options...
toleda Posted September 29, 2013 Share Posted September 29, 2013 Here's log+dsdt's still don't get hdmi audio I can tell you what is wrong but not how it happened. Two hda-gfx injections are required. The DSDT-pa0.aml has correctly edited HDEF. The one injection on PEG0/HDAU is for HDEF/HD3K/HD4K HDMI only is not applicable to this motherboard. PEGO has GFX0 (no hda-gfx, no Nvidia injection) and HDAU (incorrect hda-gfx). This where the problem occurs in the log: 52:499 0:010 Start Display0 Fix 52:510 0:010 Injecting DSM for NVIDIA card 52:521 0:010 insert HDAU device @0 52:531 0:010 Injecting DSM for HDAU 52:542 0:010 now inserting Video device 52:553 0:010 ... into created bridge 52:564 0:010 found outer scope begin=6DC end=5840 52:575 0:010 insert HDAU into created bridge @0x54AE 52:586 0:010 found outer device begin=701 end=54E2 52:596 0:010 found outer scope begin=6DC end=5876 The pacher found the right place and used incorrect edits. @Slice, if this helps, you can have access to the exact edits for most configurations. Advise. Another idea, the HDMI audio edits can be enabled with a HDMI audio ssdt; no dsdt edits and only ACPI/SSDT/DropOEM for Clover/config.plist. Attached is the HDMI audio ssdt on a Z87I-Deluxe/4770K (DP and HDMI)/GT640 (HDMI) enabling 3 working HDMI audio devices. ssdt-ami-8_series_hdmi_audio-1.zip 1 Link to comment Share on other sites More sharing options...
bikinifarm Posted September 29, 2013 Share Posted September 29, 2013 Test, please, CLOVERX64.efi-2165a.zip Indeed it works with 10.8 and 10.9 indicating 64 bit patch... OK So, thanks!!! After the patch is applied, however, the kernel loads and essentially halts. Does the CPU ID get patched, or just the panic call is suppressed? I suspect it is the latter. Regardless, thanks once again for resolving this bug... Link to comment Share on other sites More sharing options...
Eps Posted September 29, 2013 Share Posted September 29, 2013 Kext patching works in two cases: 1. The kext is present in kernelcache. For this happen the loaded kext must match to device. You means internal matching prevent kext to be in the cache? 2. The kext loaded from "extra" in addition to kernelcache. Why not? The only reason for fail I see if kernelcache already contains another copy of the kext. As far as I remember dmasar said about info.plist patching that "if kext in not matched then it is not present in kernelcache so why it can't be patched. You must boot two times. First boot without cache permitting Clover to patch the kext and OSX will include it into cache. Second boot (and further) with kernelcache created by OSX." Sorry for late response,because I busy in these weeks. I think I found what the problem is. When Clover boot Snow Leopard Install DVD,the Extensions.mkext loaded properly. But when boot in HDD,no Extensions.mkext loaded. And the Extensions.mkext just existed in HDD. And I install Clover in SD card to boot OSX. Thanks for help. Link to comment Share on other sites More sharing options...
tonydickinson Posted September 29, 2013 Share Posted September 29, 2013 Another idea, the HDMI audio edits can be enabled with a HDMI audio ssdt; no dsdt edits and only ACPI/SSDT/DropOEM for Clover/config.plist. Attached is the HDMI audio ssdt on a Z87I-Deluxe/4770K (DP and HDMI)/GT640 (HDMI) enabling 3 working HDMI audio devices. @Toleda - Not a stupid question I hope. Your SSDT for audio - does it require a custom AppleHDA.kext? Link to comment Share on other sites More sharing options...
Slice Posted September 29, 2013 Share Posted September 29, 2013 With Detect it set the layout to 0 which doesn't work (no audio at all) with the attached dsdt I get hdmi audio this is toleda patch from this repository https://raw.github.com/toleda/audio_hdmi_5series/master Try something like this <key>Devices</key> <dict> <key>NoDefaultProperties</key> <true/> <key>AddProperties</key> <array> <dict> <key>Device</key> <string>NVidia</string> <key>Key</key> <string>hda-gfx</string> <key>Value</key> <string>onboard-2</string> </dict> <dict> <key>Device</key> <string>HDMI</string> <key>Key</key> <string>hda-gfx</string> <key>Value</key> <string>onboard-2</string> </dict> </array> <key>Audio</key> <dict> <key>Inject</key> <string>1</string> </dict> </dict> I tested by replacing the file in /EFI/CLOVER/CLOVERX64.efi. Getting same results, for 10.8.4 and 10.9.DP8, meaning: KernelCpu patch: Enabled: Not Executed! Perhaps the fact that I am on Haswell makes the difference, since there is a check there with CPU_MODEL_IVY_BRIDGE. Thanks once again.. Sorry, but version 2165a must not contain such message. Link to comment Share on other sites More sharing options...
Recommended Posts