Mac Change video memory

Source: Internet
Author: User

Today I tried to find it very effective and dare not to enjoy it, if I had Mars. Just ignore me.

The problem shows:
1. Randomly appear the flower screen, and the horizontal line. The panic occurred randomly
2. With re-rendering (e.g. desktop background toggle), the flower screen or horizontal line disappears
3. When watching movies, games, or using memory-occupied programs, the chance of a flower screen or a horizontal line becomes larger
4. The flower screen or horizontal line is not easy to appear when the machine is open


If you have a problem that's obviously different from the above, it doesn't have to be effective.


I've been looking at this for a long time. Basically think it should be the MAC needs more than the actual allocated video memory caused by
So a lot of people post that add to 8G of memory into 512M video graphics solved


This is the manual memory to adjust up, I now adjust to 512M, it feels like a long time did not appear horizontal line

And then the animation works much faster than before.

First of all, if there is an option in the desktop BIOS to adjust the video memory, that first to adjust to 512 (of course, can be higher)
Most laptops don't have this option, so they don't have to be adjusted.


Start the adjustment, first open the terminal (do not know where the terminal, please search by yourself)

Enter the following line, to the FB drive inside

cd/s*/l*/ext*/appleintelsnbgraphicsfb.kext/c*/m*
Back up the drive.

sudo cp APPLEINTELSNBGRAPHICSFB Appleintelsnbgraphicsfb.backup

This driver has the machine code that determines the memory, but the difference between 32-bit and 64-bit system

Let's figure out if your machine is 64-bit.

64-bit system, skip the 32-bit section directly.

Machine code under 32-bit system

C7 E0 (XX) = 288 MB
C7 E0 (XX) = 288 MB
C7 E0 (XX) = 384 MB
C7 E0 (xx) = MB

If your machine makes 4GB, that should now have 384M video memory,

How many can go to the system report inside to see

Increase video Memory

From 288 MB to 384 MB

sudo perl-pi-e ' s|\xc7\x45\xe0\x00\x00\x00\x12|\xc7\x45\xe0\x00\x00\x00\x18|g ' APPLEINTELSNBGRAPHICSFB from 384 MB to 512 Mbsudo perl-pi-e ' s|\xc7\x45\xe0\x00\x00\x00\x18|\xc7\x45\xe0\x00\x00\x00\x20|g ' AppleIntelSNBGraphicsFB

This line of command you can also change according to their own situation, the left a machine code represents the current video memory, the right is the memory you want

Reduced video Memory
Generally do not have to reduce, unless you accidentally set too much

Reduced from MB to 384 mbsudo perl-pi-e ' s|\xc7\x45\xe0\x00\x00\x00\x20|\xc7\x45\xe0\x00\x00\x00\x18|g ' APPLEINTELSNBGRAPHICSFB[SIZE=0.875EM] Reduced from 384 MB to 288 mb[size=0.875em]sudo perl-pi-e ' s|\xc7\x45\xe0\x00\x00\x00\x18|\ Xc7\x45\xe0\x00\x00\x00\x12|g ' APPLEINTELSNBGRAPHICSFB

Machine code under 64-bit system

C7 BC (XX) = 288 MB
C7 BC (XX) = 288 MB
C7 BC (XX) = 384 MB
C7 BC (xx) = MB

If your machine makes 4GB, that should now have 384M video memory, specifically how many can go to the system report inside look

Increase video Memory
From 288 MB to 384 MB

sudo perl-pi-e ' s|\xc7\x45\xbc\x00\x00\x00\x12|\xc7\x45\xbc\x00\x00\x00\x18|g ' APPLEINTELSNBGRAPHICSFB from 384 MB to 512 Mbsudo perl-pi-e ' s|\xc7\x45\xbc\x00\x00\x00\x18|\xc7\x45\xbc\x00\x00\x00\x20|g ' AppleIntelSNBGraphicsFB

Faking, less VRAM

Generally do not have to reduce, unless you accidentally set too much

Reduced from MB to 384 mbsudo perl-pi-e ' s|\xc7\x45\xbc\x00\x00\x00\x20|\xc7\x45\xbc\x00\x00\x00\x18|g ' APPLEINTELSNBGRAPHICSFB reduced from 384 MB to 288 mbsudo perl-pi-e ' s|\xc7\x45\xbc\x00\x00\x00\x18|\xc7\x45\xbc\x00\x00\x00\x12| G ' APPLEINTELSNBGRAPHICSFB

Update cache
You have to update the

sudo touch/s*/l*/extensions restart sudo reboot now

Still want more?
It depends on your screen size and you are not going to play any big game, generally not more

32-bit machine code:
C7 E0-xx = 768 MB
C7 E0, xx = MB

64-bit machine code:
C7 BC (XX) = 768 MB
C7 BC (XX) = 1024x768

Mac Change video memory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.