Blander crash without ray shadows Nvidia GTX 950M CUDA #71145

Closed
opened 2019-10-28 02:56:21 +01:00 by CHET · 20 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 411.63

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-10-25 10:47, hash: 7137d89daa
Worked: (optional)

Short description of error
When turn off ray shadow visiblity render becomes slow and the blender crashes.
2019-10-28_03-53-23.mp4


I tested again on GTX 750 Ti and 2.92.0 Alpha, branch: master, commit date: 2020-11-24 16:32, hash: e922dd7d8a. If I turn shadows off first, then switch to rendered view, it gives bad render:
image.png
It disappears when you do something. Typical when there's something wrong in Cycles. I need to restart Blender to be able to render again.
When I turn rendered view first, then turn shadows off, it sometimes crashes.
This is all Cuda. Optix renders nothing at all. I presume Optix doesn't do volumes yet.
Also noticed that deleting sun lamp and leaving only area lamps fixed the issue.

Steps to reproduce
облака в стекле.blend

  • Open file
  • Disable shadow ray invisibility on object
  • Switch to rendered shading
**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 411.63 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-10-25 10:47, hash: `7137d89daa` Worked: (optional) **Short description of error** When turn off ray shadow visiblity render becomes slow and the blender crashes. [2019-10-28_03-53-23.mp4](https://archive.blender.org/developer/F7863861/2019-10-28_03-53-23.mp4) ------------ I tested again on GTX 750 Ti and 2.92.0 Alpha, branch: master, commit date: 2020-11-24 16:32, hash: `e922dd7d8a`. If I turn shadows off first, then switch to rendered view, it gives bad render: ![image.png](https://archive.blender.org/developer/F9375941/image.png) It disappears when you do something. Typical when there's something wrong in Cycles. I need to restart Blender to be able to render again. When I turn rendered view first, then turn shadows off, it sometimes crashes. This is all Cuda. Optix renders nothing at all. I presume Optix doesn't do volumes yet. Also noticed that deleting sun lamp and leaving only area lamps fixed the issue. **Steps to reproduce** [облака в стекле.blend](https://archive.blender.org/developer/F7866083/облака_в_стекле.blend) - Open file - Disable shadow ray invisibility on object - Switch to rendered shading
Author

Added subscriber: @cheteron

Added subscriber: @cheteron

Added subscriber: @MarcinTwarowski

Added subscriber: @MarcinTwarowski

Hi. Could you upload a test file? There must be something about that particular scene that causes crash.

Hi. Could you upload a test file? There must be something about that particular scene that causes crash.
Author
[облака в стекле.blend](https://archive.blender.org/developer/F7866083/облака_в_стекле.blend)

I confirm. It crashed.

Windows-10-10.0.18362 64 Bits
GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.97

I confirm. It crashed. Windows-10-10.0.18362 64 Bits GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.97

Added subscribers: @Sergey, @mano-wii

Added subscribers: @Sergey, @mano-wii
Sergey Sharybin was assigned by Germano Cavalcante 2019-10-30 13:53:00 +01:00

I can't reproduce the crash rendering with CPU.
The GPU (OpenCL) goes black but does not crash (unrelated).

@Sergey, can you reproduce the problem?

System Information
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

I can't reproduce the crash rendering with CPU. The GPU (OpenCL) goes black but does not crash (unrelated). @Sergey, can you reproduce the problem? **System Information** Operating system: Windows-10-10.0.18941 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2
Sergey Sharybin removed their assignment 2019-10-30 16:59:11 +01:00

The fact that rendering becomes slower is somewhat expected. This is because shadow rays which are cast for objects inside the volume are never leaving the volume, making it so Cycles need to integrate volume for many more points.

The crash i am unable to reproduce.
Is there any clues in the system console?

OpenCL issue is better be reported separately, so Jeoen can look into details.

The fact that rendering becomes slower is somewhat expected. This is because shadow rays which are cast for objects inside the volume are never leaving the volume, making it so Cycles need to integrate volume for many more points. The crash i am unable to reproduce. Is there any clues in the system console? OpenCL issue is better be reported separately, so Jeoen can look into details.

blender_debug_output.txt
Here's a debug_output if it helps. It says:

CUDA error: Launch failed in cuCtxSynchronize(), line 1800

and

CUDA error: Launch failed in cuCtxSynchronize(), line 2274
[blender_debug_output.txt](https://archive.blender.org/developer/F7881228/blender_debug_output.txt) Here's a debug_output if it helps. It says: ``` CUDA error: Launch failed in cuCtxSynchronize(), line 1800 ``` and ``` CUDA error: Launch failed in cuCtxSynchronize(), line 2274 ```

This is most likely same as the described in the manual:

https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html#cuda-error-unknown-error-in-cuctxsynchronize

Happens when one tries to do a lot of work on GPU which is also used for display.
On a newer GPUs with compute preemption this is something we are dealing with, but i don't think this is possible on pre-Pascal cards.

So question is: by "blender crashes" do you mean blender completely closes unexpectedly or is it just rendering aborts, while blender stays in an operational state?

This is most likely same as the described in the manual: ``` https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html#cuda-error-unknown-error-in-cuctxsynchronize ``` Happens when one tries to do a lot of work on GPU which is also used for display. On a newer GPUs with compute preemption this is something we are dealing with, but i don't think this is possible on pre-Pascal cards. So question is: by "blender crashes" do you mean blender completely closes unexpectedly or is it just rendering aborts, while blender stays in an operational state?

Closes completely without a warning.

Closes completely without a warning.
Richard Antalik changed title from Blander crash without ray shadows to Blander crash without ray shadows Nvidia GTX 950M CUDA 2020-11-25 17:30:16 +01:00

Added subscriber: @iss

Added subscriber: @iss

@cheteron, @MarcinTwarowski I am updating old reports so they are more searchable, and I want to ask if this is still issue for you, since a lot of time has passed, it is possible this has been resolved.

@cheteron, @MarcinTwarowski I am updating old reports so they are more searchable, and I want to ask if this is still issue for you, since a lot of time has passed, it is possible this has been resolved.

I tested again on GTX 750 Ti and 2.92.0 Alpha, branch: master, commit date: 2020-11-24 16:32, hash: e922dd7d8a. If I turn shadows off first, then switch to rendered view, it gives bad render:
image.png
It disappears when you do something. Typical when there's something wrong in Cycles. I need to restart Blender to be able to render again.
When I turn rendered view first, then turn shadows off, it sometimes crashes.
This is all Cuda. Optix renders nothing at all. I presume Optix doesn't do volumes yet.
Also noticed that deleting sun lamp and leaving only area lamps fixed the issue.

I tested again on GTX 750 Ti and 2.92.0 Alpha, branch: master, commit date: 2020-11-24 16:32, hash: `e922dd7d8a`. If I turn shadows off first, then switch to rendered view, it gives bad render: ![image.png](https://archive.blender.org/developer/F9375941/image.png) It disappears when you do something. Typical when there's something wrong in Cycles. I need to restart Blender to be able to render again. When I turn rendered view first, then turn shadows off, it sometimes crashes. This is all Cuda. Optix renders nothing at all. I presume Optix doesn't do volumes yet. Also noticed that deleting sun lamp and leaving only area lamps fixed the issue.

Thanks for update, I will update description with new info.

Thanks for update, I will update description with new info.
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58
Contributor

Can this task please be revisited? At least for me, it seems to work without issues. Win 11, Blender 3.2.1, GTX 1080, latest driver.
Two things that I noticed:
First, Optix does render the kernels just need a long time to be compiled. That is not visible in the scene because the Overlays are turned off.
Second, without the Shadow Visibility, it renders slower, but no other issues.

Can this task please be revisited? At least for me, it seems to work without issues. Win 11, Blender 3.2.1, GTX 1080, latest driver. Two things that I noticed: First, Optix does render the kernels just need a long time to be compiled. That is not visible in the scene because the Overlays are turned off. Second, without the Shadow Visibility, it renders slower, but no other issues.
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:01:34 +01:00

Is this report still valid? It was posted before Cycles X, so I'd assume the issue is gone.

Is this report still valid? It was posted before Cycles X, so I'd assume the issue is gone.

It works with newer Blender and better graphic card.

It works with newer Blender and better graphic card.

Alright, closing then. Thanks.

Alright, closing then. Thanks.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2024-03-02 08:15:06 +01:00
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
7 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#71145
No description provided.