Contribute
Register

Quick Sync hardware encode w/ nVideo card as primary

Status
Not open for further replies.
Working on it right now .... amazingly there was a new BIOS update dated July 2018 ... nice to see ASRock are still supporting this motherboard even though its over 4 years old now.

Have just flashed that and found a BIOS option confusingly called "IGPU Multi-Monitor Support"

Now you would have thought that with a name like it would mean that by enabling it you can use more than one of the built in display ports for the IGPU ... but no it actually means Dual GPU support, with it enabled Both the IGPU & DGPU are enabled.

So this is a step forward ... although with it enabled my OSX boot up time has more than doubled ... maybe down to MacOS trying to find a monitor on teh IGPU that is not there ...

Ran GFXUTIL as detailed in the WhatEverGreen guide and derived the PCU root of the IGPU with no problems this time.
I then added the headless AAPL,ig-platform-id device property to my Clover config :-

View attachment 347647

The value of 04120004 is taken from Toleda's guide for Series 8/9 for HD4600 IGPU's

I was hoping that this would be enough to get things working, so i deleted NvidiaGraphicsFixUp and installed WhatEverGreen 1.2.1 but unfortunately it still KP's .. switching back to NvidiaGraphicsFixUp the system boots fine but still no Hardware encode/decode.

Next thing to try is to change my Sys Def to a iMac 14,X as detailed in Toleda's guide (I'm currently using 13,2)
Just going to give that a go now and will report back on what happens ...

Cheers
Jay

I believe the "Properties Value" should be entered as 04001204.
 
I believe the "Properties Value" should be entered as 04001204.

Grrrrrrr .. good spot buddy .... yes you are absolutely correct ... I should have remembered that.

Have Just changed it now and rebooted ....
MacOS boot speed is back to what it was before I enabled the IGPU and guess what :-

Screen Shot 2018-08-23 at 15.08.03.png

Finally got Hardware Encode/Decode working on the 980-Ti ... and that is without-out changing my Sys Def but still with NvidiaGraphicsFixUp installed .. so glad i stopped and read this thread ...

Guess i better try installing WhatEverGreen again and see if it wants to play nice now ...

Cheers
Jay
 
WhatEverGreen still KP's .... will try changing SYS DEF to iMac 14,2 and see if that helps.
I doubt it will but I'm running out of things to try

Cheers
Jay
 
System now running as iMac 14,2 but still cant get WhatEverGreen to work ...

With it installed it KP's just at the point where the MacOS boot screen (Apple logo with loading bar) will change the screen resolution from the boot (clover) resolution to the resolution defined in System Prefs -> Display.

I've got the latest version of the Nvidia Web Drivers installed (387.10.10.1040.105) which is not in the black list of the Nvidia Installer/Update script so I assume it's ok to use.

Examining the Kernel Crash dump states that the process name corresponding to current thread is: kernel_task

I'm not sure if the KP is caused directly by WhatEverGreen (it only KP's with WEG installed) or as a result of something WEG has done ?

Update: KP now solved see posts below.

Cheers
Jay
 
Last edited:
System now running as iMac 14,2 but still cant get WhatEverGreen to work ...

With it installed it KP's just at the point where the MacOS boot screen (Apple logo with loading bar) will change the screen resolution from the boot (clover) resolution to the resolution defined in System Prefs -> Display.

Its done this with all versions of WhatEverGreen right up the the current release (Version 1.2.1)
I have the latest official release of Lilu installed (Version 1.2.6)

Whilst it not critical to get WhatEverGreen running as now I have Hardware Encode working i think it is necessary for it to be installed to get hardware decode working ?

I've got the latest version of the Nvidia Web Drivers installed (387.10.10.1040.105) which is not in the black list of the Nvidia Installer/Update script so I assume it's ok to use.

Examining the Kernel Crash dump states that the process name corresponding to current thread is: kernel_task

I'm not sure if the KP is caused directly by WhatEverGreen (it only KP's with WEG installed) or as a result of something WEG has done ?

Heres the KP dump which is usually not much use but maybe someone can spot something ...

Code:
Thu Aug 23 16:21:50 2018

*** Panic Report ***
panic(cpu 1 caller 0xffffff8006b8776f): Kernel trap at 0xffffff7f870a7640, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff7f870a7640, CR3: 0x0000000015065000, CR4: 0x00000000001627e0
RAX: 0xffffff7f8ab1c4b0, RBX: 0xffffff80335dcd60, RCX: 0x0000000000000000, RDX: 0xffffff81f9743eb0
RSP: 0xffffff81f9743e18, RBP: 0xffffff81f9743e80, RSI: 0xffffff8030683e40, RDI: 0xffffff80335dcd60
R8:  0x0000000000000001, R9:  0x0000000000000020, R10: 0x000000000000032e, R11: 0x0000000000000000
R12: 0xffffff80335dcd60, R13: 0xffffff8030c94e80, R14: 0xffffff81f9743eb0, R15: 0xffffff8030683e40
RFL: 0x0000000000010246, RIP: 0xffffff7f870a7640, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0xffffff7f870a7640, Error code: 0x0000000000000010, Fault CPU: 0x1, PL: 0, VF: 2

Backtrace (CPU 1), Frame : Return Address
0xffffff81f97438e0 : 0xffffff8006a6c1c6 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffff81f9743930 : 0xffffff8006b95274 mach_kernel : _kdp_i386_trap + 0x114
0xffffff81f9743970 : 0xffffff8006b87544 mach_kernel : _kernel_trap + 0x4e4
0xffffff81f97439e0 : 0xffffff8006a1e1e0 mach_kernel : _return_from_trap + 0xe0
0xffffff81f9743a00 : 0xffffff8006a6bc3c mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffff81f9743b30 : 0xffffff8006a6b9fc mach_kernel : _panic + 0x5c
0xffffff81f9743b90 : 0xffffff8006b8776f mach_kernel : _kernel_trap + 0x70f
0xffffff81f9743d00 : 0xffffff8006a1e1e0 mach_kernel : _return_from_trap + 0xe0
0xffffff81f9743d20 : 0xffffff7f870a7640
0xffffff81f9743e80 : 0xffffff8007072b14 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0x514
0xffffff81f9743f00 : 0xffffff8007072467 mach_kernel : __ZN9IOService14doServiceMatchEj + 0x2c7
0xffffff81f9743f50 : 0xffffff80070740c6 mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x1a6
0xffffff81f9743fa0 : 0xffffff8006a1d557 mach_kernel : _call_continuation + 0x17

BSD process name corresponding to current thread: kernel_task
Boot args: brcmfx-country=#a kext-dev-mode=1 -v keepsyms=1 debug=0x100

Mac OS version:
17G65

Kernel version:
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
Kernel slide:     0x0000000006800000
Kernel text base: 0xffffff8006a00000
__HIB  text base: 0xffffff8006900000
System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)

System uptime in nanoseconds: 5372594729
last loaded kext at 5063984147: org.hwsensors.driver.GPUSensors    1787 (addr 0xffffff7f88256000, size 90112)
loaded kexts:
org.hwsensors.driver.GPUSensors    1787
com.intel.driver.EnergyDriver    2.0
org.hwsensors.driver.LPCSensors    1787
org.hwsensors.driver.CPUSensors    1787
com.nvidia.NVDAStartupWeb    10.3.3
org.dungeon.driver.SATSMARTDriver    0.6
at.obdev.nke.LittleSnitch    5187
com.insanelymac.RealtekRTL8111    2.2.2
com.insanelymac.driver.AppleIntelE1000e    3.3.6
org.rehabman.driver.FakePCIID.XHCIMux    1.3.12
org.rehabman.driver.FakePCIID    1.3.12
as.lvs1974.NvidiaGraphicsFixup    1.2.7
com.3dconnexion.driver    10.2.1
as.lvs1974.AirportBrcmFixup    1.1.5
as.vit9696.AppleALC    1.3.1
org.netkas.driver.FakeSMC    1787
as.vit9696.WhateverGreen    1.2.1
as.vit9696.Lilu    1.2.6
com.apple.iokit.IOBluetoothSerialManager    6.0.7f10
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHV    1
com.apple.nvidia.NVDAStartup    10.3.2
com.apple.driver.AppleIntelHD5000Graphics    10.3.6
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.iokit.BroadcomBluetooth20703USBTransport    6.0.7f10
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.eficheck    1
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.AppleIntelFramebufferAzul    10.3.6
com.apple.driver.AudioAUUC    1.70
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.iokit.IOBluetoothUSBDFU    6.0.7f10
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.AppleSystemPolicy    1.0
com.apple.BootCache    40
com.apple.filesystems.hfs.kext    407.50.6
com.apple.driver.PioneerSuperDrive    439.70.3
com.apple.iokit.SCSITaskUserClient    404.30.2
com.apple.filesystems.apfs    748.51.0
com.apple.driver.AirPort.BrcmNIC    1241.31.1a9
com.apple.driver.AppleAHCIPort    329.50.2
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    183
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.iokit.IOSerialFamily    11
com.apple.iokit.IOAVBFamily    680.2
com.apple.plugin.IOgPTPPlugin    680.15
com.apple.iokit.IOEthernetAVBController    1.1.0
com.apple.driver.AppleSSE    1.0
com.apple.AppleGPUWrangler    3.20.13
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.AppleHDAController    281.52
com.apple.iokit.IOHDAFamily    281.52
com.apple.iokit.IONDRVSupport    519.20
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    6.0.7f10
com.apple.iokit.IOBluetoothHostControllerUSBTransport    6.0.7f10
com.apple.iokit.IOBluetoothHostControllerTransport    6.0.7f10
com.apple.iokit.IOBluetoothFamily    6.0.7f10
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.AppleGraphicsDeviceControl    3.20.13
com.apple.iokit.IOAcceleratorFamily2    378.26
com.apple.iokit.IOSurface    211.15
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.iokit.IOGraphicsFamily    519.20
com.apple.driver.AppleHIDKeyboard    205
com.apple.driver.AppleUSBAudio    312.6
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice    404.30.2
com.apple.iokit.IOBDStorageFamily    1.8
com.apple.iokit.IODVDStorageFamily    1.8
com.apple.iokit.IOCDStorageFamily    1.8
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IOAHCISerialATAPI    267.50.1
com.apple.driver.usb.AppleUSBOHCIPCI    1.2
com.apple.driver.usb.AppleUSBOHCI    1.2
com.apple.iokit.IOAHCIBlockStorage    301.40.2
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.driver.usb.AppleUSBEHCIPCI    1.2
com.apple.driver.usb.AppleUSBEHCI    1.2
com.apple.iokit.IOAHCIFamily    288
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.AppleIntelLpssGspi    3.0.60
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleEffaceableStorage    1.0
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439.70.3
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice    404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily    404.30.2
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.driver.DiskImages    480.60.1
com.apple.iokit.IOStorageFamily    2.1
com.apple.iokit.IOReportFamily    31
com.apple.iokit.IOTimeSyncFamily    680.15
com.apple.iokit.IOUSBHIDDriver    900.4.1
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IONetworkingFamily    3.4
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.Libm    1
com.apple.kec.pthread    1
com.apple.kec.corecrypto    1.0

As far as I can tell all pre-requisites for WhatEverGreen have been met . . . . So its a puzzler.

The only other thing I can think of is that it does not like my monitor which is a 21:9 at 3440 x 1440 but i cant believe thats the issue as NvidiaGraphicsFixUp work fine ?

Any idea's or suggestion most welcome ..

Cheers
Jay

It looks like you still have NvidiaGraphicsFixup.kext installed. That is no longer needed, it is integrated with WhateverGreen. As are IntelGraphicsFixup.kext, IntelGraphicsDVMTFixup.kext, and Shiki.kext.
 
@pastrychef,

Was just ahead of you dude ....
I spotted that just after I posted the cash dump ....

Turns out there was a copy of NvidiaGraphicsFixUp in the the Clover Kext's folder ... from waaaaaay back
All my 3rd party kext's are in /L/E ... god only knows what it was doing in there.
Strange thing is I thought Clover would not inject Kexts if FakeSMC is in /L/E which it is ?

No matter with the culprit removed WhatEverGreen is working now
Thanks for your (and Toleda's) help getting the Nvidia hardware encode working ... thats going to be a real time saver.

Cheers
Jay

Edit: Turns out Inject Kext's was enabled in Clover ... my bad
 
Last edited:
With i7-3770(K) and iMac13,2 system definition, you can use ig-platform-id "0x01620007"

With i7-6700(K) and iMac17,1 system definition, you can use ig-platform-id "0x19120001"

With i7-7700(K) and iMac18,3 system definition, you can use ig-platform-id "0x59120003"

With i7-8700(K) and iMac18,3 system definition, you can use ig-platform-id "0x59120003"

These ig-platform-ids are "headless" settings meaning that they will not work with a monitor plugged in to them. Remember to enable Inject Intel. This setting will enable Quick Sync.

*i7-7700(K) and i7-8700(K) also needed Lilu.kext and IntelGraphicsFixup.kext to be installed.

Hi,all
I was able to use Quick Sync.
But Amazon and Hulu video can not be played.
Do I need any additional settings?
 
Hi,all
I was able to use Quick Sync.
But Amazon and Hulu video can not be played.
Do I need any additional settings?

That's a DRM issue. It's unrelated to Quick Sync. It's a common problem. I have never attempted to fix this because I don't watch Amazon or Hulu content on my hack.
 
Hi,all
I was able to use Quick Sync.
But Amazon and Hulu video can not be played.
Do I need any additional settings?

Try different browsers. Also, try changing your shikiva bootflag value. It’s hit-or-miss with different systems. But I was able to get DRM working with Chrome+Hulu/Netflix/DirectTV Now as well as downloaded iTunes movies I purchased.
 
Here's how I managed to get it done on various hackies I use:
Download latest Lilu.kext (https://github.com/acidanthera/Lilu/releases)
Download latest Whatevergreen.kext (https://github.com/acidanthera/WhateverGreen/releases)
Put in EFI - Clover - kexts - 10.13
Reboot
Go into BIOS
Enable IGFX
Select PCI as primary graphics
Save BIOS
Reboot

Check status using VideoProc.app (https://www.macxdvd.com/mac-video-converter-pro/)

I was able to do this on Hackies using GTX and AMD

So I followed the directions above and VideoProc is showing that HEVC is enabled, but not H264. Should it be?

Also, I've noticed that my computer doesn't lock when the monitors power off anymore. It was working prior to enabling quicksync, so I think the system thinks a monitor is still powered on somewhere, so it doesn't lock the system.
 
Status
Not open for further replies.
Back
Top