Logo by rathinagiri - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. March 29, 2024, 03:43:54 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: open cl mode crashes frequently  (Read 1650 times)
0 Members and 1 Guest are viewing this topic.
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« on: October 14, 2013, 07:45:54 PM »

I'm currently working on a hires animation (3840x1632) in opencl mode. the rendering speed is great on my old radeon 5770, but it crashes more and more frequently. after ~3-50 rendered frames,mandelbulber freezes or is terminated. Started from a command prompt it outputs on termination the following
Code:
---------- index: 587 -------------
Distance = 6,267516e-002
alpha = -3,628737, beta = 0,018982
x = 5,48362038, y = 2,33623832, z = 2,27177413
OpenCL rendering
ERROR: ComamndQueue::enqueueNDRangeKernel()  (-5)

the freeze remains silent.
Maybe you can use for debugging
Logged

when life offers you a lemon, get yourself some salt and tequila!
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #1 on: October 14, 2013, 09:55:11 PM »

I think I know what could cause the problem. Error 5 means CL_OUT_OF_RESOURCES. Try to decrease OpenCL / Processing cycle time to e.g. 0.5 s. Then the program will use less GPU memory (will work with smaller queues). Let me know if it helps.
Logged

taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #2 on: October 15, 2013, 06:59:15 PM »

OMG  shocked
Seems, that I caused the problem myself. After my first tests I realized, that slightly increasing the cycle time, reduces the rendertime significantly (I used 4s). I never questioned my settings, cause it went through the preview session in just one night. Yesterday, I tried 3s with full resolution - same problem after less than 20 frames. today i kicked off the rendering with 2s and who wonders, just stopped it after rendering 160 frames today - no problem at all!  embarrass
I swear, that I try default setup first, before reporting "bugs" next time...

Thanks Buddhi for getting me back on the right track praying
Logged

when life offers you a lemon, get yourself some salt and tequila!
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #3 on: October 15, 2013, 07:38:13 PM »

This what I proposed is only a workaround. In 1.18 I'm, trying to add automatic checking of available GPU memory, but unfortunately under win32 OpenCL library returns zeros instead of avail memory size. Under Linux it works perfect. It limits job size to safe value. 
Logged

taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #4 on: October 15, 2013, 07:53:23 PM »

I'm ok with checking by trial and error, especially because different projects seem to have different optimal settings (see below)
The speed up by higher values is pretty intense, so it is worth the effort, to go to the edge.

>edit
ok, the speedup is not as hot as I had in mind
just checked a frame of my animation (@1920) with cycle times of:
1s > 109,47s
2s > 102,25s
4s >  98,36s
that's a speedup of around 7% between 1 and 2s  and 11% between 1 and 4s.
One crash can blow your speedup to dust...
« Last Edit: October 15, 2013, 08:19:14 PM by taurus » Logged

when life offers you a lemon, get yourself some salt and tequila!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Tagging and crashes... Mandelbulb 3d « 1 2 » MindsEye 15 3374 Last post March 20, 2012, 12:15:15 AM
by Jesse
Mandelbulber crashes after clicking Render Bug Reporting tharpa 4 4744 Last post June 18, 2012, 08:07:44 AM
by Buddhi
youtube video on Qfractals in photoshop frequently updated Introduction to Fractals and Related Links matty686 2 2845 Last post August 17, 2012, 03:09:26 PM
by matty686
Open CL 1.19 Crashes Bug Reporting geomagnet 5 1398 Last post December 01, 2013, 06:20:10 PM
by lukesleftleg
Minetest (Open Source Minecraft-like) has a fractal terrain mode! General Discussion wes 1 5045 Last post July 10, 2017, 04:02:45 AM
by wes

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.19 seconds with 26 queries. (Pretty URLs adds 0.009s, 2q)