Jump to content

Zenith432

Zenith432

Member Since 21 Jun 2009
Offline Last Active Yesterday, 07:00 AM
*****

#2516836 Clover Bug/Issue Report and Patch

Posted by Zenith432 on 16 October 2017 - 04:33 PM

In Clover's Kext Patcher, there is an option to patch a kext's Info.plist with <key>InfoPlistPatch</key><true/>  Unfortunately, for kexts packed in prelinkedkernel this feature is nearly useless.  Because the Info.Plist used is the one placed inside __PRELINK_INFO segment of the prelinked kernel. For example, here's the full Info.plist for AppleHDAController Spoiler <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>BuildMachineOSBuild</key> <string>16B2657</string> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>AppleHDAController</string> <key>CFBundleGetInfoString</key> <string>AppleHDAController 280.12, Copyright...

#2516542 Clover Change Explanations

Posted by Zenith432 on 15 October 2017 - 07:52 PM

Rev 4247There was an oversight in handling hidden volumes.  Volumes hidden with the GUI->HIDE mechanism in config.plist did not show up when pressing F3 to show them.  This is fixed.

#2516489 Intel HD 630 acceleration

Posted by Zenith432 on 15 October 2017 - 06:35 PM

I don't have a 2nd monitor to debug this scenario.  ^_^@Zenith432 Hi, tell me, are there any plans to find out why a dual monitor (dvi + hdmi, dp + hdmi, another) does not work on intel hd630 ?

#2516228 Intel HD 630 acceleration

Posted by Zenith432 on 15 October 2017 - 08:23 AM

Update The patches in posts #11, #12 work for OS 10.13.0 with no change.  (See comment in #14 about full kext name).I also had to add boot arg -disablegfxfirmware as said in post #5.  Without it, 10.13.0 hangs in an infinite loop trying to identify the graphics firmware.  In 10.12.6, it errors on attempting to identify the graphics firmware and falls back to alternate code ok.

#2471066 Intel HD 630 acceleration

Posted by Zenith432 on 29 July 2017 - 09:12 AM

@Glad79:In IORegistry, check the connector-type on each AppleIntelFramebuffer object.  4 is DP, 8 is HDMI.  I don't know which is DVI.If the connector-type is wrong, you need to add KextPatch for each port to the right connector-type.  Download sample config.plist fromhere.  It has patches showing how change each of the 3 ports from DP->HDMI (4->8), however, you need to change the patch strings to change 4 to the right type (8 or DVI type).

#2470099 Clover Bug/Issue Report and Patch

Posted by Zenith432 on 27 July 2017 - 02:04 PM

@cecekpawon: I don't have any recovery partitions, and I'm not using BaseSystem.dmg on the fly. It's already expanded onto HFS+ filesystem on the USB stick. The prelinkedkernel on it did not contain AppleIntelKBLGraphicsFramebuffer. The kext only existed in /System/Library/Extensions in normal form, and yet, after kernel initialization, it decided to load this kext even though it wasn't prelinked. Lilu has mechanism to wait for late-load kext to load before patching. Clover can't do this because it's before kernel initialization.  Already proposed before, heres from my last mods IsPatchNameMatch... I see full bundle name is already implemented today (in 4128)PatchKext } else { // //others // for (i = 0; i < Entry->KernelAndKextPatches->NrKexts; i++) { CHAR8 *Name = Entry->KernelAndKextPatches->KextPatches[i].Name; BOOLEAN isBundle = (AsciiStrStr(Name, ".") != NULL); if ((Entry->KernelAndKextPatches->KextPatches[i...

#2469992 Clover Bug/Issue Report and Patch

Posted by Zenith432 on 27 July 2017 - 11:00 AM

Done!First, I turned on KernelAndKextPatches->Debug.  In the regular system, the AppleIntelKBL... kexts get patched as expected.  In the USB stick system, only XHCIPCI gets patched.Then, I did as cecekpawon suggested and ran 'lzvn -d ... list' on prelinkedkernel from USB stick and... AppleIntelKBLGraphicsFramebuffer is not there :)  Like cecekpawon said.For some reason, KBLFramebuffer still gets loaded by the USB stick even though it's not in its prelinkedkernel.Next, I tried various options to 'kextcache -u' run offline from a regular system in order to get the USB stick prelinkedkernel to include KBLFramebuffer.  None of them worked.  I also noticed it's possible to give '-v 5' option to kextcache and it will list all kext bundles it's including in the prelinkedkernel (so spares the need to use lzvn.)Next, I tried another method - I booted the USB Installer stick.  Then ran 'mount -uw /' to make its root filesystem writable.  Then deleted pre...

#2469920 Intel HD 630 acceleration

Posted by Zenith432 on 27 July 2017 - 08:17 AM

Update: I checked, and the patch in post 12 for PAVP/HDCP freeze still works inSKL 10.12.6 (+ originally for 10.12.5)KBL 10.12.6 The patch in in post 11 works inSKL 10.12.5, 10.12.6KBL 10.12.6 So together, the 2 patches provide a complete replacement for IntelGraphicsFixup in these graphics kexts and versions. Update: In the patch in post #12you should change the kext name to its full bundle namecom.apple.driver.AppleIntelSKLGraphics or com.apple.driver.AppleIntelKBLGraphics.If you use partial name, then the partial names match as substrings to AppleIntelSKLGraphicsFramebuffer/AppleIntelKBLGraphicsFramebuffer and gets them wrongly patched.

#2469145 Intel HD 630 acceleration

Posted by Zenith432 on 25 July 2017 - 06:29 PM

FYI I found an alternative to using Lilu/IntelGraphicsFixup for preventing the freeze with HD630 in OS 10.12.6. Using the following kext patch in Clover config.plist <key>KernelAndKextPatches</key> <dict> ... <key>KextsToPatch</key> <array> ... <dict> <key>Comment</key> <string>10.12.6-KBL-ComputeLaneCount</string> <key>Find</key> <data>wOmc</data> <key>Name</key> <string>AppleIntelKBLGraphicsFramebuffer</string> <key>Replace</key> <data>wOma</data> </dict> ... </array> </dict>This patch replaces the work done by IntelGraphicsFixup on the function AppleIntelFramebufferController::ComputeLaneCount and it's enough to prevent the freeze and make HD630 work with acceleration. This was tested on OS 10.12.6 Using AppleIntelKBLGraphicsFramebuffer.ke...

#2429040 Clover General discussion

Posted by Zenith432 on 21 May 2017 - 07:30 PM

@RehabMan:Any chance of incorporating the patches of IntelGraphicsFixup.kext into a Clover patch?
  • nms likes this

#2423526 Build_Clover.command, another Script to build standard Clover (or customized)

Posted by Zenith432 on 14 May 2017 - 06:32 PM

Ok, found the cause for that: it's that new XCODE8 compiler profile by @Zenith432.Looks like it's something in CloverBuilder that mishandlesIt's this-DEFIAPI=__attribute__\(\(ms_abi\)\)found in XCODE8_CC_FLAGS in tools_def.txt. See post #983 by droples. EDIT: It's not clover builder, because happening also with ./ebuild.sh -t XCODE8 -D ENABLE_SECURE_BOOT. EDIT: I changed the quotation of __attribute__((ms_abi)) to use the same method as done in EDK2 tools_def.template.  r4075.  ./ebuild.sh -t XCODE8 -D ENABLE_SECURE_BOOT works now.  Still have no idea why the quotation using backslashes only fails when compiling OpensslLib  :unsure:

#2423342 VoodooHDA 2.9.0

Posted by Zenith432 on 14 May 2017 - 12:43 PM

Run the prefpane, select the Mic Input you want to use - RecLev is the main volume for audio input, so set it to something usable. - Microphone/Monitor/Line-In are secondary volumes for audio input - so set the one you're using to something useful and mute the others. - If you have iMix, set it to 100% - Mute other volumes on the Mic Input. - Make sure you're using latest 2.9.0d10. If you still have problems, upload getdump. I have some changes that make the System Volume Control for Mics change the RecLev, but haven't committed it yet. I'm at a loss... what else can I do to make at least the mic/lineout to work?

#2410412 VoodooHDA 2.9.0

Posted by Zenith432 on 23 April 2017 - 01:32 PM

Sounds like a short in your headphones.  How do you "choose" between left or right?  By lowering the volume on the other all way down to zero?Thanks! Works with Yosemite. I have only one problem. My notebook speaker is working stereo but in my headphones if I use stereo I have a very bad sounds! I need choose between left or right.

#2408942 Clover Bug/Issue Report and Patch

Posted by Zenith432 on 21 April 2017 - 11:29 AM

Works for me.  Trying a clean rebuild.last commit can't build clover

#2408486 VoodooHDA 2.9.0

Posted by Zenith432 on 20 April 2017 - 07:06 PM

Again some overflow. After 10 minutes play music sound became khr-khr-... May be it is hardware problem?I don't think it's a hardware problem. Will try to reproduce tomorrow with 5.1CH. It's because the start of a sample-frame being misaligned. Before with 2-channels it didn't happen, but with 6 channels it does :(

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy