Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

justperry

macrumors G5
Aug 10, 2007
12,627
9,933
I'm a rolling stone.
It's easy enough to restore the kext files, I just want to find a way to make this hack work. Maybe I'm asking for two much VRAM (I have 8 system RAM) - if I do 60, will it do 1.5 GB rather than 2 GB as I have been trying until now?

Using 60 should give you 1.5 GB, Odd thing is, I have a Mac Mini and it already is set to use 1.5 GB by default.
 

nsadeh

macrumors newbie
Jul 31, 2015
4
0
R
Using 60 should give you 1.5 GB, Odd thing is, I have a Mac Mini and it already is set to use 1.5 GB by default.
Right. When I tried that, I got the same problem. My computer boots back with 3mb "display" VRAM (so the computer can't even get at the gpu), and I have to use kext wizard to restore the VRAM back to the original 1024. Do you know why this is happening/ how to get around it?
 

justperry

macrumors G5
Aug 10, 2007
12,627
9,933
I'm a rolling stone.
R

Right. When I tried that, I got the same problem. My computer boots back with 3mb "display" VRAM (so the computer can't even get at the gpu), and I have to use kext wizard to restore the VRAM back to the original 1024. Do you know why this is happening/ how to get around it?

Did you repair permissions after you applied the patch?
 

nsadeh

macrumors newbie
Jul 31, 2015
4
0
Did you repair permissions after you applied the patch?
I repaired my permissions with Disk Utility rather than Kext Wizard, as the Kext Wizard was not showing any sign of finishing the permissions repair. Would that have made a difference?
 

jerwin

Suspended
Jun 13, 2015
2,895
4,652
sorry what is the point of this on Yosemite ? How does it improve the usage ? I'm on MacBook 2012 retina .

On some games here's a huge performance hit associated with running out of VRAM. Since the HD4000 just allocates main memory as VRAM, you can remove this limit. It's much more likely that the chipset simply doesn't have enough texture units, or stream processors to really make use of this extra VRAM, but if you have 16GB of memory on your machine, it may improve things when running poorly optimized code.

On a real graphics card, the VRAM is high speed GDDR5 (not memory reserved from main memory), and twiddling numbers in a kext won't help things.
 

luizbn

macrumors newbie
Oct 22, 2015
1
0
hi, im trying to use it on my MB Pro mid 2012 with El capitan but it didn't work, i can copy the kext to my desktop but when i run the script on the terminal seems it does no change to the kext, as i install it with wizard and makes no change to the video memory, also after running the script i check on the file informations and it show no change for that time... on the terminal it does no show any message of problems or errors, it just ask for my password, i type and it finishes...
Thanks!
 

ActionableMango

macrumors G3
Sep 21, 2010
9,613
6,909
hi, im trying to use it on my MB Pro mid 2012 with El capitan but it didn't work, i can copy the kext to my desktop but when i run the script on the terminal seems it does no change to the kext, as i install it with wizard and makes no change to the video memory, also after running the script i check on the file informations and it show no change for that time... on the terminal it does no show any message of problems or errors, it just ask for my password, i type and it finishes...
Thanks!

Doing this would be problematic on El Capitan due to SIP and the removal of Repair Permissions. Not to mention that every system update could blow away the changes. You can work around all that, but someone already discovered earlier in this thread that as of 10.9, OS X switched to dynamic allocation up to 1GB anyway, so it's a lot of work for nothing unless you need to go higher than that, and are willing to deal with repeating the mod every time it breaks.

But if you are determined, then disable SIP, and then do the mods. When it comes to the step for repairing permissions, you'll have to do that from the command line. Repeat any time the KEXT is overwritten after a system update.
 

mikecwest

macrumors 65816
Jul 7, 2013
1,193
496
If anyone is having trouble after copying the terminal command from the first post , it looks like this:

sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\x[COLOR="Red”]40[/COLOR]\x10\x07\x00\x00\x10\x07|g' ~/Desktop/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri

The OP says to change the red ?? To 40....but the text shows "x[COLOR="Red”]40" ... You have to remove the [COLOR="Red"] and change the ?? to 40 (or your choice of numbers).... So try

sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\x40\x10\x07\x00\x00\x10\x07|g' ~/Desktop/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
 

qcmacmini

macrumors 6502
Oct 26, 2014
299
4
The Netherlands
I spent a few hours struggling with 7 or 14MB allocated VRAM after playing around with the Kext files, so I gave up and loaded El Capitan, which gave me 1536MB by default. Before and after scores for Unigine Heaven benchmark went from 301 down to 288.

However, I had missing bars of pixels at times on Yosemite, pushing the HD4000 close to it's (Apple regulated) limit with 1920x1080 and 2560x1440 across two monitors. Let's see if it fixes my problem.
 

MaziPhoto

macrumors newbie
Feb 6, 2017
6
0
Preston, Lancashire UK
I have a late 2011 MacBook Pro 15 with dual graphics Intel HD 3000 512 mb and AMD radeon 6750M same 512 mb, will this work with mine cards or is there any other method. BTW my os is Sierra
 

mikecwest

macrumors 65816
Jul 7, 2013
1,193
496
I have a late 2011 MacBook Pro 15 with dual graphics Intel HD 3000 512 mb and AMD radeon 6750M same 512 mb, will this work with mine cards or is there any other method. BTW my os is Sierra

It should work, if you don't mind installing the older outdate beta drivers that are attached at the beginning of the thread. The terminal hacks, seem to not work for many people.
 

sinkfish

macrumors newbie
Feb 7, 2017
2
1
Hello guys it's my 1st time here, for the people have mbp mid 2012 i5 13" and apply this vram hack... How is it in a long run? No issues until now?

My mbp is fresh installed sierra and upgraded ssd w/ 2nd hdd & 16gb of ram. It's already marked as 1536mb status by default. Is it worth to apply this hack to 2048mb?

Btw, I planning to bump vram to 2gb because I'm running photoshop & illustrator and maybe soon add a 2nd monitor 1080p.
 
Last edited:

MinkyMomo

macrumors member
Jan 31, 2009
39
8
California, USA
The 2012 Mini has 768 MB set aside, I don't know if this changes if it has less RAM, mine has 8 GB currently, think 4 standard, maybe I will try one stick of 2 GB later.

I have a 2012 Mini with a 2.6GHz i7 and 16GB of RAM running 10.12.5 without any tweaks and it shows 1536MB allocated to VRAM.
 

justperry

macrumors G5
Aug 10, 2007
12,627
9,933
I'm a rolling stone.
I have a 2012 Mini with a 2.6GHz i7 and 16GB of RAM running 10.12.5 without any tweaks and it shows 1536MB allocated to VRAM.


Yup, same.


Screen Shot 2017-07-13 at 15.42.56.png
 

icpmac

macrumors newbie
Oct 28, 2014
21
17
Hi, anyone knows if this can be applied to other (non-intel) cards? I have an imac with the ATI Radeon HD 4850 (512 MB), apparently, it uses the AMDSupport.kext, AMD4800Controller, ATIRadeonX2000.kext and AMDFramebuffer.kext. I tried to patch this to 1GB on the Framebuffer kext, but nothing happened.

Best
 

carief19

macrumors newbie
May 21, 2018
1
0
I found a way to choose how much of VRAM you want your HD4000 to use under ML:
53574d1366143126-unified-appleintelframebuffercapri-ivy-probooks-1gb.jpg

I also made a script if you want to try it:
Code:
sudo perl -pi -e 's|\x00.{1}\x10\x07\x00\x00\x10\x07|\x00\x[COLOR="Red"]??[/COLOR]\x10\x07\x00\x00\x10\x07|g' ~/Desktop/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
Change the red ?? with the red number bellow to set the desired amount of VRAM:
10 = 256MB of RAM
18 = 384MB of RAM
20 = 512MB of RAM
30 = 768MB of RAM
40 = 1024MB of RAM
80 = 2048MB of RAM

1. copy AppleIntelFramebufferCapri.kext to the desktop and make a backup of it
2. run the script in the terminal (dont forget to fill in the ??)
3. install the kext, rebuild caches (i would suggest kext wizard)
4. restart pray and let me know how it went

Disclaimer: this was not yet tested on a real mac (just a few hacks), so if you want to be the first to try, here is all the info you need.
this way can work on intel hd 3000 ?
 

jackluke

macrumors 68040
Jun 15, 2018
3,321
8,068
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.