EigenTom / ThinkPad-X1-Yoga-3rd-Hackintosh

README, OpenCore 0.6.3 Configurations, Patches for ThinkPad X1 Yoga Gen3 Hackintosh
MIT License
19 stars 4 forks source link

TB3 activation for 5K display #1

Closed Hochiss closed 4 years ago

Hochiss commented 4 years ago

I am following the discussion at tylernguyen / x1c6-hackintosh , trying different ssdt-tbs.aml patches to make my LG5K light up via TB3 port. You mentioned:

" the kexts made by @CrazyPegasus is attached below. In theory, X1C6 can apply it with no error since there are so many similarities between X1Y3 and X1C6. TB3Patch-Crazy.zip"

I applied the SSDT-X1Y3.aml (from the linked zip) only, it seems for my X1C6 the most promising solution (yet not light up LG5K display); The results as following(BIOS TB3 assistant mode disabled):


Question:

Thanks!


X1C6, HDR2K, macOS 10.15.6, MacBookPro 14,1

EigenTom commented 4 years ago

Sorry, I could not test the USB-C output functionality because I could not find a 4K display for testing. I noticed that @CrazyPegasus has already provided a possible solution to this problem. Could you please tell me whether that method work for you or not? Thank you.

Hochiss commented 4 years ago

unfortunately, it doesn't work for me with the hotpatch w.r.t. AppleGraphicsDevicePolicy(AGDP) as mentioned by @CrazyPegasus:

"This has something to do with the AppleGraphicsDevicePolicy driver of macOS. It is recommended to add a patch to try using OC boot, as shown below:"

12

Before I tell my investigation, Let me make it short: I am doubting the issue (LG5K couldn't light up) is related to TB3, because I tried a LG 4K(USB-C) monitor, which is also not able to get 4K but only 2K too(like LG5K);

Here is my investigation: ( My HW: X1C6, HDR2K, macOS 10.15.6, MacBookPro 14,1, UHD620 as 0x591B0000 cf.: Rehabman's github config.plist)

1. Cannot find AGDP with board-id and its config/restriction thus patch BA000000 00 no found?

following the AppleGraphicsDevicePolicy patch thread at tmx86:

"... When using a SMBIOS that uses AppleGraphicsDevicePolicy, it tells the OS what graphics configuration to use .."

I searched /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext with my MacBookPro 14,1's board-ID: Mac-B4831CEBD52A0C4C, but cannot find the board-ID! : ( so that the patch does nothing) image (this picture is same as above mentioned thread)

means MacBookPro 14,1 has no AGDP restriction, thus patch not working?

ig-platform-id matters?

Does the ig-platform-id matter?

Hochiss commented 4 years ago

(Since I don't have the 5K anymore, and I have now a 4K same issue. It seems OP issue is about DMVT memory allocation.)

Solved! I adapted the OC's config.plist to Clover's config.plist. https://github.com/tylernguyen/x1c6-hackintosh/issues/40#issuecomment-698456353

                       <dict>
                <key>Comment</key>
                <string>KBL-DVMTpatch-10.15.4 (Enable 4K UHD HDMI/DisplayPort Output)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                D4KPAwAA
                </data>
                <key>InfoPlistPatch</key>
                <false/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelKBLGraphicsFramebuffer</string>
                <key>Replace</key>
                <data>
                D4IAAAAA
                </data>
            </dict>
                       <dict>
                <key>Comment</key>
                <string>4K disaply</string>
                <key>Device</key>
                <string>PciRoot(0x0)/Pci(0x2,0x0)</string>
                <key>Key</key>
                <string>framebuffer-fbmem</string>
                <key>Value</key>
                <data>
                AACQAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>4K display</string>
                <key>Device</key>
                <string>PciRoot(0x0)/Pci(0x2,0x0)</string>
                <key>Key</key>
                <string>framebuffer-stolenmem</string>
                <key>Value</key>
                <data>
                AAAwAQ==
                </data>
            </dict>

Screenshot 2020-09-24 at 18 32 23