Logo by Pauldelbrot - Contribute your own Logo!

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

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

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. August 20, 2019, 03:18:21 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: Mandelbulber OpenCL 1.21-1 error  (Read 643 times)
0 Members and 1 Guest are viewing this topic.
the5thfool
Forums Freshman
**
Posts: 11

FSM is fractal


the5thfool
« on: July 19, 2014, 03:47:12 PM »

Windows 7 Professional SP1
Intel i7-4770k
AMD R9 280x

I was animating IFS parameters.  Mandelbulber was able to render 2251 frames last night using OpenCL (FULL) without issue, but throws the following error for frame 2252.

ERROR: ComamndQueue::nqueueNDRangeKernel(jobSize), jobSize = 8192 (-4)

I thought it was the frame, it seemed to start working again if I advance past key 23 and start the animation at 2352 (100 frames/key).  Unfortunately about 3 frames in, it died with the same message.

It seems more related to me trying to interact with Mandelbulber while it is blocking waiting for the video card to return a frame in progress, but I didn't have this much of an issue last night.  Any ideas/workarounds?
Logged

the5thfool
Forums Freshman
**
Posts: 11

FSM is fractal


the5thfool
« Reply #1 on: July 19, 2014, 09:19:32 PM »

Additional info:

I've narrowed down the error to line 635 of cl_support.cpp, due to the typo and inclusion of stepSize.

Code:
err = queue->enqueueNDRangeKernel(*kernel, cl::NullRange, cl::NDRange(stepSize), cl::NDRange(workGroupSize));
                                sprintf(errorText, "ComamndQueue::nqueueNDRangeKernel(jobSize), jobSize = %d", stepSize);
                                if (!checkErr(err, errorText)) return;

Easy to find, but I'm not sure why yet.


« Last Edit: July 19, 2014, 09:21:23 PM by the5thfool » Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #2 on: July 19, 2014, 09:51:35 PM »

Send me settings file for this keyframe. I will try look what could be wrong.
Logged

the5thfool
Forums Freshman
**
Posts: 11

FSM is fractal


the5thfool
« Reply #3 on: July 20, 2014, 01:14:56 AM »

Sent from my Gmail, let me know if you need anything else.
Logged

the5thfool
Forums Freshman
**
Posts: 11

FSM is fractal


the5thfool
« Reply #4 on: July 20, 2014, 06:45:17 AM »

I'm not sure it's that frame now; MB seems to have gotten past it whatever hiccup it was experiencing.  Maybe it was just some contention over the GPU?
Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #5 on: July 20, 2014, 08:27:24 AM »

Have you tried to reduce "max GPU mem to use" parameter (on OpenCL tab)? On this keyframe Mandelbulber tries to allocate bigger buffer and OpenCL error -4 is CL_MEM_OBJECT_ALLOCATION_FAILURE
Logged

the5thfool
Forums Freshman
**
Posts: 11

FSM is fractal


the5thfool
« Reply #6 on: July 20, 2014, 04:39:10 PM »

Reduce?  Interesting, I had been increasing it thinking that the memory was pre-allocated.  The card has 3 Gb of memory, I didn't think there would be much difference changing max memory from 256 to 512 Mb.  Thank you for your help!
Logged

Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #7 on: July 20, 2014, 08:04:33 PM »

Memory is allocated dynamically. If rendering is faster then it uses bigger memory buffer to have enough big jobs to utilize desired time defined by processing cycle time.
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber and OpenCL Mandelbulber Buddhi 12 4436 Last post November 16, 2011, 11:04:25 AM
by Loadus
Mandelbulber 1.17 - OpenCL Releases « 1 2 3 4 » Buddhi 49 8793 Last post October 15, 2013, 10:03:11 PM
by Buddhi
Mandelbulber 1.18 - OpenCL Releases « 1 2 3 » Buddhi 37 6196 Last post November 16, 2013, 09:22:05 PM
by Buddhi
Mandelbulber 1.21 OpenCL Mandelbulber bartolomiew 4 2566 Last post July 19, 2014, 09:17:27 AM
by the5thfool
OpenCL Mandelbulber 1.21 on my CPU Tutorials mclarekin 0 744 Last post October 30, 2014, 12:46:18 AM
by mclarekin

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.137 seconds with 29 queries. (Pretty URLs adds 0.008s, 2q)