Contribute
Register

Enable Intel QuickSync with i7-7700K (HD 630) and High Sierra/Sierra

Status
Not open for further replies.
Joined
Feb 4, 2013
Messages
8
Motherboard
Gigabyte z170X
CPU
Intel i7 7700K
Graphics
NVIDIA GTX 980Ti
Mac
  1. iMac
Hello,
I built a Hackintosh for professional video editing tasks using Final Cut Pro X, this is why I need Intel Quick Sync enabled.
Here's my configuration:

Motherboard: Gigabyte Z170X Gaming 7
CPU: Intel i7-7700K
GPU: Asus Strix GTX 980Ti (will switch to AMD Vega 64 in December)
SSD: Samsung M2 960 EVO (with macOS High Sierra installed)
SSD 2: Samsung 850EVO (with macOS Sierra installed)

After reading a lot of posts on this site I managed to enable both the 980Ti and the integrated Intel HD 630 Graphics, but Quick Sync is still disabled and I don't know why.

Here's what I did to config.plist (also attached to this post)

ACPI
Patches
GFX0 -> IGPU
PEGP -> GFX0
HDAS -> HDEF
PEG0 -> POP2
COPR -> MATH

Fixes
FixShutdown_0004
Boot args: -v -disablegfxfirmware -shikigva
Devices:
Fake ID
IntelGFX -> 0x59128086

Add Properties

#1 (somebody is saying that this isn't needed anymore, should I remove it?)

Device: IntelGFX
Key: AAPL,GfxYTile
Value: 0AAAAA00
Value Type: DATA
Graphics
ig-platform-id: 0x59120000
Kernel and Kext Patches
#1
Name: AppleAHCIPort
Find: 45787465726e616c
Replace: 496e7465 726e616c
Comment: External icons patch
#2
Name: AppleUSBXHCIPCI
Find: 837d8c10
Replace: 837d8c1b
Comment: Change 15 port limit to 24 in XHCI kext 10.13​


Rt Variables
from SMBIOS:
ROM: 003EE1902E14
MLB: C02234603QXF16V1V
BooterConfig: 0x28
CsrActiveConfig: 0x00
SMBIOS: iMac18,3 (the one shipped with 7700K straight from Apple)

System Parameters
Inject System ID [YES]
NvidiaWeb [YES]


Here's what I have in /EFI/EFI/CLOVER/kexts/10.13:
AppleALC.kext
AtherosE2200Ethernet.kext
FakePCIID.kext
FakePCIID_Intel_HD_Graphics.kext
FakeSMC.kext
IntelGraphicsFixup.kext
IntelMausiEthernet.kext
Lilu.kext
NvidiaGraphicsFixup.kext
RealtekRTL8111.kext
Shiki.kext
USBInjectAll.kext

Here's what I have in /EFI/EFI/CLOVER/drivers64UEFI
AppleImageCodec-64.efi
AppleKeyAggregator-64.efi
AppleUITheme-64.efi
DataHubDxe-64.efi
EmuVariableUefi-64.efi
FSInject-64.efi
FirmwareVolume-64.efi
OsxAptioFix2Drv-64.efi
OsxFatBinaryDrv-64.efi
SMCHelper-64.efi
VBoxHfs-64.efi
apfs.efi

In the BIOS I enabled the integrated graphics at MAX mem, but I set PCI-E as the main (and first) one (so my 980Ti). Setting the IGFX as first is causing a boot loop. So right now there's just one 4K monitor plugged into the 980Ti via DisplayPort.
As you can see from the screenshots, the Intel HD 630 is recognized from the system, but as soon as I plug another 1080p monitor to the HD 630 (via HDMI), my hackintosh panics or shows itself on the second screen very glitchy (unusable).

But this is not my main concern. I don't care about using integrated video ports since I can plug everything to my 980Ti. The main problem here is that Intel Quick Sync isn't enabled. You can tell by the last screenshot saying "Hardware video encoding support: NO".

Is my ig-platform-id correct?
In the official documentation of Shiki.kext (do I even need this kext?) https://github.com/vit9696/Shiki/blob/master/Manual/FAQ.en.md there's a command to dump the right ig-platform-id from the System (ioreg -l | grep platform-id).
If I run this command, the give platform-id is 00001259, but it doesn't work in Clover.

What am I doing wrong? I updated Lilu.kext and Shiki.kext to 1.2.1 (latest version, released few hours ago and officially compatible with High Sierra).

Maybe am I missing some shikigva=n bootarg? Or maybe my IntelGFX / ig-platform-id values are wrong?
My main goal is just to enable Quick Sync (Hardware video encoding); possibly, also Hardware video decoding.

Schermata 2017-11-11 alle 17.55.38.png Schermata 2017-11-11 alle 17.55.41.png Schermata 2017-11-11 alle 17.55.43.png Schermata 2017-11-11 alle 17.55.45.png Schermata 2017-11-11 alle 17.55.49.png Schermata 2017-11-11 alle 17.55.52.png Schermata 2017-11-11 alle 17.55.54.png Schermata 2017-11-11 alle 17.55.59.png Schermata 2017-11-11 alle 17.56.01.png Schermata 2017-11-11 alle 17.56.03.png Schermata 2017-11-11 alle 17.56.05.png Schermata 2017-11-11 alle 17.56.07.png
 

Attachments

  • config.plist
    7.2 KB · Views: 427
  • Schermata 2017-11-11 alle 17.56.32.png
    Schermata 2017-11-11 alle 17.56.32.png
    375.7 KB · Views: 1,387
  • Schermata 2017-11-11 alle 17.56.36.png
    Schermata 2017-11-11 alle 17.56.36.png
    362.4 KB · Views: 1,500
  • Schermata 2017-11-11 alle 17.56.45.png
    Schermata 2017-11-11 alle 17.56.45.png
    381.6 KB · Views: 1,591
  • Schermata 2017-11-11 alle 17.56.52.png
    Schermata 2017-11-11 alle 17.56.52.png
    307.8 KB · Views: 1,648
  • Schermata 2017-11-11 alle 17.57.18.png
    Schermata 2017-11-11 alle 17.57.18.png
    272.1 KB · Views: 1,557
  • Try editing the info.plist here:

    https://github.com/vit9696/Shiki/blob/master/Manual/FAQ.en.md


    Which mac models support hardware acceleration?

    To check that read /System/Library/PrivateFrameworks/AppleGVA.framework/Info.plist, if your mac model or board id is present there, then this model does support hardware video decoding acceleration. You are to select a closest configuration to the one you own. For example, iMac13,1 uses an IGPU/discrete GPU combo whereas iMac13,3 only has an IGPU. If you use a model meant to work with a discrete GPU without a graphical card installed VDA will not work and you are likely to get an error from VDADecoderChecker. To correct this either choose an accurate model or edit the forceOfflineRenderer property in the Info.plist, it will need to be set to NO.
 
  • Try editing the info.plist here:

    https://github.com/vit9696/Shiki/blob/master/Manual/FAQ.en.md


    Which mac models support hardware acceleration?

    To check that read /System/Library/PrivateFrameworks/AppleGVA.framework/Info.plist, if your mac model or board id is present there, then this model does support hardware video decoding acceleration. You are to select a closest configuration to the one you own. For example, iMac13,1 uses an IGPU/discrete GPU combo whereas iMac13,3 only has an IGPU. If you use a model meant to work with a discrete GPU without a graphical card installed VDA will not work and you are likely to get an error from VDADecoderChecker. To correct this either choose an accurate model or edit the forceOfflineRenderer property in the Info.plist, it will need to be set to NO.
Or use shikigva=1 boot flag should do the same thing.
 
Use shikigva=1 as your bootflag, if that doesn't work then use shikigva=12
 
For SKL/KBL + NV GPU and NV GPU as primary, do not use shikigva=1 or attempt to edit offlinerenderer = No in AppleGVA info.plist , if offlinerenderer = No then GVA will be disabled, because IGPU is in offline condition, shikigva=12 should work when system is fresh install.

Currently, in 10.13.x shikigva=12 is the only choice to unlock VDADecoder for SKL/KBL + NV GPU, normally it will not work unless you have restored native AppleGVA.framework from installer, shiki will failed to apply nvpatch (shikigva=12) due to GVA buffer size mismatch.

Every time system updated (xxxx.framework updated) or manual rebuild dyld_shared_cache will caused AppleGVA.framework buffer size mismatch, use Pacifist.app to restore AppleGVA.framework, should be helpful.
 
I do not know what you mean, use empty frame ig-platform-id is the common way to enable IQSV.

I guess it used to be but not anymore:
https://www.******.com/r/hackintosh/comments/7m8uah/enabling_igpu_gpu/drtbeku/

https://www.******.com/r/hackintosh/comments/7m8uah/enabling_igpu_gpu/drtdc5x/
 
I guess it used to be but not anymore:
https://www.******.com/r/hackintosh/comments/7m8uah/enabling_igpu_gpu/drtbeku/

https://www.******.com/r/hackintosh/comments/7m8uah/enabling_igpu_gpu/drtdc5x/

Both link just talk about empty frame ig-platform-id, the basic way enable IQSV, what means "but not anymore".
 
Oh I misunderstood what you meant by empty frame. The OP has ig-platform-id: 0x59120000 which is not that.
 
Status
Not open for further replies.
Back
Top