hi guys, i am trying to do this on MBP mid 2012 13" 8gb ram and mojave.
I have done all the passages but the system info keep saying 1536mb to vram (i putted x80 in the sudo command).
Any help?
I confirm this method will work on real Mac Sierra/HS and Mojave Beta too, following the main thread tips I have done these steps to increase IntelHD4000 VRAM from 1536 MB to 2048 MB, launch Terminal and type:
cd /S*/L*/Ext*/AppleIntelFramebufferCapri.kext/C*/M*
sudo cp AppleIntelFramebufferCapri AppleIntelFramebufferCapri.backup
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\x80\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri
sudo touch /S*/L*/Extensions
sudo reboot
Im looking for s vram decrease for my late 2012 macmini server.
Are there also decrease kexts here for me to use.. ?
Running mojave server over here..
I hope someone can help me, thx in advance
You should disable SIP first, then you can try this from a Mojave Terminal.
The blue value changing it will give this ram amount:
10 = 256 MB VRAM
20 = 512 MB VRAM
40 = 1024 MB VRAM
example from Terminal to set 512 MB VRAM :
cd /S*/L*/Ext*/AppleIntelFramebufferCapri.kext/C*/M*
sudo cp AppleIntelFramebufferCapri AppleIntelFramebufferCapri.backup
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\x20\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri
sudo chmod -R 755 /S*/L*/E*
sudo chown -R 0:0 /S*/L*/E*
sudo kextcache -i /
sudo reboot
Hi, what can i use to test the graphics performance of the higher vram ? Can it go higher than 2048 ?
The intel cpus and intel hd graphics are integrated in the same chip, if you read this:
https://www.intel.com/content/www/us/en/support/articles/000005472/graphics-drivers.html
(expand What is the maximum amount of video memory my computer can use? )
this: https://www.intel.com/content/www/us/en/support/articles/000005539/graphics-drivers.html
and this: https://www.intel.com/content/www/us/en/support/articles/000020962/graphics-drivers.html
you can notice that the maximum VRAM for almost any legacy intel HD graphics used on Mac in particular for HD3000 and HD4000 is 1,7 GB (1792 MB) .
...Double quoted for a reason...
The intel cpus and intel hd graphics are integrated in the same chip, if you read this:
https://www.intel.com/content/www/us/en/support/articles/000005472/graphics-drivers.html
(expand What is the maximum amount of video memory my computer can use? )
this: https://www.intel.com/content/www/us/en/support/articles/000005539/graphics-drivers.html
and this: https://www.intel.com/content/www/us/en/support/articles/000020962/graphics-drivers.html
you can notice that the maximum VRAM for almost any legacy intel HD graphics used on Mac in particular for HD3000 and HD4000 is 1,7 GB (1792 MB) .
hello I have a bone to pick with you - your vram hack is nice, but also it seems to disable the intel HD4000 chip
Why is that ??? When I didn’t touch my 2012 for a couple of days the hack broke as I turned on my computer and now system profiler is showing just the nvidia chip working while the intel shows - display, Kext no loaded !!!
how do I fix this ??? How do I re- enable the kext ??? Seems the hack is useless if it breaks itself- this is why I am going with a 2015 where no hacks are allowed to the intel iris chip.
Also, I am getting a 2015 MacBook Pro with 1536MB intel iris - no patch for that ?
Hi guys. I replaced the value with 99 and it worked.
Does anyone know how to increase even more. I want my 4GB VRAM to try to run some games.
cd /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\xFF\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri
sudo chmod -R 755 /S*/L*/E* && sudo chown -R 0:0 /S*/L*/E*
sudo kextcache -i /
sudo reboot
Considering that using hex values:
10 = 256MB of RAM
18 = 384MB of RAM
20 = 512MB of RAM
30 = 768MB of RAM
40 = 1024MB of RAM
80 = 2048MB of RAM
then
FF ≈ 4 GB of RAM
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\xFF\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri
Before doing this you need at least 8 GB RAM, open a terminal and copy/paste:
Code:cd /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\xFF\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri sudo chmod -R 755 /S*/L*/E* && sudo chown -R 0:0 /S*/L*/E* sudo kextcache -i / sudo reboot
After reboot you should have 4 GB VideoRAM.
sudo mount -uw /
, I explain how I patched to allow 4 GB VRAM on IntelHD4000, considering that the binary file has hex values, converted in decimal they are:HEX | DEC | VideoRAM (MB) |
01 | 1 | 16 |
02 | 2 | 32 |
04 | 4 | 64 |
08 | 8 | 128 |
10 | 16 | 256 |
20 | 32 | 512 |
40 | 64 | 1024 |
80 | 128 | 2048 |
FF | 255 | 4080 |
It does work also on Mojave and Catalina, just before applying the perl script type:sudo mount -uw /
, I explain how I patched to allow 4 GB VRAM on IntelHD4000, considering that the binary file has hex values, converted in decimal they are:
HEX DEC VideoRAM (MB) 10 16 256 20 32 512 40 64 1024 80 128 2048 FF 255 4080
I can't assign 4096 MB with decimal 256 because the hex is FF + 01 = 100 , but to keep a valid binary structure I used 4080 MB .
Considering that using hex values:
10 = 256MB of RAM
18 = 384MB of RAM
20 = 512MB of RAM
30 = 768MB of RAM
40 = 1024MB of RAM
80 = 2048MB of RAM
then
FF ≈ 4 GB of RAM
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\xFF\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri
Before doing this you need at least 8 GB RAM, open a terminal and copy/paste:
Code:cd /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\xFF\x10\x07\x00\x00\x10\x07|g' AppleIntelFramebufferCapri sudo chmod -R 755 /S*/L*/E* && sudo chown -R 0:0 /S*/L*/E* sudo kextcache -i / sudo reboot
After reboot you should have 4 GB VideoRAM.
Hi guys. I replaced the value with 99 and it worked.
Does anyone know how to increase even more. I want my 4GB VRAM to try to run some games.
Isn’t this unstable ? I never tried 4GB video hack on my 2012. Might try it.
[automerge]1587345845[/automerge]
This may lead to system instability - I think 2048 or 2GB is the real max.