InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   com.apple.Boot.plist Graphics Strings! (http://infinitemac.com/showthread.php?t=399)

Ianxxx 02-20-2008 10:13 PM

Anyone know how to make a string for my XFX 7900GS so I don't have to use nvinject?

eddie11c 02-20-2008 10:26 PM

Making the string is not all that hard, but you may have to modify the original kexts if your video card is not supported. I think only the newer cards are supported from Apple. Give me a bit and I will write a quick how-to.

Ianxxx 02-20-2008 10:30 PM

Cheers. :-)

eddie11c 02-20-2008 10:51 PM

Ok so here is the quick how-to. Get the attached gfxutil and template.plist and copy them to your desktop. Open up terminal and type
Code:

cd ~/desktop
./gfxutil -f display

You should get something along these lines printed out
Code:

PciRoot(0x1)/Pci(0xe,0x0)/Pci(0x0,0x0)
Now copy that and open the template.plist and look for the line near the top where you see this example and replace it with what you copied. Scroll down near the bottom of the plist and change this:
Code:

<key>model</key>
<string>NVIDIA GeForce 7800 GTX</string>

to whatever model Geforce card you are using. You can also change the Rom-revision to whatever you like. Once your done making your changes save the file as in.plist.
Go back to terminal you should still be in the desktop directory and type this.
Code:

./gfxutil -i xml -o hex ./in.plist ./out.hex
you should now have a new file called out.hex on your desktop. Open this file with whatever editor you like it and it will have your new graphics string. Copy it and open finder and head to /Library/Preferences/SystemConfiguration and open up your com.apple.boot.plist. Under the last string, which is usually the timeout
Code:

<key>Timeout</key>
<string>10</string>

add a couple new lines as follows
Code:

<key>device-properties</key>
<string>PASTE YOUR LONG HEX STRING HERE!</string>

close and save the file. If it doesn't let you save it, save as a copy elsewhere and you can move it back replacing the old one. Make sure to save a backup copy of the original just in case. If you had full QE/CI prior to making these changes, browse over to /system/library/extensions and delete the NVinject/Natit or whatever you were using and reboot. Don't hold me responsible if you break your own install but this does work for some, but not all.

zephyroth 02-20-2008 11:25 PM

No problem for you if I add it to the wiki ? Or maybe you could do that yourself ?

eddie11c 02-20-2008 11:25 PM

go for it! Oh and this for only for Nvidia based cards, no idea what you have to do as far as the template goes for ATI cards.

zephyroth 02-20-2008 11:28 PM

Yes I know . This how to is on the Netkas Forum. I manage to get my 8800 GTS working this way without NVinject.

eddie11c 02-20-2008 11:29 PM

Cool I can bug you if my 8800GTS doesn't work, my new computer parts will be here tomorrow!

Ianxxx 02-21-2008 12:17 AM

Thanks Eddie, works good for me.
Hope it does get added to wiki, it's great having all the info in one place instead of scattered throughout different forums.

eddie11c 02-21-2008 01:28 AM

ok added to the wiki how to guide.