PDA

View Full Version : com.apple.Boot.plist Graphics Strings!


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
cd ~/desktop
./gfxutil -f display
You should get something along these lines printed out
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:
<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.
./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
<key>Timeout</key>
<string>10</string>
add a couple new lines as follows
<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.

HCE
02-21-2008, 01:48 AM
I can confirm that i works on 7600 GS as well. However, no TV-OUT support. Any idea how it could be done?

eaglepride605
02-21-2008, 01:49 AM
this worked for me, but my question is how do I get it so i can change the resolution and stuff like that

eddie11c
02-21-2008, 01:50 AM
Check your NVDAResman.kext and make sure your Device/Vendor ID is there xxxx10de. Maybe your ID is missing.

HCE
02-21-2008, 01:52 AM
What do you mean? With strings, you get the same behaviour as with any injector, at least that's how it works for me, I can change resolutions.

eaglepride605
02-21-2008, 01:55 AM
what i mean is i followed the procedure above and everything went as i should i thought, i got no errors, everything saved and terminal did what u said it should, i rebooted, but i still cant chance resolution or anything

and where do i find the NVDAResman.kext?
thanks

eddie11c
02-21-2008, 01:56 AM
But if he could not change resolutions prior to doing this, there may be some other issue going on. It's in /system/library/extensions

eaglepride605
02-21-2008, 02:00 AM
i dont have that kext in there

Ianxxx
02-21-2008, 02:08 AM
eaglepride605:i dont have that kext in there

I'm guessing that would be your problem then.
You need GeForce.kext, "NVDANV*.kext card dependant 10 20 30 40 50" and NVDARdesman.kext

eaglepride605
02-21-2008, 02:12 AM
makes sense, do i get a geforce.kext specific to my card or just a general one

Ianxxx
02-21-2008, 02:13 AM
eaglepride605:makes sense, do i get a geforce.kext specific to my card or just a general one

The ones from the dvd you installed from, but you may need to add your device ID to them

eaglepride605
02-21-2008, 02:14 AM
ok, how do i obtain then from the dvd

eddie11c
02-21-2008, 02:15 AM
Geforce.kext is generic between all of the Nvidia cards, the only one that varies is the NVDANVHalxx. That one changes dependant on what series card you are using. Series 7 = 40, 6 = 30 etc.

Ianxxx
02-21-2008, 02:16 AM
eddie11c:Geforce.kext is generic between all of the Nvidia cards, the only one that varies is the NVDANVHalxx. That one changes dependant on what series card you are using. Series 7 = 40, 6 = 30 etc.

Leave this to you eddie your good at explanations ;-)

eaglepride605
02-21-2008, 02:17 AM
i really appreciate ur guys help, hopefully we can figure this out real quick since i dont know mac all that well

Ianxxx
02-21-2008, 02:18 AM
eaglepride605:i really appreciate ur guys help, hopefully we can figure this out real quick since i dont know mac all that well
What graphics card do you have?

eddie11c
02-21-2008, 02:20 AM
You will need to browse on the DVD to /system/Installation/Packages/Nvidia run the Nvidia-Kexts.pkg

To Avoid a kernel panic, make sure your device ID is in the new kexts after they install.

eaglepride605
02-21-2008, 02:20 AM
so in order to get it, i need to get those geforce kexts from the dvd,
i was only able to boot leopard by not installing them from the dvd in the initial install, when i installed them initially from the dvd i got a black screen with a cursor and thats it,
so if i can get them from the dvd and install them now, after osx is running stable, it should work,
and if so how do i do this, thanks

eaglepride605
02-21-2008, 02:21 AM
i ahve an EVGA Nvidia 7900 GTO 512mb

eddie11c
02-21-2008, 02:23 AM
Is your ID 0x029110de ? you will need to get that first.

eaglepride605
02-21-2008, 02:25 AM
Chipset Model: NVIDIA GeForce 7900 GTO
Type: Display
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0291
Revision ID: 0x00a1
ROM Revision: 0x000000a1

eddie11c
02-21-2008, 02:32 AM
Copy these 3 http://rapidshare.com/files/93491573/Archive.zip.html files into your system/library/extensions then
chown -R root:wheel /system/library/extensions/*
chmod -R 755 /system/library/extensions/*

zephyroth
02-21-2008, 02:39 AM
I've copied all dev id found on NVidia website inside GeForce.kext so I think his dev id is already in.

eddie11c
02-21-2008, 02:41 AM
I just checked the one on the DVD, seems it was missing. The closest was 0290, would make sense that he was getting panics at first after install.

zephyroth
02-21-2008, 02:43 AM
it's a new card ?

eaglepride605
02-21-2008, 02:45 AM
it didnt work i get a message saying i need to re-install all 3, i did the terminal and tried reboot still didnt work,

and i dont know if it affects anything but when installing from dvd i, selected none of the graphics options because when i did select them it wouldnt boot

eddie11c
02-21-2008, 02:46 AM
No its a series 7 card still, its on the wiki for vendor id's. Maybe it just got missed or I did not see it. Either way no big deal.

eaglepride605
02-21-2008, 02:46 AM
No, I have had since january 07, and i have run xp and vista off of it

eddie11c
02-21-2008, 02:47 AM
you need to repair the permissions on the files before leopard will load them.

eaglepride605
02-21-2008, 02:47 AM
ok so copy them to the extensions folder, do terminal, then repair permisions correct

zephyroth
02-21-2008, 02:48 AM
pffff ... Yeah I'm nuts ...

eddie11c
02-21-2008, 02:48 AM
yes once you copied them over open terminal and sudo -s

chown -R root:wheel /system/library/extensions/*
chmod -R 755 /system/library/extensions/*
can boot with -f too.

eaglepride605
02-21-2008, 02:49 AM
sorry i am causing difficulty, i appreciate your help, and i really appreciate i am able to run leopard on amd , so really thanks for your help

eaglepride605
02-21-2008, 03:01 AM
MAN YOU GUYS ARE AWESOME, I GOT IT WORKING YOU GUYS ROCK, THANKS SO MUCH

eddie11c
02-21-2008, 03:02 AM
Glad to hear it worked for you!

eaglepride605
02-21-2008, 03:05 AM
even better my sound even works now, how can i pay u back for helping me

eddie11c
02-21-2008, 06:16 AM
I see lots of people with Nvidia cards asking for help.

Bumping this so they might read it and fix it themselves.

Ianxxx
02-23-2008, 06:49 AM
Good idea

eMatoS
03-04-2008, 12:42 AM
My PNY GeForce 7300 GS is working great now! thanks guys!!!

broodofqueen
03-04-2008, 05:20 AM
use kext helper, it is a godsend app for command line amateurs

dzedward
08-29-2009, 10:44 PM
Hey guys, I came across this thread and would love to get my hands on those files so I can try this out. I have a 7 series geforce as well and cant wait to get my resolutions back. Also, does this support the duel dvi output?

Ianxxx
08-30-2009, 02:20 PM
Hey guys, I came across this thread and would love to get my hands on those files so I can try this out. I have a 7 series geforce as well and cant wait to get my resolutions back. Also, does this support the duel dvi output?

Download efistudio
you can find it here
http://www.infinitemac.com/f7/kext-package-for-ga-p35-ds3l-retail-install-t1823/