Dual GPU - Bake to Color Attribute Crashes Blender with Divide by Zero Error #106405

Closed
opened 2023-03-31 20:30:02 +02:00 by Zach Eastin · 6 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: Unsure

Short description of error
Baking to Active Color Attribute crashes Blender with an error of EXCEPTION_INT_DIVIDE_BY_ZERO in the terminal

Exact steps for others to reproduce the error

  1. Add color attribute (crash happens on any domain or data type)
  2. Change bake type to Emity
  3. Change bake target to Active Color Attribute
  4. Hit bake

Blend File with all this setup: bake_to_vcols_bug.blend
Crash Log: bake_to_vcols_bug.crash.txt

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: Unsure **Short description of error** Baking to Active Color Attribute crashes Blender with an error of `EXCEPTION_INT_DIVIDE_BY_ZERO` in the terminal **Exact steps for others to reproduce the error** 1. Add color attribute (crash happens on any domain or data type) 2. Change bake type to Emity 3. Change bake target to Active Color Attribute 4. Hit bake Blend File with all this setup: [bake_to_vcols_bug.blend](/attachments/41f266d5-7e47-40aa-b09a-6123902b4bfa) Crash Log: [bake_to_vcols_bug.crash.txt](/attachments/62a5775b-6701-496e-bce4-7cf8e03d3c16)
Zach Eastin added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2023-03-31 20:30:03 +02:00

Can't reproduce this issue.

Can't reproduce this issue.
Member

Hi, thanks for the report. Unable to confirm either in 3.5
Please check whether this happens after factory reset: File > defaults > Load Factory Settings

If crash persists, try with -t 1 command line argument.

**System Information**
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78
Hi, thanks for the report. Unable to confirm either in 3.5 Please check whether this happens after factory reset: `File > defaults > Load Factory Settings` If crash persists, try with `-t 1` command line argument. ``` **System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78 ```
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-05 14:44:16 +02:00
Author

Okay I tried it on a factory reset scene and it worked.

Discovered it's only when I have GPU rendering turned on that it crashes. Both CUDA and OPTIX.

Upgraded the Nvidia drivers. Now on Studio Driver v531.41 released 03/21/2023.

It still crashes even with the -t 1 command line argument after upgrading drivers.

HOWEVER, it does not crash if I only use 1 of my GPUs instead of both! So for some reason enabling 2 GPUs for rendering eventually tries to divide by 0 when baking to vertex colors.

Attaching crash log if that helps.

Okay I tried it on a factory reset scene and it worked. Discovered it's only when I have GPU rendering turned on that it crashes. Both CUDA and OPTIX. Upgraded the Nvidia drivers. Now on Studio Driver v531.41 released 03/21/2023. It still crashes even with the -t 1 command line argument after upgrading drivers. HOWEVER, it __does not crash if I only use 1 of my GPUs instead of both__! So for some reason enabling 2 GPUs for rendering eventually tries to divide by 0 when baking to vertex colors. Attaching crash log if that helps.
Richard Antalik changed title from Bake to Color Attribute Crashes Blender with Divide by Zero Error to Dual GPU - Bake to Color Attribute Crashes Blender with Divide by Zero Error 2023-04-12 05:01:20 +02:00
Richard Antalik added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-04-12 05:01:35 +02:00

Can't reproduce with GPU+CPU option.. @brecht can you check?

Can't reproduce with GPU+CPU option.. @brecht can you check?
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2023-04-17 15:32:27 +02:00

Opening this again as I have exactly the same problem using Blender 4.2.3LTS

Using one GPU no problem - both - instant crash

Using Optix, but also crashes using CUDA and x2 GPU's selected.

Windows 11 Pro
Nvidia RTX 2070
Nvidia RTX 2060 Super

Opening this again as I have exactly the same problem using Blender 4.2.3LTS Using one GPU no problem - both - instant crash Using Optix, but also crashes using CUDA and x2 GPU's selected. Windows 11 Pro Nvidia RTX 2070 Nvidia RTX 2060 Super

@Woody2Shoes Please create new issue, since this one was marked as resolved.

@Woody2Shoes Please create new issue, since this one was marked as resolved.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#106405
No description provided.