Welcome to Fractal Forums

Fractal Software => Releases => Topic started by: Buddhi on September 15, 2013, 08:01:29 PM




Title: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 15, 2013, 08:01:29 PM
Mandelbulber 1.17

Open source program (GNU GPL) for rendering photo-realistic 3D fractals
Free download (executables and source): http://sourceforge.net/projects/mandelbulber/
Website:       http://www.mandelbulber.com/
User manual: http://wiki.mandelbulber.com/index.php?title=User_Manual

New features in version 1.17:

- OpenCL kernel rewritten from the beginning (about 1300 lines of OpenCL code). Now are implemented most of all shaders including raytraced reflections and volumetric effects. Renders looks almost the same like for CPU version
   remark: OpenCL version is now available only for Linux. However today I have successfully compiled it and run win32. In few days I will try to release also win32 openCl version.
- some small bug fixes (e.g. NetRender works also with tiles)
- implemented HDR filter

SVN repository: http://mandelbulber.googlecode.com/svn/trunk/
This repository is available from Google Code: http://code.google.com/p/mandelbulber/


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 15, 2013, 08:47:37 PM
About HDR filter. It is in Image tab -> Image adjustments
It reduces saturation of the brightest areas of image. If you look at attached example you will see what it gives.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: hobold on September 15, 2013, 10:55:47 PM
The fractal GPU revolution has begun, thanks to you. :)


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on September 15, 2013, 11:01:58 PM
can't wait to get my hands on...

Tanks a lot!  :D


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 17, 2013, 07:39:17 PM
Mandelbulber-OpenCL is now available also for Windows!
I have just uploaded it into SourceForge (http://sourceforge.net/projects/mandelbulber/)

It was tested with AMD graphics card on Windows Vista 64-bit (application is 32-bit). I haven't tested it with nVidia yet (and I have no possibility). I hope it will work also even if I used OpenCL library delivered by AMD. If not, I will try to create separate version for nVidia cards.

Note: I forgot to mention that not all fractal formulas are implemented yet. Now works Mandelbulb, Mandelbox, IFS, Menges Sponge, Quaternion, Hypercomplex. Hybryd formulas doesn't work also. I will try to implement more in next versions. Maybe will be also possibility to use user defined formulas. But this is a future.

Any feedback how it woks now will be appreciated

Let heat your rooms with Mandelbulber! (my GPU reaches 75 Celsius degrees)


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Syntopia on September 17, 2013, 09:47:46 PM
I tried the OpenCL mode on my quite dated Nvidia Geforce 310M, but it crashed: When I click the "OpenCL Enable" checkbox, the program shuts down. The "OpenCL information" tab is empty?

GPU Shark lists the following info: OpenCL OpenCL 1.1 CUDA 4.2.1 FULL_PROFILE


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Syntopia on September 17, 2013, 10:08:18 PM
I realized that I could see some more information when running from a command prompt.

First I got this:
Code:
Build params: -w -I"C:\Program Files (x86)\Mandelbulber/cl"
OpenCL Build log:       Error in processing command line: Don't understand command line argument "Files"!
ERROR: Program::build() (-11)

which I think looks like an error when running from a directory containing space (it parses "Files" as an argument).

But after I moved to a new (spaceless) location, I got a new error:
Code:
Build params: -w -I"E:\Mandelbulber/cl"
OpenCL Build log:       :9:10: fatal error: 'mandelbulber_cl_data.h' file not found
#include "mandelbulber_cl_data.h"
         ^
ERROR: Program::build() (-11)

I can see that the file "mandelbulber_cl_data.h" is present in stated include directory ("E:\Mandelbulber/cl")

Update:

After hardcoding the filepath in "cl_engine_fast.cl" to:
#include "E:\m2\cl\mandelbulber_cl_data.h"

I got a little further. But now I get this:

Code:
OpenCL rendering
Ambient occlusion counter 108
OpenCL Platform number is: 1
OpenCL Platform is by: NVIDIA Corporation
OpenCL contexts created
OpenCL Number of compute units: 2
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 512
OpenCL Max clock frequency  1530 MHz
OpenCL Memory size  0 MB
OpenCL Max constant buffer size  0 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
Build params: -w -I"E:\m2/cl"
OpenCL Build log:

OpenCL program built done
OpenCL kernel opened
OpenCL workgroup size: 320
OpenCL Job size: 640
reflectBuffer size = 614400OpenCL buffers created
OpenCL command queue prepared
ERROR: ComamndQueue::enqueueNDRangeKernel() (-4)



Title: Re: Mandelbulber 1.17 - OpenCL
Post by: quaz0r on September 18, 2013, 12:50:19 AM
I hope it will work also even if I used OpenCL library delivered by AMD. If not, I will try to create separate version for nVidia cards.

Im not sure how necessary it is or how hard it is to integrate into your code but this sort of thing is supposed to solve this issue so you dont have to link with a vendor specific library:  https://code.google.com/p/clew/


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: daed on September 18, 2013, 03:54:18 AM
I'm having difficulty compiling this.

Code:
Building file: ../src/Render3D.cpp
Invoking: GCC C++ Compiler
g++ -DCLSUPPORT -O3 -ffast-math -Wall -c -fmessage-length=0 `pkg-config --cflags gtk+-2.0 gthread-2.0;` -MMD -MP -MF"src/Render3D.d" -MT"src/Render3D.d"   -o"src/Render3D.o" "../src/Render3D.cpp"
In file included from ../src/cl_support.hpp:18:0,
                 from ../src/Render3D.h:15,
                 from ../src/Render3D.cpp:29:
/usr/include/CL/cl.hpp: In function ‘cl_int cl::UnloadCompiler()’:
/usr/include/CL/cl.hpp:1606:12: error: ‘::clUnloadCompiler’ has not been declared
/usr/include/CL/cl.hpp: In constructor ‘cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t, void*, cl_int*)’:
/usr/include/CL/cl.hpp:2365:19: error: ‘::clCreateImage2D’ has not been declared
/usr/include/CL/cl.hpp: In constructor ‘cl::Image2DGL::Image2DGL(const cl::Context&, cl_mem_flags, GLenum, GLint, GLuint, cl_int*)’:
/usr/include/CL/cl.hpp:2410:19: error: ‘::clCreateFromGLTexture2D’ has not been declared
/usr/include/CL/cl.hpp: In constructor ‘cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t, size_t, size_t, void*, cl_int*)’:
/usr/include/CL/cl.hpp:2464:19: error: ‘::clCreateImage3D’ has not been declared
/usr/include/CL/cl.hpp: In constructor ‘cl::Image3DGL::Image3DGL(const cl::Context&, cl_mem_flags, GLenum, GLint, GLuint, cl_int*)’:
/usr/include/CL/cl.hpp:2510:19: error: ‘::clCreateFromGLTexture3D’ has not been declared
/usr/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueMarker(cl::Event*) const’:
/usr/include/CL/cl.hpp:3745:13: error: ‘::clEnqueueMarker’ has not been declared
/usr/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vector<cl::Event>&) const’:
/usr/include/CL/cl.hpp:3752:13: error: ‘::clEnqueueWaitForEvents’ has not been declared
/usr/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueBarrier() const’:
/usr/include/CL/cl.hpp:3867:13: error: ‘::clEnqueueBarrier’ has not been declared
../src/Render3D.cpp: In function ‘void Render(sParamRender, cImage*, GtkWidget*)’:
../src/Render3D.cpp:821:17: warning: ‘GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead [-Wdeprecated-declarations]
../src/Render3D.cpp:821:90: warning: ‘GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead [-Wdeprecated-declarations]
../src/Render3D.cpp: In function ‘int main(int, char**)’:
../src/Render3D.cpp:1309:3: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
../src/Render3D.cpp:1309:21: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
make: *** [src/Render3D.o] Error 1

 :'(


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: quaz0r on September 18, 2013, 04:32:54 AM
I'm having difficulty compiling this.

Try building it with -DCL_USE_DEPRECATED_OPENCL_1_1_APIS


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 18, 2013, 07:05:25 AM
Looks bad!
Starting from Syntopia case. Error -4 means GPU memory allocation error. There could be two reasons of this:
- not up-to-date graphics drivers - I see that your system supports OpenCL 1.1.The program was prepared with version 1.2
- your gfx card doesn't support enough constants or private memory.
I will prepare version which will display more debugging information

quaz0r - I will look at clew

daed: on which OS you tried to compile this?

By the way I have to find some machine with Windows and nVidia. Even remote access could be enough
I supposed that there will be problems with nVidia cards because they have worse support for OpenCl. nVidia tries to promote CUDA



Title: Re: Mandelbulber 1.17 - OpenCL
Post by: daed on September 18, 2013, 07:30:06 AM
Hmm... well, it compiled (warnings aside, as I know that's a side effect of using that flag), but:

It crashed when I checked the "OpenCL Enable" box.

Code:
daed@daed-studio:~/downloads/mandelbulber-opencl-1.17/makefiles$ ./mandelbulber-opencl
Log file: /home/daed/.mandelbulber_log.txt
Detected 4 CPUs
Memory allocated
g_thread already initialised or not supported
Default data directory: /home/daed/.mandelbulber
Undo status: count=98, last=1891, level=1891
Default settings loaded successfully (/usr/share/mandelbulber/examples/default.fract)
ERROR: cl::Platform::get (-1)

The OS I'm compiling it on is Crunchbang Linux "Waldorf"

I have an nvidia GTX 650 ti, if it makes any difference.....


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on September 18, 2013, 01:32:33 PM
on my a bit aged radeon 5770 it also crashes, when activating opencl mode. the driver is up to date version 13.4 on win 7

Running from command-prompt mines the following info

Code:
Detected 6 CPUs
Memory allocated
g_thread already initialised or not supported
Default data directory: C:\Users\<user>/mandelbulber
Undo status: count=98, last=52966, level=52966
Default settings loaded successfully (c:\Program Files (x86)\Mandelbulber/exampl
es/default.fract)
OpenCL Platform number is: 1
OpenCL Platform is by: Advanced Micro Devices, Inc.
OpenCL contexts created
OpenCL Number of compute units: 10
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 256
OpenCL Max clock frequency  850 MHz
OpenCL Memory size  0 MB
OpenCL Max constant buffer size  0 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
Build params: -w -I"c:\Program Files (x86)\Mandelbulber/cl"
OpenCL Build log:       "C:\Users\<user>\AppData\Local\Temp\OCL7266.tmp.cl", lin
e 292: error:
          identifier "M_PI" is undefined
                                cos(consts->params.mainLightAlfa - 0.5f * M_PI)
* cos(-consts->params.mainLightBeta),
                                                                          ^

1 error detected in the compilation of "C:\Users\<user>\AppData\Local\Temp\OCL72
66.tmp.cl".

Frontend phase failed compilation.

ERROR: Program::build() (-11)

>>edit clinfo command shows that 'puter should be opencl 1.2 ready

Code:
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 1.2 AMD-APP (1124.2)
  Platform Name:                                 AMD Accelerated Parallel Proces
sing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callbac
k cl_amd_offline_devices cl_khr_d3d10_sharing cl_khr_d3d11_sharing


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: cbuchner1 on September 18, 2013, 05:15:57 PM

Ouch! nVidia cards are stuck at OpenCL feature level 1.1

How many of the 1.2 features are you actually using?


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: quaz0r on September 18, 2013, 06:34:44 PM
i have an nvidia 550 running gentoo and the official nvidia drivers, mandelbulber opencl builds and runs ok for me.  seems like the binary distributions that everybody runs tend to cause headaches for people any time they try building anything from source, shrug


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 18, 2013, 07:48:12 PM
taurus: Probably I found solution for your case. M_PI constant is undefined because your GFX card doesn't support double precision floating point numbers. This is my fault, because I didn't realized that I should use everywhere M_PI_F which is float type equivalent. Can you try for me to change all occurrences in opencl code from M_PI to M_PI_F?




Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 18, 2013, 07:53:22 PM
The OS I'm compiling it on is Crunchbang Linux "Waldorf"

I have an nvidia GTX 650 ti, if it makes any difference.....

The program can't detect GPU card with OpenCL capabilities at all. Which driver for GFX you have installed? Is it proprietary driver or some open source like nouveau? Are you able to run any other OpenCL software?


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 18, 2013, 08:27:45 PM
If anybody has problems with OpenCL please send me complete output of clinfo command. This will be very helpful for me.
Here is example of output from my system:

Code:
>clinfo
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 1.2 AMD-APP (1124.2)
  Platform Name:                                 AMD Accelerated Parallel Proces
sing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callbac
k cl_amd_offline_devices cl_khr_d3d10_sharing cl_khr_d3d11_sharing


  Platform Name:                                 AMD Accelerated Parallel Proces
sing
Number of devices:                               2
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Device ID:                                     4098
  Board name:                                    AMD Radeon HD 7800 Series
  Max compute units:                             16
  Max work items dimensions:                     3
    Max work items[0]:                           256
    Max work items[1]:                           256
    Max work items[2]:                           256
  Max work group size:                           256
  Preferred vector width char:                   4
  Preferred vector width short:                  2
  Preferred vector width int:                    1
  Preferred vector width long:                   1
  Preferred vector width float:                  1
  Preferred vector width double:                 1
  Native vector width char:                      4
  Native vector width short:                     2
  Native vector width int:                       1
  Native vector width long:                      1
  Native vector width float:                     1
  Native vector width double:                    1
  Max clock frequency:                           860Mhz
  Address bits:                                  32
  Max memory allocation:                         536870912
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            16384
  Max image 2D height:                           16384
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              2048
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    16384
  Global memory size:                            2147483648
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             32768
  Kernel Preferred work group size multiple:     64
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue properties:
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   000007FEE6802FF8
  Name:                                          Pitcairn
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 1.2
  Driver version:                                1124.2 (VM)
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.2 AMD-APP (1124.2)
  Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_
global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int3
2_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_
khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store
cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd
_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d1
0_sharing cl_amd_c1x_atomics


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on September 18, 2013, 10:06:21 PM
Can you try for me to change all occurrences in opencl code from M_PI to M_PI_F?


Yesss, it works! Thank you. I tried all three modes and they worked.

For those who are interested: easy to make with a batch replacement-Tool (like far - find and replace), but you need to be careful. Replacing every M_PI with M_PI_F makes all the used M_PI_Fs to M_PI_F_Fs, so you need to revert them in a second batch to M_PI_F.

Great job Buddhi! :horsie:


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Syntopia on September 18, 2013, 10:44:38 PM
I managed to get the OpenCL version running on my Windows machine, after upgrading to the latest Nvidia 326.80 Beta drivers.
This is still a OpenCL 1.1 implementation, so apparently 1.2 features are not necessary.

I still have the original problem with the include paths - I have to hardcode those in the shaders. One thing I noticed, is that the path separator is a slash, instead of a Windows backslash separator. Perhaps the Nvidia compiler is more picky about this?
Code:
 
Build params: -w -I"E:\m2/cl"

One of the engines (the cl_engine.cl) has the following pragma, which makes Mandelbulber crash for me:
Code:
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
After removing it, it seems to works. The pragma is not present in the other cl_engine's.

Once in while (not reproducible), Mandelbulber crashes, with the following error:
Code:
ERROR: Context::Context() (-2)

If I enable Depth of Field, the rendering becomes very slow: an image taking 25s on the CPU, now takes more like 25 minutes on the GPU (I stopped it before finishing). I guess your are switching to DOF using multiple samples on the GPU?

Finally, there seems to be some artifacts (overstepping) when rendering Fast and Normal modes. But full looks close to CPU version.

I have attached an image with some rendering examples and the rendering time (at 800x600).  As can be seen the 'Full' renderer is not much faster than CPU rendering, but my graphics card (a 310M) is also a low-end card, several generations old. On Fragmentarium, with the standard DE-raytracer, a 800x600 a Mandelbulb renders around 0.15s (Fast-raytracer.frag) or 0.3s (DE-raytracer.frag), but that does not say much since the algorithms are not the same.



Title: Re: Mandelbulber 1.17 - OpenCL
Post by: daed on September 19, 2013, 12:24:04 AM
The program can't detect GPU card with OpenCL capabilities at all. Which driver for GFX you have installed? Is it proprietary driver or some open source like nouveau? Are you able to run any other OpenCL software?

Interesting. I'm unable to run "clinfo", so clearly I'm missing something vital in my configuration.

I'll get back to the thread when I've figured out what I'm doing wrong in setting up opencl.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on September 19, 2013, 01:07:38 AM
Just some issues I encoutered. I'll continue in "bug reporting" if necessary.
fish eye cameras are only available in full shader opencl and cpu rendering. the "small" opencl modes display a three point projection.
scaling the timeline window freezes the whole program, regardless of rendering mode. not fully reproducible. sometimes you can get out by alt+tab process change, but scaling again will freeze again.
Didn't investigate further, 'cause I wanted to do something productive :dink:

All in all a great improvement. Even my 3 year old budget card brings a significant performance push up and the quality is amazing (while pretty different to cpu renderer in some cases).
Thanks again for that great program ;D


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on September 19, 2013, 12:58:48 PM
I know it's not the standard approach, but this example shows the difference in palette handling. rendered with identical settings - custom palette color speed 100

>edit
seems opencl ignores mandelbox coloring parameters...


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 19, 2013, 07:14:29 PM
Yesss, it works! Thank you. I tried all three modes and they worked.

Thanks! This is great information! I will fix M_PI constants problem in the code

I still have the original problem with the include paths - I have to hardcode those in the shaders. One thing I noticed, is that the path separator is a slash, instead of a Windows backslash separator. Perhaps the Nvidia compiler is more picky about this?

I will make to use only "\" for Windows version. This could be a reason why it ignores path for includes

One of the engines (the cl_engine.cl) has the following pragma, which makes Mandelbulber crash for me:
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
After removing it, it seems to works. The pragma is not present in the other cl_engine's.
I left it in the code by mistake. I will remove it at all

Once in while (not reproducible), Mandelbulber crashes, with the following error:
ERROR: Context::Context() (-2)

This error means CL_DEVICE_NOT_AVAILABLE. This is strange.

If I enable Depth of Field, the rendering becomes very slow: an image taking 25s on the CPU, now takes more like 25 minutes on the GPU (I stopped it before finishing). I guess your are switching to DOF using multiple samples on the GPU?
You are right. GPU renders DOF using multiple samples. Now only this mode is available. On fast GPUs rendering time is acceptable and rendering effect is worth to wait. Here is an example: http://krzysztofmarczak.deviantart.com/art/Mandelbox-rendered-with-OpenCL-engine-392452343

Finally, there seems to be some artifacts (overstepping) when rendering Fast and Normal modes. But full looks close to CPU version.
Fast and normal modes uses simplified algorithms that's why quality is lower.

I have attached an image with some rendering examples and the rendering time (at 800x600).  As can be seen the 'Full' renderer is not much faster than CPU rendering, but my graphics card (a 310M) is also a low-end card, several generations old. On Fragmentarium, with the standard DE-raytracer, a 800x600 a Mandelbulb renders around 0.15s (Fast-raytracer.frag) or 0.3s (DE-raytracer.frag), but that does not say much since the algorithms are not the same.
This is for investigation. I tested it on nVidia GeForce 9600GT (on Linux), which is not so new. Results were much better: 0.8s in fast mode and 3s in full shaders. When you checked rendering time was this a time of first render (including kernel compiling time)? If you start render first time it takes much longer than second time. It is also possible that I used some instructions in the code which are executed very slow on older cards. Is the code of Fragmentarium available to look inside? Maybe when I compare the code I will find some way to optimize my code.
On my ATI Radeon 7800 it takes 0.22s in all shaders mode and 0.085s in fast mode.

I know it's not the standard approach, but this example shows the difference in palette handling. rendered with identical settings - custom palette color speed 100
>edit
seems opencl ignores mandelbox coloring parameters...

It is because for Mandelbox I had to use diffent code in OpenCL program. The function which is in CPU version worked terribly slow on GPU (too many conditions). I use optimized version (in bold is what was changed). There was no way to use the same coloring algorithm. However I'm planning to implement also full Mandelbox formula.

Mandelbox code:      
               
                 int3 cond1, cond2;
      
      cond1 = isgreater(z, foldingLimit);
      cond2 = isless(z, -foldingLimit);
      z = select(z,  foldingValue - z, cond1);
      z = select(z,  -foldingValue - z, cond2);

      
      float rr = dot(z,z);
      float m = scale;
      if (rr < mr2)   m = native_divide(scale, mr2);
      else if (rr < fr2)   m = native_divide(scale,rr);
      
      z = Matrix33MulFloat3(consts->fractal.mandelbox.mainRot, z);
      
      z = z * m + c;
      tgladDE = tgladDE * fabs(m) + 1.0f;
      r = length(z);
      
      colourMin += fabs(m);
      
      if(r>1024.0f)
      {
         distance = r / fabs(tgladDE);
         out.colourIndex = colourMin / i * 300.0f;
         break;
      }


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Syntopia on September 19, 2013, 11:27:14 PM
This is for investigation. I tested it on nVidia GeForce 9600GT (on Linux), which is not so new. Results were much better: 0.8s in fast mode and 3s in full shaders. When you checked rendering time was this a time of first render (including kernel compiling time)? If you start render first time it takes much longer than second time. It is also possible that I used some instructions in the code which are executed very slow on older cards. Is the code of Fragmentarium available to look inside? Maybe when I compare the code I will find some way to optimize my code.
On my ATI Radeon 7800 it takes 0.22s in all shaders mode and 0.085s in fast mode.

No, I ran them several times. But I think your numbers fits my expectations. A Geforce 8600GT is rated at 312 GFlops, and thus should be roughly four times faster than my 73 GFlops Geforce 310M (yes, I know, I should get a better graphics card).

Fragmentarium is open source. The default raytracer can be found here:
https://github.com/Syntopia/Fragmentarium/blob/master/Fragmentarium-Source/Examples/Include/DE-Raytracer.frag

But glancing at your code I couldn't see anything obvious.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: daed on September 20, 2013, 01:32:32 AM
Figured it out.

Edited /etc/OpenCL/vendors/nvidia.icd to contain the full path to libnvidia-opencl.so.1

Works amazingly well... I hope/dream for the day that every formula is supported :)


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: mcc on September 21, 2013, 02:08:26 PM
Hi,

I got a problem with mandelbulber, which is reproducable with version 1.15,1.16 and 1.17-opencl:

My system:
a recent Gentoo Linux
AMD Phenom(tm) II X6 1090T Processor
02:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
09:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
(one for the desktop, one to render i.e. with Blender)
8GB RAM
gcc (Gentoo 4.7.3 p1.0, pie-0.5.5) 4.7.3
nvidia-drivers-325.15
glibc-2.15-r3(2.2)

After compiling mandelbulber from source I did
a ./install.
Rendering the default fractal works fine.
Then in the "Image"-tab I set the image resolution to 1920x1200 (which is the
resolution of my monitor) and press "apply changes".
In the "Egine"-Tab I press "HQ" and mandelbulber crashes with this output:
solfire:/home/mccramer>mandelbulber-opencl
Log file: /home/mccramer/.mandelbulber_log.txt
Detected 6 CPUs
Memory allocated
g_thread already initialised or not supported
Default data directory: /home/mccramer/.mandelbulber
Undo status: count=98, last=3324, level=3324
Default settings loaded successfully (/usr/share/mandelbulber/examples/default.fract)
Undo information saved (index = 24)
Starting
Data has been read from interface
Memory for image: 14 MB
Memory for image reallocated
Lights placed
************ Rendering frames *************
Average N = 2.298080, Average DE steps = 30.380260, Missed DE 0.011%    
Done 100.000%, to go = 0h0m0s, elapsed = 0h0m7s, iters/s = 5676517      
Rendering Screen Space Ambient Occlusion. Done 100%        
Rendering finished
Undo information saved (index = 25)
Rendering Screen Space Ambient Occlusion. Done 100%        
Average N = 9.986139, Average DE steps = 36.350551, Missed DE 0.073%

DE factor = 1.000000, Missed DE = 0.073260%
progress = 0.552260, log = 0.030705
*** glibc detected *** mandelbulber-opencl: double free or corruption (out): 0x00007f263c22dc80 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7af7d)[0x7f26b631cf7d]
/usr/lib64/libGL.so.1(+0xad4dc)[0x7f26b3fc04dc]
======= Memory map: ========
00400000-004c7000 r-xp 00000000 08:0b 3938781                            /usr/bin/mandelbulber-opencl
006c7000-006c8000 r--p 000c7000 08:0b 3938781                            /usr/bin/mandelbulber-opencl
006c8000-006c9000 rw-p 000c8000 08:0b 3938781                            /usr/bin/mandelbulber-opencl
006c9000-006d4000 rw-p 00000000 00:00 0
01e9c000-035ea000 rw-p 00000000 00:00 0                                  [heap]
7f25bf7e7000-7f25bf7e8000 ---p 00000000 00:00 0
7f25bf7e8000-7f25bffe8000 rwxp 00000000 00:00 0                          [stack:7869]
7f25bffe8000-7f25bffe9000 ---p 00000000 00:00 0
7f25bffe9000-7f25c07e9000 rwxp 00000000 00:00 0                          [stack:7868]
7f25c07e9000-7f25c07ea000 ---p 00000000 00:00 0
7f25c07ea000-7f25c0fea000 rwxp 00000000 00:00 0                          [stack:7866]
7f25c0fea000-7f25c0feb000 ---p 00000000 00:00 0
7f25c0feb000-7f25c17eb000 rwxp 00000000 00:00 0                          [stack:7867]
7f25c17eb000-7f25c17ec000 ---p 00000000 00:00 0
7f25c17ec000-7f25c1fec000 rwxp 00000000 00:00 0                          [stack:7865]
7f25c1fec000-7f25c1fed000 ---p 00000000 00:00 0
7f25c1fed000-7f25c27ed000 rwxp 00000000 00:00 0                          [stack:7864]
7f25c27ed000-7f25c27ee000 ---p 00000000 00:00 0
7f25c27ee000-7f25c2fee000 rwxp 00000000 00:00 0                          [stack:7863]
7f25c2fee000-7f25c2fef000 ---p 00000000 00:00 0
7f25c2fef000-7f25c37ef000 rwxp 00000000 00:00 0                          [stack:7861]
7f25c37ef000-7f25c37f0000 ---p 00000000 00:00 0
7f25c37f0000-7f25c3ff0000 rwxp 00000000 00:00 0                          [stack:7862]
7f25c3ff0000-7f25c3ff1000 ---p 00000000 00:00 0
7f25c3ff1000-7f25c47f1000 rwxp 00000000 00:00 0                          [stack:7860]
7f25c47f1000-7f25c47f2000 ---p 00000000 00:00 0
7f25c47f2000-7f25c4ff2000 rwxp 00000000 00:00 0                          [stack:7858]
7f25c4ff2000-7f25c4ff3000 ---p 00000000 00:00 0
7f25c4ff3000-7f25c57f3000 rwxp 00000000 00:00 0                          [stack:7859]
7f25c57f3000-7f25c57f4000 ---p 00000000 00:00 0
7f25c57f4000-7f25c5ff4000 rwxp 00000000 00:00 0                          [stack:7856]
7f25c5ff4000-7f25c5ff5000 ---p 00000000 00:00 0
7f25c5ff5000-7f25c67f5000 rwxp 00000000 00:00 0                          [stack:7857]
7f25c67f5000-7f25c67f6000 ---p 00000000 00:00 0
7f25c67f6000-7f25c6ff6000 rwxp 00000000 00:00 0                          [stack:7855]
7f25c6ff6000-7f25c6ff7000 ---p 00000000 00:00 0
7f25c6ff7000-7f25c77f7000 rwxp 00000000 00:00 0                          [stack:7853]
7f25c77f7000-7f25c77f8000 ---p 00000000 00:00 0
7f25c77f8000-7f25c7ff8000 rwxp 00000000 00:00 0                          [stack:7854]
7f25c7ff8000-7f25c7ff9000 ---p 00000000 00:00 0
7f25c7ff9000-7f25c87f9000 rwxp 00000000 00:00 0                          [stack:7851]
7f25c87f9000-7f25c87fa000 ---p 00000000 00:00 0
7f25c87fa000-7f25c8ffa000 rwxp 00000000 00:00 0                          [stack:7852]
7f25c8ffa000-7f25c8ffb000 ---p 00000000 00:00 0
7f25c8ffb000-7f25c97fb000 rwxp 00000000 00:00 0                          [stack:7850]
7f25c97fb000-7f25c97fc000 ---p 00000000 00:00 0
7f25c97fc000-7f25c9ffc000 rwxp 00000000 00:00 0                          [stack:7849]
7f25c9ffc000-7f25c9ffd000 ---p 00000000 00:00 0
7f25c9ffd000-7f25ca7fd000 rwxp 00000000 00:00 0                          [stack:7848]
7f25ca7fd000-7f25ca7fe000 ---p 00000000 00:00 0
7f25ca7fe000-7f25caffe000 rwxp 00000000 00:00 0                          [stack:7847]
7f25caffe000-7f25cafff000 ---p 00000000 00:00 0
7f25cafff000-7f25cb7ff000 rwxp 00000000 00:00 0                          [stack:7846]
7f25cb7ff000-7f25cb800000 ---p 00000000 00:00 0
7f25cb800000-7f25cc000000 rwxp 00000000 00:00 0                          [stack:7845]
7f25cc000000-7f25cc021000 rw-p 00000000 00:00 0
7f25cc021000-7f25d0000000 ---p 00000000 00:00 0
7f25d07f9000-7f25d07fa000 ---p 00000000 00:00 0
7f25d07fa000-7f25d0ffa000 rwxp 00000000 00:00 0                          [stack:7844]
7f25d0ffa000-7f25d0ffb000 ---p 00000000 00:00 0
7f25d0ffb000-7f25d17fb000 rwxp 00000000 00:00 0                          [stack:7841]
7f25d17fb000-7f25d17fc000 ---p 00000000 00:00 0
7f25d17fc000-7f25d1ffc000 rwxp 00000000 00:00 0                          [stack:7843]
7f25d1ffc000-7f25d1ffd000 ---p 00000000 00:00 0
7f25d1ffd000-7f25d27fd000 rwxp 00000000 00:00 0                          [stack:7842]
7f25d27fd000-7f25d27fe000 ---p 00000000 00:00 0
7f25d27fe000-7f25d2ffe000 rwxp 00000000 00:00 0                          [stack:7840]
7f25d2ffe000-7f25d2fff000 ---p 00000000 00:00 0
7f25d2fff000-7f25d37ff000 rwxp 00000000 00:00 0                          [stack:7839]
7f25d37ff000-7f25d3800000 ---p 00000000 00:00 0
7f25d3800000-7f25d4000000 rwxp 00000000 00:00 0                          [stack:7836]
7f25d4000000-7f25d4021000 rw-p 00000000 00:00 0
7f25d4021000-7f25d8000000 ---p 00000000 00:00 0
7f25d8000000-7f25d8021000 rw-p 00000000 00:00 0
7f25d8021000-7f25dc000000 ---p 00000000 00:00 0
7f25dc000000-7f25dc021000 rw-p 00000000 00:00 0
7f25dc021000-7f25e0000000 ---p 00000000 00:00 0
7f25e0000000-7f25e0021000 rw-p 00000000 00:00 0
7f25e0021000-7f25e4000000 ---p 00000000 00:00 0
7f25e4000000-7f25e4021000 rw-p 00000000 00:00 0
7f25e4021000-7f25e8000000 ---p 00000000 00:00 0
7f25e8000000-7f25e8117000 rw-p 00000000 00:00 0
7f25e8117000-7f25ec000000 ---p 00000000 00:00 0
7f25ec000000-7f25ec021000 rw-p 00000000 00:00 0
7f25ec021000-7f25f0000000 ---p 00000000 00:00 0
7f25f07f9000-7f25f07fa000 ---p 00000000 00:00 0
7f25f07fa000-7f25f0ffa000 rwxp 00000000 00:00 0                          [stack:7838]
7f25f0ffa000-7f25f0ffb000 ---p 00000000 00:00 0
7f25f0ffb000-7f25f17fb000 rwxp 00000000 00:00 0                          [stack:7837]
7f25f17fb000-7f25f17fc000 ---p 00000000 00:00 0
7f25f17fc000-7f25f1ffc000 rwxp 00000000 00:00 0                          [stack:7834]
7f25f1ffc000-7f25f1ffd000 ---p 00000000 00:00 0
7f25f1ffd000-7f25f27fd000 rwxp 00000000 00:00 0                          [stack:7835]
7f25f27fd000-7f25f27fe000 ---p 00000000 00:00 0
7f25f27fe000-7f25f2ffe000 rwxp 00000000 00:00 0                          [stack:7833]
7f25f2ffe000-7f25f2fff000 ---p 00000000 00:00 0
7f25f2fff000-7f25f37ff000 rwxp 00000000 00:00 0                          [stack:7832]
7f25f37ff000-7f25f3800000 ---p 00000000 00:00 0
7f25f3800000-7f25f4000000 rwxp 00000000 00:00 0                          [stack:7830]
7f25f4000000-7f25f4021000 rw-p 00000000 00:00 0
7f25f4021000-7f25f8000000 ---p 00000000 00:00 0
7f25f8000000-7f25f8021000 rw-p 00000000 00:00 0
7f25f8021000-7f25fc000000 ---p 00000000 00:00 0
7f25fc000000-7f25fc021000 rw-p 00000000 00:00 0
7f25fc021000-7f2600000000 ---p 00000000 00:00 0
7f2600000000-7f2600021000 rw-p 00000000 00:00 0
7f2600021000-7f2604000000 ---p 00000000 00:00 0
7f2604000000-7f2604021000 rw-p 00000000 00:00 0
7f2604021000-7f2608000000 ---p 00000000 00:00 0
7f2608000000-7f260822d000 rw-p 00000000 00:00 0
7f260822d000-7f260c000000 ---p 00000000 00:00 0
7f260c000000-7f260c021000 rw-p 00000000 00:00 0
7f260c021000-7f2610000000 ---p 00000000 00:00 0
7f2610000000-7f2610021000 rw-p 00000000 00:00 0
7f2610021000-7f2614000000 ---p 00000000 00:00 0
7f2614000000-7f2614021000 rw-p 00000000 00:00 0
7f2614021000-7f2618000000 ---p 00000000 00:00 0
7f2618000000-7f2618021000 rw-p 00000000 00:00 0
7f2618021000-7f261c000000 ---p 00000000 00:00 0
7f261c000000-7f261c021000 rw-p 00000000 00:00 0
7f261c021000-7f2620000000 ---p 00000000 00:00 0
7f2620000000-7f2620021000 rw-p 00000000 00:00 0
7f2620021000-7f2624000000 ---p 00000000 00:00 0
7f26247f9000-7f26247fa000 ---p 00000000 00:00 0
7f26247fa000-7f2624ffa000 rwxp 00000000 00:00 0                          [stack:7831]
7f2624ffa000-7f2624ffb000 ---p 00000000 00:00 0
7f2624ffb000-7f26257fb000 rwxp 00000000 00:00 0                          [stack:7828]
7f26257fb000-7f26257fc000 ---p 00000000 00:00 0
7f26257fc000-7f2625ffc000 rwxp 00000000 00:00 0                          [stack:7829]
7f2625ffc000-7f2625ffd000 ---p 00000000 00:00 0
7f2625ffd000-7f26267fd000 rwxp 00000000 00:00 0                          [stack:7827]
7f26267fd000-7f26267fe000 ---p 00000000 00:00 0
7f26267fe000-7f2626ffe000 rwxp 00000000 00:00 0                          [stack:7826]
7f2626ffe000-7f2626fff000 ---p 00000000 00:00 0
7f2626fff000-7f26277ff000 rwxp 00000000 00:00 0                          [stack:7825]
7f26277ff000-7f2627800000 ---p 00000000 00:00 0
7f2627800000-7f2628000000 rwxp 00000000 00:00 0                          [stack:7824]
7f2628000000-7f2628021000 rw-p 00000000 00:00 0
7f2628021000-7f262c000000 ---p 00000000 00:00 0
7f262c000000-7f262c021000 rw-p 00000000 00:00 0
7f262c021000-7f2630000000 ---p 00000000 00:00 0
7f2630000000-7f2630021000 rw-p 00000000 00:00 0
7f2630021000-7f2634000000 ---p 00000000 00:00 0
7f2634000000-7f2634021000 rw-p 00000000 00:00 0
7f2634021000-7f2638000000 ---p 00000000 00:00 0
7f2638000000-7f2638021000 rw-p 00000000 00:00 0
7f2638021000-7f263c000000 ---p 00000000 00:00 0
7f263c000000-7f263c683000 rw-p 00000000 00:00 0
7f263c683000-7f2640000000 ---p 00000000 00:00 0
7f2640000000-7f2640021000 rw-p 00000000 00:00 0
7f2640021000-7f2644000000 ---p 00000000 00:00 0
7f2644000000-7f2644021000 rw-p 00000000 00:00 0
7f2644021000-7f2648000000 ---p 00000000 00:00 0
7f2648000000-7f2648117000 rw-p 00000000 00:00 0
7f2648117000-7f264c000000 ---p 00000000 00:00 0
7f264c000000-7f264c021000 rw-p 00000000 00:00 0
7f264c021000-7f2650000000 ---p 00000000 00:00 0
7f2650000000-7f2650117000 rw-p 00000000 00:00 0
7f2650117000-7f2654000000 ---p 00000000 00:00 0
7f2654000000-7f2654117000 rw-p 00000000 00:00 0
7f2654117000-7f2658000000 ---p 00000000 00:00 0
7f2658000000-7f2658117000 rw-p 00000000 00:00 0
7f2658117000-7f265c000000 ---p 00000000 00:00 0
7f265c000000-7f265c021000 rw-p 00000000 00:00 0
7f265c021000-7f2660000000 ---p 00000000 00:00 0
7f2660000000-7f2660117000 rw-p 00000000 00:00 0
7f2660117000-7f2664000000 ---p 00000000 00:00 0
7f2664496000-7f2664497000 ---p 00000000 00:00 0
7f2664497000-7f2664c97000 rwxp 00000000 00:00 0                          [stack:7823]
7f2664c97000-7f2664c98000 ---p 00000000 00:00 0
7f2664c98000-7f2665498000 rwxp 00000000 00:00 0                          [stack:7822]
7f2665498000-7f2665499000 ---p 00000000 00:00 0
7f2665499000-7f2665c99000 rwxp 00000000 00:00 0                          [stack:7820]
7f2665c99000-7f266c000000 r--p 00000000 08:0b 4201682                    /usr/lib64/locale/locale-archive
7f266c000000-7f266c021000 rw-p 00000000 00:00 0
7f266c021000-7f2670000000 ---p 00000000 00:00 0
7f2670000000-7f2670021000 rw-p 00000000 00:00 0
7f2670021000-7f2674000000 ---p 00000000 00:00 0
7f2674000000-7f2674021000 rw-p 00000000 00:00 0
7f2674021000-7f2678000000 ---p 00000000 00:00 0
7f2678000000-7f2678021000 rw-p 00000000 00:00 0
7f2678021000-7f267c000000 ---p 00000000 00:00 0
7f267c000000-7f267c021000 rw-p 00000000 00:00 0
7f267c021000-7f2680000000 ---p 00000000 00:00 0
7f26807f9000-7f26807fa000 ---p 00000000 00:00 0
7f26807fa000-7f2680ffa000 rwxp 00000000 00:00 0                          [stack:7819]
7f2680ffa000-7f2680ffb000 ---p 00000000 00:00 0
7f2680ffb000-7f26817fb000 rwxp 00000000 00:00 0                          [stack:7821]
7f26817fb000-7f26817fc000 ---p 00000000 00:00 0
7f26817fc000-7f2681ffc000 rwxp 00000000 00:00 0                          [stack:7818]
7f2681ffc000-7f2681ffd000 ---p 00000000 00:00 0
7f2681ffd000-7f26827fd000 rwxp 00000000 00:00 0                          [stack:7816]
7f26827fd000-7f26827fe000 ---p 00000000 00:00 0
7f26827fe000-7f2682ffe000 rwxp 00000000 00:00 0                          [stack:7817]
7f2682ffe000-7f2682fff000 ---p 00000000 00:00 0
7f2682fff000-7f26837ff000 rwxp 00000000 00:00 0                          [stack:7815]
7f26837ff000-7f2683800000 ---p 00000000 00:00 0
7f2683800000-7f2684000000 rwxp 00000000 00:00 0                          [stack:7813]
7f2684000000-7f2684021000 rw-p 00000000 00:00 0
7f2684021000-7f2688000000 ---p 00000000 00:00 0
7f26887f9000-7f26887fa000 ---p 00000000 00:00 0
7f26887fa000-7f2688ffa000 rwxp 00000000 00:00 0                          [stack:7812]
7f2688ffa000-7f2688ffb000 ---p 00000000 00:00 0
7f2688ffb000-7f26897fb000 rwxp 00000000 00:00 0                          [stack:7798]
7f26897fb000-7f26897fc000 ---p 00000000 00:00 0
7f26897fc000-7f2689ffc000 rwxp 00000000 00:00 0                          [stack:7814]
7f2689ffc000-7f2689ffd000 ---p 00000000 00:00 0
7f2689ffd000-7f268a7fd000 rwxp 00000000 00:00 0                          [stack:7810]
7f268a7fd000-7f268a7fe000 ---p 00000000 00:00 0
7f268a7fe000-7f268affe000 rwxp 00000000 00:00 0                          [stack:7811]
7f268affe000-7f268afff000 ---p 00000000 00:00 0
7f268afff000-7f268b7ff000 rwxp 00000000 00:00 0                          [stack:7809]
7f268b7ff000-7f268b800000 ---p 00000000 00:00 0
7f268b800000-7f268c000000 rwxp 00000000 00:00 0                          [stack:7808]
7f268c000000-7f268c021000 rw-p 00000000 00:00 0
7f268c021000-7f2690000000 ---p 00000000 00:00 0
7f2690000000-7f2690117000 rw-p 00000000 00:00 0
7f2690117000-7f2694000000 ---p 00000000 00:00 0
7f2694000000-7f2694021000 rw-p 00000000 00:00 0
7f2694021000-7f2698000000 ---p 00000000 00:00 0
7f26987f9000-7f26987fa000 ---p 00000000 00:00 0
7f26987fa000-7f2698ffa000 rwxp 00000000 00:00 0                          [stack:7807]
7f2698ffa000-7f2698ffb000 ---p 00000000 00:00 0
7f2698ffb000-7f26997fb000 rwxp 00000000 00:00 0                          [stack:7806]
7f26997fb000-7f26997fc000 ---p 00000000 00:00 0
7f26997fc000-7f2699ffc000 rwxp 00000000 00:00 0                          [stack:7799]
7f2699ffc000-7f2699ffd000 ---p 00000000 00:00 0
7f2699ffd000-7f269a7fd000 rwxp 00000000 00:00 0                          [stack:7805]
7f269a7fd000-7f269a7fe000 ---p 00000000 00:00 0
7f269a7fe000-7f269affe000 rwxp 00000000 00:00 0                          [stack:7804]
7f269affe000-7f269afff000 ---p 00000000 00:00 0
7f269afff000-7f269b7ff000 rwxp 00000000 00:00 0                          [stack:7803]
7f269b7ff000-7f269b800000 ---p 00000000 00:00 0
7f269b800000-7f269c000000 rwxp 00000000 00:00 0                          [stack:7800]
7f269c000000-7f269c021000 rw-p 00000000 00:00 0
7f269c021000-7f26a0000000 ---p 00000000 00:00 0
7f26a0000000-7f26a0021000 rw-p 00000000 00:00 0
7f26a0021000-7f26a4000000 ---p 00000000 00:00 0
7f26a4000000-7f26a4021000 rw-p 00000000 00:00 0
7f26a4021000-7f26a8000000 ---p 00000000 00:00 0
7f26a85ce000-7f26a85cf000 ---p 00000000 00:00 0
7f26a85cf000-7f26a8dcf000 rwxp 00000000 00:00 0                          [stack:7801]
7f26a8dcf000-7f26a8e2f000 rw-s 00000000 00:04 106463241                  /SYSV00000000 (deleted)
7f26a8e2f000-7f26a8e8f000 rw-s 00000000 00:04 106430472                  /SYSV00000000 (deleted)
7f26a8e8f000-7f26a8e94000 r-xp 00000000 08:0b 923334                     /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f26a8e94000-7f26a9093000 ---p 00005000 08:0b 923334                     /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f26a9093000-7f26a9094000 r--p 00004000 08:0b 923334                     /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f26a9094000-7f26a9095000 rw-p 00005000 08:0b 923334                     /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f26a9095000-7f26a90b4000 r--s 00000000 08:0b 1441979                    /usr/share/mime/mime.cache
7f26a90b4000-7f26a90b6000 r-xp 00000000 08:0b 6302797                    /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f26a90b6000-7f26a92b5000 ---p 00002000 08:0b 6302797                    /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f26a92b5000-7f26a92b6000 r--p 00001000 08:0b 6302797                    /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f26a92b6000-7f26a92b7000 rw-p 00002000 08:0b 6302797                    /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f26a92b7000-7f26a92da000 r--p 00000000 08:0b 6302605                    /usr/share/fonts/corefonts/verdana.ttf
7f26a92da000-7f26a92e3000 r--s 00000000 08:0b 6034055                    /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-3
7f26a92e3000-7f26a92ec000 r--s 00000000 08:0b 6034101                    /var/cache/fontconfig/acc285bc1956c3c4bc7afb41d537a85a-le64.cache-3
7f26a92ec000-7f26a92f5000 r--s 00000000 08:0b 6034100                    /var/cache/fontconfig/4460665c0f3e88acdd4c85aa2f409b99-le64.cache-3
7f26a92f5000-7f26a930b000 r--s 00000000 08:0b 6034099                    /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le64.cache-3
7f26a930b000-7f26a931d000 r--s 00000000 08:0b 6034096                    /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-le64.cache-3
7f26a931d000-7f26a937a000 r--s 00000000 08:0b 6034045                    /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-le64.cache-3
7f26a937a000-7f26a93d7000 r--s 00000000 08:0b 6034043                    /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le64.cache-3
7f26a93d7000-7f26a93e4000 r-xp 00000000 08:0b 6437145                    /lib64/libnss_files-2.15.so
7f26a93e4000-7f26a95e3000 ---p 0000d000 08:0b 6437145                    /lib64/libnss_files-2.15.so
7f26a95e3000-7f26a95e4000 r--p 0000c000 08:0b 6437145                    /lib64/libnss_files-2.15.so
7f26a95e4000-7f26a95e5000 rw-p 0000d000 08:0b 6437145                    /lib64/libnss_files-2.15.so
7f26a95e5000-7f26a95f0000 r-xp 00000000 08:0b 6437222                    /lib64/libnss_nis-2.15.so
7f26a95f0000-7f26a97ef000 ---p 0000b000 08:0b 6437222                    /lib64/libnss_nis-2.15.so
7f26a97ef000-7f26a97f0000 r--p 0000a000 08:0b 6437222                    /lib64/libnss_nis-2.15.so
7f26a97f0000-7f26a97f1000 rw-p 0000b000 08:0b 6437222                    /lib64/libnss_nis-2.15.so
7f26a97f1000-7f26a9806000 r-xp 00000000 08:0b 6436331                    /lib64/libnsl-2.15.so
7f26a9806000-7f26a9a05000 ---p 00015000 08:0b 6436331                    /lib64/libnsl-2.15.so
7f26a9a05000-7f26a9a06000 r--p 00014000 08:0b 6436331                    /lib64/libnsl-2.15.so
7f26a9a06000-7f26a9a07000 rw-p 00015000 08:0b 6436331                    /lib64/libnsl-2.15.so
7f26a9a07000-7f26a9a09000 rw-p 00000000 00:00 0
7f26a9a09000-7f26a9a10000 r-xp 00000000 08:0b 6437226                    /lib64/libnss_compat-2.15.so
7f26a9a10000-7f26a9c10000 ---p 00007000 08:0b 6437226                    /lib64/libnss_compat-2.15.so
7f26a9c10000-7f26a9c11000 r--p 00007000 08:0b 6437226                    /lib64/libnss_compat-2.15.so
7f26a9c11000-7f26a9c12000 rw-p 00008000 08:0b 6437226                    /lib64/libnss_compat-2.15.so
7f26a9c12000-7f26a9c13000 ---p 00000000 00:00 0
7f26a9c13000-7f26aa413000 rwxp 00000000 00:00 0                          [stack:7065]
7f26aa413000-7f26aa414000 ---p 00000000 00:00 0
7f26aa414000-7f26aac14000 rwxp 00000000 00:00 0                          [stack:7064]
7f26aac14000-7f26aac15000 ---p 00000000 00:00 0
7f26aac15000-7f26ab415000 rwxp 00000000 00:00 0                          [stack:7063]
7f26ab415000-7f26ab416000 ---p 00000000 00:00 0
7f26ab416000-7f26abc16000 rwxp 00000000 00:00 0                          [stack:7062]
7f26abc16000-7f26abc17000 ---p 00000000 00:00 0
7f26abc17000-7f26ac417000 rwxp 00000000 00:00 0                          [stack:7061]
7f26ac417000-7f26ac418000 ---p 00000000 00:00 0
7f26ac418000-7f26acc18000 rwxp 00000000 00:00 0                          [stack:7060]
7f26acc18000-7f26acc19000 ---p 00000000 00:00 0
7f26acc19000-7f26ad419000 rwxp 00000000 00:00 0                          [stack:7059]
7f26ad419000-7f26ad41a000 ---p 00000000 00:00 0
7f26ad41a000-7f26adc1a000 rwxp 00000000 00:00 0                          [stack:7058]
7f26adc1a000-7f26adc1b000 ---p 00000000 00:00 0
7f26adc1b000-7f26ae41b000 rwxp 00000000 00:00 0                          [stack:7057]
7f26ae41b000-7f26ae41c000 ---p 00000000 00:00 0
7f26ae41c000-7f26aec1c000 rwxp 00000000 00:00 0                          [stack:7056]
7f26aec1c000-7f26aec1d000 ---p 00000000 00:00 0
7f26aec1d000-7f26af41d000 rwxp 00000000 00:00 0                          [stack:7055]
7f26af790000-7f26af791000 ---p 00000000 00:00 0
7f26af791000-7f26aff91000 rwxp 00000000 00:00 0                          [stack:7802]
7f26aff91000-7f26aff96000 r-xp 00000000 08:0b 46861                      /usr/lib64/libXdmcp.so.6.0.0
7f26aff96000-7f26b0195000 ---p 00005000 08:0b 46861                      /usr/lib64/libXdmcp.so.6.0.0
7f26b0195000-7f26b0196000 r--p 00004000 08:0b 46861                      /usr/lib64/libXdmcp.so.6.0.0
7f26b0196000-7f26b0197000 rw-p 00005000 08:0b 46861                      /usr/lib64/libXdmcp.so.6.0.0
7f26b0197000-7f26b019a000 r-xp 00000000 08:0b 46280                      /usr/lib64/libXau.so.6.0.0
7f26b019a000-7f26b0399000 ---p 00003000 08:0b 46280                      /usr/lib64/libXau.so.6.0.0
7f26b0399000-7f26b039a000 r--p 00002000 08:0b 46280                      /usr/lib64/libXau.so.6.0.0
7f26b039a000-7f26b039b000 rw-p 00003000 08:0b 46280                      /usr/lib64/libXau.so.6.0.0
7f26b039b000-7f26b1e1b000 r-xp 00000000 08:0b 2876                       /usr/lib64/libnvidia-glcore.so.325.15
7f26b1e1b000-7f26b201b000 ---p 01a80000 08:0b 2876                       /usr/lib64/libnvidia-glcore.so.325.15
7f26b201b000-7f26b2a62000 rwxp 01a80000 08:0b 2876                       /usr/lib64/libnvidia-glcore.so.325.15
7f26b2a62000-7f26b2a7b000 rwxp 00000000 00:00 0
7f26b2a7b000-7f26b2a7e000 r-xp 00000000 08:0b 2880                       /usr/lib64/libnvidia-tls.so.325.15
7f26b2a7e000-7f26b2c7d000 ---p 00003000 08:0b 2880                       /usr/lib64/libnvidia-tls.so.325.15
7f26b2c7d000-7f26b2c7e000 rw-p 00002000 08:0b 2880                       /usr/lib64/libnvidia-tls.so.325.15
7f26b2c7e000-7f26b2c89000 r-xp 00000000 08:0b 3056953                    /usr/lib64/libdrm.so.2.4.0
7f26b2c89000-7f26b2e89000 ---p 0000b000 08:0b 3056953                    /usr/lib64/libdrm.so.2.4.0
7f26b2e89000-7f26b2e8a000 r--p 0000b000 08:0b 3056953                    /usr/lib64/libdrm.so.2.4.0
7f26b2e8a000-7f26b2e8b000 rw-p 0000c000 08:0b 3056953                    /usr/lib64/libdrm.so.2.4.0
7f26b2e8b000-7f26b2e9e000 r-xp 00000000 08:0b 2768116                    /lib64/libudev.so.1.3.5
7f26b2e9e000-7f26b309d000 ---p 00013000 08:0b 2768116                    /lib64/libudev.so.1.3.5
7f26b309d000-7f26b309e000 r--p 00012000 08:0b 2768116                    /lib64/libudev.so.1.3.5
7f26b309e000-7f26b309f000 rw-p 00013000 08:0b 2768116                    /lib64/libudev.so.1.3.5
7f26b309f000-7f26b30a5000 r-xp 00000000 08:0b 1323545                    /usr/lib64/libxcb-xfixes.so.0.0.0
7f26b30a5000-7f26b32a4000 ---p 00006000 08:0b 1323545                    /usr/lib64/libxcb-xfixes.so.0.0.0
7f26b32a4000-7f26b32a5000 r--p 00005000 08:0b 1323545                    /usr/lib64/libxcb-xfixes.so.0.0.0
7f26b32a5000-7f26b32a6000 rw-p 00006000 08:0b 1323545                    /usr/lib64/libxcb-xfixes.so.0.0.0
7f26b32a6000-7f26b32aa000 r-xp 00000000 08:0b 1320904                    /usr/lib64/libxcb-dri2.so.0.0.0
7f26b32aa000-7f26b34a9000 ---p 00004000 08:0b 1320904                    /usr/lib64/libxcb-dri2.so.0.0.0
7f26b34a9000-7f26b34aa000 r--p 00003000 08:0b 1320904                    /usr/lib64/libxcb-dri2.so.0.0.0
7f26b34aa000-7f26b34ab000 rw-p 00004000 08:0b 1320904                    /usr/lib64/libxcb-dri2.so.0.0.0
7f26b34ab000-7f26b34ac000 r-xp 00000000 08:0b 173240                     /usr/lib64/libX11-xcb.so.1.0.0
7f26b34ac000-7f26b36ab000 ---p 00001000 08:0b 173240                     /usr/lib64/libX11-xcb.so.1.0.0
7f26b36ab000-7f26b36ac000 r--p 00000000 08:0b 173240                     /usr/lib64/libX11-xcb.so.1.0.0
7f26b36ac000-7f26b36ad000 rw-p 00001000 08:0b 173240                     /usr/lib64/libX11-xcb.so.1.0.0
7f26b36ad000-7f26b36ce000 r-xp 00000000 08:0b 1320848                    /usr/lib64/libxcb.so.1.1.0
7f26b36ce000-7f26b38ce000 ---p 00021000 08:0b 1320848                    /usr/lib64/libxcb.so.1.1.0
7f26b38ce000-7f26b38cf000 r--p 00021000 08:0b 1320848                    /usr/lib64/libxcb.so.1.1.0
7f26b38cf000-7f26b38d0000 rw-p 00022000 08:0b 1320848                    /usr/lib64/libxcb.so.1.1.0
7f26b38d0000-7f26b38d7000 r-xp 00000000 08:0b 6448111                    /usr/lib64/libffi.so.6.0.0
7f26b38d7000-7f26b3ad6000 ---p 00007000 08:0b 6448111                    /usr/lib64/libffi.so.6.0.0
7f26b3ad6000-7f26b3ad7000 r--p 00006000 08:0b 6448111                    /usr/lib64/libffi.so.6.0.0
7f26b3ad7000-7f26b3ad8000 rw-p 00007000 08:0b 6448111                    /usr/lib64/libffi.so.6.0.0
7f26b3ad8000-7f26b3b00000 r-xp 00000000 08:0b 10754                      /usr/lib64/libexpat.so.1.6.0
7f26b3b00000-7f26b3d00000 ---p 00028000 08:0b 10754                      /usr/lib64/libexpat.so.1.6.0
7f26b3d00000-7f26b3d02000 r--p 00028000 08:0b 10754                      /usr/lib64/libexpat.so.1.6.0
7f26b3d02000-7f26b3d03000 rw-p 0002a000 08:0b 10754                      /usr/lib64/libexpat.so.1.6.0
7f26b3d03000-7f26b3d12000 r-xp 00000000 08:0b 525898                     /lib64/libbz2.so.1.0.6
7f26b3d12000-7f26b3f11000 ---p 0000f000 08:0b 525898                     /lib64/libbz2.so.1.0.6
7f26b3f11000-7f26b3f12000 r--p 0000e000 08:0b 525898                     /lib64/libbz2.so.1.0.6
7f26b3f12000-7f26b3f13000 rw-p 0000f000 08:0b 525898                     /lib64/libbz2.so.1.0.6
7f26b3f13000-7f26b3fec000 r-xp 00000000 08:0b 2872                       /usr/lib64/opengl/nvidia/lib/libGL.so.325.15
7f26b3fec000-7f26b41eb000 ---p 000d9000 08:0b 2872                       /usr/lib64/opengl/nvidia/lib/libGL.so.325.15
7f26b41eb000-7f26b422b000 rwxp 000d8000 08:0b 2872                       /usr/lib64/opengl/nvidia/lib/libGL.so.325.15
7f26b422b000-7f26b4241000 rwxp 00000000 00:00 0
7f26b4241000-7f26b4243000 r-xp 00000000 08:0b 6437120                    /lib64/libdl-2.15.so
7f26b4243000-7f26b4443000 ---p 00002000 08:0b 6437120                    /lib64/libdl-2.15.so
7f26b4443000-7f26b4444000 r--p 00002000 08:0b 6437120                    /lib64/libdl-2.15.so
7f26b4444000-7f26b4445000 rw-p 00003000 08:0b 6437120                    /lib64/libdl-2.15.so
7f26b4445000-7f26b4463000 r-xp 00000000 08:0b 3057430                    /usr/lib64/opengl/xorg-x11/lib/libEGL.so.1.0.0
7f26b4463000-7f26b4662000 ---p 0001e000 08:0b 3057430                    /usr/lib64/opengl/xorg-x11/lib/libEGL.so.1.0.0
7f26b4662000-7f26b4663000 r--p 0001d000 08:0b 3057430                    /usr/lib64/opengl/xorg-x11/lib/libEGL.so.1.0.0
7f26b4663000-7f26b4664000 rw-p 0001e000 08:0b 3057430                    /usr/lib64/opengl/xorg-x11/lib/libEGL.so.1.0.0
7f26b4664000-7f26b46da000 r-xp 00000000 08:0b 2248713                    /usr/lib64/libpixman-1.so.0.28.0
7f26b46da000-7f26b48da000 ---p 00076000 08:0b 2248713                    /usr/lib64/libpixman-1.so.0.28.0
7f26b48da000-7f26b48df000 r--p 00076000 08:0b 2248713                    /usr/lib64/libpixman-1.so.0.28.0
7f26b48df000-7f26b48e0000 rw-p 0007b000 08:0b 2248713                    /usr/lib64/libpixman-1.so.0.28.0
7f26b48e0000-7f26b48f4000 r-xp 00000000 08:0b 6437137                    /lib64/libresolv-2.15.so
7f26b48f4000-7f26b4af3000 ---p 00014000 08:0b 6437137                    /lib64/libresolv-2.15.so
7f26b4af3000-7f26b4af4000 r--p 00013000 08:0b 6437137                    /lib64/libresolv-2.15.so
7f26b4af4000-7f26b4af5000 rw-p 00014000 08:0b 6437137                    /lib64/libresolv-2.15.so
7f26b4af5000-7f26b4af7000 rw-p 00000000 00:00 0
7f26b4af7000-7f26b4b0c000 r-xp 00000000 08:0b 790431                     /lib64/libz.so.1.2.7
7f26b4b0c000-7f26b4d0b000 ---p 00015000 08:0b 790431                     /lib64/libz.so.1.2.7
7f26b4d0b000-7f26b4d0c000 r--p 00014000 08:0b 790431                     /lib64/libz.so.1.2.7
7f26b4d0c000-7f26b4d0d000 rw-p 00015000 08:0b 790431                     /lib64/libz.so.1.2.7
7f26b4d0d000-7f26b4d0f000 r-xp 00000000 08:0b 925188                     /usr/lib64/libXdamage.so.1.1.0
7f26b4d0f000-7f26b4f0e000 ---p 00002000 08:0b 925188                     /usr/lib64/libXdamage.so.1.1.0
7f26b4f0e000-7f26b4f0f000 r--p 00001000 08:0b 925188                     /usr/lib64/libXdamage.so.1.1.0
7f26b4f0f000-7f26b4f10000 rw-p 00002000 08:0b 925188                     /usr/lib64/libXdamage.so.1.1.0
7f26b4f10000-7f26b4f12000 r-xp 00000000 08:0b 6297367                    /usr/lib64/libXcomposite.so.1.0.0
7f26b4f12000-7f26b5111000 ---p 00002000 08:0b 6297367                    /usr/lib64/libXcomposite.so.1.0.0
7f26b5111000-7f26b5112000 r--p 00001000 08:0b 6297367                    /usr/lib64/libXcomposite.so.1.0.0
7f26b5112000-7f26b5113000 rw-p 00002000 08:0b 6297367                    /usr/lib64/libXcomposite.so.1.0.0
7f26b5113000-7f26b511d000 r-xp 00000000 08:0b 52261                      /usr/lib64/libXcursor.so.1.0.2
7f26b511d000-7f26b531c000 ---p 0000a000 08:0b 52261                      /usr/lib64/libXcursor.so.1.0.2
7f26b531c000-7f26b531d000 r--p 00009000 08:0b 52261                      /usr/lib64/libXcursor.so.1.0.2
7f26b531d000-7f26b531e000 rw-p 0000a000 08:0b 52261                      /usr/lib64/libXcursor.so.1.0.2
7f26b531e000-7f26b5327000 r-xp 00000000 08:0b 1315645                    /usr/lib64/libXrandr.so.2.2.0
7f26b5327000-7f26b5527000 ---p 00009000 08:0b 1315645                    /usr/lib64/libXrandr.so.2.2.0
7f26b5527000-7f26b5528000 r--p 00009000 08:0b 1315645                    /usr/lib64/libXrandr.so.2.2.0
7f26b5528000-7f26b5529000 rw-p 0000a000 08:0b 1315645                    /usr/lib64/libXrandr.so.2.2.0
7f26b5529000-7f26b5538000 r-xp 00000000 08:0b 138734                     /usr/lib64/libXi.so.6.1.0
7f26b5538000-7f26b5737000 ---p 0000f000 08:0b 138734                     /usr/lib64/libXi.so.6.1.0
7f26b5737000-7f26b5738000 r--p 0000e000 08:0b 138734                     /usr/lib64/libXi.so.6.1.0
7f26b5738000-7f26b5739000 rw-p 0000f000 08:0b 138734                     /usr/lib64/libXi.so.6.1.0
7f26b5739000-7f26b5742000 r-xp 00000000 08:0b 11197                      /usr/lib64/libXrender.so.1.3.0
7f26b5742000-7f26b5941000 ---p 00009000 08:0b 11197                      /usr/lib64/libXrender.so.1.3.0
7f26b5941000-7f26b5942000 r--p 00008000 08:0b 11197                      /usr/lib64/libXrender.so.1.3.0
7f26b5942000-7f26b5943000 rw-p 00009000 08:0b 11197                      /usr/lib64/libXrender.so.1.3.0
7f26b5943000-7f26b5954000 r-xp 00000000 08:0b 52292                      /usr/lib64/libXext.so.6.4.0
7f26b5954000-7f26b5b54000 ---p 00011000 08:0b 52292                      /usr/lib64/libXext.so.6.4.0
7f26b5b54000-7f26b5b55000 r--p 00011000 08:0b 52292                      /usr/lib64/libXext.so.6.4.0
7f26b5b55000-7f26b5b56000 rw-p 00012000 08:0b 52292                      /usr/lib64/libXext.so.6.4.0
7f26b5b56000-7f26b5b5b000 r-xp 00000000 08:0b 276876                     /usr/lib64/libXfixes.so.3.1.0
7f26b5b5b000-7f26b5d5a000 ---p 00005000 08:0b 276876                     /usr/lib64/libXfixes.so.3.1.0
7f26b5d5a000-7f26b5d5b000 r--p 00004000 08:0b 276876                     /usr/lib64/libXfixes.so.3.1.0
7f26b5d5b000-7f26b5d5c000 rw-p 00005000 08:0b 276876                     /usr/lib64/libXfixes.so.3.1.0
7f26b5d5c000-7f26b5e98000 r-xp 00000000 08:0b 171988                     /usr/lib64/libX11.so.6.3.0
7f26b5e98000-7f26b6098000 ---p 0013c000 08:0b 171988                     /usr/lib64/libX11.so.6.3.0
7f26b6098000-7f26b6099000 r--p 0013c000 08:0b 171988                     /usr/lib64/libX11.so.6.3.0
7f26b6099000-7f26b609e000 rw-p 0013d000 08:0b 171988                     /usr/lib64/libX11.so.6.3.0
7f26b609e000-7f26b60a1000 r-xp 00000000 08:0b 6322539                    /usr/lib64/libgmodule-2.0.so.0.3200.4
7f26b60a1000-7f26b62a0000 ---p 00003000 08:0b 6322539                    /usr/lib64/libgmodule-2.0.so.0.3200.4
7f26b62a0000-7f26b62a1000 r--p 00002000 08:0b 6322539                    /usr/lib64/libgmodule-2.0.so.0.3200.4
7f26b62a1000-7f26b62a2000 rw-p 00003000 08:0b 6322539                    /usr/lib64/libgmodule-2.0.so.0.3200.4
7f26b62a2000-7f26b6447000 r-xp 00000000 08:0b 6436377                    /lib64/libc-2.15.so
7f26b6447000-7f26b6646000 ---p 001a5000 08:0b 6436377                    /lib64/libc-2.15.so
7f26b6646000-7f26b664a000 r--p 001a4000 08:0b 6436377                    /lib64/libc-2.15.so
7f26b664a000-7f26b664c000 rw-p 001a8000 08:0b 6436377                    /lib64/libc-2.15.so
7f26b664c000-7f26b6650000 rw-p 00000000 00:00 0
7f26b6650000-7f26b6668000 r-xp 00000000 08:0b 6432950                    /lib64/libpthread-2.15.so
7f26b6668000-7f26b6867000 ---p 00018000 08:0b 6432950                    /lib64/libpthread-2.15.so
7f26b6867000-7f26b6868000 r--p 00017000 08:0b 6432950                    /lib64/libpthread-2.15.so
7f26b6868000-7f26b6869000 rw-p 00018000 08:0b 6432950                    /lib64/libpthread-2.15.so
7f26b6869000-7f26b686d000 rw-p 00000000 00:00 0
7f26b686d000-7f26b6883000 r-xp 00000000 08:0b 2148595                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
7f26b6883000-7f26b6a82000 ---p 00016000 08:0b 2148595                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
7f26b6a82000-7f26b6a83000 r--p 00015000 08:0b 2148595                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
7f26b6a83000-7f26b6a84000 rw-p 00016000 08:0b 2148595                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
7f26b6a84000-7f26b6a92000 r-xp 00000000 08:0b 2150238                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
7f26b6a92000-7f26b6c92000 ---p 0000e000 08:0b 2150238                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
7f26b6c92000-7f26b6c93000 r--p 0000e000 08:0b 2150238                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
7f26b6c93000-7f26b6c94000 rw-p 0000f000 08:0b 2150238                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
7f26b6c94000-7f26b6d8b000 r-xp 00000000 08:0b 6435654                    /lib64/libm-2.15.so
7f26b6d8b000-7f26b6f8a000 ---p 000f7000 08:0b 6435654                    /lib64/libm-2.15.so
7f26b6f8a000-7f26b6f8b000 r--p 000f6000 08:0b 6435654                    /lib64/libm-2.15.so
7f26b6f8b000-7f26b6f8c000 rw-p 000f7000 08:0b 6435654                    /lib64/libm-2.15.so
7f26b6f8c000-7f26b7079000 r-xp 00000000 08:0b 2148587                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
7f26b7079000-7f26b7278000 ---p 000ed000 08:0b 2148587                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
7f26b7278000-7f26b7280000 r--p 000ec000 08:0b 2148587                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
7f26b7280000-7f26b7282000 rw-p 000f4000 08:0b 2148587                    /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
7f26b7282000-7f26b7297000 rw-p 00000000 00:00 0
7f26b7297000-7f26b72db000 r-xp 00000000 08:0b 1448951                    /usr/lib64/libjpeg.so.8.0.2
7f26b72db000-7f26b74db000 ---p 00044000 08:0b 1448951                    /usr/lib64/libjpeg.so.8.0.2
7f26b74db000-7f26b74dc000 r--p 00044000 08:0b 1448951                    /usr/lib64/libjpeg.so.8.0.2
7f26b74dc000-7f26b74dd000 rw-p 00045000 08:0b 1448951                    /usr/lib64/libjpeg.so.8.0.2
7f26b74dd000-7f26b74ed000 rw-p 00000000 00:00 0
7f26b74ed000-7f26b74f1000 r-xp 00000000 08:0b 2899                       /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
7f26b74f1000-7f26b76f1000 ---p 00004000 08:0b 2899                       /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
7f26b76f1000-7f26b76f2000 rw-p 00004000 08:0b 2899                       /usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
7f26b76f2000-7f26b771f000 r-xp 00000000 08:0b 1871824                    /usr/lib64/libpng15.so.15.15.0
7f26b771f000-7f26b791e000 ---p 0002d000 08:0b 1871824                    /usr/lib64/libpng15.so.15.15.0
7f26b791e000-7f26b791f000 r--p 0002c000 08:0b 1871824                    /usr/lib64/libpng15.so.15.15.0
7f26b791f000-7f26b7920000 rw-p 0002d000 08:0b 1871824                    /usr/lib64/libpng15.so.15.15.0
7f26b7920000-7f26b7928000 r-xp 00000000 08:0b 6437151                    /lib64/librt-2.15.so
7f26b7928000-7f26b7b27000 ---p 00008000 08:0b 6437151                    /lib64/librt-2.15.so
7f26b7b27000-7f26b7b28000 r--p 00007000 08:0b 6437151                    /lib64/librt-2.15.so
7f26b7b28000-7f26b7b29000 rw-p 00008000 08:0b 6437151                    /lib64/librt-2.15.so
7f26b7b29000-7f26b7b79000 r-xp 00000000 08:0b 6321596                    /usr/lib64/libgobject-2.0.so.0.3200.4
7f26b7b79000-7f26b7d78000 ---p 00050000 08:0b 6321596                    /usr/lib64/libgobject-2.0.so.0.3200.4
7f26b7d78000-7f26b7d7a000 r--p 0004f000 08:0b 6321596                    /usr/lib64/libgobject-2.0.so.0.3200.4
7f26b7d7a000-7f26b7d7b000 rw-p 00051000 08:0b 6321596                    /usr/lib64/libgobject-2.0.so.0.3200.4
7f26b7d7b000-7f26b7daf000 r-xp 00000000 08:0b 666013                     /usr/lib64/libfontconfig.so.1.4.4
7f26b7daf000-7f26b7faf000 ---p 00034000 08:0b 666013                     /usr/lib64/libfontconfig.so.1.4.4
7f26b7faf000-7f26b7fb0000 r--p 00034000 08:0b 666013                     /usr/lib64/libfontconfig.so.1.4.4
7f26b7fb0000-7f26b7fb1000 rw-p 00035000 08:0b 666013                     /usr/lib64/libfontconfig.so.1.4.4
7f26b7fb1000-7f26b804d000 r-xp 00000000 08:0b 1849927                    /usr/lib64/libfreetype.so.6.10.0
7f26b804d000-7f26b824d000 ---p 0009c000 08:0b 1849927                    /usr/lib64/libfreetype.so.6.10.0
7f26b824d000-7f26b8252000 r--p 0009c000 08:0b 1849927                    /usr/lib64/libfreetype.so.6.10.0
7f26b8252000-7f26b8253000 rw-p 000a1000 08:0b 1849927                    /usr/lib64/libfreetype.so.6.10.0
7f26b8253000-7f26b829f000 r-xp 00000000 08:0b 6304438                    /usr/lib64/libpango-1.0.so.0.3000.1
7f26b829f000-7f26b849e000 ---p 0004c000 08:0b 6304438                    /usr/lib64/libpango-1.0.so.0.3000.1
7f26b849e000-7f26b84a0000 r--p 0004b000 08:0b 6304438                    /usr/lib64/libpango-1.0.so.0.3000.1
7f26b84a0000-7f26b84a1000 rw-p 0004d000 08:0b 6304438                    /usr/lib64/libpango-1.0.so.0.3000.1
7f26b84a1000-7f26b85a7000 r-xp 00000000 08:0b 2246351                    /usr/lib64/libcairo.so.2.11200.14
7f26b85a7000-7f26b87a7000 ---p 00106000 08:0b 2246351                    /usr/lib64/libcairo.so.2.11200.14
7f26b87a7000-7f26b87aa000 r--p 00106000 08:0b 2246351                    /usr/lib64/libcairo.so.2.11200.14
7f26b87aa000-7f26b87ac000 rw-p 00109000 08:0b 2246351                    /usr/lib64/libcairo.so.2.11200.14
7f26b87ac000-7f26b87ad000 rw-p 00000000 00:00 0
7f26b87ad000-7f26b87ce000 r-xp 00000000 08:0b 398466                     /usr/lib64/libgdk_pixbuf-2.0.so.0.2600.4
7f26b87ce000-7f26b89cd000 ---p 00021000 08:0b 398466                     /usr/lib64/libgdk_pixbuf-2.0.so.0.2600.4
7f26b89cd000-7f26b89ce000 r--p 00020000 08:0b 398466                     /usr/lib64/libgdk_pixbuf-2.0.so.0.2600.4
7f26b89ce000-7f26b89cf000 rw-p 00021000 08:0b 398466                     /usr/lib64/libgdk_pixbuf-2.0.so.0.2600.4
7f26b89cf000-7f26b89db000 r-xp 00000000 08:0b 6300897                    /usr/lib64/libpangocairo-1.0.so.0.3000.1
7f26b89db000-7f26b8bda000 ---p 0000c000 08:0b 6300897                    /usr/lib64/libpangocairo-1.0.so.0.3000.1
7f26b8bda000-7f26b8bdb000 r--p 0000b000 08:0b 6300897                    /usr/lib64/libpangocairo-1.0.so.0.3000.1
7f26b8bdb000-7f26b8bdc000 rw-p 0000c000 08:0b 6300897                    /usr/lib64/libpangocairo-1.0.so.0.3000.1
7f26b8bdc000-7f26b8c08000 r-xp 00000000 08:0b 6300867                    /usr/lib64/libpangoft2-1.0.so.0.3000.1
7f26b8c08000-7f26b8e08000 ---p 0002c000 08:0b 6300867                    /usr/lib64/libpangoft2-1.0.so.0.3000.1
7f26b8e08000-7f26b8e09000 r--p 0002c000 08:0b 6300867                    /usr/lib64/libpangoft2-1.0.so.0.3000.1
7f26b8e09000-7f26b8e0a000 rw-p 0002d000 08:0b 6300867                    /usr/lib64/libpangoft2-1.0.so.0.3000.1
7f26b8e0a000-7f26b8f5a000 r-xp 00000000 08:0b 6322263                    /usr/lib64/libgio-2.0.so.0.3200.4
7f26b8f5a000-7f26b9159000 ---p 00150000 08:0b 6322263                    /usr/lib64/libgio-2.0.so.0.3200.4
7f26b9159000-7f26b915d000 r--p 0014f000 08:0b 6322263                    /usr/lib64/libgio-2.0.so.0.3200.4
7f26b915d000-7f26b915f000 rw-p 00153000 08:0b 6322263                    /usr/lib64/libgio-2.0.so.0.3200.4
7f26b915f000-7f26b9160000 rw-p 00000000 00:00 0
7f26b9160000-7f26b9182000 r-xp 00000000 08:0b 2387941                    /usr/lib64/libatk-1.0.so.0.20609.1
7f26b9182000-7f26b9381000 ---p 00022000 08:0b 2387941                    /usr/lib64/libatk-1.0.so.0.20609.1
7f26b9381000-7f26b9383000 r--p 00021000 08:0b 2387941                    /usr/lib64/libatk-1.0.so.0.20609.1
7f26b9383000-7f26b9384000 rw-p 00023000 08:0b 2387941                    /usr/lib64/libatk-1.0.so.0.20609.1
7f26b9384000-7f26b9436000 r-xp 00000000 08:0b 1464068                    /usr/lib64/libgdk-x11-2.0.so.0.2400.17
7f26b9436000-7f26b9635000 ---p 000b2000 08:0b 1464068                    /usr/lib64/libgdk-x11-2.0.so.0.2400.17
7f26b9635000-7f26b9639000 r--p 000b1000 08:0b 1464068                    /usr/lib64/libgdk-x11-2.0.so.0.2400.17
7f26b9639000-7f26b963b000 rw-p 000b5000 08:0b 1464068                    /usr/lib64/libgdk-x11-2.0.so.0.2400.17
7f26b963b000-7f26b9a6e000 r-xp 00000000 08:0b 1464076                    /usr/lib64/libgtk-x11-2.0.so.0.2400.17
7f26b9a6e000-7f26b9c6e000 ---p 00433000 08:0b 1464076                    /usr/lib64/libgtk-x11-2.0.so.0.2400.17
7f26b9c6e000-7f26b9c75000 r--p 00433000 08:0b 1464076                    /usr/lib64/libgtk-x11-2.0.so.0.2400.17
7f26b9c75000-7f26b9c79000 rw-p 0043a000 08:0b 1464076                    /usr/lib64/libgtk-x11-2.0.so.0.2400.17
7f26b9c79000-7f26b9c7c000 rw-p 00000000 00:00 0
7f26b9c7c000-7f26b9da1000 r-xp 00000000 08:0b 6322311                    /usr/lib64/libglib-2.0.so.0.3200.4
7f26b9da1000-7f26b9fa1000 ---p 00125000 08:0b 6322311                    /usr/lib64/libglib-2.0.so.0.3200.4
7f26b9fa1000-7f26b9fa2000 r--p 00125000 08:0b 6322311                    /usr/lib64/libglib-2.0.so.0.3200.4
7f26b9fa2000-7f26b9fa3000 rw-p 00126000 08:0b 6322311                    /usr/lib64/libglib-2.0.so.0.3200.4
7f26b9fa3000-7f26b9fa4000 rw-p 00000000 00:00 0
7f26b9fa4000-7f26b9fa5000 r-xp 00000000 08:0b 6322551  


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: quaz0r on September 21, 2013, 08:05:01 PM
did we really need 20 pages of backtrace  O0


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: visual.bermarte on September 23, 2013, 04:27:01 PM
This is a mac running 10.8 :'(

clinfo:
Code:
Found 1 platform(s).
platform[0x7fff0000]: profile: FULL_PROFILE
platform[0x7fff0000]: version: OpenCL 1.2 (Jun 20 2012 14:18:19)
platform[0x7fff0000]: name: Apple
platform[0x7fff0000]: vendor: Apple
platform[0x7fff0000]: extensions: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event
platform[0x7fff0000]: Found 2 device(s).
device[0xffffffff]: NAME: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
device[0xffffffff]: VENDOR: Intel
device[0xffffffff]: PROFILE: FULL_PROFILE
device[0xffffffff]: VERSION: OpenCL 1.2
device[0xffffffff]: EXTENSIONS: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_APPLE_fp64_basic_ops cl_APPLE_fixed_alpha_channel_orders cl_APPLE_biased_fixed_point_image_formats
device[0xffffffff]: DRIVER_VERSION: 1.1

device[0xffffffff]: Type: CPU
device[0xffffffff]: EXECUTION_CAPABILITIES: Kernel Native
device[0xffffffff]: GLOBAL_MEM_CACHE_TYPE: Read-Write (2)
device[0xffffffff]: CL_DEVICE_LOCAL_MEM_TYPE: Global (2)
device[0xffffffff]: SINGLE_FP_CONFIG: 0xbf
device[0xffffffff]: QUEUE_PROPERTIES: 0x2

device[0xffffffff]: VENDOR_ID: 4294967295
device[0xffffffff]: MAX_COMPUTE_UNITS: 2
device[0xffffffff]: MAX_WORK_ITEM_DIMENSIONS: 3
device[0xffffffff]: MAX_WORK_GROUP_SIZE: 1024
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_CHAR: 16
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_SHORT: 8
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_INT: 4
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_LONG: 2
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_FLOAT: 4
device[0xffffffff]: PREFERRED_VECTOR_WIDTH_DOUBLE: 2
device[0xffffffff]: MAX_CLOCK_FREQUENCY: 2400
device[0xffffffff]: ADDRESS_BITS: 64
device[0xffffffff]: MAX_MEM_ALLOC_SIZE: 536870912
device[0xffffffff]: IMAGE_SUPPORT: 1
device[0xffffffff]: MAX_READ_IMAGE_ARGS: 128
device[0xffffffff]: MAX_WRITE_IMAGE_ARGS: 8
device[0xffffffff]: IMAGE2D_MAX_WIDTH: 8192
device[0xffffffff]: IMAGE2D_MAX_HEIGHT: 8192
device[0xffffffff]: IMAGE3D_MAX_WIDTH: 2048
device[0xffffffff]: IMAGE3D_MAX_HEIGHT: 2048
device[0xffffffff]: IMAGE3D_MAX_DEPTH: 2048
device[0xffffffff]: MAX_SAMPLERS: 16
device[0xffffffff]: MAX_PARAMETER_SIZE: 4096
device[0xffffffff]: MEM_BASE_ADDR_ALIGN: 1024
device[0xffffffff]: MIN_DATA_TYPE_ALIGN_SIZE: 128
device[0xffffffff]: GLOBAL_MEM_CACHELINE_SIZE: 4194304
device[0xffffffff]: GLOBAL_MEM_CACHE_SIZE: 64
device[0xffffffff]: GLOBAL_MEM_SIZE: 2147483648
device[0xffffffff]: MAX_CONSTANT_BUFFER_SIZE: 65536
device[0xffffffff]: MAX_CONSTANT_ARGS: 8
device[0xffffffff]: LOCAL_MEM_SIZE: 32768
device[0xffffffff]: ERROR_CORRECTION_SUPPORT: 0
device[0xffffffff]: PROFILING_TIMER_RESOLUTION: 1
device[0xffffffff]: ENDIAN_LITTLE: 1
device[0xffffffff]: AVAILABLE: 1
device[0xffffffff]: COMPILER_AVAILABLE: 1
device[0x1022600]: NAME: GeForce 8600M GT
device[0x1022600]: VENDOR: NVIDIA
device[0x1022600]: PROFILE: FULL_PROFILE
device[0x1022600]: VERSION: OpenCL 1.0
device[0x1022600]: EXTENSIONS: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
device[0x1022600]: DRIVER_VERSION: CLH 1.0

device[0x1022600]: Type: GPU
device[0x1022600]: EXECUTION_CAPABILITIES: Kernel
device[0x1022600]: GLOBAL_MEM_CACHE_TYPE: None (0)
device[0x1022600]: CL_DEVICE_LOCAL_MEM_TYPE: Local (1)
device[0x1022600]: SINGLE_FP_CONFIG: 0x1e
device[0x1022600]: QUEUE_PROPERTIES: 0x2

device[0x1022600]: VENDOR_ID: 16918016
device[0x1022600]: MAX_COMPUTE_UNITS: 4
device[0x1022600]: MAX_WORK_ITEM_DIMENSIONS: 3
device[0x1022600]: MAX_WORK_GROUP_SIZE: 512
device[0x1022600]: PREFERRED_VECTOR_WIDTH_CHAR: 1
device[0x1022600]: PREFERRED_VECTOR_WIDTH_SHORT: 1
device[0x1022600]: PREFERRED_VECTOR_WIDTH_INT: 1
device[0x1022600]: PREFERRED_VECTOR_WIDTH_LONG: 1
device[0x1022600]: PREFERRED_VECTOR_WIDTH_FLOAT: 1
device[0x1022600]: PREFERRED_VECTOR_WIDTH_DOUBLE: 0
device[0x1022600]: MAX_CLOCK_FREQUENCY: 940
device[0x1022600]: ADDRESS_BITS: 32
device[0x1022600]: MAX_MEM_ALLOC_SIZE: 134217728
device[0x1022600]: IMAGE_SUPPORT: 1
device[0x1022600]: MAX_READ_IMAGE_ARGS: 128
device[0x1022600]: MAX_WRITE_IMAGE_ARGS: 8
device[0x1022600]: IMAGE2D_MAX_WIDTH: 4096
device[0x1022600]: IMAGE2D_MAX_HEIGHT: 4096
device[0x1022600]: IMAGE3D_MAX_WIDTH: 2048
device[0x1022600]: IMAGE3D_MAX_HEIGHT: 2048
device[0x1022600]: IMAGE3D_MAX_DEPTH: 2048
device[0x1022600]: MAX_SAMPLERS: 16
device[0x1022600]: MAX_PARAMETER_SIZE: 4352
device[0x1022600]: MEM_BASE_ADDR_ALIGN: 1024
device[0x1022600]: MIN_DATA_TYPE_ALIGN_SIZE: 128
device[0x1022600]: GLOBAL_MEM_CACHELINE_SIZE: 0
device[0x1022600]: GLOBAL_MEM_CACHE_SIZE: 0
device[0x1022600]: GLOBAL_MEM_SIZE: 268435456
device[0x1022600]: MAX_CONSTANT_BUFFER_SIZE: 65536
device[0x1022600]: MAX_CONSTANT_ARGS: 9
device[0x1022600]: LOCAL_MEM_SIZE: 16384
device[0x1022600]: ERROR_CORRECTION_SUPPORT: 0
device[0x1022600]: PROFILING_TIMER_RESOLUTION: 1000
device[0x1022600]: ENDIAN_LITTLE: 1
device[0x1022600]: AVAILABLE: 1
device[0x1022600]: COMPILER_AVAILABLE: 1

OpenCL Platform number is: 1
OpenCL Platform is by: Apple
OpenCL contexts created
OpenCL Number of compute units: 4
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 512
OpenCL Max clock frequency  940 MHz
OpenCL Memory size  256 MB
OpenCL Max constant buffer size  64 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
OpenCL Build log:   Error getting function data from server
ERROR: Program::build() (-11)
logout


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 23, 2013, 06:11:39 PM
bermarte, try what is mentioned here: http://stackoverflow.com/questions/7852581/clbuildprogram-failed-with-error-code-11-and-without-build-log

Quote
You can learn the meaning of OpenCL error codes by searching in cl.h. In this case, -11 is just what you'd expect, CL_BUILD_PROGRAM_FAILURE. It's certainly curious that the build log is empty. Two questions:

1.) What is the return value from clGetProgramBuildInfo?

2.) What platform are you on? If you are using Apple's OpenCL implementation, you could try setting CL_LOG_ERRORS=stdout in your environment. For example, from Terminal:

$ CL_LOG_ERRORS=stdout ./myprog

Then we will get information what is going wrong during program compilation.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: visual.bermarte on September 23, 2013, 09:50:57 PM
I need more time to investigate the problem but now is much better.
Here there is a mini test made with OSX-mandelbulber using OpenCL  ;D  :beer:


Title: Re: Mandelbulber 1.17-2 - OpenCL
Post by: Buddhi on September 24, 2013, 08:08:19 PM
Today I have released Mandelbulber 1.17-2 which include some bugfixes for OpenCL engine:

- fixed bug: OpenCL - include path compatible with nVidia-win32 driver requirements (no "/")
- fixed bug: OpenCL - changed all M_PI to M_PI_F - there were problems with compilation kernel code on some machines
- fixed bug: OpenCL - some frames of animation were incomplete
- fixed bug: OpenCL - removed #pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
- fixed bug: on Arch Linux there was problem with missing system includes

As always newest version is here: http://sourceforge.net/projects/mandelbulber/

Please let me know if there is still something wrong


Title: Crashing on Render
Post by: AshkanV on September 26, 2013, 07:22:27 PM
Hi
Thanks for your fantastic program.
I have problems rendering using OpenCL.
Whenever I enable OpenCL and click the Render button, it crashes.


Here is terminal log:
===================
Detected 8 CPUs
Memory allocated
g_thread already initialised or not supported
Undo status: count=12, last=12, level=12
Default settings loaded successfully (/usr/share/mandelbulber/examples/default.fract)
OpenCL Platform number is: 1
OpenCL Platform is by: Advanced Micro Devices, Inc.
OpenCL contexts created
OpenCL Number of compute units: 10
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 256
OpenCL Max clock frequency  700 MHz
OpenCL Memory size  512 MB
OpenCL Max constant buffer size  64 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
OpenCL Build log:
OpenCL program built done
OpenCL kernel opened
OpenCL workgroup size: 256
OpenCL Job size: 2560
reflectBuffer size = 2400 kB
OpenCL buffers created
OpenCL command queue prepared
Undo information saved (index = 12)
Data has been read from interface
Memory for image: 14 MB
Memory for image reallocated
Lights placed
************ Rendering frames *************
OpenCL rendering
OpenCL Platform number is: 1
OpenCL Platform is by: Advanced Micro Devices, Inc.
OpenCL contexts created
OpenCL Number of compute units: 10
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 256
OpenCL Max clock frequency  700 MHz
OpenCL Memory size  512 MB
OpenCL Max constant buffer size  64 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
OpenCL Build log:
OpenCL program built done
OpenCL kernel opened
OpenCL workgroup size: 256
OpenCL Job size: 2560
reflectBuffer size = 2400 kB
OpenCL buffers created
OpenCL command queue prepared
ERROR: Buffer::Buffer() (-61)



Log file content:
===================
0: Log file created
0: Parameters read from console, value = 1
0: GTK initialised
0: CPUs detected, value = 8
10000: Memory allocated for preview
10000: memory for lights allocated
10000: g_thread initialised
10000: allocated memory for default parameters
10000: Data directory
10000: Settings directory
10000: Images directory
10000: Keyframes directory
10000: Paths directory
10000: Undo directory
10000: Defaults regenerated
10000: Undo buffer status loaded
20000: Default settings loaded
4110000: Memory allocated for fractal parameters
4110000: Data read from interface
4140000: complexImage allocated
4140000: rgbbuf allocated
4160000: Windows refreshed
4160000: Palette refreshed on GUI
4160000: Lights placed
4160000: ************ Rendering frames *************
4160000: Started rendering frame, value = 0
4160000: IFS params recalculated
4160000: Formula sequence created
4160000: GUI data refreshed
4170000: Image cleared



System:
===================
ATI Radeon HD 5870M - Using official AMD driver v13.8 from RPMFusion repository
Using Mandelbulber 1.17 OpenCL version compiled on Linux, Fedora 19 x64 - KDE 4.10



clinfo:
===================
Number of platforms:             1
  Platform Profile:             FULL_PROFILE
  Platform Version:             OpenCL 1.2 AMD-APP (1214.3)
  Platform Name:             AMD Accelerated Parallel Processing
  Platform Vendor:             Advanced Micro Devices, Inc.
  Platform Extensions:             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:             AMD Accelerated Parallel Processing
Number of devices:             2
  Device Type:                CL_DEVICE_TYPE_GPU
  Device ID:                4098
  Board name:                ATI Mobility Radeon HD 5800 Series
  Device Topology:             PCI[ B#1, D#0, F#0 ]
  Max compute units:             10
  Max work items dimensions:          3
    Max work items[0]:             256
    Max work items[1]:             256
    Max work items[2]:             256
  Max work group size:             256
  Preferred vector width char:          16
  Preferred vector width short:          8
  Preferred vector width int:          4
  Preferred vector width long:          2
  Preferred vector width float:          4
  Preferred vector width double:       0
  Native vector width char:          16
  Native vector width short:          8
  Native vector width int:          4
  Native vector width long:          2
  Native vector width float:          4
  Native vector width double:          0
  Max clock frequency:             700Mhz
  Address bits:                32
  Max memory allocation:          134217728
  Image support:             Yes
  Max number of images read arguments:       128
  Max number of images write arguments:       8
  Max image 2D width:             16384
  Max image 2D height:             16384
  Max image 3D width:             2048
  Max image 3D height:             2048
  Max image 3D depth:             2048
  Max samplers within kernel:          16
  Max size of kernel argument:          1024
  Alignment (bits) of base address:       2048
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                No
    Quiet NaNs:                Yes
    Round to nearest even:          Yes
    Round to zero:             Yes
    Round to +ve and infinity:          Yes
    IEEE754-2008 fused multiply-add:       Yes
  Cache type:                None
  Cache line size:             0
  Cache size:                0
  Global memory size:             536870912
  Constant buffer size:             65536
  Max number of constant args:          8
  Local memory type:             Scratchpad
  Local memory size:             32768
  Kernel Preferred work group size multiple:    64
  Error correction support:          0
  Unified memory for Host and Device:       0
  Profiling timer resolution:          1
  Device endianess:             Little
  Available:                Yes
  Compiler available:             Yes
  Execution capabilities:            
    Execute OpenCL kernels:          Yes
    Execute native function:          No
  Queue properties:            
    Out-of-Order:             No
    Profiling :                Yes
  Platform ID:                0x00007fbb1e15ffc0
  Name:                   Juniper
  Vendor:                Advanced Micro Devices, Inc.
  Device OpenCL C version:          OpenCL C 1.2
  Driver version:             1214.3
  Profile:                FULL_PROFILE
  Version:                OpenCL 1.2 AMD-APP (1214.3)
  Extensions:                cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_amd_image2d_from_buffer_read_only


  Device Type:                CL_DEVICE_TYPE_CPU
  Device ID:                4098
  Board name:               
  Max compute units:             8
  Max work items dimensions:          3
    Max work items[0]:             1024
    Max work items[1]:             1024
    Max work items[2]:             1024
  Max work group size:             1024
  Preferred vector width char:          16
  Preferred vector width short:          8
  Preferred vector width int:          4
  Preferred vector width long:          2
  Preferred vector width float:          4
  Preferred vector width double:       2
  Native vector width char:          16
  Native vector width short:          8
  Native vector width int:          4
  Native vector width long:          2
  Native vector width float:          4
  Native vector width double:          2
  Max clock frequency:             1066Mhz
  Address bits:                64
  Max memory allocation:          2147483648
  Image support:             Yes
  Max number of images read arguments:       128
  Max number of images write arguments:       8
  Max image 2D width:             8192
  Max image 2D height:             8192
  Max image 3D width:             2048
  Max image 3D height:             2048
  Max image 3D depth:             2048
  Max samplers within kernel:          16
  Max size of kernel argument:          4096
  Alignment (bits) of base address:       1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                Yes
    Quiet NaNs:                Yes
    Round to nearest even:          Yes
    Round to zero:             Yes
    Round to +ve and infinity:          Yes
    IEEE754-2008 fused multiply-add:       Yes
  Cache type:                Read/Write
  Cache line size:             64
  Cache size:                32768
  Global memory size:             8354553856
  Constant buffer size:             65536
  Max number of constant args:          8
  Local memory type:             Global
  Local memory size:             32768
  Kernel Preferred work group size multiple:    1
  Error correction support:          0
  Unified memory for Host and Device:       1
  Profiling timer resolution:          1
  Device endianess:             Little
  Available:                Yes
  Compiler available:             Yes
  Execution capabilities:            
    Execute OpenCL kernels:          Yes
    Execute native function:          Yes
  Queue properties:            
    Out-of-Order:             No
    Profiling :                Yes
  Platform ID:                0x00007fbb1e15ffc0
  Name:                   Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
  Vendor:                GenuineIntel
  Device OpenCL C version:          OpenCL C 1.2
  Driver version:             1214.3 (sse2)
  Profile:                FULL_PROFILE
  Version:                OpenCL 1.2 AMD-APP (1214.3)
  Extensions:                cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt


Any help or suggestion is appreciated.
Thanks


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on September 26, 2013, 07:52:52 PM
Thanks for your fantastic program.
I have problems rendering using OpenCL.
Whenever I enable OpenCL and click the Render button, it crashes.

It crashed because you had to lees graphics memory available (Max memory allocation: 134217728). The program needs about 300MB of graphics memory to work with optimal OpenCL queue size (buffers for reflections take a lot).
 


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: AshkanV on September 28, 2013, 08:08:31 AM
It crashed because you had to lees graphics memory available (Max memory allocation: 134217728). The program needs about 300MB of graphics memory to work with optimal OpenCL queue size (buffers for reflections take a lot).
 

You are correct, but my device has 1024MB of dedicated memory, then why OpenCL only uses 128MB of it?
Is there any way to force OpenCL to use all available memory?

Update:
I found this on AMD Developer forums:
To use all available memory, some variables should be modified:
GPU_MAX_HEAP_SIZE
GPU_MAX_ALLOC_SIZE

for example in a shell:
export GPU_MAX_HEAP_SIZE=100
export GPU_MAX_ALLOC_SIZE=100
mandelbulber-opencl

or put it in the ".bash_profile" of home directory

Also if the 100 did not work, maybe 99 or some less value do the work.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: lukesleftleg on October 02, 2013, 01:44:19 PM
Oh wow, a new version.
Thanks very much Buddhi. :)

Just one thing, and please forgive me if I'm being completely thick, but I can't seem to find the "OpenCL Enable" checkbox (although I can see the HDR one just fine).

I'm running a nVidia GTX 550 ti, which I'm told has OpenCL support, but maybe it's become greyed out or something for some reason. Which tab would it be found on under normal conditions?

Thanks very much in advance.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: taurus on October 02, 2013, 02:37:23 PM

Just one thing, and please forgive me if I'm being completely thick, but I can't seem to find the "OpenCL Enable" checkbox (although I can see the HDR one just fine).


I had the same prob in the beginning. Take a look on your program folder. There are two executables - one classic and one opencl version. You might assume, only the opencl version has the opencl tab...  :dink:


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: KRAFTWERK on October 02, 2013, 03:50:23 PM
I need more time to investigate the problem but now is much better.
Here there is a mini test made with OSX-mandelbulber using OpenCL  ;D  :beer:

Hey Bermarte Way to go!!!  O0
There might be an old friend who is very interested in that OSX version...   :beer:O0


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: lukesleftleg on October 02, 2013, 04:17:39 PM
I had the same prob in the beginning. Take a look on your program folder. There are two executables - one classic and one opencl version. You might assume, only the opencl version has the opencl tab...  :dink:

Aha! Found it! Thank you very much. :)

Unfortunately, it dumps me back to the desktop when I enable it, but I've only just this minute walked in.
I'll update my drivers and stuff, and see if I can get to the root of the problem.

Thanks very much for the pointer though. :)


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on October 02, 2013, 06:36:24 PM
Under Windows in Start menu you have two items: Mandelbulber and Mandelbulber OpenCL.


Unfortunately, it dumps me back to the desktop when I enable it, but I've only just this minute walked in.
I'll update my drivers and stuff, and see if I can get to the root of the problem.

When you start the program from command line you will see more information what is wrong.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: lukesleftleg on October 02, 2013, 07:12:23 PM
When you start the program from command line you will see more information what is wrong.

Hi Buddhi, thanks for the reply.

Ok, I've tried it from the command line, and it gives me several lines of stats that look pretty generic (although I'm happy to provide these if it will help), but the lines that look important are these.

Code:
OpenCL Build log:       Error in processing command line: Don't understand command line argument "Files\Mandelbulber\cl"
"!
ERROR: Program::build() (-11)

(btw, these lines don't appear until I try to enable the OpenCL checkbox and the program exits, if that's any help).

Anyway, any ideas you might have would be very much appreciated, but I'm still hopelessly in love with this program even without the OpenCL stuff. :)


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on October 02, 2013, 08:25:18 PM
Hi Buddhi, thanks for the reply.
Ok, I've tried it from the command line, and it gives me several lines of stats that look pretty generic (although I'm happy to provide these if it will help), but the lines that look important are these.
Code:
OpenCL Build log:       Error in processing command line: Don't understand command line argument "Files\Mandelbulber\cl"
"!
ERROR: Program::build() (-11)
(btw, these lines don't appear until I try to enable the OpenCL checkbox and the program exits, if that's any help).
Anyway, any ideas you might have would be very much appreciated, but I'm still hopelessly in love with this program even without the OpenCL stuff. :)

Which version are you trying to run? 1.17 or 1.17-2? I fought that this problem is already fixed. I added double quotes in the code to avoid such a problem. It looks like the OpenCL driver still can't load files from application folder where the folder path contains spaces (like "Program files"). What is strange this problem is only with nVidia drivers (I suppose that you have nVidia gfx card).
Temporary to run the application you can move Mandelbulber program folder it to some place where there are no spaces in the path.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: lukesleftleg on October 02, 2013, 10:25:12 PM
I've got the program updated to 1.17-2, so I don't think that's the problem, and yes, it's a nVidia 550 ti in my machine (Windows 7 32bit).

Anyway, the program was in a folder with spaces (Program Files, funnily enough), so I copied the Mandelbulber folder to the root of the drive.

I'm afraid it still didn't seem to work, but this time, I got a slightly different error.

I'll include the more generic lines this time, just in case it helps.

Code:
OpenCL Platform number is: 1
OpenCL Platform is by: NVIDIA Corporation
OpenCL contexts created
OpenCL Number of compute units: 4
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 1024
OpenCL Max clock frequency  1800 MHz
OpenCL Memory size  0 MB
OpenCL Max constant buffer size  0 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
OpenCL Build log:       :9:10: fatal error: 'mandelbulber_cl_data.h' file not found
#include "mandelbulber_cl_data.h"
         ^

ERROR: Program::build() (-11)

Is there any other information I can provide that might help?


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on October 03, 2013, 06:36:00 PM
Now I'm completely don't know why it can't find 'mandelbulber_cl_data.h' file. Because I don't have computer with Windows and nVidia gfx card (I have ATI), I can't reproduce this error on my computer and I need to know where OpenCL library tries to find this file. But I have some idea how to do some diagnostic of the problem.
You have to do something for me.
1. Download "Process Monitor" from http://technet.microsoft.com/pl-pl/sysinternals/bb896645.aspx
2. Launch Mandelbulber OpenCL
3. launch Process Monitor
4. Set filter (menu Filter/Filter...) as it is showed on attached image. (Process Name | is | mandelbulber-opencl.exe | then | Include) and click Add and OK
5. Enable OpenCL in Mandelbulber
6. Look at output in Process Monitor window and try to find some reference for 'mandelbulber_cl_data.h'. It should look like on second attached image. The most interesting for me are events where result is "NAME NOT FOUND". Please do screenshot and send me.

I hope this will tell me more.




Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Syntopia on October 03, 2013, 09:24:12 PM
The only way I could get Mandelbulber to run on my Nvidia card, was by hardcoding the path of the "mandelbulber_cl_data.h" in the OpenCL code.

I've attached the Process Monitor dump for my system. I installed Mandelbulber in "E:\Mandelbulber", and in the console the parameter -I"E:\Mandelbulb/cl" is passed to the Nvidia compiler.



Title: Re: Mandelbulber 1.17 - OpenCL
Post by: lukesleftleg on October 03, 2013, 11:06:22 PM
Hi Buddhi,

Rather than risk giving you a useless screenshot showing nothing of any use to you, I've saved the Process Monitor output as a CSV file, and sent it to you in an email. Please let me know if it hasn't arrived, and I'll see if there's another way to get it to you.

Also, I was thinking that as an owner of a machine with a nVidia card in it, I might be able to do some further testing for you.
Please let me know if I can help in any way with this.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on October 04, 2013, 06:50:33 AM
Thanks Syntopia and lukesleftleg for this trial. It gives me a lot of information.


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Loadus on October 07, 2013, 02:00:32 AM
With the help of stuff posted on this thread, I got the OCL working on 1.17-2. My jaw dropped with the render times, fantastic work, Buddhi! <3


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: joe on October 11, 2013, 06:32:29 AM
I have a certain euphoria building for when the openCL version works for me. The Menger sponge test render got me thinking.
Here is the error code I get:

https://soundcloud.com/mr-squatch/mr-squatch-i-love-asparagus

Whoops. Haha. Try again:

OpenCL Platform number is: 1
OpenCL Platform is by: Advanced Micro Devices, Inc.
OpenCL contexts created
OpenCL Number of compute units: 10
OpenCL Max work item dimmensions: 3
OpenCL Max work group size: 256
OpenCL Max clock frequency  625 MHz
OpenCL Memory size  0 MB
OpenCL Max constant buffer size  0 kB
OpenCL Constant buffer used  1 kB
OpenCL Number of loaded sources 7
OpenCL Build log:
ERROR: Program::build() (-43)

If this is a horrendously n00bish post, please point me in the direction of the education I so sorely need  ;D


Title: Re: Mandelbulber 1.17 - OpenCL
Post by: Buddhi on October 15, 2013, 10:03:11 PM
Version 1.18 is released. I hope it will work better than previous. Please visit http://www.fractalforums.com/releases-b233/mandelbulber-1-18-opencl/ and comment.