Contribute
Register

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

Status
Not open for further replies.
Снимок экрана 2017-05-15 в 22.53.52.png


For those who have a system with single graphics HD530 / HD630 the problem with the update to 10.12.5 is solved. (Thanks to vit9696 and lvs1974 and some others) In Apple, a DVI / DP monitor check was added, which, after updating, the skylake (and kabylake) graphics did not pass the test when a monitor is connected to it. The patch is added to the new version of IntelGraphicsFixup 1.1.2, and it's better to download LiLu 1.1.1 again. (Even if the versions of LiLu are the same, I had to update and LiLu, otherwise again "8 apples" appeared during loading.) I do not know why, but after the replacement everything became normal). Replace in efi / clover / kexts / other LiLu 1.1.1 + IntelGraphicsFixup.1.1.2 and can be updated to 10.12.5.

Hibernation in mode 25 also works, if it worked on 10.12.4.
 
Last edited:
View attachment 254888

For those who have a system with single graphics HD530 / HD630 the problem with the update to 10.12.5 is solved. (Thanks to vit9696 and lvs1974 and some others) In Apple, a DVI / DP monitor check was added, which, after updating, the skylake (and kabylake) graphics did not pass the test when a monitor is connected to it. The patch is added to the new version of IntelGraphicsFixup 1.1.2, and it's better to download LiLu 1.1.1 again. (Even if the versions of LiLu are the same, I had to update and LiLu, otherwise again "8 apples" appeared during loading.) I do not know why, but after the replacement everything became normal). Replace in efi / clover / kexts / other LiLu 1.1.1 + IntelGraphicsFixup.1.1.2 and can be updated to 10.12.5.

Hibernation in mode 25 also works, if it worked on 10.12.4.


Are you using -shikigva ?

and please elaborate on hibernation issue
 
Are you using -shikigva ?
Yes.

and please elaborate on hibernation issue

The following applies to systems with a single embedded graphics in a processor and with SMBIOS, for which the real mac should also have discrete graphics, like iMac 17.1. However, sleep does not work on skylake (0 mode, which is by default). It works only if you install in addition a separate video card. Therefore, with one video embedded in the processor, we turn on hibernation mode 25 (or 29), using the console command sudo pmset -a hibernatemode 25
First of all, the BIOS version is important. The older BIOS, the more chances that motherboard manufacturers have not yet blocked the modification of nvram from operating systems. Windows and Linux do not actively use nvram, but macos stores many variables in the nvram , and variables for sleep modes too. For example, on my motherboard from Asus BIOS is v2001 (the latter for skylake) is not closed for modification, so the hackintosh does not have problems to write data to the nvram. And already in the next version of BIOS 3016, Asus blocked access to the record. (By the way, the same way is used to write Nvidia - native or web, and the OS stores the flag there - is it the usual download or awakening, and there the Clover reads it). Some SMC keys are also written there.
If nvram is locked for modification from the OS, then when installing Clover it is necessary to use the driver for emulating nvram open for writing for OS - EmuVriableUefi-64 in Drivers64UEFI. It intercepts an entry in nvram and stores the values in a file on disk, and also tries to determine when the system goes to sleep or wakes up to return these values to the bootloader and the OS. But due to the peculiarities of addressing data, this does not always work. Therefore, hibernation may not work with emulation, even if it works with un-locked nvram without emulation. I lowered the BIOS version via the SPI Flash programmer, after which there were other problems, the subtleties of which I do not understand. (With data addresses in nvram) This was decided by specialists, they first made the separate patch and the kext, and then all the solutions were placed into the HibernationFixup kext . After that some hackintosh begun using the hibernate mode successfully on Sierra 10.12.4, it was the current version at the time of the decision. And for the earlier versions OS X they did not check. On some laptops there were problems with hibernation on to close the lid, it seems they also decided. No one basically do not update bios. And there is almost no data on how hibernation works with HibernationFixup and with EmuVriableUefi-64 together. Maybe it does not work, but maybe people do not consider it necessary to share this data.
At 10.12.5, compared to 10.12.4, nothing changed with respect to hibernation.

My hibernation mode 25 is that The computer goes into hibernation mode for a minute. The monitor goes out almost immediately, and in a minute the HDD / SSD stop, and the LED showing the power is turned off completely. (In normal sleep mode 0 it flashes) And it wakes up if you move the mouse, or press a key on the keyboard, or the power button on the case. And quickly, after the BIOS POST and Clover Menu - after a couple of seconds, the desktop already appears. As in the video



Here is the important. Before setting up hibernation, you need to configure the processor's power-saving (speed - step). P-states and C-States generation by the Clover. (C-states need for CPU with the turbo boost only, but not for i3-6100 for example)
My hibernation does not work with HWP (speedshift)
1.png 3.png

Screenshot at мая 17 18-08-39.png

And it's important to install the USB properly (IOreg)

Screenshot at мая 17 18-09-53.png

HS - hight speed port (USB 2.0)
SS - super speed (USB 3.0)

I turn on the USB when booting specially made for my b150m-a legacy kext with plist inside:
5.png 4.png
For the 110th Intel chipset also needs it. This is because on the 110th and 150th chipsets, some of the USB ports work as 3.0 and 2.0, and the others only as 2.0)
6.png
This screen from my BIOS. Compare it and the port numbers in legacy kext. SS = 3.0 have numbers only 1, 2, 5, 6. They can also be 2.0, which gives 8 virtual ports for 4 physical ones. All are 10 USB physical ports and 14 virtual. (And another Type C, but I did not configure it.) And I generally do not have ports with numbers 3, 4, 13, 14. This is a feature of my motherboard, and on the other MB there will be a different set of numbers.
This is configured individually for the motherboard and according to the definition of the ports in the BIOS. And this also has to do with successful hibernation. Maybe yet is that

Screenshot at мая 17 18-16-29.png

Here is my current working config ( i do not use wifi or bluetooth)
 

Attachments

  • b150m-a-singleHD530-10.zip
    795.8 KB · Views: 165
Last edited:
I'm having trouble getting acceleration working on my HD530 iGPU (no screen attached) while using GT 710 as my display (single display via HDMI).

I performed the steps in Post #60 of this thread. Namely:

  1. Used ig-platform-id: 0x19120001 and IntelGFX Fake ID: 0x19168086
  2. Installed Lilu, IntelGraphicsFixup, NvidiaGraphicsFixup
  3. BIOS set to iGPU Enabled, 64 MB DMVT
  4. SSDT-HDMI-HD530-Airplay.aml placed into /EFI/Clover/ACPI/patched/
Note: I know @macjai said to use iMac14,2 - but later posts in the thread confirmed it works with 17,1. I don't want to mess up my perfectly working iMeassage :)



Here's my system info:

GA-H110N / Core i3-6100 / GT 710 2 GB / iMac17,1

"Problem Report" info:

Code:
steve@raptor:~$ kextstat|grep -y acpiplat
   13    1 0xffffff7f83797000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
steve@raptor:~$ kextstat|grep -y appleintelcpu
steve@raptor:~$ kextstat|grep -y applelpc
steve@raptor:~$ kextstat|grep -y applehda
  104    1 0xffffff7f83477000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <103 102 85 12 7 6 5 4 3 1>
  130    0 0xffffff7f835f9000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <129 104 103 102 89 85 6 5 4 3 1>
  131    0 0xffffff7f83473000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (279.48) 14690424-1048-3F1D-8A3D-41657C97EB67 <4 3>
steve@raptor:~$
 

Attachments

  • CLOVER.zip
    2.1 MB · Views: 158
  • RehabMan.zip
    52 KB · Views: 126
  • Raptor.ioreg.zip
    943.9 KB · Views: 129
I'm having trouble getting acceleration working on my HD530 iGPU (no screen attached) while using GT 710

On the processors of the 6th and 7th generation and the Intel 100-200 series chipsets, this is a "lottery". Nobody knows why it works or does not work with discrete graphics. On my MB does not work, and I've tried 3 graphics cards already. But the main reason lies in the depth of the BIOS initialization, because even in linux and windows, the hardware acceleration Quick Sync can break if you change the order of graphics initialization. We need success statistics, who have earned skylake / kabylake with additional discrete graphics. In the meantime, we only have "statistics of failures." And it looks like nobody is dealing with this problem now.

Try first to achieve hardware acceleration without the GT710. If we look at a video card comparison the built-in HD530 is equal to the speed of the GT710 in 3D. You will not lose anything if you remove a discrete card from the hackintosh, and configure the built-in HD530 processor. It alone will work with hardware acceleration much easier. HD530 is included via arbitrary, and speedstep is also in the clover config.plist, and instead of the ssdt package you need only a few lines in the config and the kexts, and the argument -shikigva. Then configure the USB ports, and hibernation in mode 25, if the BIOS is still quite old (not for kabylake), then you have a great chance that the hibernation will work after everything.

For single HD530 with quick sync you need something like this/ (Add SMBIOS и RtVaribles and USB ports configure yourself for your MB model)
 

Attachments

  • examle_config.zip
    775.9 KB · Views: 141
Last edited:
I'm having trouble getting acceleration working on my HD530 iGPU (no screen attached) while using GT 710 as my display (single display via HDMI).

I performed the steps in Post #60 of this thread. Namely:

  1. Used ig-platform-id: 0x19120001 and IntelGFX Fake ID: 0x19168086
  2. Installed Lilu, IntelGraphicsFixup, NvidiaGraphicsFixup
  3. BIOS set to iGPU Enabled, 64 MB DMVT
  4. SSDT-HDMI-HD530-Airplay.aml placed into /EFI/Clover/ACPI/patched/
Note: I know @macjai said to use iMac14,2 - but later posts in the thread confirmed it works with 17,1. I don't want to mess up my perfectly working iMeassage :)



Here's my system info:

GA-H110N / Core i3-6100 / GT 710 2 GB / iMac17,1

"Problem Report" info:

Code:
steve@raptor:~$ kextstat|grep -y acpiplat
   13    1 0xffffff7f83797000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
steve@raptor:~$ kextstat|grep -y appleintelcpu
steve@raptor:~$ kextstat|grep -y applelpc
steve@raptor:~$ kextstat|grep -y applehda
  104    1 0xffffff7f83477000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <103 102 85 12 7 6 5 4 3 1>
  130    0 0xffffff7f835f9000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <129 104 103 102 89 85 6 5 4 3 1>
  131    0 0xffffff7f83473000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (279.48) 14690424-1048-3F1D-8A3D-41657C97EB67 <4 3>
steve@raptor:~$

It looks like maybe your kexts are damaged.
Run the macOS installer to refresh them (no need to erase the target partition).
Also, you need to rename HECI->IMEI in ACPI (via config.plist/ACPI/DSDT/Patches).
Also, IGPU must be primary.
 
It looks like maybe your kexts are damaged.
Run the macOS installer to refresh them (no need to erase the target partition).
Also, you need to rename HECI->IMEI in ACPI (via config.plist/ACPI/DSDT/Patches).
Also, IGPU must be primary.

Thanks. Did the refresh...

Then I did the rename HECI->IMEI and things got unstable. I would boot ok, and within 60s my computer would either freeze or spontaneously reboot. Any thoughts?

Edit: saw in this post you mentioned: "Note that some Skylake hardware uses MEI instead of HECI/IMEI." does that have anything to do with it (I'm using Skylake i3-6100) - although I do see HECI in my IOReg

Edit 2: Not sure what was going on before - but I walked myslelf back into having HECI->IMEI in there and am stable.

Finally, are you saying that I need to have the iGPU as primary in BIOS in order for the HW acceleration to work?

BTW, really appreciate the help.
 
Last edited:
How to make that "Hardware Encoding Support : yes" ? Please anyone help i need steps, im puzzled reading all comments.

I have Z170m D3H and i5 6600k
 
Status
Not open for further replies.
Back
Top