badaxe2 Posted November 30, 2011 Share Posted November 30, 2011 Hi guys, I can't for the life of me get OpenCl working in 10.7.2 on my GTX 460. I am running a vanilla system with DSDT and everything is working perfect apart from OpenCl. I have installed the Nvidia GF100 patches for 10.7.2 in the latest version of [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and I am using GraphicsEnabler=Yes Please help me get this working as I am hoping to encode a lot of video with opencl !!!! Here are some screen grabs of my system - Here is the LuxMarg Log (error is down at the bottom in red) - 2011-11-30 23:26:51 - [RenderEngine] [PathGPURenderThread::0] Rendering thread halted 2011-11-30 23:26:51 - [LuxRays] [VirtualM2ODevice::VirtualM2OHDevice-001-Intel® Core™ i7 CPU 920 @ 2.67GHzIntersect] Stopping real device 2011-11-30 23:26:51 - [LuxRays] [OpenCL device::Intel® Core™ i7 CPU 920 @ 2.67GHzIntersect] Rendering thread halted 2011-11-30 23:26:58 - Set Benchmark GPUs mode 2011-11-30 23:26:58 - [RenderConfig] Reading configuration file: scenes/luxball/render-hdr.cfg 2011-11-30 23:26:58 - [RenderConfig] Configuration: 2011-11-30 23:26:58 - [RenderConfig] accelerator.type = 2 2011-11-30 23:26:58 - [RenderConfig] image.filename = luxball-hdr.png 2011-11-30 23:26:58 - [RenderConfig] image.height = 480 2011-11-30 23:26:58 - [RenderConfig] image.width = 640 2011-11-30 23:26:58 - [RenderConfig] opencl.cpu.use = 0 2011-11-30 23:26:58 - [RenderConfig] opencl.gpu.use = 1 2011-11-30 23:26:58 - [RenderConfig] opencl.gpu.workgroup.size = 64 2011-11-30 23:26:58 - [RenderConfig] opencl.latency.mode = 1 2011-11-30 23:26:58 - [RenderConfig] opencl.nativethread.count = 0 2011-11-30 23:26:58 - [RenderConfig] opencl.platform.index = 0 2011-11-30 23:26:58 - [RenderConfig] path.maxdepth = 8 2011-11-30 23:26:58 - [RenderConfig] path.russianroulette.cap = 0.75 2011-11-30 23:26:58 - [RenderConfig] path.russianroulette.depth = 5 2011-11-30 23:26:58 - [RenderConfig] path.russianroulette.strategy = 1 2011-11-30 23:26:58 - [RenderConfig] renderengine.type = 3 2011-11-30 23:26:58 - [RenderConfig] sampler.spp = 4 2011-11-30 23:26:58 - [RenderConfig] scene.fieldofview = 45 2011-11-30 23:26:58 - [RenderConfig] scene.file = scenes/luxball/luxball-hdr.scn 2011-11-30 23:26:58 - [LuxRays] OpenCL Platform 0: Apple 2011-11-30 23:26:58 - [LuxRays] Device 0 NativeThread name: NativeThread-000 2011-11-30 23:26:58 - [LuxRays] Device 1 NativeThread name: NativeThread-001 2011-11-30 23:26:58 - [LuxRays] Device 2 NativeThread name: NativeThread-002 2011-11-30 23:26:58 - [LuxRays] Device 3 NativeThread name: NativeThread-003 2011-11-30 23:26:58 - [LuxRays] Device 4 NativeThread name: NativeThread-004 2011-11-30 23:26:58 - [LuxRays] Device 5 NativeThread name: NativeThread-005 2011-11-30 23:26:58 - [LuxRays] Device 6 NativeThread name: NativeThread-006 2011-11-30 23:26:58 - [LuxRays] Device 7 NativeThread name: NativeThread-007 2011-11-30 23:26:58 - [LuxRays] Device 8 OpenCL name: Intel® Core™ i7 CPU 920 @ 2.67GHz 2011-11-30 23:26:58 - [LuxRays] Device 8 OpenCL type: CPU 2011-11-30 23:26:58 - [LuxRays] Device 8 OpenCL units: 8 2011-11-30 23:26:58 - [LuxRays] Device 8 OpenCL max allocable memory: 20480MBytes 2011-11-30 23:26:58 - [LuxRays] Device 9 OpenCL name: GeForce GTX 460 2011-11-30 23:26:58 - [LuxRays] Device 9 OpenCL type: GPU 2011-11-30 23:26:58 - [LuxRays] Device 9 OpenCL units: 14 2011-11-30 23:26:58 - [LuxRays] Device 9 OpenCL max allocable memory: 768MBytes 2011-11-30 23:26:58 - [LuxRays] Film size 640x480 2011-11-30 23:26:58 - [LuxRays] Creating 1 pixel device(s) 2011-11-30 23:26:58 - [LuxRays] Allocating pixel device 0: NativeThread-000 (Type = NATIVE_THREAD) 2011-11-30 23:26:58 - [LuxRays] Reading scene: scenes/luxball/luxball-hdr.scn 2011-11-30 23:26:58 - [LuxRays] Camera postion: Point[0.6, -1.7, 0.4] 2011-11-30 23:26:58 - [LuxRays] Camera target: Point[0, 0, 0.4] 2011-11-30 23:26:58 - [LuxRays] Material definition: whitematte [matte] 2011-11-30 23:26:58 - [LuxRays] Material definition: shell [mirror] 2011-11-30 23:26:58 - [LuxRays] PLY object count: 4 2011-11-30 23:26:58 - [LuxRays] Reading texture map: scenes/luxball/arch.exr 2011-11-30 23:26:58 - [LuxRays] HDR RGB (128bit) texture map size: 1024x512 (6144Kbytes) 2011-11-30 23:26:58 - [LuxRays] Using brute force infinite light sampling 2011-11-30 23:26:58 - [LuxRays] Preprocessing DataSet 2011-11-30 23:26:58 - [LuxRays] Total vertex count: 225621 2011-11-30 23:26:58 - [LuxRays] Total triangle count: 262028 2011-11-30 23:26:58 - [LuxRays] Total vertices memory usage: 2643Kbytes 2011-11-30 23:26:58 - [LuxRays] Total triangles memory usage: 3070Kbytes 2011-11-30 23:26:58 - [LuxRays] Building QBVH, primitives: 262028, initial nodes: 21837 2011-11-30 23:26:59 - [LuxRays] QBVH completed with 43861/87348 nodes 2011-11-30 23:26:59 - [LuxRays] Total QBVH memory usage: 4797Kbytes 2011-11-30 23:26:59 - [LuxRays] Total QBVH QuadTriangle count: 87621 2011-11-30 23:26:59 - [LuxRays] Creating 1 intersection device(s) 2011-11-30 23:26:59 - [LuxRays] Allocating intersection device 0: GeForce GTX 460 (Type = OPENCL) 2011-11-30 23:26:59 - [RenderConfig] OpenCL Devices used: 2011-11-30 23:26:59 - [RenderConfig] [GeForce GTX 460Intersect] 2011-11-30 23:26:59 - [RenderConfig] No Native thread device selected 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Ray buffer size: 2048Kbytes 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Ray hits buffer size: 1024Kbytes 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] QBVH kernel work group size: 512 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Suggested work group size: 512 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Forced work group size: 64 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] QBVH Image Storage kernel work group size: 512 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Suggested work group size: 512 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Forced work group size: 64 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Disable forced for QBVH scene storage inside image 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] QBVH buffer size: 4797Kbytes 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] QuadTriangle buffer size: 13690Kbytes 2011-11-30 23:26:59 - [RenderEngine] Found 1 OpenCL intersection devices for PathGPU render engine 2011-11-30 23:26:59 - [RenderEngine] WARNING: it is not possible to enable PathGPU OpenGL interoperability 2011-11-30 23:26:59 - [RenderEngine] Starting 1 PathGPU render threads 2011-11-30 23:26:59 - [LuxRays] [VirtualM2ODevice::VirtualM2OHDevice-000-GeForce GTX 460Intersect] Starting real device 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Rendering thread started 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Ray buffer size: 4096Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] RayHit buffer size: 2048Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] FrameBuffer buffer size: 4800Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] MeshIDs buffer size: 1023Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] OpenCL buffer creation time: 0ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Materials buffer size: 0Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Material translation time: 0ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Area lights translation time: 0ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Paths buffer size: 4608Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Mesh material index buffer size: 0Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Material indices translation time: 0ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] InfiniteLight buffer size: 6144Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Infinitelight translation time: 0ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Colors buffer size: 2643Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Normals buffer size: 2643Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Triangles buffer size: 3070Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Mesh information translation time: 4ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] TexMap buffer size: 6144Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] TexMap indices buffer size: 0Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Mesh texture maps index buffer size: 0Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] UVs buffer size: 1762Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Texture maps translation time: 5ms 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Camera buffer size: 0Kbytes 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Defined symbols: -D PARAM_STARTLINE=0 -D PARAM_PATH_COUNT=131072 -D PARAM_IMAGE_WIDTH=640 -D PARAM_IMAGE_HEIGHT=480 -D PARAM_RAY_EPSILON=1.000000e-04f -D PARAM_CLIP_YON=1.000000e+30f -D PARAM_CLIP_HITHER=1.000000e-03f -D PARAM_SEED=1322692 -D PARAM_MAX_PATH_DEPTH=8 -D PARAM_RR_DEPTH=5 -D PARAM_RR_CAP=7.500000e-01f -D PARAM_SAMPLE_PER_PIXEL=16 -D PARAM_ENABLE_MAT_MATTE -D PARAM_ENABLE_MAT_MIRROR -D PARAM_CAMERA_HAS_DOF -D PARAM_CAMERA_LENS_RADIUS=1.500000e-02f -D PARAM_CAMERA_FOCAL_DISTANCE=2.000000e+00f -D PARAM_HAVE_INFINITELIGHT -D PARAM_IL_GAIN_R=3.000000e+00f -D PARAM_IL_GAIN_G=3.000000e+00f -D PARAM_IL_GAIN_B=3.000000e+00f -D PARAM_IL_SHIFT_U=0.000000e+00f -D PARAM_IL_SHIFT_V=0.000000e+00f -D PARAM_IL_WIDTH=1024 -D PARAM_IL_HEIGHT=512 -D PARAM_HAS_TEXTUREMAPS -D PARAM_CAMERA_DYNAMIC 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] Compiling kernels 2011-11-30 23:26:59 - [RenderEngine] [PathGPURenderThread::0] PathGPU compilation error: Error getting function data from server 2011-11-30 23:26:59 - OpenCL ERROR: clBuildProgram(-11) 2011-11-30 23:26:59 - [LuxRays] [VirtualM2ODevice::VirtualM2OHDevice-001-GeForce GTX 460Intersect] Stopping real device 2011-11-30 23:26:59 - [LuxRays] [OpenCL device::GeForce GTX 460Intersect] Rendering thread halted Here is also the output from oclinfo - Last login: Wed Nov 30 23:02:28 on console mathews-mac-pro:~ mathewlear$ /Users/mathewlear/Downloads/oclinfo-0.2/oclinfo ; exit; 1 OpenCL platform found! [Platform 0] Name: Apple Vendor: Apple Version: OpenCL 1.1 (Jul 25 2011 15:56:07) Profile: FULL_PROFILE Extensions: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event [OpenCL-only Context] 2 OpenCL devices found! [Device 0] Name: Intel® Core i7 CPU 920 @ 2.67GHz Vendor: Intel Type: CPU Device Version: OpenCL 1.1 Driver Version: 1.1 Compute Units: 8 Work Group Size: 1024 Clock: 4000 MHz Global Memory (Total): 20480 MB Global Memory (Host): 20480 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: GeForce GTX 460 Vendor: NVIDIA Type: GPU Device Version: OpenCL 1.1 Driver Version: CLH 1.0 Compute Units: 14 Work Group Size: 1024 Clock: 0 MHz Global Memory: 768 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 [shared OpenCL+OpenGL Context] 2 OpenCL devices found! [Device 0] Name: GeForce GTX 460 Vendor: NVIDIA Type: GPU Device Version: OpenCL 1.1 Driver Version: CLH 1.0 Compute Units: 14 Work Group Size: 1024 Clock: 0 MHz Global Memory: 768 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 [Device 1] Name: Intel® Core i7 CPU 920 @ 2.67GHz Vendor: Intel Type: CPU Device Version: OpenCL 1.1 Driver Version: 1.1 Compute Units: 8 Work Group Size: 1024 Clock: 4000 MHz Global Memory (Total): 20480 MB Global Memory (Host): 20480 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 logout [Process completed] Link to comment https://www.insanelymac.com/forum/topic/272901-opencl-1072-11c74-gtx-460-768mb/ Share on other sites More sharing options...
bbeepp Posted December 1, 2011 Share Posted December 1, 2011 Enabling OpenCL for Fermi GF100 cards for Lion 10.7.2 11C43You need to patch this file: /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver Find EB A8 83 F8 02 7C 15 replace 02 with 03 to get EB A8 83 F8 03 7C 15 Find 78 E8 83 F8 02 7C 11 replace 02 with 03 to get 78 E8 83 F8 03 7C 11 Instructions taken from netkas site (third comment). http://netkas.org/?p=939 Link to comment https://www.insanelymac.com/forum/topic/272901-opencl-1072-11c74-gtx-460-768mb/#findComment-1774917 Share on other sites More sharing options...
badaxe2 Posted December 1, 2011 Author Share Posted December 1, 2011 Instructions taken from netkas site (third comment). http://netkas.org/?p=939 This has been done by the [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] patcher and I have checked with hex editor but still not working with LuxMark and OceanWave ????????? Link to comment https://www.insanelymac.com/forum/topic/272901-opencl-1072-11c74-gtx-460-768mb/#findComment-1774919 Share on other sites More sharing options...
Recommended Posts