Logo by fractalwizz - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. April 20, 2024, 12:54:56 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: 1 2 [3]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Mandelbulber 1.21  (Read 10295 times)
0 Members and 1 Guest are viewing this topic.
Deagol
Forums Newbie
*
Posts: 5


« Reply #30 on: March 31, 2014, 11:05:37 PM »

Hi,
i'm trying to get Mandelbulber 1.21 with OpenCL to work on my Linux Mint mashine.
My package-manager tells me i have OpenCL 1.2 installed.
But that doesn't stop it from crashing with the following console output when I enable OpenCL and start rendering any Image:
Quote
************ Rendering frames *************
OpenCL rendering
OpenCL Platform number is: 1
OpenCL Platform is by: NVIDIA Corporation
nVidia OpenCL library is detected
OpenCL contexts created
OpenCL Number of compute units: 7
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 1024
OpenCL Max clock frequency  1620 MHz
OpenCL Memory size  1023 MB
OpenCL Max size of memory object allocation 255 MB
OpenCL Max constant buffer size  64 kB
OpenCL Constant buffer used  2 kB
OpenCL progHeader: #define INCLUDE_PATH_CL_DATA "/usr/share/mandelbulber/cl/mandelbulber_cl_data.h"
OpenCL Number of loaded sources 9
OpenCL build params:-w -cl-single-precision-constant -cl-denorms-are-zero
OpenCL Build log:   

OpenCL program built done
OpenCL kernel opened
OpenCL workgroup size: 512
OpenCL Job size: 3584
OpenCL buffers created
OpenCL command queue prepared
OpenCL Build log:   

OpenCL SSAO program built done
OpenCL SSAO kernel opened
OpenCL SSAO command queue prepared
OpenCL Build log:   

OpenCL DOF program built done
OpenCL DOF kernel opened
OpenCL DOF command queue prepared
mandelbulber-opencl: relocation error: mandelbulber-opencl: symbol clCreateImage, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link time reference
Any ideas how that could be resolved?  huh?


My graphics card is a Nvidia GeForce GTX 460  with "nvidia-304" driver enabled, in case that matters.
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #31 on: April 01, 2014, 06:10:08 PM »

My graphics card is a Nvidia GeForce GTX 460  with "nvidia-304" driver enabled, in case that matters.

@Deagol, try to update nVidia drivers. nvidia-304 is quite old. Actual version is 331. Upgrade could help.
Logged

Deagol
Forums Newbie
*
Posts: 5


« Reply #32 on: April 02, 2014, 10:21:03 PM »

Thanks for your reply.
I have updated the driver to 331.
But it still crashes with the exact same message sad :
Quote
mandelbulber-opencl: relocation error: mandelbulber-opencl: symbol clCreateImage, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link time reference
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #33 on: April 03, 2014, 06:06:05 AM »

Thanks for your reply.
I have updated the driver to 331.
But it still crashes with the exact same message sad :

Was this program, which you are testing, compiled by yourself? Or did you got from somewhere already compiled version. I'm asking because if you compile the program on your system where you have nVidia version of OpnCL lib then it should not ask about any version 2.0 functions (especially during run time)
Logged

Deagol
Forums Newbie
*
Posts: 5


« Reply #34 on: April 03, 2014, 02:50:09 PM »

Yes i compiled it myself.
But now that you ask, there were a few obstacles (recreated the scenario to document it here):
On the first time i tried to make it:
Quote
/usr/include/CL/cl.hpp:176:19: fatal error: GL/gl.h: No such file or directory
 #include <GL/gl.h>
After i searched the Internet, i found out, a package named "mesa-common-dev" delivers gl.h. So i installed it and i could compile mandelbuler-opencl without any complaints.
Then i installed it and ran it.
But now it crashes if i want to check the "OpenCl Enable" checkbox. :
Code:
Can't open application settings file: mandelbulber_ocl_settings
Will be used default settings
ERROR: cl::Platform::get (-1)
Custom formulas path: /home/gerrit/.mandelbulber/custom_ocl_formulas
ERROR: Can't open file:cl_engine_fast.cl (-1)
Rendering terminated
Quitting
I sadly forgot what i did to make that checkbox at least checkable.
Is it until here ok?
Again thanks for your efforts  embarrass
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #35 on: April 03, 2014, 07:18:33 PM »

Error:
Quote
ERROR: cl::Platform::get (-1)
means that the program can't initialize OpenCL lib at all. Check maybe you changed device type, platform index or device index parameters. If not, there is still some problem with OpenCL driver.
Check also if you have any file in /etc/OpenCL/vendors
Logged

Deagol
Forums Newbie
*
Posts: 5


« Reply #36 on: April 03, 2014, 08:52:51 PM »

Ok i guess we are getting closer.
I tried every combination of platform index and device index. Noting
But there doesn't seem to be a /etc/OpenCL directory, even though "opencl-headers", "ocl-icd-opencl-dev" and "ocl-icd-libopencl1" are installed.
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #37 on: April 03, 2014, 09:22:32 PM »

Ok i guess we are getting closer.
I tried every combination of platform index and device index. Noting
But there doesn't seem to be a /etc/OpenCL directory, even though "opencl-headers", "ocl-icd-opencl-dev" and "ocl-icd-libopencl1" are installed.

Try to do what is described here (http://amaisu.com/AranHase/2013/08/linux-mint-15-and-opencl-nvidia/) at the end of text (how to create /etc/OpenCL/vendors file). About year ago I had the same problem after re-installation of graphics driver. This small file was also missing.
Logged

Deagol
Forums Newbie
*
Posts: 5


« Reply #38 on: April 04, 2014, 12:05:02 AM »

Yay thanks. At least that bit is fixed cheesy
Mandelbulber still doesn't work for me though
Quote
OpenCL SSAO program built done
OpenCL SSAO kernel opened
OpenCL SSAO command queue prepared
OpenCL Build log:   

OpenCL DOF program built done
OpenCL DOF kernel opened
OpenCL DOF command queue prepared
Segmentation fault
Logged
Pages: 1 2 [3]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber 0.80 Mandelbulber Buddhi 5 8244 Last post June 27, 2010, 05:30:54 PM
by knighty
Mandelbulber 0.85 Mandelbulber Buddhi 6 4996 Last post July 25, 2010, 10:00:13 PM
by kram1032
Mandelbulber 0.93 Mandelbulber Buddhi 12 6372 Last post October 17, 2010, 03:19:15 PM
by Buddhi
mandelbulber Help & Support ramblerette 1 1047 Last post October 18, 2010, 02:56:02 PM
by ramblerette
Mandelbulber 0.94 Mandelbulber « 1 2 » Buddhi 15 10597 Last post October 24, 2010, 09:36:01 AM
by Buddhi

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.193 seconds with 26 queries. (Pretty URLs adds 0.011s, 2q)