Logo by Trifox - 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: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 16, 2024, 10:09:30 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: 2.12 Alpha 6 reflections crash  (Read 1978 times)
0 Members and 1 Guest are viewing this topic.
Kyzia
Alien
***
Posts: 28


« on: August 23, 2017, 12:47:58 PM »

Simplest set of steps to reproduce:
1) Start the program
1) Select one of the presets from the toolbar
3) Increase reflections depth to 6 or above
4) Render

Program returns multiple error message boxes;
"Error: Error during compilation of OpenCL program
OpenCL Build Log:"
"Error: Cannot enqueue writing OpenCL input buffers"
"Error: OpenCL command queue cannot be created!"

When these are acknowledged, the program is still functional, but OpenCL cannot be used until after restart.  It's possible to disable OpenCL in preferences and render using CPU, though.

Settings :
Code:
# Mandelbulber settings file
# version 2.11
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
camera 1.486015714285714 -2.972031428571429 0.9906771428571416;
camera_distance_to_target 4.89779;
camera_top -0.1277753129999879 0.2555506259999764 0.9583148474999099;
delta_DE_function 2;
flight_last_to_render 0;
formula_1 10;
keyframe_last_to_render 0;
mat1_is_defined true;
raytraced_reflections true;
[fractal_1]
IFS_abs_x true;
IFS_abs_y true;
IFS_abs_z true;
IFS_direction_0 2.62 1 -1.62;
IFS_direction_1 -1.62 2.62 1;
IFS_direction_2 1 -1.62 2.62;
IFS_enabled_0 true;
IFS_enabled_1 true;
IFS_enabled_2 true;
IFS_offset 1 1 1;
IFS_rotation_enabled true;
IFS_scale 2.62;
[fractal_2]
IFS_rotation_enabled true;
[fractal_3]
IFS_rotation_enabled true;
[fractal_4]
IFS_rotation_enabled true;

Info output :
Code:
PID: 12788, time: 0.008, Prepare QApplication
PID: 12788, time: 0.011, Prepare translator
PID: 12788, time: 0.011, locale, value = en_IE
PID: 12788, time: 0.011, Installing translator
PID: 12788, time: 0.019, CreateDefaultFolders()
PID: 12788, time: 0.019, Directory already exists, value = C:Usersxxxxmandelbulber
PID: 12788, time: 0.019, Directory already exists, value = C:Usersxxxxmandelbulber
PID: 12788, time: 0.019, Directory already exists, value = C:Usersxxxxmandelbulberimages
PID: 12788, time: 0.020, Directory already exists, value = C:Usersxxxxmandelbulber humbnails
PID: 12788, time: 0.020, Directory already exists, value = C:Usersxxxxmandelbulber oolbar
PID: 12788, time: 0.020, Directory already exists, value = C:UsersxxxxmandelbulbercustomWindowState
PID: 12788, time: 0.020, Directory already exists, value = C:Usersxxxxmandelbulbersettings
PID: 12788, time: 0.021, Directory already exists, value = C:Usersxxxxmandelbulberslices
PID: 12788, time: 0.021, Directory already exists, value = C:Usersxxxxmandelbulbermaterials
PID: 12788, time: 0.021, Directory already exists, value = C:Usersxxxxmandelbulberanimation
PID: 12788, time: 0.021, Parameters initialization started: main
PID: 12788, time: 0.023, Parameters initialization finished
PID: 12788, time: 0.023, Fractal parameters initialization started: fractal0
PID: 12788, time: 0.024, Fractal parameters initialization finished
PID: 12788, time: 0.024, Fractal parameters initialization started: fractal1
PID: 12788, time: 0.025, Fractal parameters initialization finished
PID: 12788, time: 0.026, Fractal parameters initialization started: fractal2
PID: 12788, time: 0.027, Fractal parameters initialization finished
PID: 12788, time: 0.027, Fractal parameters initialization started: fractal3
PID: 12788, time: 0.028, Fractal parameters initialization finished
PID: 12788, time: 0.028, Fractal parameters initialization started: fractal4
PID: 12788, time: 0.029, Fractal parameters initialization finished
PID: 12788, time: 0.029, Fractal parameters initialization started: fractal5
PID: 12788, time: 0.031, Fractal parameters initialization finished
PID: 12788, time: 0.031, Fractal parameters initialization started: fractal6
PID: 12788, time: 0.032, Fractal parameters initialization finished
PID: 12788, time: 0.032, Fractal parameters initialization started: fractal7
PID: 12788, time: 0.033, Fractal parameters initialization finished
PID: 12788, time: 0.033, Fractal parameters initialization started: fractal8
PID: 12788, time: 0.034, Fractal parameters initialization finished
PID: 12788, time: 0.035, Loading settings started, value = C:Usersxxxxmandelbulbermandelbulber.ini
PID: 12788, time: 0.038, Settings loaded, value = # Mandelbulber settings file
# version 2.11
# application settings
[main_parameters]
aux_light_manual_placement_dist 2;
camera_rotation_mode 1;
camera_rotation_step 5;
camera_straight_rotation 1;
gpu_device_list d4be75d426beec8164666d5083426e8a;
gpu_enabled true;
gpu_memory_limit 8192;
gpu_mode 2;
grid_type 1;
image_preview_scale 0;
language ;
limit_CPU_cores 7;
quit_do_not_ask_again true;
toolbar_icon_size 64;

PID: 12788, time: 0.038, cSettings::Decode(cParameterContainer *par, cFractalContainer *fractPar, cAnimationFrames *frames)
PID: 12788, time: 0.064, Debug: platform # 0 : "NVIDIA CUDA" "NVIDIA Corporation" "OpenCL 1.2 CUDA 9.0.125" "FULL_PROFILE"
PID: 12788, time: 0.196, Debug: Device # 0
PID: 12788, time: 0.198, Debug: CL_DEVICE_MAX_COMPUTE_UNITS 28
PID: 12788, time: 0.200, Debug: CL_DEVICE_COMPILER_AVAILABLE 1
PID: 12788, time: 0.202, Debug: CL_DEVICE_DOUBLE_FP_CONFIG 63
PID: 12788, time: 0.204, Debug: CL_DEVICE_GLOBAL_MEM_CACHE_SIZE 458752
PID: 12788, time: 0.206, Debug: CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE 128
PID: 12788, time: 0.209, Debug: CL_DEVICE_GLOBAL_MEM_SIZE 11811160064
PID: 12788, time: 0.211, Debug: CL_DEVICE_LOCAL_MEM_SIZE 49152
PID: 12788, time: 0.213, Debug: CL_DEVICE_MAX_CLOCK_FREQUENCY 1721
PID: 12788, time: 0.215, Debug: CL_DEVICE_MAX_COMPUTE_UNITS 28
PID: 12788, time: 0.216, Debug: CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE 65536
PID: 12788, time: 0.218, Debug: CL_DEVICE_MAX_MEM_ALLOC_SIZE 2952790016
PID: 12788, time: 0.219, Debug: CL_DEVICE_MAX_PARAMETER_SIZE 4352
PID: 12788, time: 0.221, Debug: CL_DEVICE_MAX_WORK_GROUP_SIZE 1024
PID: 12788, time: 0.223, Debug: CL_DEVICE_NAME "GeForce GTX 1080 Ti"
PID: 12788, time: 0.224, Debug: CL_DEVICE_VERSION "OpenCL 1.2 CUDA"
PID: 12788, time: 0.225, Debug: CL_DRIVER_VERSION "384.94"
PID: 12788, time: 0.227, Debug: Device "GeForce GTX 1080 Ti" enabled
PID: 12788, time: 0.487, Warning: QObject::connect: No such slot QGamepad::setConnected(bool) (:0,
PID: 12788, time: 0.490, Warning: QObject::connect: (sender name: 'groupCheck_gamepad_enabled') (:0,
PID: 12788, time: 15.997, Debug: Constant buffer size 54384
PID: 12788, time: 15.998, Debug: 4
PID: 12788, time: 16.009, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -ID:Downloadsmandelbulber2-win64-2.12-alpha6mandelbulber2-win64-2.12-alpha6opencl -DANALYTIC_DE -DANALYTIC_LINEAR_DE -DFORMULA_ITER_0=KaleidoscopicIfsIteration -DPERSP_THREE_POINT -DSHADOWS -DGLOW -DSIMPLE_GLOW -DREFLECTIONS_MAX=1
PID: 12788, time: 16.016, Debug: OpenCl kernel program successfully compiled
PID: 12788, time: 16.018, Debug: Opencl build time [s] 0.0169496
PID: 12788, time: 16.019, Debug: CL_KERNEL_WORK_GROUP_SIZE 640
PID: 12788, time: 16.023, Debug: CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 32
PID: 12788, time: 16.023, Debug: 32
PID: 12788, time: 16.025, Debug: stepSize: 20480
PID: 12788, time: 16.026, Debug: stepSizeX: 128
PID: 12788, time: 16.027, Debug: stepSizeY: 160
PID: 12788, time: 15.998, Debug: 4
PID: 12788, time: 16.009, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -ID:Downloadsmandelbulber2-win64-2.12-alpha6mandelbulber2-win64-2.12-alpha6opencl -DANALYTIC_DE -DANALYTIC_LINEAR_DE -DFORMULA_ITER_0=KaleidoscopicIfsIteration -DPERSP_THREE_POINT -DSHADOWS -DGLOW -DSIMPLE_GLOW -DREFLECTIONS_MAX=1
PID: 12788, time: 16.016, Debug: OpenCl kernel program successfully compiled
PID: 12788, time: 16.018, Debug: Opencl build time [s] 0.0169496
PID: 12788, time: 16.019, Debug: CL_KERNEL_WORK_GROUP_SIZE 640
PID: 12788, time: 16.023, Debug: CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 32
PID: 12788, time: 16.023, Debug: 32
PID: 12788, time: 16.025, Debug: stepSize: 20480
PID: 12788, time: 16.026, Debug: stepSizeX: 128
PID: 12788, time: 16.027, Debug: stepSizeY: 160
PID: 12788, time: 17.848, Critical: OpenCl ERROR: "CommandQueue::enqueueReadBuffer()" ( -36 ) (../src/opencl_engine.cpp:77, static bool cOpenClEngine::checkErr(cl_int, QString)
PID: 12788, time: 17.868, Error: Cannot enqueue reading OpenCL output buffers
PID: 12788, time: 17.855, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -ID:Downloadsmandelbulber2-win64-2.12-alpha6mandelbulber2-win64-2.12-alpha6opencl
PID: 12788, time: 17.860, Critical: OpenCl ERROR: "program->build()" ( -9999 ) (../src/opencl_engine.cpp:77, static bool cOpenClEngine::checkErr(cl_int, QString)
PID: 12788, time: 17.901, Error: Error during compilation of OpenCL program
PID: 12788, time: 17.862, OpenCL Build log:
PID: 12788, time: 17.863, Debug: Opencl SSAO build time [s] 0.0137606

This behaviour is seen on my home system - Core i7-4770K with 32GB RAM, Nvidia GTX 1080ti , and Windows 10 64 bit.

In contrast, on my work system, there is no error and the scene renders as expected with the higher reflection value - Core i5-4300U with 8GB RAM, and Intel HD 4400 graphics, also Windows 10 64 bit.

Here's the 'Info' output from the working system:
Code:
PID: 12392, time: 0.074, Prepare QApplication
PID: 12392, time: 0.083, Prepare translator
PID: 12392, time: 0.083, locale, value = en_IE
PID: 12392, time: 0.088, Installing translator
PID: 12392, time: 0.112, CreateDefaultFolders()
PID: 12392, time: 0.113, Directory already exists, value = C:Usersyyyymandelbulber
PID: 12392, time: 0.114, Directory already exists, value = C:Usersyyyymandelbulber
PID: 12392, time: 0.115, Directory already exists, value = C:Usersyyyymandelbulberimages
PID: 12392, time: 0.116, Directory already exists, value = C:Usersyyyymandelbulber humbnails
PID: 12392, time: 0.118, Directory already exists, value = C:Usersyyyymandelbulber oolbar
PID: 12392, time: 0.119, Directory already exists, value = C:UsersyyyymandelbulbercustomWindowState
PID: 12392, time: 0.120, Directory already exists, value = C:Usersyyyymandelbulbersettings
PID: 12392, time: 0.121, Directory already exists, value = C:Usersyyyymandelbulberslices
PID: 12392, time: 0.122, Directory already exists, value = C:Usersyyyymandelbulbermaterials
PID: 12392, time: 0.123, Directory already exists, value = C:Usersyyyymandelbulberanimation
PID: 12392, time: 0.126, Parameters initialization started: main
PID: 12392, time: 0.132, Parameters initialization finished
PID: 12392, time: 0.133, Fractal parameters initialization started: fractal0
PID: 12392, time: 0.136, Fractal parameters initialization finished
PID: 12392, time: 0.137, Fractal parameters initialization started: fractal1
PID: 12392, time: 0.140, Fractal parameters initialization finished
PID: 12392, time: 0.141, Fractal parameters initialization started: fractal2
PID: 12392, time: 0.143, Fractal parameters initialization finished
PID: 12392, time: 0.144, Fractal parameters initialization started: fractal3
PID: 12392, time: 0.148, Fractal parameters initialization finished
PID: 12392, time: 0.149, Fractal parameters initialization started: fractal4
PID: 12392, time: 0.153, Fractal parameters initialization finished
PID: 12392, time: 0.153, Fractal parameters initialization started: fractal5
PID: 12392, time: 0.157, Fractal parameters initialization finished
PID: 12392, time: 0.158, Fractal parameters initialization started: fractal6
PID: 12392, time: 0.160, Fractal parameters initialization finished
PID: 12392, time: 0.161, Fractal parameters initialization started: fractal7
PID: 12392, time: 0.164, Fractal parameters initialization finished
PID: 12392, time: 0.165, Fractal parameters initialization started: fractal8
PID: 12392, time: 0.168, Fractal parameters initialization finished
PID: 12392, time: 0.169, Loading settings started, value = C:Usersyyyymandelbulbermandelbulber.ini
PID: 12392, time: 0.171, Settings loaded, value = # Mandelbulber settings file
# version 2.11
# application settings
[main_parameters]
camera_rotation_mode 1;
camera_rotation_step 10;
camera_straight_rotation 1;
gpu_enabled true;
gpu_memory_limit 2048;
gpu_mode 2;
grid_type 1;
image_preview_scale 0;
language en_EN;
limit_CPU_cores 3;
quit_do_not_ask_again true;
ui_skin 2;
ui_style_type 2;

PID: 12392, time: 0.172, cSettings::Decode(cParameterContainer *par, cFractalContainer *fractPar, cAnimationFrames *frames)
PID: 12392, time: 0.210, Debug: platform # 0 : "Intel(R) OpenCL" "Intel(R) Corporation" "OpenCL 1.2 " "FULL_PROFILE"
PID: 12392, time: 0.226, Debug: Device # 0
PID: 12392, time: 0.229, Debug: CL_DEVICE_MAX_COMPUTE_UNITS 20
PID: 12392, time: 0.232, Debug: CL_DEVICE_COMPILER_AVAILABLE 1
PID: 12392, time: 0.235, Debug: CL_DEVICE_DOUBLE_FP_CONFIG 0
PID: 12392, time: 0.238, Debug: CL_DEVICE_GLOBAL_MEM_CACHE_SIZE 262144
PID: 12392, time: 0.241, Debug: CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE 64
PID: 12392, time: 0.244, Debug: CL_DEVICE_GLOBAL_MEM_SIZE 1708759450
PID: 12392, time: 0.246, Debug: CL_DEVICE_LOCAL_MEM_SIZE 65536
PID: 12392, time: 0.249, Debug: CL_DEVICE_MAX_CLOCK_FREQUENCY 1100
PID: 12392, time: 0.252, Debug: CL_DEVICE_MAX_COMPUTE_UNITS 20
PID: 12392, time: 0.255, Debug: CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE 65536
PID: 12392, time: 0.261, Debug: CL_DEVICE_MAX_MEM_ALLOC_SIZE 427189862
PID: 12392, time: 0.263, Debug: CL_DEVICE_MAX_PARAMETER_SIZE 1024
PID: 12392, time: 0.267, Debug: CL_DEVICE_MAX_WORK_GROUP_SIZE 512
PID: 12392, time: 0.271, Debug: CL_DEVICE_NAME "Intel(R) HD Graphics 4400"
PID: 12392, time: 0.274, Debug: CL_DEVICE_VERSION "OpenCL 1.2 "
PID: 12392, time: 0.276, Debug: CL_DRIVER_VERSION "20.19.15.4531"
PID: 12392, time: 0.698, Warning: QObject::connect: No such slot QGamepad::setConnected(bool) (:0,
PID: 12392, time: 0.704, Warning: QObject::connect: (sender name: 'groupCheck_gamepad_enabled') (:0,
PID: 12392, time: 17.856, Debug: Constant buffer size 54384
PID: 12392, time: 17.860, Debug: 4
PID: 12392, time: 17.880, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -IC:UsersyyyyDownloadsmandelbulber2-win64-2.12-alpha6opencl -DANALYTIC_DE -DANALYTIC_LINEAR_DE -DFORMULA_ITER_0=KaleidoscopicIfsIteration -DPERSP_THREE_POINT -DSHADOWS -DGLOW -DSIMPLE_GLOW -DREFLECTIONS_MAX=1
PID: 12392, time: 17.860, Debug: 4
PID: 12392, time: 17.880, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -IC:UsersyyyyDownloadsmandelbulber2-win64-2.12-alpha6opencl -DANALYTIC_DE -DANALYTIC_LINEAR_DE -DFORMULA_ITER_0=KaleidoscopicIfsIteration -DPERSP_THREE_POINT -DSHADOWS -DGLOW -DSIMPLE_GLOW -DREFLECTIONS_MAX=1
PID: 12392, time: 20.304, Debug: OpenCl kernel program successfully compiled
PID: 12392, time: 20.312, Debug: Opencl build time [s] 2.4385
PID: 12392, time: 20.322, Debug: CL_KERNEL_WORK_GROUP_SIZE 512
PID: 12392, time: 20.330, Debug: CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 8
PID: 12392, time: 20.333, Debug: 8
PID: 12392, time: 20.335, Debug: stepSize: 4096
PID: 12392, time: 20.338, Debug: stepSizeX: 64
PID: 12392, time: 20.340, Debug: stepSizeY: 64
PID: 12392, time: 22.241, Debug: GPU jobs finished
PID: 12392, time: 22.244, Debug: OpenCl Rendering time [s] 1.89553
PID: 12392, time: 22.287, Debug: Build parameters: -w -cl-single-precision-constant -cl-denorms-are-zero -DOPENCL_KERNEL_CODE -IC:UsersyyyyDownloadsmandelbulber2-win64-2.12-alpha6opencl
PID: 12392, time: 22.462, Debug: OpenCl kernel program successfully compiled
PID: 12392, time: 22.465, Debug: Opencl SSAO build time [s] 0.187264
PID: 12392, time: 22.470, Debug: CL_KERNEL_WORK_GROUP_SIZE 512
PID: 12392, time: 22.474, Debug: CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 16
PID: 12392, time: 22.475, Debug: 16
PID: 12392, time: 22.479, Debug: stepSize: 8192
PID: 12392, time: 22.483, Debug: stepSizeX: 64
PID: 12392, time: 22.486, Debug: stepSizeY: 128
PID: 12392, time: 22.565, Debug: GPU jobs finished
PID: 12392, time: 22.576, Debug: OpenCl Rendering time [s] 0.0735522

Please let me know if you need any further details or testing.
Logged
Kyzia
Alien
***
Posts: 28


« Reply #1 on: August 23, 2017, 08:13:05 PM »

Sorry - forgot to specify : on my home system, if I leave the reflections depth at its default value of 5, there's no error and the scene renders as expected.  It's only setting it to a value of 6 or above that gives an error.
Logged
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #2 on: August 23, 2017, 08:19:03 PM »

Thanks for reporting this problem. It's reproducible and happens only when is increased reflections depth and reflectance and transparency is set to zero in default material. If you increase reflectance (to be not zero), then you can use higher depth.
I have just found what is wrong in the code, so error will be fixed very soon.
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber crash. Mandelbulber meegja 3 2861 Last post June 06, 2011, 06:35:11 PM
by Buddhi
X11 crash Mandelbulber Hedgeclipper 2 2102 Last post February 01, 2012, 11:32:46 PM
by taurus
Abstractionism Alpha Mandelbulber Gallery mclarekin 0 1192 Last post May 31, 2013, 02:09:22 AM
by mclarekin
Monochrome Crash Images Showcase (Rate My Fractal) element90 2 792 Last post September 18, 2013, 04:10:36 PM
by element90
v2.12 alpha crash on load and output v flip Bug Reporting joe 2 1784 Last post June 03, 2017, 11:18:04 AM
by joe

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