buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
894 stars 116 forks source link

Crash when using OpenCL #903

Open JanWerder opened 2 years ago

JanWerder commented 2 years ago
System information (version)
Detailed description

When using OpenCL mandelbulber2 crasher for me.

Steps to reproduce
mclarekin commented 2 years ago

1) have you done the timeout TDR edit to the registry? Is there any message on the screen

2) file - copy to clipboard then paste your settings here so we can see if it is reproducible, (i can not reproduce on win 10, I will try win 11 later)

3) which github release?

On Fri, Jan 28, 2022 at 8:57 PM Jan Werder @.***> wrote:

System information (version)

  • mandelbulber2 => 2.26
  • Operating System / Platform => Windows 11 (64 Bit)
  • Compiler => Using the Github release

Detailed description

When using OpenCL mandelbulber2 crasher for me. Steps to reproduce

-

Open any fractal

Activate OpenCL and save [image: image] https://user-images.githubusercontent.com/596986/151508636-a08471a8-905d-4fa6-a5db-600384252c91.png

Render

The programm crashes on the "Compiling source for SSAO" step with a Code 3221225477 (0xc0000005) in the console

— Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/903, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHC7GFVAFXLXXFX4SCDUYJD6DANCNFSM5NABZAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

mclarekin commented 2 years ago

ignore 3) as i see using version 2.26

On Fri, Jan 28, 2022 at 10:59 PM carbuncle grim @.***> wrote:

1) have you done the timeout TDR edit to the registry? Is there any message on the screen

2) file - copy to clipboard then paste your settings here so we can see if it is reproducible, (i can not reproduce on win 10, I will try win 11 later)

3) which github release?

On Fri, Jan 28, 2022 at 8:57 PM Jan Werder @.***> wrote:

System information (version)

  • mandelbulber2 => 2.26
  • Operating System / Platform => Windows 11 (64 Bit)
  • Compiler => Using the Github release

Detailed description

When using OpenCL mandelbulber2 crasher for me. Steps to reproduce

-

Open any fractal

Activate OpenCL and save [image: image] https://user-images.githubusercontent.com/596986/151508636-a08471a8-905d-4fa6-a5db-600384252c91.png

Render

The programm crashes on the "Compiling source for SSAO" step with a Code 3221225477 (0xc0000005) in the console

— Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/903, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHC7GFVAFXLXXFX4SCDUYJD6DANCNFSM5NABZAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

JanWerder commented 2 years ago

Thanks for answering.

1) Yes I have run the TDR__disable.bat and the program is not complaining about it when enabling OpenCL.

2) My settings:

# Mandelbulber settings file
# version 2.26
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
detail_level 2;
light1_is_defined true;
mat1_is_defined true;
raytraced_reflections true;

I did some more testing and the cause of the problem seems to be the ambient_occlusion_enabled with screen space reflections. When i disable the ambient occlusion or use the other two methods, the rendering works fine. I've tried the last three versions with the same result.

mclarekin commented 2 years ago

hmmm? i have no problem with your settings, v2.26, win 11,

it becomes difficult if we can not reproduce the crash and no one else has alerted us to this problem

it crashes to desktop (exits the program) on the "Compiling source for SSAO" step with a Code 3221225477 (0xc0000005) in the console

did you use the program with win 10?

I think @ Krzysztof will need to look at this

On Fri, Jan 28, 2022 at 11:13 PM Jan Werder @.***> wrote:

Thanks for answering.

1.

Yes I have run the TDR__disable.bat and the program is not complaining about it when enabling OpenCL. 2.

My settings:

Mandelbulber settings file

version 2.26

only modified parameters

[main_parameters] ambient_occlusion_enabled true; detail_level 2; light1_is_defined true; mat1_is_defined true; raytraced_reflections true;

I did some more testing and the cause of the problem seems to be the ambient_occlusion_enabled with screen space reflections. When i disable the ambient occlusion or use the other two methods, the rendering works fine. I've tried the last three versions with the same result.

— Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/903#issuecomment-1024069771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHCUBGK4C7LRWBAN6ZTUYJT3JANCNFSM5NABZAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

mclarekin commented 2 years ago

another thing, does it crash with no-OpenCL or only when using GPU

On Sat, Jan 29, 2022 at 12:21 AM carbuncle grim @.***> wrote:

hmmm? i have no problem with your settings, v2.26, win 11,

it becomes difficult if we can not reproduce the crash and no one else has alerted us to this problem

it crashes to desktop (exits the program) on the "Compiling source for SSAO" step with a Code 3221225477 (0xc0000005) in the console

did you use the program with win 10?

I think @ Krzysztof will need to look at this

On Fri, Jan 28, 2022 at 11:13 PM Jan Werder @.***> wrote:

Thanks for answering.

1.

Yes I have run the TDR__disable.bat and the program is not complaining about it when enabling OpenCL. 2.

My settings:

Mandelbulber settings file

version 2.26

only modified parameters

[main_parameters] ambient_occlusion_enabled true; detail_level 2; light1_is_defined true; mat1_is_defined true; raytraced_reflections true;

I did some more testing and the cause of the problem seems to be the ambient_occlusion_enabled with screen space reflections. When i disable the ambient occlusion or use the other two methods, the rendering works fine. I've tried the last three versions with the same result.

— Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/903#issuecomment-1024069771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHCUBGK4C7LRWBAN6ZTUYJT3JANCNFSM5NABZAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

JanWerder commented 2 years ago

I currently can't reproduce the error on Win 10. Without GPU it doesn't crash though.

mclarekin commented 2 years ago

at the moment it looks like a problem on your computer i have not heard of anyone else having SSAO problems and most people are using v2.26 (v2.27 coming soon)

if you can try using someone else's computer with win 11 it will help confirm that it is a problem specific to your computer and the way you use the program

so i have no GPU problems with v2.26 and win 11, BUT possible differences

On Sat, Jan 29, 2022 at 1:04 AM Jan Werder @.***> wrote:

I currently can't reproduce the error on Win 10. Without GPU it doesn't crash though.

— Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/903#issuecomment-1024151077, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNSHCBLRSE5GIH3CJGZQTUYKA5DANCNFSM5NABZAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

buddhi1980 commented 2 years ago

I have also tested it on Win 11. No issues observed. I have NVidia 1060, which is similar to 1070. I have never seen such a problem and nobody reported something like this before. Which version of NVidia driver do you have installed on your PC?