UHD 620: HDMI and USB-C output not displaying anything or causing a kernel panic

Hello hackintoshers!

I have a Xiaomi Noteboook Pro laptop with the following specs:

CPU: i7-8550U RAM: 16GB DDR4 GPU: Intel UHD 620 & MX150 (disabled via SSDT) SSD: Samsung 970 EVO 512GB Wireless: BCM94360CS2

I am on macos Mojave 10.14.2 (18C54) using the version 1.3.4 of Lilu and version 1.2.6 of WhateverGreen. Screenshot that they are indeed being injected is attached. I am using the GFX0 -> IGPU rename and I am injecting the following properties for my iGPU:

<key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>device-id</key> <data>FlkAAA==</data> <key>framebuffer-patch-enable</key> <data>AQAAAA==</data> <key>framebuffer-fbmem</key> <data>AACQAA==</data> <key>framebuffer-stolenmem</key> <data>AAAwAQ==</data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key># framebuffer-con1-enable</key> <integer>1</integer> <key># framebuffer-con1-type</key> <data>AAgAAA==</data> <key># framebuffer-con1-pipe</key> <data>CgAAAA==</data> <key>#framebuffer-con2-enable</key> <integer>1</integer> <key>#framebuffer-con2-type</key> <data>AAQAAA==</data> <key>#framebuffer-con2-pipe</key> <data>CgAAAA==</data> </dict>

Acceleration is fully working (there are some artifacts while booting). I am using the MacBookPro15,2 SMBIOS and have -cdfon as my boot flags.

My problem is the following: My HDMI and USB-C ports do not give any output. The only thing that happens is: - After connecting HDMI, my laptop's screen goes black and my monitor displays No Signal. I have to hold the power button to turn off my laptop and boot again to make my laptop's screen work again. - After connecting USB-C: My laptop lags heavily for ~10 seconds, then the lagging stops. The display does not display No Signal but is completely black.

Does anyone have any idea what I can do to at least make one of my ports work? I have been trying for hours, without the con1 properties, trying different framebuffer-con1-alldata values and different SMBIOSes (MacBookPro14,1). I also tried following several guides which recommended me to add lilucpu=8, which did not change anything. I also tried lilucpu=9 which also did not change anything. I would very much like to use the ports on my laptop.

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