Gigabyte H87M-D3H/i5-4440 doesn't boot completely (without -igfxvesa)

Hi,

I've installed High Sierra successfully using OpenCore. However, when I try to boot into the system, it briefly displays the Apple Logo + Progress Bar (after a ton of verbose logging), before it crashes (the logo disappears and i'm left with a black screen - no logs at this point). It stays stuck at this point, until I force restart.

The i5-4440 has Intel HD4600 which should be natively supported (and, I don't have a discrete GPU). I've tried every desktop platform-id for Haswell from this list. System boots completely when I use either of these flags (-x or -igfxvesa). Since, it boots with -igfxvesa (which disables graphics acceleration), I believe this to be some form of graphics issue.

Intel Processor Graphics Memory Allocation = 64M (this should be DVMT Prealloc set correctly in my BIOS).

VT-D is disabled. Also, tried with boot param dart=0.

With -igfxvesa set, my WhateverGreen logs from the verbose booting are

2020-01-02 01:46:48.844366+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: init @ (DBG) WhateverGreen bootstrap DBG-135-2019-12-02 2020-01-02 01:46:48.846245+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableDrmdmaPowerGating 2020-01-02 01:46:48.848119+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableGfxCGPowerGating 2020-01-02 01:46:48.860415+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableUVDPowerGating 2020-01-02 01:46:48.862211+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableVCEPowerGating 2020-01-02 01:46:48.864008+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableDynamicGfxMGPowerGating 2020-01-02 01:46:48.866031+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableGmcPowerGating 2020-01-02 01:46:48.867827+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableAcpPowerGating 2020-01-02 01:46:48.869624+0530 0x73 Default 0x0 0 0 kernel: (Lilu) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableSAMUPowerGating 2020-01-02 01:46:50.920149+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) non-apple-fw proceeding with devprops 1 2020-01-02 01:46:50.930835+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData device-id has 412 value 2020-01-02 01:46:50.941192+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) IGPU has real 0412 acpi 0412 fake 0000 and model Intel HD Graphics 4600 2020-01-02 01:46:50.952399+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) adding missing model Intel HD Graphics 4600 from autotodetect 2020-01-02 01:46:50.963471+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) found existing built-in 2020-01-02 01:46:50.973420+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData applbkl was not found 2020-01-02 01:46:50.983560+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) detecting policy 2020-01-02 01:46:50.993281+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) no external gpus 2020-01-02 01:46:51.002937+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData framebuffer-patch-enable was not found 2020-01-02 01:46:51.013451+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData framebuffer-patch0-enable was not found 2020-01-02 01:46:51.023938+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData dpcd-max-link-rate was not found 2020-01-02 01:46:51.034167+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: igfx @ (DBG) MLR: No custom max link rate specified. Will use 0x14 as the default value. 2020-01-02 01:46:51.045187+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: iokit @ (DBG) getOSData max-backlight-freq was not found 2020-01-02 01:46:51.055447+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: shiki @ (DBG) will autodetect autodetect GPU 0 whitelist 0 2020-01-02 01:46:51.065826+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: shiki @ (DBG) pre-config: online 0, bgra 0, compat 0, whitelist 0, id 0, stream 0, hwdrm 0 2020-01-02 01:46:51.076961+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) vinfo 1: 1080:1920 32:7680:1 2020-01-02 01:46:51.086642+0530 0x1ad Default 0x0 0 0 kernel: (Lilu) WhateverGreen: weg @ (DBG) vinfo 2: 67:240 7680:1:0 2020-01-02 01:46:56.130371+0530 0x24e Default 0x0 0 0 kernel: (Lilu) WhateverGreen: igfx @ (DBG) platform is snb 0 and list 0xFFFFFF7FA197BB90 

Unfortunately, the logs from normal boots (without -igfxvesa) don't seem to be written to disk. 'sudo log show | grep -i whatevergreen' doesn't have any lines related to that boot. However, on display I do see it says hdmi patching framebufferid 0x0d220003 succesful.

I've tried iMac14,1, iMac14,2, and iMac15,1 in my SMBIOS with relevant serials generated by macserial.

My OpenCore config.plist can be found here. I'm using WhateverGreen v1.3.5 and Lilu 1.4.0.

Would appreciate some ideas on how to proceed from here. Thanks

submitted by /u/gigatosher
[link] [comments]