Point Cloud - Missing Particles when Rendering with Cuda on Linux #96413

Open
opened 2022-03-13 21:19:47 +01:00 by Stefan Jeske · 8 comments

System Information
Operating system: Linux-5.13.0-35-generic-x86_64-with-glibc2.34 64 Bits
Graphics card: NVIDIA GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.47.03

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e
Worked: (newest version of Blender that worked as expected)

Short description of error
When rendering large amounts of particles with CUDA on Linux, there appear to be some random patches of particles missing. This does not occur when using the OptiX rendering backend or CPU rendering backend. This problem does not occur on Windows for any rendering backend, i.e. the same render has been confirmed to work on Windows with the CUDA backend.

Exact steps for others to reproduce the error

  1. Open the attached .blend file.
  2. Render with Cycles and CUDA backend on linux. Note: It might be necessary to render the same scene multiple times if the error does not occur on the first render, or to switch the render device back and forth.
  3. See the attached image for an example screenshot of the problem

(alternative)
1.

  • create a plane object and create 1000 edge loops in x and y direction so that the object has roughly 1 million vertices.
  • add "Mesh to Points" geometry node with radius 0.001
  1. Render with Cycles and CUDA backend on linux. Note: It might be necessary to render the same scene multiple times if the error does not occur on the first render, or to switch the render device back and forth.
  2. See the attached image for an example screenshot of the problem

.blend File:
particles_problem.blend

Image of the Problem:
cuda_rendering_problem.png

**System Information** Operating system: Linux-5.13.0-35-generic-x86_64-with-glibc2.34 64 Bits Graphics card: NVIDIA GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.47.03 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `c77597cd0e` Worked: (newest version of Blender that worked as expected) **Short description of error** When rendering large amounts of particles with CUDA on Linux, there appear to be some random patches of particles missing. This does not occur when using the OptiX rendering backend or CPU rendering backend. This problem **does not** occur on Windows for any rendering backend, i.e. the same render has been confirmed to work on Windows with the CUDA backend. **Exact steps for others to reproduce the error** 1. Open the attached .blend file. 2. Render with Cycles and CUDA backend on linux. *Note: It might be necessary to render the same scene multiple times if the error does not occur on the first render, or to switch the render device back and forth.* 3. See the attached image for an example screenshot of the problem (alternative) 1. - create a plane object and create 1000 edge loops in x and y direction so that the object has roughly 1 million vertices. - add "Mesh to Points" geometry node with radius 0.001 2. Render with Cycles and CUDA backend on linux. *Note: It might be necessary to render the same scene multiple times if the error does not occur on the first render, or to switch the render device back and forth.* 3. See the attached image for an example screenshot of the problem .blend File: [particles_problem.blend](https://archive.blender.org/developer/F12925353/particles_problem.blend) Image of the Problem: ![cuda_rendering_problem.png](https://archive.blender.org/developer/F12925350/cuda_rendering_problem.png)
Author

Added subscriber: @digitalillusions

Added subscriber: @digitalillusions
Member

Added subscribers: @pmoursnv, @kevindietrich, @brecht, @Alaska

Added subscribers: @pmoursnv, @kevindietrich, @brecht, @Alaska
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

I can confirm this issue. Based on your description of the issue it seems it might be a driver bug on Linux, but I'm not 100% sure. @pmoursnv, @brecht, or @kevindietrich as you able to look at this?

System Information
Operating system: Linux-5.16.0-3-amd64-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.54
Blender version: 3.2.0 Alpha, branch: master, commit date: 2022-03-14 03:25, hash: 541ba68991

I can confirm this issue. Based on your description of the issue it seems it might be a driver bug on Linux, but I'm not 100% sure. @pmoursnv, @brecht, or @kevindietrich as you able to look at this? **System Information** Operating system: Linux-5.16.0-3-amd64-x86_64-with-glibc2.33 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.54 Blender version: 3.2.0 Alpha, branch: master, commit date: 2022-03-14 03:25, hash: `541ba68991`

This is also reproducible on the CPU when setting the BVH type to BVH2. Seems like BVH2 is randomly corrupted somehow, different runs output different results. I could no reproduce in a debug build, even after multiple tries.

I could reproduce (release build) with a simpler file though (with fewer points):

particles_problem_simpler.blend

particles_problem_simpler1.png

particles_problem_simpler.png

Using radius values >0.03 seem to help, but it could be a fluke.

This is also reproducible on the CPU when setting the BVH type to BVH2. Seems like BVH2 is randomly corrupted somehow, different runs output different results. I could no reproduce in a debug build, even after multiple tries. I could reproduce (release build) with a simpler file though (with fewer points): [particles_problem_simpler.blend](https://archive.blender.org/developer/F12926148/particles_problem_simpler.blend) ![particles_problem_simpler1.png](https://archive.blender.org/developer/F12926151/particles_problem_simpler1.png) ![particles_problem_simpler.png](https://archive.blender.org/developer/F12926150/particles_problem_simpler.png) Using radius values >0.03 seem to help, but it could be a fluke.
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58

Added subscriber: @Shiki-1

Added subscriber: @Shiki-1

This problem also happens on geometry nodes' point clouds in Blender 3.2.2 Linux.
(blender-3.2.2-linux-x64 - CUDA - Cycles render)

This problem also happens on geometry nodes' point clouds in Blender 3.2.2 Linux. (blender-3.2.2-linux-x64 - CUDA - Cycles render)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:03:15 +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
5 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#96413
No description provided.