Title: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: quaz0r 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 (http://filebin.net/27g7ed6y6f/Mandelbulber-1.17.2-x64-OpenCL-UNOFFICIAL.zip) md5sum: 00eddccf752484165c01b7f194bb31db Edit: There was a mismatched jpeg lib problem, fixed. Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: Buddhi on October 07, 2013, 05:53:37 PM Thanks for this. I will look how it works.
Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: Buddhi 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.... Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: Buddhi 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?
Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: quaz0r 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 (http://filebin.net/jsarz7nz1u/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. Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: Buddhi 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.
Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: quaz0r on October 08, 2013, 10:28:28 PM sure, sounds good :drink:
Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: GinDiamond 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? Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: Syntopia 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.
Title: Re: Unofficial Mandelbulber 1.17.2 OpenCL win64 build Post by: GinDiamond on March 03, 2014, 06:21:14 PM Thanks! It works! |