Jump to content

OpenCL fix for non-GF100/GF110 cards (aka CC/SM 2.1+)


  • Please log in to reply
137 replies to this topic

#21
Thireus

Thireus

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France
  • Interests:Security

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

untested, but it should work :D


This is working for my GTX480 :D under 10.7.2 (11C62)

Posted Image

Thank you cmf!

#22
tayshun12

tayshun12

    InsanelyMac Protégé

  • Members
  • Pip
  • 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.

The solution: let's just pretend we have a 2.0 card :)

So, open up a hex editor of your liking and do this:
open /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib (as root or with sudo)
find: 8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02
replace by: 31 C0 FF C0 FF C0 89 06 31 C0 89 02 90 90 90 90
save
reboot is not required, but recommended

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 :D

#23
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts

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?

every single time the file is overwritten by an update, so yes, after the install and after each 10.7.x update.
and you need both opencl fixes on non-gf100/gf110 cards.

This is working for my GTX480 :o

huh? this isn't required for gtx 480.

#24
Thireus

Thireus

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France
  • Interests:Security

huh? this isn't required for gtx 480.


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

pyrit benchmark
Pyrit 0.4.1-dev (svn r308) © 2008-2011 Lukas Lueg [url="http://pyrit.googlecode.com"]http://pyrit.googlecode.com[/url]
This code is distributed under the GNU General Public License v3+

Running benchmark (61279.2 PMKs/s)... - 

Computed 61279.17 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce GTX 480'': 25619.8 PMKs/s (RTT 2.9)
#2: 'OpenCL-Device 'ATI Radeon Barts XT Prototype'': 31135.4 PMKs/s (RTT 2.8)
#3: 'OpenCL-Device 'GeForce GTX 480'': 6744.2 PMKs/s (RTT 3.2)
#4: 'CPU-Core (SSE2)': 643.6 PMKs/s (RTT 3.0)
#5: 'CPU-Core (SSE2)': 625.2 PMKs/s (RTT 3.1)
#6: 'CPU-Core (SSE2)': 634.1 PMKs/s (RTT 3.0)
#7: 'CPU-Core (SSE2)': 619.5 PMKs/s (RTT 3.0)
#8: 'CPU-Core (SSE2)': 654.0 PMKs/s (RTT 3.0)

\o/

Without your patch, only CUDA is available for my GTX 480 ;)

I have combo upgraded to 11C73 today, let's see if your hack still works :

EDIT:

Before Hack, no more OpenCL for my GTX 480 :

imac-de-thireus:Desktop thireus$ pyrit list_cores
Pyrit 0.4.1-dev (svn r308) © 2008-2011 Lukas Lueg [url="http://pyrit.googlecode.com"]http://pyrit.googlecode.com[/url]
This code is distributed under the GNU General Public License v3+

The following cores seem available...
#1:  'CUDA-Device #1 'GeForce GTX 480''
#2:  'OpenCL-Device 'ATI Radeon Barts XT Prototype''
#3:  'CPU-Core (SSE2)'
#4:  'CPU-Core (SSE2)'
#5:  'CPU-Core (SSE2)'
#6:  'CPU-Core (SSE2)'
#7:  'CPU-Core (SSE2)'
#8:  'CPU-Core (SSE2)'

[OpenCL-only Context]
2 OpenCL devices found!

[Device 0]
	Name: 			Intel® Core(tm) i7-2600K CPU @ 3.40GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.1 
	Driver Version: 	1.1
	Compute Units: 		8
	Work Group Size: 	1024
	Clock: 			3411 MHz
	Global Memory (Total): 	8192 MB
	Global Memory (Host): 	8192 MB
	Global Memory (PCIe): 	0 MB
	Local Memory: 		32 KB
	Cache Size: 		0.0625 KB
	Cache Line Size: 	8388608 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
				cl_APPLE_clut
				cl_APPLE_query_kernel_names
				cl_APPLE_gl_sharing
				cl_khr_gl_event
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_3d_image_writes
				cl_APPLE_fp64_basic_ops
				cl_APPLE_fixed_alpha_channel_orders
				cl_APPLE_biased_fixed_point_image_formats

[Device 1]
	Name: 			ATI Radeon Barts XT Prototype
	Vendor: 		AMD
	Type: 			GPU 
	Device Version: 	OpenCL 1.1 
	Driver Version: 	1.0
	Compute Units: 		14
	Work Group Size: 	1024
	Clock: 			970 MHz
	Global Memory: 		512 MB
	Local Memory: 		32 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
				cl_APPLE_clut
				cl_APPLE_query_kernel_names
				cl_APPLE_gl_sharing
				cl_khr_gl_event
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_khr_3d_image_writes

Let's hack this stuff...

EDIT :

Back after patching :)

imac-de-thireus:~ thireus$ pyrit list_cores
Pyrit 0.4.1-dev (svn r308) © 2008-2011 Lukas Lueg [url="http://pyrit.googlecode.com"]http://pyrit.googlecode.com[/url]
This code is distributed under the GNU General Public License v3+

The following cores seem available...
#1:  'CUDA-Device #1 'GeForce GTX 480''
#2:  'OpenCL-Device 'ATI Radeon Barts XT Prototype''
#3:  'OpenCL-Device 'GeForce GTX 480''
#4:  'CPU-Core (SSE2)'
#5:  'CPU-Core (SSE2)'
#6:  'CPU-Core (SSE2)'
#7:  'CPU-Core (SSE2)'
#8:  'CPU-Core (SSE2)'

[OpenCL-only Context]
3 OpenCL devices found!

[Device 0]
	Name: 			Intel® Core(tm) i7-2600K CPU @ 3.40GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.1 
	Driver Version: 	1.1
	Compute Units: 		8
	Work Group Size: 	1024
	Clock: 			3411 MHz
	Global Memory (Total): 	8192 MB
	Global Memory (Host): 	8192 MB
	Global Memory (PCIe): 	0 MB
	Local Memory: 		32 KB
	Cache Size: 		0.0625 KB
	Cache Line Size: 	8388608 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
				cl_APPLE_clut
				cl_APPLE_query_kernel_names
				cl_APPLE_gl_sharing
				cl_khr_gl_event
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_3d_image_writes
				cl_APPLE_fp64_basic_ops
				cl_APPLE_fixed_alpha_channel_orders
				cl_APPLE_biased_fixed_point_image_formats

[Device 1]
	Name: 			ATI Radeon Barts XT Prototype
	Vendor: 		AMD
	Type: 			GPU 
	Device Version: 	OpenCL 1.1 
	Driver Version: 	1.0
	Compute Units: 		14
	Work Group Size: 	1024
	Clock: 			970 MHz
	Global Memory: 		512 MB
	Local Memory: 		32 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
				cl_APPLE_clut
				cl_APPLE_query_kernel_names
				cl_APPLE_gl_sharing
				cl_khr_gl_event
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_khr_3d_image_writes

[Device 2]
	Name: 			GeForce GTX 480
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0 
	Driver Version: 	CLH 1.0
	Compute Units: 		60
	Work Group Size: 	1024
	Clock: 			0 MHz
	Global Memory: 		1536 MB
	Local Memory: 		48 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
				cl_APPLE_clut
				cl_APPLE_query_kernel_names
				cl_APPLE_gl_sharing
				cl_khr_gl_event
				cl_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_APPLE_fp64_basic_ops

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 ;)

Little video about Galaxies benchmark : http://thireus.darey...4_VSYNC_OFF.zip

#25
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts

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

concerning sm/cc: http://developer.nvidia.com/cuda-gpus aka "what your gpu is capable of" (e.g. double precision fp, local memory atomics, unified addressing)
sm/cc 1.x will give opencl device version 1.0, 2.x will give you opencl 1.1.

#26
dysfunction

dysfunction

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:denmark
Hi cmf

First thanks for a great thread!

I installed 10.7.2 from from comboupdate (newest build), edited GeForceGLDriver.bundle version 7.12.9 with the following:

GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver:
78e883f8 02 7c11
replaced by:
78e883f8 03 7c11

GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib:
8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02
replaced by:
31 C0 FF C0 FF C0 89 06 31 C0 89 02 90 90 90 90

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 :D
Or if it's easier can you share the files you using as we have the same card etc.?

#27
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 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... :wallbash:

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

NVDAGF100Hal 7.12.9 270.05.10f03 ... you did add the device id, right? "0x120010de&0xffc0ffff"

#28
dysfunction

dysfunction

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:denmark
EDIT: It's working now, think i had some permission problems. Thanks for the help once again!

Tried to run luxmark and i get the:RUNTIME ERROR: Unable to find any appropiate IntersectionDevice
Dont know if i miss editing something? Sorry for being a noob btw :wallbash:

I made the changes below (posted before but here they are again:

GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver:
78e883f8 02 7c11
replaced by:
78e883f8 03 7c11

GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib:
8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02
replaced by:
31 C0 FF C0 FF C0 89 06 31 C0 89 02 90 90 90 90

Changed the device ID in "NVDAGF100Hal.kext" info.plist

<key>IOPCIPrimaryMatch</key>
<string>
0x06c010de&amp;0xffe0ffff
0x0dc010de&amp;0xffc0ffff
0x0e2010de&amp;0xffe0ffff
0x0ee010de&amp;0xffe0ffff
0x0f0010de&amp;0xffc0ffff
0x104010de&amp;0xffc0ffff
0x124010de&amp;0xffc0ffff
0x120010de&amp;0xffc0ffff
</string>

#29
dysfunction

dysfunction

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:denmark
Hi again ;-)

Luxmark i running fine now!

I tried to run OpenCL ocean_wave but it fails on launch with the message below. Have you got it working with your 560ti?

Connecting to NVIDIA GeForce GTX 560 Ti...
Error opening file compute_kernels.cl
Segmentation fault: 11

#30
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Hi again ;-)

Luxmark i running fine now!

I tried to run OpenCL ocean_wave but it fails on launch with the message below. Have you got it working with your 560ti?

Connecting to NVIDIA GeForce GTX 560 Ti...
Error opening file compute_kernels.cl
Segmentation fault: 11


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 Terminal
2. cd SPACE (drag&drop the folder which contains the app+files into the terminal)
3. drag & drop the app into the terminal ENTER

#31
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 754 posts
@cmf,

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.

Oct 25 14:16:29 osxfr33ks-MacBook-Pro kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0x26 = FECS Err: Watchdog Timeout
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: NVDA(OpenGL): Channel timeout!
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: IOVendorGLContext::ReportGPURestart
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 0000006e
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00080000 00000000 00000000 00000000
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 00000000 00000000 0000000b
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 00000000 00000081
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 00000000
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 0000006e
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00200000 00009097 00000000 00000000
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 0000130c 00000201 0000000b
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 00000000 00000000
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: 00000000 00000000
Oct 25 14:16:47 osxfr33ks-MacBook-Pro kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error

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?

#32
eksployted

eksployted

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

@cmf,


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.

I don't think I have "libclh.dylib" patched, but I'll look.

#33
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 754 posts
Ok I see the wav now I forget to x out the more widgets window which remains and once I remove the window and add more widgets I see the affect.

I hex edited both files not just the GLDriver but the libclh.dylib as well. My question still remains which one of the sm strings do I use, sm1.1, sm1.2 or sm1.3?

Also for the 10.7.2 GlDriver, only hex edit x86_64 alone or hex edit both x86 and x86_64 in case I ever boot 32 bit mode? Would this create a problem if I do both hex edits in the GlDriver binary?

#34
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts

I hex edited both files not just the GLDriver but the libclh.dylib as well. My question still remains which one of the sm strings do I use, sm1.1, sm1.2 or sm1.3?

neither. use the one from the first post.

and yes, the netkas opencl fix is always needed to make it work in the first place.

#35
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 754 posts
@cmf,

Thanks for getting back with me. I just noticed that the one from the first post is different from the three you posted later. What are the others for?

Thanks

#36
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts

@cmf,

Thanks for getting back with me. I just noticed that the one from the first post is different from the three you posted later. What are the others for?

Thanks

the one from the first post sets it to ptx 2.0, the others set it to ptx 1.x. the latter is only required if you have another non-fermi card installed.

#37
kilian

kilian

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
  • Gender:Male
  • Location:Milano
Hi guys with Ocinfo i had the seguent info:
What can i do to make work LUXMARK benchmark? My error on benchmark is: OpenCL ERROR: clBuildProgram(-11)

[Device 1]
Name: GeForce GTX 550 Ti
Vendor: NVIDIA
Type: GPU
Device Version: OpenCL 1.1
Driver Version: CLH 1.0
Compute Units: 4
Work Group Size: 1024
Clock: 0 MHz
Global Memory: 1024 MB
Local Memory: 48 KB
Cache Size: 0 KB
Cache Line Size: 0 Bytes
Available: Yes
Double-Precision: No
Extensions:
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions
cl_APPLE_clut
cl_APPLE_query_kernel_names
cl_APPLE_gl_sharing
cl_khr_gl_event
cl_khr_byte_addressable_store
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_APPLE_fp64_basic_ops

#38
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
NEW , much easier to start OpenCL OceanWave version - less OpenGL + cpu load, more OpenCL relevant.
FPS now shown only in the window title.
Simple double click the new RunMe script - thats all ;)

Attached Files



#39
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,710 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello

EDIT: It's working now, think i had some permission problems. Thanks for the help once again!

Tried to run luxmark and i get the:RUNTIME ERROR: Unable to find any appropiate IntersectionDevice
Dont know if i miss editing something? Sorry for being a noob btw ;)

I made the changes below (posted before but here they are again:

GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver:
78e883f8 02 7c11
replaced by:
78e883f8 03 7c11

GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib:
8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02
replaced by:
31 C0 FF C0 FF C0 89 06 31 C0 89 02 90 90 90 90

Changed the device ID in "NVDAGF100Hal.kext" info.plist

<key>IOPCIPrimaryMatch</key>
<string>
0x06c010de&amp;0xffe0ffff
0x0dc010de&amp;0xffc0ffff
0x0e2010de&amp;0xffe0ffff
0x0ee010de&amp;0xffe0ffff
0x0f0010de&amp;0xffc0ffff
0x104010de&amp;0xffc0ffff
0x124010de&amp;0xffc0ffff
0x120010de&amp;0xffc0ffff
</string>



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

and opencl never run
with 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 luck
2 weeks ago in this tread I had some instructions.. but I suppose the road is longer .. more than I expected

#40
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy