Академический Документы
Профессиональный Документы
Культура Документы
Faking, less VRAM The following terminal commands will let it think that you have less memory than
you actually have:
sudo perl -pi -e 's|\xC7\x45\xE0\x00\x00\x00\x20|\xC7\x45\xE0\x00\x00\x00\x18|g'
AppleIntelSNBGraphicsFB
sudo perl -pi -e 's|\xC7\x45\xE0\x00\x00\x00\x20|\xC7\x45\xE0\x00\x00\x00\x12|g'
AppleIntelSNBGraphicsFB
sudo perl -pi -e 's|\xC7\x45\xE0\x00\x00\x00\x18|\xC7\x45\xE0\x00\x00\x00\x12|g'
AppleIntelSNBGraphicsFB
This might come in handy for people who have 8GB RAM, or more, installed. They will have a value
of 00 00 00 20 as their VRAM,totalsize. And since there are people who claim that they had no
glitches with 4GB, but things went from acceptable to worse after they installed more RAM. Well.
Maybe this helps. I dont know. Give it a go.
And heres your target data for 64-bit mode:
Opcodes used in 64-bit code
C7 45 BC 00 00 00 12 = 288 MB
C7 45 BC 00 00 00 12 = 288 MB
C7 45 BC 00 00 00 18 = 384 MB
C7 45 BC 00 00 00 20 = 512 MB
Faking, more VRAMThe following terminal commands will let it think that you have more memory
than you actually have:
sudo perl -pi -e 's|\xC7\x45\xBC\x00\x00\x00\x12|\xc7\x45\xBC\x00\x00\x00\x18|g'
AppleIntelSNBGraphicsFB
sudo perl -pi -e 's|\xC7\x45\xBC\x00\x00\x00\x18|\xc7\x45\xBC\x00\x00\x00\x20|g'
AppleIntelSNBGraphicsFB
Faking, less VRAMThe following terminal commands will let it think that you have less memory than
you actually have:
sudo perl -pi -e 's|\xC7\x45\xBC\x00\x00\x00\x20|\xC7\x45\xBC\x00\x00\x00\x18|g'
AppleIntelSNBGraphicsFB
sudo perl -pi -e 's|\xC7\x45\xBC\x00\x00\x00\x20|\xC7\x45\xBC\x00\x00\x00\x12|g'
AppleIntelSNBGraphicsFB
sudo perl -pi -e 's|\xC7\x45\xBC\x00\x00\x00\x18|\xC7\x45\xBC\x00\x00\x00\x12|g'
AppleIntelSNBGraphicsFB
Updating Caches You cant expect it to work without first updating the caches, and thus that is the
last step before we can reboot:
sudo touch /System/Library/Extensions/
sudo reboot now
Need More VRAM?I dont know why anyone would want/need this, but you can try one of these:
32-bit:
C7 45 E0 00 00 00 30 = 768 MB
C7 45 E0 00 00 00 40 = 1024 MB
64-bit:
C7 45 BC 00 00 00 30 = 768 MB
C7 45 BC 00 00 00 40 = 1024 MB
I personally used 00 00 00 04 to see if this works, and it did. It did show up in System Profiler, but I
have no idea if this will change anything.
Why Would I Need This?To test if this patch reduces, or eliminates, the graphical artifacts you are
seeing?
Have fun now!
for Clover patch on the fly insert to Kernel & Kext Patches tab
Find
AppleIntelSNBGraphicsFB
AppleIntelSNBGraphicsFB
AppleIntelSNBGraphicsFB
AppleIntelSNBGraphicsFB
Hex
3AC745E000000012
35C745E000000012
09C745E000000018
1EC745E000000020
Replace
3AC745E000000018
35C745E000000018
09C745E000000020
1EC745E000000030