Logo by Sockratease - Contribute your own Logo!

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

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

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. March 29, 2024, 09:49:46 AM


Login with username, password and session length


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


Pages: 1 [2] 3 4   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Mandelbulber 1.11  (Read 12507 times)
0 Members and 1 Guest are viewing this topic.
PhotoComix
Strange Attractor
***
Posts: 276


« Reply #15 on: February 15, 2012, 02:29:52 AM »

My suggestion for checkinstall was mainly directed to Buddhi, but anyway you may found handy:
 as example if compiled using checkinstall in the last step, you got a package that you may handle as the others from synaptic .

if M. requires libraries that may conflict with others you have installed and you needs, you may better install in "opt" instead than in the standard directory
Logged
ant123
Guest
« Reply #16 on: February 15, 2012, 10:47:21 AM »

it works,i had to run the "make all" from scratch after installing all the packages.
AMAZING!!! so fast!!! thanks Buddhi!!!

Folding int pow 2.2 takes 22 seconds instead of 18 minutes.
default fract takes 0.18 seconds instead of 14s
tglad scale 2 fract takes 1.06 seconds

have to remember to set cl mode to all shaders etc, although crazy fog level crashed.

OpenCL mode renders slight grainy images, and you have to devide ambient occlusion in 2 to have the same shadows as CPU. it isnt photorealistic like cpu mode, because it looks  like it needs a 2 passes.a solution is if you bump up the image parameters to double and view  1/2 pixels it looks pretty photorealistic in openCL

I just rendered a 2400 x 2400 complex fractal in 65s, so it will be good for making films with!

...

there are some white dots on it and grainyness from open CL, also shadows levels are different. Any idea how to get rid of the grainyness? it looks like it is just some missed pixels, i tried changing DE level and iteration count... some of the background also has white dot pixels on from missed areas, and the most complicated areas of the fractals have lots of pixels missing from low computation extents.

Still AMAZING!!!  already useable for animations.
« Last Edit: February 15, 2012, 03:55:58 PM by ant123 » Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #17 on: February 15, 2012, 12:17:39 PM »

My problem is much more simple smiley

Code:
[...]
Building target: mandelbulber
Invoking: GCC C++ Linker
g++ -o"mandelbulber" -L/usr/lib/x86_64-linux-gnu/  ./src/Render3D.o ./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o ./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o ./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o ./src/cl_support.o   -lpng -ljpeg  `pkg-config --libs gtk+-2.0 gthread-2.0`
Finished building target: mandelbulber
 
mkdir: cannot create directory `/usr/share/mandelbulber': File exists
/usr/share/applications/mandelbulber.desktop: error: (will be fatal in the future): value "Math" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Education;Science
/usr/share/applications/mandelbulber.desktop: error: (will be fatal in the future): value "Science" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Education
mandelbulber installed successfully
to run please type mandelbulber or select from system menu
ker2x@arthurus:~/mandelbulber1.11.orig$ mandelbulber
Log file: /home/ker2x/.mandelbulber_log.txt
Detected 8 CPUs
Memory allocated
g_thread already initialised or not supported
Default data directory: /home/ker2x/.mandelbulber
Can't acces default data directory: /home/ker2x/.mandelbulber

it seems that's the install doesn't create the ~/.mandelbulber  cry
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
ant123
Guest
« Reply #18 on: February 15, 2012, 12:22:40 PM »


mkdir: cannot create directory `/usr/share/mandelbulber': File exists
/usr/share/applications/mandelbulber.desktop: error: (will be fatal in the future): value "Math" in key "Categories" in group "Desktop Entry" requires


Usr/share is a read only directory, only the system and the root can access it, you could try running
Code:
sudo make all
and
Code:
sudo make install
to run the installation as a superuser.
Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #19 on: February 15, 2012, 01:38:55 PM »

Usr/share is a read only directory, only the system and the root can access it, you could try running
Code:
sudo make all
and
Code:
sudo make install
to run the installation as a superuser.

yes. it worls by doing make all && sudo ./install
while sudo ./install (and let the installer compiling) doesn't work.
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
ant123
Guest
« Reply #20 on: February 15, 2012, 03:51:14 PM »

ok here are some better pics, Is there a way to increase the number of steps/ step multiplier?

here is OCL vs CPU renders.


* opencl1x.jpg (218.97 KB, 705x647 - viewed 281 times.)

* openclorig.jpg (159.3 KB, 705x647 - viewed 263 times.)
« Last Edit: February 15, 2012, 03:53:21 PM by ant123 » Logged
ant123
Guest
« Reply #21 on: February 15, 2012, 03:52:16 PM »

here is a 65mb 8000x6000 pixel mandelbox rendered in 238 seconds!


* 65megbluebox.jpg (247.64 KB, 1137x944 - viewed 279 times.)
« Last Edit: February 15, 2012, 06:37:54 PM by ant123 » Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #22 on: February 15, 2012, 06:44:51 PM »

My problem is much more simple smiley

Code:
[...]
Building target: mandelbulber
Invoking: GCC C++ Linker
g++ -o"mandelbulber" -L/usr/lib/x86_64-linux-gnu/  ./src/Render3D.o ./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o ./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o ./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o ./src/cl_support.o   -lpng -ljpeg  `pkg-config --libs gtk+-2.0 gthread-2.0`
Finished building target: mandelbulber
 
mkdir: cannot create directory `/usr/share/mandelbulber': File exists
/usr/share/applications/mandelbulber.desktop: error: (will be fatal in the future): value "Math" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Education;Science
/usr/share/applications/mandelbulber.desktop: error: (will be fatal in the future): value "Science" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Education
mandelbulber installed successfully
to run please type mandelbulber or select from system menu
ker2x@arthurus:~/mandelbulber1.11.orig$ mandelbulber
Log file: /home/ker2x/.mandelbulber_log.txt
Detected 8 CPUs
Memory allocated
g_thread already initialised or not supported
Default data directory: /home/ker2x/.mandelbulber
Can't acces default data directory: /home/ker2x/.mandelbulber

it seems that's the install doesn't create the ~/.mandelbulber  cry

Install script doesn't create ~/.mandelbulber directory. This directory is created when program is started first time (when it doesn't exist). Please check whether you already have this directory, because it looks you have this with some weird access rights (program has no permission to enter this directory).
To get more diagnostic you can run the program using strace ("strace mandelbulber")
Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #23 on: February 15, 2012, 07:01:38 PM »

it works,i had to run the "make all" from scratch after installing all the packages.
AMAZING!!! so fast!!! thanks Buddhi!!!

Folding int pow 2.2 takes 22 seconds instead of 18 minutes.
default fract takes 0.18 seconds instead of 14s
tglad scale 2 fract takes 1.06 seconds

have to remember to set cl mode to all shaders etc, although crazy fog level crashed.

OpenCL mode renders slight grainy images, and you have to devide ambient occlusion in 2 to have the same shadows as CPU. it isnt photorealistic like cpu mode, because it looks  like it needs a 2 passes.a solution is if you bump up the image parameters to double and view  1/2 pixels it looks pretty photorealistic in openCL

I just rendered a 2400 x 2400 complex fractal in 65s, so it will be good for making films with!

...

there are some white dots on it and grainyness from open CL, also shadows levels are different. Any idea how to get rid of the grainyness? it looks like it is just some missed pixels, i tried changing DE level and iteration count... some of the background also has white dot pixels on from missed areas, and the most complicated areas of the fractals have lots of pixels missing from low computation extents.

Still AMAZING!!!  already useable for animations.

I'm glad you already compiled and run the program. I see that on you graphics card speed results are really impressive. You can get even faster rendering when you increase "pixels per job" parameter. Then opencl will work more efficient. But this parameter shouldn't be too high because when job is executed in time longer than about 10s, it will crash the program (or system could hang). OpenCL has something like "watch dog" which is checking whether there is no endless loop in the opencl kernel program.

To use "crazy" engine you have to decrease "pixels per job" to about 1000 (the reason is describe in previous paragraph)

Graininess of some images is caused by limited accuracy of calculation. OpenCL in standard uses only single precision float type variables. There is also possibility to use double float type but not all gfx card can work with this (mine not), and even it can, calculation speed is not so high.
Logged

ricbennet
Forums Newbie
*
Posts: 9


« Reply #24 on: February 15, 2012, 09:46:54 PM »

Hello,
I have done compilation of MandelBulb11opencl under Windows 7 (Nvidia Geforce 560ti ) with code::blocks and mingw32 and it work (but not immediatly  undecided).
I have done some quick tests and the results are fantastic in term of speed.
But It seems that the quality under Opencl is not as good as without opencl.
Some fractals seems doesn't work and the mode "crazy" is very dangerous...

see attachments for images and comparaison between the two modes.
More tests to do..

Bravo Buddhi, It is a great piece of software...


* default with opencl.JPG (71.69 KB, 800x470 - viewed 252 times.)

* default without opencl.JPG (82.37 KB, 800x516 - viewed 269 times.)

* fish eye - avec opencl.JPG (79.09 KB, 800x424 - viewed 268 times.)

* fish eye - sans opencl.JPG (71.9 KB, 800x429 - viewed 264 times.)
Logged
ant123
Guest
« Reply #25 on: February 16, 2012, 12:50:00 PM »

Hello,
I have done compilation of MandelBulb11opencl under Windows 7 (Nvidia Geforce 560ti ) with code::blocks and mingw32
Hello, could you post a brief guide of how to compile with code::blocks and mingw32? it's a kind of emulation?

the quality difference from pics 1&2 is a distance estimation difference from OpenCL maths, it's just an algorithm bug. It mostly looks fine when you zoom in. Also, only some of the formulas, box, bulb, quaternion and some others are coded in CL so if you do a hybrid dodec/bulb you will only get a mandelbulb. so Fisheye isnt coded there yet, also some of the positional info is different in CL.

The question is, what kind of quality can be achieved with OpenCL? you would basically be looking at higher resolution pics of this quality:
http://www.flickr.com/photos/roddh/page13/ with better "shininess" = specularity, nicer colors and the best formulas that you can see on Digital Blasphemy with tubes and things. so great quality! CL has 6 digits to play with after the zero compared to CPU that has 15-16 digits after the zero, http://www.powerbasic.com/support/help/pbcc/single-precision_floating-point_(!).htm so the color depths can look abit more cartoony but i think that there are algorythms to interpolate rich color from single precision on the net... also as soon as you turn on ambient occlusion the shadows look photorealistic in CL. the original formulas in Mandelbulber are precise and perfect, so question is to make images as fluffy and nice colors as original version, it should be pretty close. For animations etc everyone will be making 1080p cinema films with open CL smiley
Logged
ant123
Guest
« Reply #26 on: February 16, 2012, 03:59:06 PM »

I have done compilation of MandelBulb11opencl under Windows 7 (Nvidia Geforce 560ti ) with code::blocks and mingw32

Hehe ... could you put the windows version online smiley i downloaded code::blocks with ming32 and i got as far as new project "this is a custom makefile" in project properties, and then it get abit difficult.

openCL actually has mixed precision double/single FP modes, perhaps it will be same renders as processor version, perhaps we could donate to Buddhi for a new graphics card because everyone is selling there gtx 260 at the moment and other recent cards that are pretty fast.
Logged
ricbennet
Forums Newbie
*
Posts: 9


« Reply #27 on: February 16, 2012, 08:00:16 PM »

Hello, could you post a brief guide of how to compile with code::blocks and mingw32? it's a kind of emulation?
Very complicated. undecided
Code::block is an IDE running under Windows and it uses mingw32 which is a compiler with GNU compatibilities.
I try visual studio to compile Mandelbulb, but it is to much complicated (perhaps impossible). Too much differences between the two C++ implementation.

I attached the project file, if someone want to try...

Thank you for your explanations. wink

* MandelBulb.zip (1.57 KB - downloaded 132 times.)
« Last Edit: February 16, 2012, 09:41:18 PM by ricbennet » Logged
ant123
Guest
« Reply #28 on: February 16, 2012, 08:37:16 PM »

I attached the project file, if someone want to try...


Thanks! i think i have to copy all my compiler library directories to be the same as your pc to build the .exe... Could you please upload/ email the windows .exe and files to my email sr8 at live.co.uk and i will put them online somewhere. if it runs on win7 that is amazing, some pretty amazing cross-compiling.

Ok i will try to figure this error log ... at least 50 missing files!  grin
Logged
ricbennet
Forums Newbie
*
Posts: 9


« Reply #29 on: February 16, 2012, 08:39:31 PM »

Thanks! i think i have to copy all my compiler library directories to be the same as your pc to build the .exe... Could you please upload/ email the windows .exe and files to my email sr8 at live.co.uk and i will put them online somewhere. if it runs on win7 that is amazing, some pretty amazing cross-compiling.

Ok i will try to figure this error log ... at least 50 missing files!  grin

In order to compile the program, you need also the GTK librairy, the jpeg librairy,  the Opencl librairy...
You can put them in the same directories as mine or install them elsewhere and modify the path in the build options  hurt

Hehe ... could you put the windows version online smiley

No problems. MandelBulb11opencl for windows in attachments (3 parts)
Install the original program no opencl with Buddhi installation , then replace the mandelbulber.exe with the opencl version attached and add the "cl" directory attached in the same directory (I like my English  evil).

* MandelBulb11opencl.part01.rar (150 KB - downloaded 152 times.)
* MandelBulb11opencl.part02.rar (150 KB - downloaded 161 times.)
* MandelBulb11opencl.part03.rar (120.08 KB - downloaded 151 times.)
« Last Edit: February 16, 2012, 09:45:37 PM by ricbennet » Logged
Pages: 1 [2] 3 4   Go Down
  Print  
 
Jump to:  

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

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

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