Contribute
Register

OpenCL Problem with my gtx 560 ti and Mountain Lion

Status
Not open for further replies.
mine too. but didn`t show up on hardware info.:(
 
This script with latest nVidia drivers get back openCL

Code:
sudo perl -pi -e '$c+=s/\x8b\x81\x1c\x0c\x00\x00\xeb\x06\x8b\x81\x20\x0c\x00\x00/\xb8\x02\x00\x00\x00\x90\xeb\x06\xb8\x00\x00\x00\x00\x90/; END { printf "%s: %d substitution%s made.\n",($c==1 ? "Success" : "Error"),$c,(!$c || $c>1 ? "s" : ""); $?=($c!=1); }' /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
 
Worked! Thank you very much!
 
This script with latest nVidia drivers get back openCL

Code:
sudo perl -pi -e '$c+=s/\x8b\x81\x1c\x0c\x00\x00\xeb\x06\x8b\x81\x20\x0c\x00\x00/\xb8\x02\x00\x00\x00\x90\xeb\x06\xb8\x00\x00\x00\x00\x90/; END { printf "%s: %d substitution%s made.\n",($c==1 ? "Success" : "Error"),$c,(!$c || $c>1 ? "s" : ""); $?=($c!=1); }' /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib

yeah that did the trick for me on the NVidia Drivers 304.10.20f04.
 
I'm getting:

Can't find string terminator "'" anywhere before EOF at -e line 1.

[Process completed]
 
found the clue, at least I think. Problem is not opencl. It is enabled, but just for cards based on gf100-110 (gtx 570-580-470-480). Like in lion, you have to patch libclh.dylib inside GeForceGLDriver.bundle. It was well explained by ideas_man69 in this post

it fixed it for me.

Thanks, fixed right away. Appreciated

:)
 
Do you still need to run this script in this thread with ML 10.8.2 to get opencl with out of the box drivers?

cheers
 
Status
Not open for further replies.
Back
Top