Hi
@Austere.J!
First of all, many thanks for working on these issues! Your initial div-by-0 fix made my hackintosh actually usable, and I'm sure many others too (I realize it's ironic it's Thanksgiving, but your work is very much appreciated.)
I've tried your most recent fix to set the max link rate, but I could not get it to work. With any configuration, I still get a div-by-0 kernel panic (see crash.txt).
I've tried 0x14/HBR2, 0x06/RBR, 0x1E/HBR3, 0x0A/HBR with CoreDisplayFixup and the latest WhateverGreen for each permutation via Clover boot selections (see attached config.plist). I've updated to the latest RehabMan Clover build v2.4k r4701.RM-4963 (2018-10-10). I've rebuilt my kextcache between each step with "sudo kextcache -i /".
At this point I wasn't sure if the patch was applied properly, so I checked "
/System/Library/Extensions/AppleIntelCFLGraphicsFramebuffer.kext/Contents/MacOS/AppleIntelCFLGraphicsFramebuffer" for the source hex <554889e5 48ff05a5 4607008b 96c02500 008a8e>, and it does contain one match. "bdmesg" doesn't show a failure of a kext patch being applied, so I created an arbitrary bad replacement designed to fail (see BADPATCH), but no logs appear in bdmesg. However, the initial div-by-0 fix does work, so kext patching is functional at least for that patch.
The output of AGDCDiagnose when using the initial div-by-0 patch is in display.txt (I have a 4k display).
Any suggestions or ideas?