Posted 04 October 2011 - 04:50 AM

tayshun12

InsanelyMac Protégé

Members

21 posts

Gender:Male

good news everyone

After I bought a GTX 560 Ti, I noticed a few odd things about the OpenCL support of this card.It's telling you that it's capable of all these things, but it actually isn't and will produce compile errors like "requires .target sm_12 or higher" even though it's a sm_21 capable card. So, I started digging and from the looks of it, Apples OpenCL compiler is only (directly) supporting cards up to sm_20 (Quadro 4000, GTX 480/470/580/570). If it's higher than this it will fallback to sm_10 or sm_11.

What this basically does is replacing the dynamic cc device info in clhDeviceComputeCapability with a hardcoded 2.0 "info". Note that this is x64 only for the moment (which most people are certainly using since 10.7). I will add x86 support at a later point.Also, if you have another non-sm2.0 capable nvidia card installed, this will (probably) break OpenCL support for it.

Hey cmf,

I am about to build my new comp in the next few week after I buy all my parts. I am going to install following the asus P8P67 guide in the install forums, but I was wondering should I do this directly after install? Or should I, as I read earlier, install the netkas opencl that people were trying then do this?

Thank you for the find! I was about to switch my card of choice(gtx 560 ti) to the 6850 until I decided to take a quick look over at the hardware forums LOL

So do you have an explanation why I need your patch?Also, can you tell me what's the latest version of OpenCL that should be detected for both GPUs ?I don't understand what "sm1.3" stands for... SM = ? And I don't understand why sm2.0 patch doesn't work for my GTX 480

Posted 05 October 2011 - 04:46 PM

For my config it is, without this patch I don't have OpenCL working for my GTX 480. It might be related to the fact I have two GPUs on my HackinTosh: ATI HD6870 + NVidia GTX 480

So do you have an explanation why I need your patch?Also, can you tell me what's the latest version of OpenCL that should be detected for both GPUs ?I don't understand what "sm1.3" stands for... SM = ? And I don't understand why sm2.0 patch doesn't work for my GTX 480

k, this is weird and interesting. but yes, it is probably because you have an ati card installed as your primary card.two things you could try:1) swap the cards, so the nvidia card is your primary card (and then try again with and without the sm 2.0 fix)2) as i mentioned in an earlier post, type this in terminal: echo "export CL_ENABLE_SM2_DEVICE=1" >> ~/.profile

So everything should be fine with my "GeForceGLDriver.bundle" i guess ?

The problem is i cant get 1920*1080 with QE working with the new "NVDAGF100Hal.kext version: 7.12.9".
I have to go back to "NVDAGF100Hal.kext version: 7.10.8" to get full resolution and QE etc. working...

What version of NVDAGF100Hal.kext are you sing for your gf 560ti? Do i need to change something in the new one?

Please help me and i will send you me firstborn kid
Or if it's easier can you share the files you using as we have the same card etc.?

Posted 17 October 2011 - 06:16 AM

cmf

InsanelyMac Geek

Members

145 posts

So everything should be fine with my "GeForceGLDriver.bundle" i guess ?

yes.

The problem is i cant get 1920*1080 with QE working with the new "NVDAGF100Hal.kext version: 7.12.9".I have to go back to "NVDAGF100Hal.kext version: 7.10.8" to get full resolution and QE etc. working...

What version of NVDAGF100Hal.kext are you sing for your gf 560ti? Do i need to change something in the new one?

Hi,this error type ( error opening file ....) happens when you try to start the app by simple double clicking - NOT WORKING because its an command line app.1. Start the Terminal2. cd SPACE (drag&drop the folder which contains the app+files into the terminal)3. drag & drop the app into the terminal ENTER

Posted 26 October 2011 - 04:11 AM

Do I need to apply both OpenCL patches, the one for "GeForceGLDriver" Netkas patch, and the one from this thread for "libclh.dylib"?

If so do I need to apply the patch x86 and x86_64 for 10.7.2 or just the x86_64? CAn I apply both in case I boot kernel 32 bit?

I left a comment for you over at Netkas Thread.

I have an Asus G74SX with a GTX 560M Nvidia graphics card and with the 10.7.1 update I applied only the Netkas hack back then. No issues QE/CL working 100% with the latest Chameleon trunk but now:

After the 10.7.2 update my desktop kept freezing with the latest Chameleon trunk using Chameleon Wizard. The freezing went away as soon as I installed the latest version of Chimera v1.5.4 r1394. That makes no sense why does Chimera support this card and the latest release of the Chameleon is now causing a freeze to my desktop?

Here was the kernel message I got when it was freezing under Chameleon r1657.

Anyhow everything working with Chimera and the patch from this thread just need to know if I should also apply the newly modified Netkas Patch for 10.7.2 both x86 and x86_64, in case I ever boot 32 bit mode which I do sometimes to be able to run my Sprint Satellite card and software which only runs at 32 bit.

which one of these 3 patches do I use for the GTX 560M?

sm 1.3:
31 C0 FF C0 89 06 FF C0 FF C0 89 02 90 90 90 90

sm 1.2:
31 C0 FF C0 89 06 FF C0 89 02 90 90 90 90 90 90

sm 1.1:
31 C0 FF C0 89 06 89 02 90 90 90 90 90 90 90 90

Thanks

EDITED COUPLE MINUTES LATER:

I am not getting the water wav affect for the add widgets in dashboard anymore? Even with show dashboard as space unchecked. Anyone else?

Posted 27 October 2011 - 08:23 PM

I have an Asus G74SX with a GTX 560M Nvidia graphics card and with the 10.7.1 update I applied only the Netkas hack back then. No issues QE/CL working 100% with the latest Chameleon trunk but now:

After the 10.7.2 update my desktop kept freezing with the latest Chameleon trunk using Chameleon Wizard. The freezing went away as soon as I installed the latest version of Chimera v1.5.4 r1394. That makes no sense why does Chimera support this card and the latest release of the Chameleon is now causing a freeze to my desktop?

EDITED COUPLE MINUTES LATER:

I am not getting the water wav affect for the add widgets in dashboard anymore? Even with show dashboard as space unchecked. Anyone else?

I have a 560M and I get the waves (i'm on 10.7.2 with latest chimera). I get the channel exception error and lockup though if I go around in the app store. But if I delete the AppleGraphicsPowerManagement.kext, it doesn't hard lock up, but seems to restart the desktop and go to the login screen. I happens far less often though.

easy to mod the dylib but the bynary ? the string/hex is not visible anywhere!I have the 460m gtxtried the chimera.. the newer 1784 chameleon..I've edited the 100hal OKedited the dylib OK

and opencl never runwith 100HAL injected but no mods in the bundle:-with chimera is not good.. the laptop boots without a part of ACPI and never recognizes a lot of parts (also wifi!)-with chameleon starts fine.. QE/CI but lower benchmarks and the obviously random freeze

in the past I tried to overwrite and mix and match older rev of invidia drivers.. no luck2 weeks ago in this tread I had some instructions.. but I suppose the road is longer .. more than I expected

Posted 31 January 2012 - 08:53 AM

mitch_de

InsanelyMacaholic

Retired

2,916 posts

Gender:Male

Location:Stuttgart / Germany

INFO: Luxmark 2.0 FINAL is now available (best OPENCL Bench beside OceanWave). For fast GPUs use SALA or ROOM (> 512 MB VRAM needed!) scene. LUXBALL is for low end GPUs.http://www.luxrender...uxMark#Download