Jump to content



Member Since 21 Jun 2009
Offline Last Active Aug 05 2017 08:57 AM

#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 :(

#2407370 VoodooHDA 2.9.0

Posted by Zenith432 on 19 April 2017 - 01:01 PM

Open voodoohda prefpane, select your sound device, and start playing around with the available mixers until you find something usable.  My microphones were not working until I did this.  The OSS mixer system is not understandable.  I'm trying to figure out how control the amp for each channel in 6 or 8-channel sperarately.Are there any settings you can think of that would help reduce the buzzing sound my mid-range and bass speakers make?  I can reduce the volume in relation to the tweeters but when I want volume, I get a lot of buzzing as a result.  Thanks for any tips anyone can think of. The device is recognized but does not work :)That part I understood. I mean something useful like getdump. Or check the mixers in prefpane - maybe some volume is all the way off. Stuff like that. Also try lowering 192KHz to 48KHz for a start.

#2405682 VoodooHDA 2.9.0

Posted by Zenith432 on 16 April 2017 - 08:33 PM

In Audio-Midi Setup, click on the 8-channel device, then choose Configure Speakers. In Configuration, choose 5.1 surround, or 7.1 surround, or 7.1 rear surround, and configure which channel is which speaker. Finally, click apply and done. After this, QuickTime will know how to play multichannel audio on this device.@Slice, In Rev 130, I added code to set a default Speaker Configuration to be used with 5.1 and 7.1 audio for CoreAudio to use if it is not manually programmed in Audio-Midi Setup - to enable surround sound (at least in QuickTime). I checked the channels are output in right order in analog multichannel with this setup. [The setup says that in 7.1 rear come after after side, but actually they come before side.] Would it be possible to add some code to VoodooHDA to read the ELD and use the "Monitor_Name_String" instead of just "Digital-out (HDMI)" for the display output devices? This would allow the user to see which output is actually connected and to what display it is co...
  • nms likes this

#2405234 VoodooHDA 2.9.0

Posted by Zenith432 on 15 April 2017 - 08:13 PM

@Slice:With rev 129 I hope Analog Multichannel works now, including channels output in right order to pins.HDMI is still limited to stereo.Bumped version to 2.8.10d4. Green - FL/FROrange - FC/LFEBlack - RL/RRGrey (only in 7.1) - SL/SR UPDATE: I tested analog multichannel - it works.  Tested as follows:Made an 8-channel WAV file at 48KHz/16-bit with Audacity, on each channel recorded the channel name.  Channel order FL/FR/FC/LFE/RL/RR/SL/SR.Play the WAV file with QuickTime, plugged headphones into each of the four pins Green/Orange/Black/Grey and heard the correct channel names.When I play AC3 file with QuickTime, it gets mixed down to Stereo, so I couldn't test that way.iTunes couldn't play either AC3 or 8-channel WAV file. Hey Zenith432,Multichannel sound is bad. Like a saw, sound then pause then again.

#2398644 macOS Sierra 10.12.4 (16E195) - Final Release - Updated

Posted by Zenith432 on 04 April 2017 - 04:21 PM

I don't know if injection of FakeCPUID is still needed.  Will check when Darwin sources are released.Followup: Apple released the xnu sources to Darwin 16.5. There's no mention of kabylake, so faking CPUID to skylake still necessary in 10.12.4

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy