Jump to content
InsanelyMac Forum
mitch_de

OpenCL Oceanwave Bench and (new) CompuBench CL

Recommended Posts

Ask other ATI/AMD 6870 users which kind of injection (chameleon, ATI INIT,...) they use.

I don't use any injection, the 6870 Reference card works out of the box, with me at least.

Share this post


Link to post
Share on other sites
Advertisement

Not compiled correctly for Fermi?

 

Guy in OpenCl Fix thread says he fixed your binary and got 329 fps with 480GTX

 

Since my GTX480 is getting 16fps still while doing quite well in the Luxmark 1.0 bench, so clearly issue is with the app.

 

Look forward to getting accurate results.

 

I have 1 of most Fermi cards so can provide quite a bit of info once this is fixed.

Share this post


Link to post
Share on other sites

If some OpenCL app works , like luxmark, it doesn't mean all OpenCL Code may work on some gnu type.

Its not an problem of the OpenCL code (comes from Apple) the problem is in the OpenCL framework / driver which compiles

the OpenCL code each run for the found gnu type.

Same as said before: Ome of that reason most software didn't use OprnCL or use only more uncomlex code.

Same happens to kuxmark at the beginning - working or not also depends from gnu type and driver versions at same OpenCL code source.

Don't worry if some of the OpenCL apps may fail . will be fixed by Apple in the further.

Share this post


Link to post
Share on other sites

Failed to compile, probably me doing some thing wrong :)

Multiple GPUs found
Using device[0] for compute: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
Using device[0] for rendering: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
-------------------------------------------------------------------------------
Connecting to NVIDIA GeForce 8800 GTS 512...
-------------------------------------------------------------------------------
Building compute program...
-------------------------------------------------------------------------------
Building compute kernels...
OpenCL Build Warning : Compiler build log:
:213:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:276:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:339:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:192:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:192:18: warning: unused variable 'indexIn'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                ^
:192:27: warning: unused variable 'indexOut'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                         ^
:192:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:192:44: warning: unused variable 'tid'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                          ^
:192:49: warning: unused variable 'bNum'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                               ^
:192:55: warning: unused variable 'xNum'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                     ^
:192:61: warning: unused variable 'k'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                           ^
:192:64: warning: unused variable 'l'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                              ^
:193:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:195:22: warning: unused variable 'ang1'
   float ang, angf, ang1;
                    ^
:506:1: warning: unused variable 'c'
fftKernel8(a + 0, dir);
^
:61:9: note: instantiated from:
       float2 c; \
              ^
:507:1: warning: unused variable 'c'
fftKernel8(a + 8, dir);
^
:61:9: note: instantiated from:
       float2 c; \
              ^
:352:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:352:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:353:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:353:12: warning: unused variable 'ii'
   int s, ii, jj, offset;
          ^
:353:16: warning: unused variable 'jj'
   int s, ii, jj, offset;
              ^
:353:20: warning: unused variable 'offset'
   int s, ii, jj, offset;
                  ^
:355:16: warning: unused variable 'angf'
   float ang, angf, ang1;
              ^
:580:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:580:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:580:61: warning: unused variable 'k'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                           ^
:580:64: warning: unused variable 'l'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                              ^
:581:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:581:12: warning: unused variable 'ii'
   int s, ii, jj, offset;
          ^
:581:16: warning: unused variable 'jj'
   int s, ii, jj, offset;
              ^
:581:20: warning: unused variable 'offset'
   int s, ii, jj, offset;
                  ^
:582:12: warning: unused variable 'w'
   float2 w;
          ^
:583:11: warning: unused variable 'ang'
   float ang, angf, ang1;
         ^
:583:16: warning: unused variable 'angf'
   float ang, angf, ang1;
              ^
:583:22: warning: unused variable 'ang1'
   float ang, angf, ang1;
                    ^
:584:20: warning: unused variable 'lMemStore'
   __local float *lMemStore, *lMemLoad;
                  ^
:584:32: warning: unused variable 'lMemLoad'
   __local float *lMemStore, *lMemLoad;
Illegal instruction: 4

Share this post


Link to post
Share on other sites
OS: 10.7.1

Card: EVGA GTX 460 SC with patched GeForceGLDriver & libclh.dylib

 

167.16 fps

 

30530337.th.png

 

THANKS.

Perhaps it would help others if you can tell them what files need to get patched (overwritten) and make an download with that file set.

Share this post


Link to post
Share on other sites
Failed to compile, probably me doing some thing wrong :D
Multiple GPUs found
Using device[0] for compute: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
Using device[0] for rendering: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
-------------------------------------------------------------------------------
Connecting to NVIDIA GeForce 8800 GTS 512...
-------------------------------------------------------------------------------
Building compute program...
-------------------------------------------------------------------------------
Building compute kernels...
OpenCL Build Warning : Compiler build log:

Illegal instruction: 4

 

You may try same Source little different Compiler Options, but i think that will not help with some gpus.

FPS may be little different because main App (affected by the compiler settings) which communicates with the gnu/opencl runs little

different speed by the changed compiler settings.

 

OceanWave_V2 (different compiler settings, same source):

V2.zip

Share this post


Link to post
Share on other sites

Sorry mitch_de V2 did not work for me also

 

Does it make a difference if I have Xcode 3.2.6 installed, had some problems installing latest version of Xcode?

 

Multiple GPUs found
Using device[0] for compute: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
Using device[0] for rendering: NVIDIA GeForce 8800 GTS 512 OpenCL 1.0 
-------------------------------------------------------------------------------
Connecting to NVIDIA GeForce 8800 GTS 512...
-------------------------------------------------------------------------------
Building compute program...
-------------------------------------------------------------------------------
Building compute kernels...
OpenCL Build Warning : Compiler build log:
:213:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:276:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:339:5: warning: unused variable 'c'
   fftKernel8(a+0, dir);
   ^
:61:9: note: instantiated from:
       float2 c; \
              ^
:192:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:192:18: warning: unused variable 'indexIn'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                ^
:192:27: warning: unused variable 'indexOut'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                         ^
:192:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:192:44: warning: unused variable 'tid'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                          ^
:192:49: warning: unused variable 'bNum'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                               ^
:192:55: warning: unused variable 'xNum'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                     ^
:192:61: warning: unused variable 'k'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                           ^
:192:64: warning: unused variable 'l'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                              ^
:193:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:195:22: warning: unused variable 'ang1'
   float ang, angf, ang1;
                    ^
:506:1: warning: unused variable 'c'
fftKernel8(a + 0, dir);
^
:61:9: note: instantiated from:
       float2 c; \
              ^
:507:1: warning: unused variable 'c'
fftKernel8(a + 8, dir);
^
:61:9: note: instantiated from:
       float2 c; \
              ^
:352:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:352:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:353:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:353:12: warning: unused variable 'ii'
   int s, ii, jj, offset;
          ^
:353:16: warning: unused variable 'jj'
   int s, ii, jj, offset;
              ^
:353:20: warning: unused variable 'offset'
   int s, ii, jj, offset;
                  ^
:355:16: warning: unused variable 'angf'
   float ang, angf, ang1;
              ^
:580:15: warning: unused variable 'r'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
             ^
:580:37: warning: unused variable 'index'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                   ^
:580:61: warning: unused variable 'k'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                           ^
:580:64: warning: unused variable 'l'
   int i, j, r, indexIn, indexOut, index, tid, bNum, xNum, k, l;
                                                              ^
:581:9: warning: unused variable 's'
   int s, ii, jj, offset;
       ^
:581:12: warning: unused variable 'ii'
   int s, ii, jj, offset;
          ^
:581:16: warning: unused variable 'jj'
   int s, ii, jj, offset;
              ^
:581:20: warning: unused variable 'offset'
   int s, ii, jj, offset;
                  ^
:582:12: warning: unused variable 'w'
   float2 w;
          ^
:583:11: warning: unused variable 'ang'
   float ang, angf, ang1;
         ^
:583:16: warning: unused variable 'angf'
   float ang, angf, ang1;
              ^
:583:22: warning: unused variable 'ang1'
   float ang, angf, ang1;
                    ^
:584:20: warning: unused variable 'lMemStore'
   __local float *lMemStore, *lMemLoad;
                  ^
:584:32: warning: unused variable 'lMemLoad'
   __local float *lMemStore, *lMemLoad;
                              ^


Illegal instruction: 4

Share this post


Link to post
Share on other sites

http://netkas.org/?p=939

Hex edit /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver

 

Search this:

78 E8 83 F8 02 7C 11

replace with this:

78 E8 83 F8 03 7C 11

 

http://www.insanelymac.com/forum/index.php?showtopic=266318

Hex edit /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib

 

Search this:

8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02

replace with this:

31 C0 FF C0 89 06 FF C0 FF C0 89 02 90 90 90 90

 

Credits: netkas & Parsifal & cmf

 

Don't forget to repair permissions!

Share this post


Link to post
Share on other sites

NEW: NO MULTISAMLING version available.

more OpenCL speed related, less OpenGL load for the gnu.

i , 9600 GT, get now 103 fps (94 fps multisampling).

You can press space key to pause which avoids updating OpenGL - even more OpenCL gnu compute fps.

i get 223 FPS in pause mode.

 

DL for the no multisampling version added.

Would be nice if you tell / update your fps values run/pause again with that no multisampling version.

Share this post


Link to post
Share on other sites

OS - 10.7.1

Card - Palit Radeon 4870 1GB Sonic non-reference

Framebuffer - ATY,RadeonFrameBuffer

 

no multisampling

 

Run - 7,3 sec / 138 fps

Pause - 1,5 sec / 670 fps

Share this post


Link to post
Share on other sites

Thanks !

My CPU has very less cpu % load when running that OpenCL bench. C2D less than 15% overall.

Good, because we be safe to measure more gnu than cpu.

WHats your CPU% load when running the bench? Should also be less 20%, otherwise some problem.

Share this post


Link to post
Share on other sites
I'm facing this error.

Connecting to NVIDIA GeForce GTX 480...

Error opening file compute_kernels.cl

Segmentation fault: 11

 

What am i doing wrong here?

THat kind of error, Error opening + segmentation fault 11 tell us:

App started but some files missed because working path isn't the folder which contains app + needed files.

Double click the app starts it but MUST fail.

First start the terminal and then change directory to the unzipped folder by cd (drag & drop folder in terminal) ENTER

Then drag & Drop the app also in terminal ENTER

Share this post


Link to post
Share on other sites
THat kind of error, Error opening + segmentation fault 11 tell us:

App started but some files missed because working path isn't the folder which contains app + needed files.

Double click the app starts it but MUST fail.

First start the terminal and then change directory to the unzipped folder by cd (drag & drop folder in terminal) ENTER

Then drag & Drop the app also in terminal ENTER

 

oceangu.jpg

Share this post


Link to post
Share on other sites
400 FPS

THanks.

You posted your GPU NVIDIA GeForce GTX 480 before. But are the 400 fps in normal mode or after pressing space = pause?

 

After some no multisampling results we can see that nvidia gpus have more speed win compared to the multisampling results as the ati typegpus.

Share this post


Link to post
Share on other sites

The post on top was my first post. I finally got it to work

 

400 FPS in normal mode

800 FPS in pause mode

 

Looks like the openCL on my machine is working fine however Main Stage 2.13 is crashing whenever I load up a template and crash reports points to geforcegldriver. Dudes in discussion.apple.com says it has something to do with opencl.

 

Been busting my head trying to get it not to crash upon loading a template but no luck so far.

 

480run.th.jpg

 

480paused.th.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



×