Title: V 2.12 OpenCL Crash using volumetric light 1 Post by: Kyzia on December 06, 2017, 11:00:50 AM When I try to render using the following parameters, I get an OpenCL crash. If I either switch OpenCL off, or change aux light 1 to non-volumetric, the scene will render.
Once OpenCL has crashed like this, the only way to recover is to restart the program. Formula Paramaters Code: # Mandelbulber settings file Info Panel Contents Code: PID: 5160, time: 322.584, Critical: OpenCl ERROR: "CommandQueue::CommandQueue()" ( -5 ) (C:projectsmandelbulber2mandelbulber2msvc../..//mandelbulber2srcopencl_engine.cpp:77, bool __cdecl cOpenClEngine::checkErr(int,class QString) Title: Re: V 2.12 OpenCL Crash using volumetric light 1 Post by: mancoast on December 06, 2017, 07:19:55 PM This sounds like TDR delay. Are you running in windows?
Essentially, if you use your GPU at 100% windows will think something has broke. Reference the MDBB manual from the help menu for more info on TDR. Info also available here: https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys Title: Re: V 2.12 OpenCL Crash using volumetric light 1 Post by: mclarekin on December 07, 2017, 03:08:15 AM I suspect all Windows users may need to do this registry edit for Mandelbulber opencl (includes old MandebulberV1.21 OpenCL version,) and Fragmentarium.
My two cents on your posted settings. - ray tracing tab. -consider disabling reflections to save some render time. -rendering engine. - consider dropping raymarching step multiplier from 1 down to 0.4 or less to improve quality BTW. V2.13 will have some additional color options that work well with jos leys kleinian, pseudo kleinian and box fold bulbs. Cheers G Title: Re: V 2.12 OpenCL Crash using volumetric light 1 Post by: Kyzia on December 07, 2017, 10:15:02 AM Thanks all, I tracked down the missing chapter and made the recommended changes. ;D For anyone who comes across this, here are the steps; 1. Open registry editor: [Start] > Run > Type in "Regedit" > Hit Enter 2. Navigate to key: Open HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control > GraphicsDrivers 3. Create the keys (Modify if exist): (a) Create key of type DWORD (32-bit) and name TdrDelay with a value of 30 as Decimal value. (b) Create key of type DWORD (32-bit) and name TdrDdiDelay with a value of 30 as Decimal value. 4. Reboot |