Jump to content

[How-to] Nvidia PNY GTX460 OC with OpenCL/GL QE support under Lion 10.7.2


2 posts in this topic

Recommended Posts

Hey everybody!

 

In this Tutorial i will show you how to make your PNY GTX 460 OC run with Full QE, OpenCL/GL support! I think this should work also with GTX460's of other vendors.This hack will also solve system freezes and kernel panics. You can check OpenCL with Luxmark 2.0. If there is no Compile Error and you get a benchmark result, everything is fine. I got 4500 points with my GPU. I assume you already installed OSX 10.7.2. I do not like and know to work with terminal commands, so this tutorial is easy to understand.

 

These are the tutorials i used myself:

1. http://hackintosh-fo...ead&postID=9035 (German)

2. http://www.insanelym...howtopic=266318

 

My system tech specs: GA-X58A-UD3R | Intel i7 3,0 GHz | 12 GB Hyper Kinston RAM | PNY Nvidia GTX 460 OC 1024 MB

 

My Lion installation method: Tonymac | [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 10.7.2 | [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] option | PCI Root ID Fix | 64bit GraphicsEnabler=Yes | OpenCL Enabler 10.7.2 by netkas.org

 

LET'S BEGIN:

 

1. Download System Info.zip. If you made a fresh OSX install, Lion will ask you to install Java. Do so!

 

2. Run System Info and search your GPU. Remember "Ven ID" and "Dev ID".

In my case the values are: VenID: 10de | Dev ID: 0e22

post-646704-0-64379300-1328371854_thumb.jpg

 

3. Download ShowAllFiles.zip and select "SHOW"! This tool will make all hidden system files visible.

 

4. Search the file NVDAGF100Hal.kext in System/Libary/Extensions, right click on it and select "Show content". Drag n Drop the Info.plist to your desktop and open the copy with TextEdit.

post-646704-0-66154100-1328371620_thumb.jpegpost-646704-0-44379700-1328371618_thumb.jpeg

 

5. Now you have to add your GPU's "Ven ID" and "Dev ID" to the string area of IOPCIPrimaryMatch. Just make a new entry below the last one. The entry has to look like this:

 

0xDevIDVenID&0xffc0ffff

 

post-646704-0-99073100-1328372923_thumb.jpg

 

Save the Info.plist and Drag n Drop it back to it's kext and overwrite the original one. Lion will ask for an authentication and your password. Go for it!

 

6. Search the File AppleGraphicsPowerManagment.kext in System/Libary/Extensions.

Right click -> Show Content -> Drag n Drop the Info.plist to Desktop -> Open with TextEdit -> In case you are using a MacPro4,1 smbios, search for MacPro4,1. Replace Vendor and Device ID with your values.

 

<key>VendorVenIDDeviceDevID</key>

 

post-646704-0-37108600-1328371616_thumb.jpg

 

Below look for Threshold_High. Edit the entrys like this:

 

post-646704-0-43809300-1328371624_thumb.jpeg

 

7. Save the file, Drag n Drop it back to AppleGraphicsPowerManagment.kext and overwrite the old one.

 

8. Now we will fake the OpenCL Version Apple detects. This hack is essential to make Luxmark work properly.

Search the file /System/Library/Extensions/GeForceGLDriver.bundle -> Right click -> Show content -> go to /Contents/MacOS/ -> Drag n Drop libclh.dylib to your desktop.

Open that file with your favorite HexEditor. If you don't have one take this one: Hex Fiend.zip

 

Search the string

8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02

and replace it with this one:

31 C0 FF C0 FF C0 89 06 31 C0 89 02 90 90 90 90

 

Save the file and proceed the same way you did it before... Drag n Drop back into GeForceGLDriver.bundle, overwrite... etc...

 

9. In the last step we will repair the permission of the kexts we have changed. If you don't know how to do it, just download and launch Kext Utility.zip

 

10. Reboot, Start Luxmark and cross fingers!

 

 

If you find any failures or you feel like you really have to correct my english, please do so :)

  • 4 weeks later...

UPDATE [10.7.3]

 

Since 10.7.3 i got serveral freezes. The only thing i had to do ist to install NVIDIAS most recent drivers: http://www.nvidia.de...-driver-de.html

 

Works perfectly and the GUI also became much smoother than before. Also CUDA applications work much better now.

×
×
  • Create New...