Logo by Fractal Ken - Contribute your own Logo!
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. September 26, 2017, 11:53:20 PM


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]   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: Unofficial Mandelbulber 1.17.2 OpenCL win64 build  (Read 1880 times)
0 Members and 1 Guest are viewing this topic.
quaz0r
Fractal Molossus
**
Posts: 652



« on: October 07, 2013, 12:28:13 PM »

I thought I'd share my win64 build of Mandelbulber in case anyone wants to give it a try.  I made it use CLEW which dynamically loads OpenCL.dll at runtime, to avoid having to link to a specific DLL at compile time.  I've seen a few people post about crashes to desktop when enabling OpenCL; I tried 1.17.2 on my windows box and it crashes for me also.  This seems to work fine for me though so might be worth a try.  Just unzip and run as is.

Mandelbulber-1.17.2-x64-OpenCL-UNOFFICIAL.zip
md5sum:    00eddccf752484165c01b7f194bb31db

Edit:  There was a mismatched jpeg lib problem, fixed.
« Last Edit: October 07, 2013, 02:29:32 PM by quaz0r » Logged
Buddhi
Fractal Iambus
***
Posts: 885



WWW
« Reply #1 on: October 07, 2013, 05:53:37 PM »

Thanks for this. I will look how it works.
Logged

Buddhi
Fractal Iambus
***
Posts: 885



WWW
« Reply #2 on: October 07, 2013, 06:16:04 PM »

At first look you have to correct some important thing immediately. According to GNU GPL licence you have to distribute the application with complete source code. This is work of many people so it is very important to obey all licence terms. Please include src folder to the package.

Now I'm going to switch to Windows and test it....
Logged

Buddhi
Fractal Iambus
***
Posts: 885



WWW
« Reply #3 on: October 07, 2013, 06:38:11 PM »

I have tested it. OpenCL works properly with AMD. All other things works also properly except NetRender. I establishes connection in some part, but there is no data exchange. I had the same problem some time ago when I tried to build 64-bit version for Windows. We can use your build as a win64-OpenCL version with some limitation regarding NetRender. Please only include your version of source files. Then I will put your name in credit list, make installer, and upload it on Source Forge. Is it ok for you?
Logged

quaz0r
Fractal Molossus
**
Posts: 652



« Reply #4 on: October 08, 2013, 06:03:18 PM »

yeah that's fine.  curious about the netrender fail, probably another case where some minor thing needs adjusting to work with mingw64?  here's a link to the source.. not much is changed, just a few things to make it work with mingw64 and clew.  clew causes the opencl c++ wrapper to break in a few spots, so instead of including cl.hpp, i made the necessary changes and include it as clew-cl.hpp.

mandelbulber-1.17.2-quaz.tar.xz

also, i am a fan of the gpl and open source also, though the gpl does not dictate that you include the source in every binary package you make available.  it simply states that you must make the source available, usually as a separate package or if even simply to supply it upon request.
Logged
Buddhi
Fractal Iambus
***
Posts: 885



WWW
« Reply #5 on: October 08, 2013, 10:11:11 PM »

Thanks for the code. It looks very nice. I will combine your changes with latest version of code. As you wrote there is not so much to change. There will be the same sources for Linux and for Windows (I will use some #ifdef WIN32). Linux will use standard OpenCL approach and Windows will use CLEW. When I prepare final sources I will send you to compile and test it under win64 with nVidia.
Logged

quaz0r
Fractal Molossus
**
Posts: 652



« Reply #6 on: October 08, 2013, 10:28:28 PM »

sure, sounds good   drinking beer together
Logged
GinDiamond
Forums Newbie
*
Posts: 2


« Reply #7 on: March 03, 2014, 05:37:35 PM »

Why does the OpenCL work on my AMD gpu (although there are some noticeable artifacts on first render), but the official releases never do? I get errors saying

ERROR: ProgramSSAO::build() (-11)

OpenCL Build log:    :45:46: error: cannot increment value of type 'float'
                      for(float angle = 0; angel < quality; angle++)

with a wavy line under angle++

The first official release of Mandelbulber with openCL support did actually work, but after that, I got this error.

Is it just me?
Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #8 on: March 03, 2014, 06:00:15 PM »

I also encountered this error but it was fixed in version 1.21-1. Try downloading the latest version from Sourceforge.
Logged
GinDiamond
Forums Newbie
*
Posts: 2


« Reply #9 on: March 03, 2014, 06:21:14 PM »

Thanks!

It works!
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber and OpenCL Mandelbulber Buddhi 12 3665 Last post November 16, 2011, 11:04:25 AM
by Loadus
Best Linux OS for Mandelbulber with OpenCL Mandelbulber tryptophan 3 2624 Last post April 01, 2012, 07:24:24 AM
by JohnVV
opencl/compilation problems with mandelbulber Bug Reporting d13b 5 1146 Last post June 08, 2013, 01:43:24 PM
by Buddhi
State of OpenCL in Mandelbulber? Mandelbulber quaz0r 8 1839 Last post September 16, 2013, 11:38:08 PM
by hobold
Mandelbulber 1.17 - OpenCL Releases « 1 2 3 4 » Buddhi 49 7374 Last post October 15, 2013, 10:03:11 PM
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.283 seconds with 29 queries. (Pretty URLs adds 0.017s, 2q)