Contribute
Register

OpenCL Problem with my gtx 560 ti and Mountain Lion

Status
Not open for further replies.
Joined
Mar 3, 2011
Messages
252
Motherboard
Asrock z77 Professional M
CPU
i7 3770k
Graphics
EVGA gtx 760 Ti 4GB
Mobile Phone
  1. Android
[SOLVED] OpenCL Problem with my gtx 560 ti and Mountain Lion

I installed Mountain Lion easily, all went smooth, and my gtx 560 ti was recognized natively. However I found problems running luxmark, it gives some error (I'll post a screenshot later, not at home right now). I foundon netkas site that there is a problems with gtx with more than 2gb of ram, which could be fixed by an easy hexadecimal coding. My card is a 2gb version, so I tryed this method, but nothing changed.

any idea?

EDIT: adding screenshot
 

Attachments

  • luxmark.jpg
    luxmark.jpg
    105.6 KB · Views: 1,567
can anyone help?
 
I'm actually seeing the same thing on a 1GB 560Ti, so it's not the RAM problem.
It sees the OpenCL device, gets ready to render, then fails with

2012-07-27 17:35:56 - [RenderEngine] [PathOCLRenderThread::0] Compiling kernels
2012-07-27 17:35:56 - [RenderEngine] [PathOCLRenderThread::0] PathOCL kernel compilation error ERROR clBuildProgram[CL_BUILD_PROGRAM_FAILURE]: Error getting function data from server
2012-07-27 17:35:56 - RUNTIME ERROR: PathOCL kernel compilation error


It might be a bug in LuxMark or it might be some new tweak in 10.8's OpenCL implementation, or it might be something in the Fermi driver that needs to be patched.
 
I got same problem.

I used in multibeast:

10.7.2+combo opencl enabler

This combo patch is for 10.7.2 or later. /System/Library/Extensions/GeForceGLDriver.bundle is patched using info from netkas.org and cmf. /System/Library/Extensions/NVDAGF100Hal.kext/Contents/Info.plist is patched using MacMan's research.

but luxmark 2.0 still returns a red error
 
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

in terminal, launch this command:

Code:
sudo perl -pi -e '$c++ if s|\x8b\x87\x1c\x0c\x00\x00\x89\x06\x8b\x87\x20\x0c\x00\x00\x89\x02|\x31\xc0\xff\xc0\xff\xc0\x89\x06\x31\xc0\x89\x02\x90\x90\x90\x90|; END { unless ($c) { warn "No substitutions made\n"; $? =1 } }' /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib

it fixed it for me.
 
I can confirm that this method is working 100% as a matter of fact this is the first one that has worked for me until now, I'm actually excited to have OpenCL for the first time on my hackintosh!
 
Thanks for doing the hard work!

Confirmed on my Hackintosh!! Upgraded to ML from 10.7.2 and my EVGA 560ti worked OOB but openCL was broke. Now it lives again!! Thanks!
 
Status
Not open for further replies.
Back
Top