Jump to content
InsanelyMac Forum
Sign in to follow this  
mitch_de

OpenCL Problems (working LION)

Recommended Posts

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

OpenCL_OceanWave_ML.zip

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites

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 =(

Share this post


Link to post
Share on other sites

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.

oclinfo.zip

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

i have two devices shown with the OpenCLinfo tool, 1 CPU one GPU in 10.8 DP1 on my notebook (specs in sig)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
Share on other sites

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.net/wiki/LuxMark#Download

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Wow, much downgrade in speed for your 6870 , 616 Gflops 10.7 > 61 Gflops 10.8

My 9600 GT also went down, but less than 10%.

But 616 GFlops are great!

Share this post


Link to post
Share on other sites

yes that's a lot ^^ at the beginning of the test I was thinking that more than 200 was impossible xD

I have all reinstalled and i'll try again in a few mn. I'll let you know the results =)

 

edit:

so i got 555 =)

mini_591999Capturedcran20120220231544.png

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×