Ray Visibility shadow uncheck for an object crashes Blender #90012

Closed
opened 2021-07-21 12:05:13 +02:00 by Tim Masin · 25 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41

Blender Version
Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c
Worked: (newest version of Blender that worked as expected)

Short description of error
If i deactivate the shadow of a cloud in the Object Panel under Ray Visibilty and switch the preview to Cycles, Blender always crashes on the first sample. If under Ray Visibilty all hooks are activated, it will be rendered without any problems. I am using the latest version, but have already tried an older one, but the result is the same. I also installed the latest graphics driver and tried to change the tile size from 512 to 128, but no improvement. Once I briefly received the following error message before the crash: Launch exceeded timeout in cuCtxSynchronize()
But it can't really be due to too little vram if everything is rendered without problems, if all hooks are activated as i understand it. The problem only affects my cloud.
Here is a picture of the node group of the cloud: 1.PNG

I hope for a quick solution/bugfix if possible, as I urgently need this for a render that I'm currently doing.

Thanks!

Test File:
system-info.txt
blender_debug_output.txt
Wolke.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41 **Blender Version** Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: `1b8d33b18c` Worked: (newest version of Blender that worked as expected) **Short description of error** If i deactivate the shadow of a cloud in the Object Panel under Ray Visibilty and switch the preview to Cycles, Blender always crashes on the first sample. If under Ray Visibilty all hooks are activated, it will be rendered without any problems. I am using the latest version, but have already tried an older one, but the result is the same. I also installed the latest graphics driver and tried to change the tile size from 512 to 128, but no improvement. Once I briefly received the following error message before the crash: Launch exceeded timeout in cuCtxSynchronize() But it can't really be due to too little vram if everything is rendered without problems, if all hooks are activated as i understand it. The problem only affects my cloud. Here is a picture of the node group of the cloud: ![1.PNG](https://archive.blender.org/developer/F10231589/1.PNG) I hope for a quick solution/bugfix if possible, as I urgently need this for a render that I'm currently doing. Thanks! Test File: [system-info.txt](https://archive.blender.org/developer/F10233465/system-info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F10234071/blender_debug_output.txt) [Wolke.blend](https://archive.blender.org/developer/F10231724/Wolke.blend)
Author

Added subscriber: @Tim-Masin

Added subscriber: @Tim-Masin
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

@Tim-Masin , can you please add a simple test file?

Without the file it's hard to tell what exactly the issue is. Can you please add that? With file please also mention the step to recreate the crash.

@Tim-Masin , can you please add a simple test file? Without the file it's hard to tell what exactly the issue is. Can you please add that? With file please also mention the step to recreate the crash.
Author

Hello,

thanks for your reply. I have now removed everything from the file except for the cloud and even then the problem occurs if i uncheck something under Ray Visibility.
To recreate the issue, you have just to select the cloud and in the Object Panel under Ray Visibility deselect a tick such as the shadow and then go to the rendered preview. Wolke.blend

Best Regards,
Tim

Hello, thanks for your reply. I have now removed everything from the file except for the cloud and even then the problem occurs if i uncheck something under Ray Visibility. To recreate the issue, you have just to select the cloud and in the Object Panel under Ray Visibility deselect a tick such as the shadow and then go to the rendered preview. [Wolke.blend](https://archive.blender.org/developer/F10231724/Wolke.blend) Best Regards, Tim
Member

Thank you for the file. I can not reproduce the crash. Checked with 2.93.2 (9e64fd461a).

Can you please add the system info file generated from help menu? (1Help -> Save System Info`)

Also: please attach the crash logs: https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#windows

Thank you for the file. I can not reproduce the crash. Checked with 2.93.2 (`9e64fd461a`). Can you please add the system info file generated from help menu? (1Help -> Save System Info`) Also: please attach the crash logs: https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#windows
Author

Hello,

hmm strange. But Blender 2.93.2 isn´t out yet. Are you using the developer version? system-info.txt
I attached the system info file. But i can´t find the crash logs in the /tmp/ directory or am I doing something wrong here?

Hello, hmm strange. But Blender 2.93.2 isn´t out yet. Are you using the developer version? [system-info.txt](https://archive.blender.org/developer/F10233465/system-info.txt) I attached the system info file. But i can´t find the crash logs in the /tmp/ directory or am I doing something wrong here?
Member

But i can´t find the crash logs in the /tmp/ directory or am I doing something wrong here

Did you start blender with blender_debug_log.cmd ?

  • open blender_debug_log (located in same directory where blender.exe is)
  • Reproduce crash. that will open windows explorer with 2 files.
  • Open blender_debug_output from these two files, you will find the path of crash.txt at very bottom of the file.
  • Find crash.txt at C:\Users\user_name\AppData\Local\Temp\ and add the file here.

Also add blender_debug_output.txt file.

2.93.2 isn´t out yet. Are you using the developer version?

No, not developer version, they are daily builds actually: https://builder.blender.org/download/daily/

>But i can´t find the crash logs in the /tmp/ directory or am I doing something wrong here Did you start blender with `blender_debug_log.cmd` ? - open `blender_debug_log` (located in same directory where blender.exe is) - Reproduce crash. that will open windows explorer with 2 files. - Open `blender_debug_output` from these two files, you will find the path of crash.txt at very bottom of the file. - Find crash.txt at `C:\Users\user_name\AppData\Local\Temp\` and add the file here. Also add `blender_debug_output.txt` file. >2.93.2 isn´t out yet. Are you using the developer version? No, not developer version, they are daily builds actually: https://builder.blender.org/download/daily/
Author

Hello,

I've now done it like this and let it crash. I attached the debug file but I can't find the crash.txt file anywhere 🤔blender_debug_output.txt

Hello, I've now done it like this and let it crash. I attached the debug file but I can't find the crash.txt file anywhere 🤔[blender_debug_output.txt](https://archive.blender.org/developer/F10234071/blender_debug_output.txt)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Optix or Cuda which render engine you are using? Also, does this happen with both CPU and GPU?

I can not reproduce the crash here may be other triagers, developers will help.


System Information

Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Optix or Cuda which render engine you are using? Also, does this happen with both CPU and GPU? I can not reproduce the crash here may be other triagers, developers will help. --- **System Information** ```Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Author

Hello,

i used Cuda but have now switched to Optix, but the same result. If I switch to CPU only, it doesn't crash immediately, but it just stops with "Path Tracing Sample 1/32" just like with GPU Compute, only that it crashes faster. When I turn on the shadows again, it renders without any problems.

Hello, i used Cuda but have now switched to Optix, but the same result. If I switch to CPU only, it doesn't crash immediately, but it just stops with "Path Tracing Sample 1/32" just like with GPU Compute, only that it crashes faster. When I turn on the shadows again, it renders without any problems.
Member

This comment was removed by @PratikPB2123

*This comment was removed by @PratikPB2123*
Author

Does anyone know anything else? Or could someone else try rendering the cloud without shadows? I just can´t figure out why it crashes. 😥

Does anyone know anything else? Or could someone else try rendering the cloud without shadows? I just can´t figure out why it crashes. 😥
Member

Hi @Tim-Masin , I will ask someone with NVIDIA GPU to check the issue.

Hi @Tim-Masin , I will ask someone with NVIDIA GPU to check the issue.
Author

Hello Patrik, many thanks!

Hello Patrik, many thanks!
Member

Added subscriber: @rjg

Added subscriber: @rjg
Member

Guess @rjg has the same system.

Hi @rjg , can you please check the issue?

Guess @rjg has the same system. Hi @rjg , can you please check the issue?

@PratikPB2123 Sorry, I don't really have time to fully investigate this. Not sure if this is the cause, but on Linux I'm getting a signed integer overflow:

Blender 3.0.0

/home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:76:47: runtime error: signed integer overflow: -1084378153 + -1084378153 cannot be represented in type 'int'
/home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:75:43: runtime error: signed integer overflow: 2130706432 + 1065353216 cannot be represented in type 'int'
/home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_volume.h:1035:28: runtime error: division by zero
blender: intern/cycles/kernel/../kernel/kernel_accumulate.h:670: ccl::float3 ccl::path_radiance_clamp_and_sum(ccl::KernelGlobals*, ccl::PathRadiance*, float*): Assertion `!"Non-finite final sum in path_radiance_clamp_and_sum!"' failed.

Blender 2.93.1

/home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:76:43: runtime error: signed integer overflow: 1077857987 + 1077857987 cannot be represented in type 'int'
/home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_volume.h:1035:28: runtime error: division by zero
blender: intern/cycles/kernel/../kernel/kernel_accumulate.h:670: ccl::float3 ccl::path_radiance_clamp_and_sum(ccl::KernelGlobals*, ccl::PathRadiance*, float*): Assertion `!"Non-finite final sum in path_radiance_clamp_and_sum!"' failed.
Aborted (core dumped)
@PratikPB2123 Sorry, I don't really have time to fully investigate this. Not sure if this is the cause, but on Linux I'm getting a signed integer overflow: Blender 3.0.0 ``` /home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:76:47: runtime error: signed integer overflow: -1084378153 + -1084378153 cannot be represented in type 'int' /home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:75:43: runtime error: signed integer overflow: 2130706432 + 1065353216 cannot be represented in type 'int' /home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_volume.h:1035:28: runtime error: division by zero blender: intern/cycles/kernel/../kernel/kernel_accumulate.h:670: ccl::float3 ccl::path_radiance_clamp_and_sum(ccl::KernelGlobals*, ccl::PathRadiance*, float*): Assertion `!"Non-finite final sum in path_radiance_clamp_and_sum!"' failed. ``` Blender 2.93.1 ``` /home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_path.h:76:43: runtime error: signed integer overflow: 1077857987 + 1077857987 cannot be represented in type 'int' /home/dev/01-data/01-git/blender-git/blender/intern/cycles/kernel/../kernel/kernel_volume.h:1035:28: runtime error: division by zero blender: intern/cycles/kernel/../kernel/kernel_accumulate.h:670: ccl::float3 ccl::path_radiance_clamp_and_sum(ccl::KernelGlobals*, ccl::PathRadiance*, float*): Assertion `!"Non-finite final sum in path_radiance_clamp_and_sum!"' failed. Aborted (core dumped) ```
Author

Hello,

thanks for your answers. I finally solved it by setting the Max Steps to 64 in the Render Setting for Volume.

Hello, thanks for your answers. I finally solved it by setting the Max Steps to 64 in the Render Setting for Volume.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

This is from the logs:

Launch exceeded timeout in cuCtxSynchronize() (device_cuda_impl.cpp:1965)

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

Launch exceeded timeout in cuMemFree(mem.device_pointer) (device_cuda_impl.cpp:981)
Launch exceeded timeout in cuCtxSynchronize() (device_cuda_impl.cpp:2458)

So following the mentioned page from the manual, does the following help?

Another solution can be to increase the time-out, although this will make the user interface less responsive when rendering heavy scenes. https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery

This is from the logs: ``` Launch exceeded timeout in cuCtxSynchronize() (device_cuda_impl.cpp:1965) Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html Launch exceeded timeout in cuMemFree(mem.device_pointer) (device_cuda_impl.cpp:981) Launch exceeded timeout in cuCtxSynchronize() (device_cuda_impl.cpp:2458) ``` So following the mentioned page from the manual, does the following help? > Another solution can be to increase the time-out, although this will make the user interface less responsive when rendering heavy scenes. https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#90012
No description provided.