Contribute
Register

[Solved]Fixes to Get Full Acceleration on Intel HD Graphics in iMac 17.1

Status
Not open for further replies.
Oh yeah that's for sure! The season is just starting here in Iceland because nights just started getting dark a couple of weeks ago.

I'm waiting for a lens to arrive which should enable me to capture night shots a little easier. I may do timelapses as well, even though I hardly ever do them hah!

Thanks for following me man, I appreciate every single one who likes what I do.
 
I feel like it's something NVIDIA could add by overwriting whatever the needed kexts that inject the IOVARendererID is, but I suppose they'd need Apple's support on that, which I doubt they'd ever get, since there is no machine made by apple that has that configuration/capability (Maxwell/Pascal Nvidia + iGPU)

Any update on this to use Pascal GPUs for decoding? Or even use Intel as offline decode where Pascal is primary?
 
maybe with Metal 2 in HS?

Yup, i am too looking forward to that eagerly. I really hope it helps to unlock the true potential of pascal gpus.
 
Yup, i am too looking forward to that eagerly. I really hope it helps to unlock the true potential of pascal gpus.

Me too, I've looked everywhere for a MAC video converter and plater that is CUDA aware, as that should be lightning fast, but I guess we'll see what happens :)
 
On the applelife resource, quick sync was made to 17.1 using the shiki's user-mode cake and patcher. On my configuration without discrete graphics, hardware decoding works fine. Hardware encoding Quick Sync works only in MacX Video Converter 6, Quicktime (screen capture) and in other programs Movavi. Final Cut, Compressor, Handbrake and Adobe Media Encoder use only the decoder, and during the encoding in h264 they use OpenCl and Metal API, not Quick Sync. Maybe because I have one built-in card on the system, in which there should be any discrete graphics.

In the attachment, the assembled files are. These kexts should not be used with Lilu earlier versions, they are assembled to work with each other. Lilu + AppleALC for Realtek (887) sound, Shiki and Lily + IntelGraphicsFixup for HD530, in Clover config.list for a single HD530, you need to add boot (arg) -shikigva to get hardware acceleration on the HD530. (See my config.plist). HibernationFixup with nvram which is available for writing, like mine, prevents awakening problems. NvidiaGraphicsFixup - patch AppleGraphicsPolicy if you use discrete Nvidia card (700 - 900 series), but I did not check it, I only use built-in graphics. The console application VDADecoderCheckerSierra allows you to check if hardware acceleration is working. In my config, which I attached , Intel Speed Shift is enabled instead of Speed Step. This does not affect the result, hardware decoding works anyway. Sierra 10.12.4 with Clover v.4049. Sierra from Appstore, updated from 10.12.3. I hope this will be useful information.

View attachment 247224

http://4ksamples.com/4k-chimei-inn-60mbps/

The link to the video 4K, which is launched during the screenshot.
Pay attention to the Intel Power Gadget window, - the CPU frequency does not even reach the maximum, and the GT shows low values. (GT shows high values in 3D and OpenCL) And look at the processor load in the iStat Monitor window. In this case, Quicktime uses the quick sync hardware decoder. This is "iMac 17.1" and Sierra 10.12.4 with Intel HD530 graphics.

There is another useful patch in my config in the attachment. This patch allows you to play without freezes on skylake videos with DRM protection.
It's very simple.

View attachment 247226

Do not use this patch. It's out of date, use new versions IntelGraphicsFixup.kext instead.

Hi, my config is an i3-6100T, HD 530 & H110M Mobo ¿what's about the NVRAM? ¿How get Hibernation? I tried but stuck o freeze all the times. Thank You!
 

Attachments

  • upload_2017-9-21_10-36-39.png
    upload_2017-9-21_10-36-39.png
    97.2 KB · Views: 165
hi guys, i've been trying to enable quick sync on my hack as well but i couldn't seem to get it to work. i am stuck at the apple logo, and doesn't get into the login page.

i use the latest kexts Lilu, Shiki and IntelGraphicsFixup (plus my FakeSMC kext)

my first confusion is where should I put the kexts. is it /Library/Extensions or /System/Library/Extensions ? i use kextbeast instead of kext utility.

a.) so i tried putting them in /System/Library/Extensions first (including my FakeSMC kexts) but didn't work
b.) i put them in /Library/Extensions where my FakeSMC kext is but still didn't work - by the way the reason for this is during the installation of my hackintosh, i was using kextbeast and the instruction was to put kexts in /Library/Extensions
c.) i put them in both, still doesn't work.

in all attempts, i also added arg -shikigva. can you help take a look? i attach my config.plist. i also tried booting in -v mode in an attempt to understand what's wrong but i can't figure it out.

thanks in advance.
i am on 10.12.6 by the way
 

Attachments

  • neilryan-config.plist
    10.2 KB · Views: 203
  • system-library extension-.JPG
    system-library extension-.JPG
    2.6 MB · Views: 107
  • library-extensions.JPG
    library-extensions.JPG
    2.6 MB · Views: 142
  • both.JPG
    both.JPG
    2.7 MB · Views: 113
  • Screen Shot 2017-09-28 at 11.49.47 PM.png
    Screen Shot 2017-09-28 at 11.49.47 PM.png
    77.6 KB · Views: 107
hi guys, i've been trying to enable quick sync on my hack as well but i couldn't seem to get it to work. i am stuck at the apple logo, and doesn't get into the login page.

i use the latest kexts Lilu, Shiki and IntelGraphicsFixup (plus my FakeSMC kext)

my first confusion is where should I put the kexts. is it /Library/Extensions or /System/Library/Extensions ? i use kextbeast instead of kext utility.

a.) so i tried putting them in /System/Library/Extensions first (including my FakeSMC kexts) but didn't work
b.) i put them in /Library/Extensions where my FakeSMC kext is but still didn't work - by the way the reason for this is during the installation of my hackintosh, i was using kextbeast and the instruction was to put kexts in /Library/Extensions
c.) i put them in both, still doesn't work.

in all attempts, i also added arg -shikigva. can you help take a look? i attach my config.plist. i also tried booting in -v mode in an attempt to understand what's wrong but i can't figure it out.

thanks in advance.
i am on 10.12.6 by the way

I put my FakeSMC in EFI/CLOVER/KEXTS/OTHER (or whatever the proper syntax is)
and I put the rest of the kexts in /System/Library/Extensions/

And try this Config (Added GFX0 -> iGPU, Intel GFX Fake ID, -shikigva boot argument)
 

Attachments

  • neilryan-config2.plist
    10.8 KB · Views: 250
Thanks so much for the help. Unfortunately I'm still stuck at the apple logo.

I suspect my existing patches may be conflicting with kext and config, I just don't know how.

so I tried a new route instead.

1. reinstall Sierra and completed post install with multibeast 9.2 (usually after this my system will not have sound yet)
2. tested the accelerator with the VDADecoderCheckerSierra, it works so I backed up the system
3. used Toleda's patch audio_cloverALC-120_v1.0d (this is how I could get sound to work in my system), rebooted and then tested with accelerator, it didn't work anymore.
4. restored item 2 and then this time, used toleda's patch audio_cloverHDMI-120_v1.0d (this is how I enabled my HDMI audio for my HD530), rebooted and then tested with accelerator, it didn't work anymore.
5. restored item 2, and then this time, ran multibeast again to install sound driver only, rebooted and got sound working, tested with accelerator, still working.

this is a long process but worked for me. I will have to figure out how to make my HDMI Audio to work again without breaking the hardware acceleration. I will update this post if I am successful.

You cannot use Finder to install kexts.
Must use a kext installer or Terminal:
Code:
# undo damage done with Finder
sudo rm -rf /Library/Extensions/whateverkextyouinstalled.kext
# install correctly
sudo cp -R kexttoinstall.kext /Library/Extensions

You can rebuild cache with Terminal (allows you to check for errors):
Code:
sudo kextcache -i /

Update (success):
1. I installed HDMI Audio again and rebooted (and broke the hardware acceleration)
2. instead of using Kextbeast or kextutilities, I used the terminal commands below instead thanks to RehabMan.

sudo cp -R kexttobeinstalled.kext /System/Library/Extensions

3. rebooted, added boot argument shikigva, added the patch change GFX0 to IGPU in clover>acpi
4. rebooted, tested VDADecoderCheckerSierra, acceleration fully supported, HDMI audio working.

although when I exported in FCPX the when choosing masterfile (.mov file), a 3 minute video exports in 1 minute. but when choosing apple devices 1080p, better quality (.mp4 file), exporting took 10-12 minutes.

when I tried the same on a Mac mini i5 late 2012, it export is not as long as this. am I missing something?
 
Last edited:
Status
Not open for further replies.
Back
Top