View Single Post
 
Old 11-17-2008, 03:53 PM
milanca's Avatar
milanca milanca is offline
 
Join Date: Jan 2008
Location: Serbia and Montenegro
Posts: 326
Hi !

This should be a quick howto. But first of all i would suggest all the new guys to do a quick search over the net as there are plenty of 'howtos', here at our forum, over at insanelymac or other related forums.

-Go find your device and vendor id, in case you'd have to add it to driver plist.

Tips for finding dev and ven id:
http://forum.insanelymac.com/index.php?showtopic=36764

More information on adding dev/ven id, NVCAP and VRAM here:
http://forum.insanelymac.com/index.php?showtopic=111072

Download GFXUTIL. Here i have attached edited plist for 8400 with 256MB (or any nvidia). You have to edit it for use with different ram amount, nvcap, etc. Before using this attached plist, in this particular case 8400GS, make sure your PciRoot matches the plist. If they do match no need for editing, if not then edit this plist file.

You can obtain device path with

Code:
./gfxutil -f display
it will return something like this
Code:
PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)
Edit the plist and replace this string with your output value.

Efi strings are added to file com.apple.Boot.plist located in /Library/Preferences/SystemConfiguration/
You have to add new key name <device-properties> and string with hex data. It looks like this:
Code:
<key>device-properties</key>
<string>HEX-DATA-PASTE-HERE</string>
its also done with gfxutil. Once you have your plist edited you convert it to hex data with gfxutil. Go to folder with gfxutil and type:
Code:
./gfxutil -i xml -o hex 8400GS.plist 8400GS.hex
Command gfxutil:
./gfxutil -i xml -o hex inputfile.plist outputfile.hex

You can also convert hex file back to plist by setting -i (input file) -o (output file)
./gfxutil -i hex -o xml outputfilename.hex inputfilename.plist

Now you are done, add new key and string in com.apple.Boot.plist. Paste the hex data (SINGLE LINE) and SAVE.
Attached Files
File Type: zip 8400GS.plist.zip (938 Bytes, 215 views)


Last edited by milanca; 11-17-2008 at 04:01 PM.
Reply With Quote