Contribute
Register

[Guide] Alternative to the minStolenSize patch with 32mb DVMT-prealloc

Joined
Jan 18, 2019
Messages
5
Motherboard
Lenovo Yoga3 PRO
CPU
CORE M-5Y71
Graphics
HD5300 3200x1800
Can you tell me how to do the minStolenSize patch?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,122
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
My graphics card is hd5300 (3200x1800) can only use the minStolenSize patch, use the 32mb DVMT-prealloc patch in your post to boot the black screen, HDMI external display can drive
You should plan on changing DVMT-prealloc to 64mb or larger for your 4k display.
Note also you'll need WhateverGreen.kext and -cdfon kernel flag.
 
Joined
Jan 18, 2019
Messages
5
Motherboard
Lenovo Yoga3 PRO
CPU
CORE M-5Y71
Graphics
HD5300 3200x1800
You should plan on changing DVMT-prealloc to 64mb or larger for your 4k display.
Note also you'll need WhateverGreen.kext and -cdfon kernel flag.
I'm currently using lilu. Kext and WhateverGreen. Kext. If the BIOS cannot modify the dvmt-prealloc, is there a minStolenSize patch that can be modified instead of using the 64mb dvmt-prealloc
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,122
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I'm currently using lilu. Kext and WhateverGreen. Kext. If the BIOS cannot modify the dvmt-prealloc, is there a minStolenSize patch that can be modified instead of using the 64mb dvmt-prealloc
Read FAQ regarding methods available to change DVMT-prealloc when not present in BIOS.
 
Joined
Jun 24, 2015
Messages
17
Motherboard
Lenovo Yoga 900 13ISK 80mk-Clover
CPU
i7-6500U
Graphics
HD 520 (3200x1800)
Mac
iMac, MacBook Pro
Classic Mac
Power Mac
Mobile Phone
Android, iOS
Hello RehabMan,

I've been trying to get the IGPU on my Lenovo Yoga 9000 13ISK to work after updating to Mojave 10.14.3 by following this guide along with headkaze's guide on framebuffer patching using whatevergreen and lilu, here.

This is a clean install of mojave on a new SSD. I still have a working macOS Sierra 10.12.5 install on the laptop's original SSD, and I'm swapping back and forth between them in order to try to figure out what's going on.

I was able to get graphics to work on Sierra by using KextsToPatch in clover and the minstolensizepatch, but using whatevergreen and lilu on Mojave is (obviously) different. The heck of it is, I think i've figured out the actual patch I need in order to patch the framebuffer for the DVMT-prealloc error, but after I apply it and boot verbose, I see a bunch of IGPU output (that doesn't appear without this patch) indicating different things related to the IGPU are now enabled, but afterwards it always stops at the line saying:

"IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0"

I've confirmed the patch I came up with against the one generated for the DVMT-prealloc problem with Hackintool, which seems to generate the exact same patch I've already applied for this problem.

I've googled the IOConsoleUsers error, but the only results I can find are people whose reason for it appearing differ greatly from my own, and the only solutions offered (which in general seem to work for others) involve using things like IntelGraphicsFixUp.kext which the FB patching guide from headkaze specifically says not to do.

For these reasons, I'm at a loss as to where to go from here. Hopefully you're able to point me in the right direction.

Attached is the Problem Reporting .zip is one folder with my mojave EFI partition on it, and another folder with the old config.plist from my sierra install, which has working graphics, in case it helps at all.

Thanks in advance.

-Edited for spelling
 

Attachments

Joined
Jun 24, 2015
Messages
17
Motherboard
Lenovo Yoga 900 13ISK 80mk-Clover
CPU
i7-6500U
Graphics
HD 520 (3200x1800)
Mac
iMac, MacBook Pro
Classic Mac
Power Mac
Mobile Phone
Android, iOS
Hello RehabMan,

I've been trying to get the IGPU on my Lenovo Yoga 9000 13ISK to work after updating to Mojave 10.14.3 by following this guide along with headkaze's guide on framebuffer patching using whatevergreen and lilu, here.

This is a clean install of mojave on a new SSD. I still have a working macOS Sierra 10.12.5 install on the laptop's original SSD, and I'm swapping back and forth between them in order to try to figure out what's going on.

I was able to get graphics to work on Sierra by using KextsToPatch in clover and the minstolensizepatch, but using whatevergreen and lilu on Mojave is (obviously) different. The heck of it is, I think i've figured out the actual patch I need in order to patch the framebuffer for the DVMT-prealloc error, but after I apply it and boot verbose, I see a bunch of IGPU output (that doesn't appear without this patch) indicating different things related to the IGPU are now enabled, but afterwards it always stops at the line saying:

"IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0"

I've confirmed the patch I came up with against the one generated for the DVMT-prealloc problem with Hackintool, which seems to generate the exact same patch I've already applied for this problem.

I've googled the IOConsoleUsers error, but the only results I can find are people whose reason for it appearing differ greatly from my own, and the only solutions offered (which in general seem to work for others) involve using things like IntelGraphicsFixUp.kext which the FB patching guide from headkaze specifically says not to do.

For these reasons, I'm at a loss as to where to go from here. Hopefully you're able to point me in the right direction.

Attached is the Problem Reporting .zip is one folder with my mojave EFI partition on it, and another folder with the old config.plist from my sierra install, which has working graphics, in case it helps at all.

Thanks in advance.

-Edited for spelling
Nevermind. Thanks to this post on Reddit, I figured it out. I ended up basically using a modern minstolensize patch instead of patching the FB directly, because I just could not get the latter to work.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,122
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hello RehabMan,

I've been trying to get the IGPU on my Lenovo Yoga 9000 13ISK to work after updating to Mojave 10.14.3 by following this guide along with headkaze's guide on framebuffer patching using whatevergreen and lilu, here.

This is a clean install of mojave on a new SSD. I still have a working macOS Sierra 10.12.5 install on the laptop's original SSD, and I'm swapping back and forth between them in order to try to figure out what's going on.

I was able to get graphics to work on Sierra by using KextsToPatch in clover and the minstolensizepatch, but using whatevergreen and lilu on Mojave is (obviously) different. The heck of it is, I think i've figured out the actual patch I need in order to patch the framebuffer for the DVMT-prealloc error, but after I apply it and boot verbose, I see a bunch of IGPU output (that doesn't appear without this patch) indicating different things related to the IGPU are now enabled, but afterwards it always stops at the line saying:

"IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0"

I've confirmed the patch I came up with against the one generated for the DVMT-prealloc problem with Hackintool, which seems to generate the exact same patch I've already applied for this problem.

I've googled the IOConsoleUsers error, but the only results I can find are people whose reason for it appearing differ greatly from my own, and the only solutions offered (which in general seem to work for others) involve using things like IntelGraphicsFixUp.kext which the FB patching guide from headkaze specifically says not to do.

For these reasons, I'm at a loss as to where to go from here. Hopefully you're able to point me in the right direction.

Attached is the Problem Reporting .zip is one folder with my mojave EFI partition on it, and another folder with the old config.plist from my sierra install, which has working graphics, in case it helps at all.

Thanks in advance.

-Edited for spelling
Nevermind. Thanks to this post on Reddit, I figured it out. I ended up basically using a modern minstolensize patch instead of patching the FB directly, because I just could not get the latter to work.
Your profile is missing screen resolution info. Please fix as per FAQ:
 
Joined
Jun 24, 2015
Messages
17
Motherboard
Lenovo Yoga 900 13ISK 80mk-Clover
CPU
i7-6500U
Graphics
HD 520 (3200x1800)
Mac
iMac, MacBook Pro
Classic Mac
Power Mac
Mobile Phone
Android, iOS
Your profile is missing screen resolution info. Please fix as per FAQ:
Updated.
 
Joined
Jun 24, 2015
Messages
17
Motherboard
Lenovo Yoga 900 13ISK 80mk-Clover
CPU
i7-6500U
Graphics
HD 520 (3200x1800)
Mac
iMac, MacBook Pro
Classic Mac
Power Mac
Mobile Phone
Android, iOS
Thanks.

Note: You will likely need large DVMT-prealloc (not 32mb) for the 4k display.
Like I said, I got it "working" with basically the minStolenSize patch for mojave - which I don't quite know what to call because it was my impression this wouldn't work in Mojave. The solution is from this post on reddit:
https://www.reddit.com/r/hackintosh/comments/95okph
There is no custom/developer/etc BIOS for this laptop that I know of, and I'm wary of trying to reverse my BIOS and patch it manually when this patch I'm using seems to work just fine, with no glitching that I've noticed.
 
Top