Open kasti0 opened 3 years ago
Awesome. Does it involve modifying the BIOS?
For CFG lock: there´s no need to modify the BIOS. no matter what I set the CFG lock variable to in the BIOS, macOS was bootable with the said quirks set to False. Even the VerifyMsrE2.efi tool from OpenCore reported the CFG lock as unlocked or locked respectively, but macOS was still bootable. so it seems like the laptop just doesn´t have any kind of CFG lock.
for DVMT: you need to change BIOS offsets manually using a tool called RU and you need to extract the necessary informations from the BIOS file from Lenovo. I was able to set DVMT to 64mb and total DVMT to Max and for example I now have 4k over my HDMI 1.4 port, which didn´t work with the stolenMem patch before.
Chiming in Here,
Lenovo 330s 15-ikb 81f5(Same as Kasti0) I used Ru swell and disabled CFG-Lock.(Not sure if ru was required as Kasti says he didn't need the variables either way, nonetheless I have disabled it to be safe.)
I also used Ru to Set DVMT to 64mb(there's higher options, but uhd 620 only needs 64mb to do 4k over HDMI.) Do Not Kasti that since its HDMI 1.4, max your gonna see is 4k@24/4k@30. 4k@60 just isn't possible with a usb-c port with no DP or a HDMI 1.4 port.
I left total DVMT to the stock value as I read its pretty much fine as it is, plus I don't use HDMI that often so it was more for trial and error. I stick to Airplay streaming for my movies, and airplay only does 1080p but that's still serviceable.
Its a very good thing to do, highly recommended..
Not an issue, but improvement: While trying to mod my BIOS I figured that this laptop probably doesn't have a CFG lock. So you can disable the kernel quirks AppleCpuPmCfgLock and AppleXcpmCfgLock. This can improve native CPU power management.
(I also figured out how to patch the DVMT pre-allocated so no framebuffer patches are needed)