Jump to content

OpenCL Problems (working LION)


  • Please log in to reply
24 replies to this topic

#1
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Hi,
if you would try some OpenCL Benchmarks, like OceanWave it would be fine.
I get not the correct OpenCL result with 10.8 DP1 + Nvidia 9600GT in OceanWave.
Also Luxmark works but not correct results.

For an first test you can use OceanWave:
http://www.insanelym...5

Nvidia 9600 GT = 89 fps


DL: OceanWave ML (10.8 only!)

Attached Files



#2
Blah101

Blah101

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
I have to fix my OpenCL before I test, then I will report back.

#3
bergoulle

bergoulle

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts
  • Gender:Male
With Oceanwave i m getting Failed to initialize OpenCL= mostly by OpenCL driver didnt know your gpu, like Fermi GTX.... which need to be patched TI
I have an AMD ATI 6850.

#4
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male

With Oceanwave i m getting Failed to initialize OpenCL= mostly by OpenCL driver didnt know your gpu, like Fermi GTX.... which need to be patched TI
I have an AMD ATI 6850.


I got this too =(

#5
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Thats not good and and other problem you find out.
To be more easy , please try the small OCLinfo tool ( in terminal), should show at least 2 OpenCL devices : 1 CPU and 1 GPU. If only 1 CPU is shown,
OpenCL on GPU wont work at all. That problem is different to my problem with wrong screen drawings.

Attached Files



#6
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
that's what it give to me

Attached Files



#7
bergoulle

bergoulle

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts
  • Gender:Male
Here the result

Attached Files



#8
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
OK, that (OCLinfo log) shows that OpenCL is available but in usage (OpenCL code) it fails with an error.
Apple will fix that soon / in next DPs i think. AMD made much more problems as Nvidia in the past with OpenCL, but Apple always fixed that later.
I also found out that, many changes in th eOpenGL API maybe the reason for the display glitches (running OceanWave on my Nvidia), so its not only an OpenCL problem, main prob was OpenGL which i get fixed by recompling unetr Xcode 4.4 & 10.8 SDK. Will upload soon an 10.8 Version of OcenWace - but that will not help in case of your OpenCL initilize error.

#9
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
so it's just that we can't test it but openCL is working, right?

#10
flip360

flip360

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Skopje
i have two devices shown with the OpenCLinfo tool, 1 CPU one GPU in 10.8 DP1 on my notebook (specs in sig)

#11
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany

so it's just that we can't test it but openCL is working, right?

No - you can test it but it may fail even its enabled. OpenCL Enabled doesnt mean the newer 10.8 DP1 OpenCL drivers work correct.
Also it may - in this stage of Dev Preview be very dependend from gpu type + gpu vendor.
For example the new OceanWave ML (10.8) Version works on my 9600 GT, on an GTX 460 (listed OK in OCLinfo) not, fails in OpenCL init section.
DL; first post

#12
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
the attached file give me the same things "ERROR: Failed to initialize OpenCL= mostly by OpenCL driver didnt know your gpu, like Fermi GTX.... which need to be patched"

#13
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Even if the OCLInfo tool - also OpenCL code works, it may happen than more complex OpenCL code may fail - like in OceanWave.
Maybe an bug in OpenCL or OceanWave may need code changes (from Apple) in deep.
because Luxmark also make some problems it think OpenCL App need some code changes.
Have someone else tried LuxMark V2.0 ?
I would recommend, because we know OceanWave make much probs, to try Luxmark V2.
Please compare the display of the scenes preview between gpu only and gpu + cpu. Should look 100% similar, otherwise, if the look very different, problem (like me).
http://www.luxrender...uxMark#Download

#14
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
i got this:
Posted Image

#15
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Yep, even if you dondt get Init or Build errors , like me, Luxmark will fail running 10.8
cmf investigated:

opencl works ootb on fermi , but apple seems to have removed the sm_20 code and hard setting it to 1.2 or 1.3 won't work either

MEANS: luxmark and all other programs that want to use more complex opencl stuff (like local memory atomics) will fail.

Thats the reason why less complex Code, like OCLInfo worked without any problem.

#16
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Great - i got (old) GALAXIES (OpenCL!) bench compiled for 10.7 + 10.8 - works with my Nvidia 9600 GT.
Info + Discuss + DL :
http://www.insanelym...howtopic=276190

#17
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
So just have to wait and see! Thx for your answer!

#18
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany

So just have to wait and see! Thx for your answer!

Did you test already the new galaxies build with your AMD ?
An GTX 460 got 421 Gigaflops with 10.8 - so at least some gpus (beside me) can do galaxies.

#19
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
it's working but i got only 62 gigaflops

#20
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
63 GigaFlops ? I get 114 GFlops with 9600 GT, Which GPU?
Perhaps some AGPM problem (gpu wont run at max MHz).





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