Jump to content

OpenCL Oceanwave & Bandwidth Bench - 07. March 2013

OpenCL AMD NVIDIA

  • Please log in to reply
343 replies to this topic

#81
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male

I added the RunMe script (MANY THANKS to the developer STLVNUB) into the zip (Download end of site 1).

This is just stop gap measure, you should be able to incorporate same thing into the actual program.
Have never been able to get it to run as it has the same error, and I don't use spaces.

Sample output:
-------------------------------------------------------------------------------
Multiple GPUs found
Using device[0] for compute: NVIDIA GeForce 9800 GT OpenCL 1.0
Using device[0] for rendering: NVIDIA GeForce 9800 GT OpenCL 1.0
-------------------------------------------------------------------------------
Connecting to NVIDIA GeForce 9800 GT...
-------------------------------------------------------------------------------
Building compute program...
-------------------------------------------------------------------------------
Building compute kernels...
OpenCL Build Warning : Compiler build log:
<program source>:213:5: warning: unused variable 'c'
fftKernel8(a+0, dir);
^
**about 20+ lines with similar errors**
Desktop/OpenCL_OceanWave-1/RunMe.command: line 4: 430 Illegal instruction: 4 ./OpenCL_OceanWave
logout

Any ideas??

#82
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
For me your script works.
Can you run ./OpenCL_OceanWave without the script or maybe same error, whoch means its not an problem of the script, OpenCL fails with your gpu for that bench in general.
Also it can be an problem of intructions for the cpu (used also of course) by some cpu features uses which your (older cpu type) didnt habve = illegal intruction. I will upload an other OpenCL_OceanWave compiled with less modern cpu features compile options.

#83
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male

For me your script works.
Can you run ./OpenCL_OceanWave without the script or maybe same error, whoch means its not an problem of the script, OpenCL fails with your gpu for that bench in general.

Either way, it doesn't work.
If i cd to the folder and ./OpenCL_OceanWave

it gives same errors except the RunMe bit of course

Just don't appear to run.

#84
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
OK , then its the Oceanwave app itself in conjunczion with your cpu type features (SSE3, SSE4,....).
I will compile an other version soon.

#85
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male

OK , then its the Oceanwave app itself in conjunczion with your cpu type features (SSE3, SSE4,....).
I will compile an other version soon.

Just downloaded source code, compiled and it works, problem with your build.

#86
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Try out that new build of mine (no SSE4, SSE3Ext features anymore) , also disabled multisamling (the only change to orig. Apple source).

Attached Files



#87
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male

Try out that new build of mine (no SSE4, SSE3Ext features anymore) , also disabled multisamling (the only change to orig. Apple source).

Bingo, that fixed it, but maybe other problem
edit, when moving window it freezes.
edit2: freezes when moving window in front of it too.
edit3: the one I compiled has no problems.

#88
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Ok, can you upload your unmodified build to use for all. Perhaps disabling multisampling has some negative side effect on some gpus. I have no freezes when i move the window.

#89
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,137 posts
  • Gender:Male

Ok, can you upload your unmodified build to use for all. Perhaps disabling multisampling has some negative side effect on some gpus. I have no freezes when i move the window.

Try running more than one, had three going here.
I've only compiled the sample code from apple, nothing special.

#90
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
I first used an version with no changes in the Apple Source.
This versuin runs at my 9600GT much slower, 79 fps (orig. Apple) vs 102 fps (no multisampling / glFlush).
I think you mean with freeze some display corruption and display problems for the fps stat text when moving the window around with the no multisampling version.
I add an glFlush OpenGL command in the sourcepart of the rendering (window with text) , so you can move the window now without or much less problems AND fps stays much higher than with orig. Apple source.
If you let run more than 1 OpenCL App, it is normal that the result can be bad or give errors because the gpu gets overloaded in in some cases.

I uploaded my new version (no multsamling, older cpu work, glflush for less problems) at page 1.

Attached Files



#91
quattrofx

quattrofx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:Vienna
Hi Mitch_de and OS-X Family!

GTX 285 Results:

Attached File  Ocean_Wave.png   378.64KB   45 downloads
Pause:
Attached File  OW_Pause.png   357.46KB   31 downloads

Cheers
QuattroFX

#92
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Thanks !
The 150 fps are not well readable in the rendering window - Title fps not affected.
Had you used lastest Version from today (always on end of page 1) ? Sometimes screenshoot slows FPS and/or make some disorted fps text.
Please try lastest (Page1) version with glFlush, which gives much less problems moving the window & i show FPS stats only in the window title.

For my tests, fullscreen screenshoot works much better than using area selectable (Mouse selectable) screenshoot, which does reduce FPS significant -at least on my C2D system.

For me the FPS rised from 101 FPS to 105 FPS (removed OpenGL text rendering in the window).
Compared to orig. Apple source an huge fps gain : 79 fps orig. vs 105 FPS no muiltisamling no fps Opengl rendering.
The slower the card the more diff between org. Apple source and no multisamling / no fps rendering, because more gpu power left to do the OpenCL (beside the OpenGL rendering of the waves & co).
The latest version also removes the irritating OpenCL compiler warnings from the terminal, only errors will be shown.

Attached Files



#93
jaymz60

jaymz60

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Gender:Male
  • Location:Upstate NY
Ran your test could not be any easier good work
Posted Image

#94
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
WOW - 546 FPS now with GTX 580 (no multi, no fps stats in the rendering window) - NR 1 :)

to all : If you have time please update (post) your fps with new version, if the new version (DL page 1 end) gives more than 10% diff to your "old" fps result.

#95
quattrofx

quattrofx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:Vienna
Hi Mitch_de,
Here are the new GTX 285 results:

Attached File  Ocean_Wave_1.png   205.16KB   12 downloads
Pause:
Attached File  Pause_1.png   206.51KB   10 downloads

slightly difference, as you sad.

Cheers
QuattroFX

#96
Badeendje

Badeendje

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 213 posts
Tested again with the updated drivers from the MBP package, going from 7.12.9 to 7.14.5, I got 1 fps more with my HIS 6870 with the old version. Here some results with the new version, a bit lower.

Normal mode:
Posted Image

Pause:
Posted Image

Old version for comparison with old screenshot:
Posted Image

#97
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Thanks. I think the AMD/ATI OpenCL Update is an bugfix and not effect speed.
Some AMD/ATI gpus had, even with 10.7.2 problems with some OpenCL functions, like the now waves bug with OceanWave. Maybe that updates helps to avoid such bugs. Nvidia OpenCL drivers seems to be some steps "in front" - less bugs and didnt got updated by this update.

#98
np_wski

np_wski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Location:Moscow, Russia
Hmm.. Don't know, maybe something wrong? I get this messages at terminal window:

np$ ./OpenCL_OceanWave
-------------------------------------------------------------------------------
Multiple GPUs found
Using device[0] for compute: NVIDIA GeForce GTX 580 OpenCL 1.1
Using device[0] for rendering: NVIDIA GeForce GTX 580 OpenCL 1.1
-------------------------------------------------------------------------------
Connecting to NVIDIA GeForce GTX 580...
-------------------------------------------------------------------------------
Building compute program...
-------------------------------------------------------------------------------
Building compute kernels...
OpenCL Build Warning : Compiler build log:
<program source>:213:5: warning: unused variable 'c'
fftKernel8(a+0, dir);
^
<program source>:61:9: note: instantiated from:
float2 c; \
^
<program source>:276:5: warning: unused variable 'c'
fftKernel8(a+0, dir);

[.. &ct]

With "OceanWave_NO_Multisampling_GlFlush" FPS varies from 400 to 600. It's shot of highest value.
Attached File  Shot_2011_11_09____13.59.16_crop.jpg   77.35KB   12 downloads

It's "OceanWave_NO_Multisampling", about 500fps:
Attached File  Shot_2011_11_09____14.29.02r1.jpg   48.57KB   6 downloads

slightly overclocked GTX-580 (MSI "Lightning")

#99
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Thanks!
FPS vary may happen by using screenshoot. Normally (without any other programm running / no mouse move) should be stable fps (+/- 5 fps in your case of 600).

The compiler warnings doesnt matter - i had removed them in the lasted version, should not shown anymore in the terminal window.
Please check first posting / DL.

PS:
Macs benched by robart / http://www.barefeats.com/index.html
On the 2010 Mac Pro hex-core 3.33GHz with Radeon HD 5870, I get 246 fps.
On the 2011 iMac quad-core 3.4GHz with Radeon HD 6970, I get 315 fps.
On the 'late 2011' MacBook Pro 2.5GHz with Radeon HD 6770, I get 143 fps.

iMac with 6970M performes very well !

#100
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
NEW:
I made an GUI app for oceanwave. DL first page .
- uses latest ocenwave console app
- has version info - more easy to see if you use latest version - now 1.0
- shows CPU+ GPU information
- can submit fps results (including CPU + GPU info) by mail after benchmarking
- shows max reached FPS after benchmarking
- has an buildin log and results tab (filled with already known FPS results)

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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