tlefko / Huawei-Matebook-X-Pro-Ventura

Repository for enabling hackintosh of 2018 Matebook-X-Pro ready for Monterey, Compatible with Big Sur/Catalina/Ventura/Monterey
Apache License 2.0
88 stars 7 forks source link

Just an update, not really an issue. Thunderbolt EGPU Support. #41

Closed yonathanarya closed 1 year ago

yonathanarya commented 1 year ago

It's an update from me. I just want to report that thunderbolt eGPU is actually working on this machine. I'm using a DIY solution for my thunderbolt dock, not a branded one, but I'm pretty sure that it must work too. I'm still running Monterey on this MBXP 2018 model. Display out from eGPU work fine if I plug it while boot, but when I hot-lug the eGPU after the system boots up, it refuse to display on my external monitor. The card still detected tho, and I still can use it as accelerator. And by this means, I want to tell you that the hotplug on thunderbolt port is really works. I even test it with external NVME drive. I just did some modification to force power on that TB controller so it can work. I don't really care about power consumption as I almost always plug my charger when using this laptop. Here is the screenshot

Screen Shot 2023-03-22 at 14 24 31
yonathanarya commented 1 year ago

Some more update, the black display on egpu hotplug is now fixed. It's because I'm using an old monitor that only has DVI-D for digital interface. So i add -raddvi boot-args then it work perfectly.

tlefko commented 1 year ago

Hey @yonathanarya , just wanted to say this is incredibly cool. I was trying to enable hot plug support for USBs and getting HDMI out to work, I am actually stunned you were able to get it working with an EGPU. Curious to know what power management changes you made to the Thunderbolt controllers to enable everything, but as I don’t have an EGPU I don’t know how I can troubleshoot to improve this. Regardless, thanks for sharing this is actually incredibly cool. Really interesting to know the hot plug is legit if not perfect

yonathanarya commented 1 year ago

I'm just adding efi driver on OC, TbtForcePower.efi. And by that i can enable the USB-C TB port hotplug including USB and TB PCI-E bridge capabilities.