CPU + GPU render precision differences for small, far away area light #69535

Open
opened 2019-09-05 13:03:34 +02:00 by Paul Szajner · 13 comments

System Information
Operating system: Linux-4.19.0-5-amd64-x86_64-with-debian-10.0 64 Bits
Graphics card: GeForce GTX 780/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.74

Blender Version
Broken: version: 2.81 (sub 8), branch: master, commit date: 2019-09-04 21:17, hash: baaa89a0bc
Worked: (optional)

Short description of error
This was recently reported in this thread :
https://blenderartists.org/t/blender-2-8-beta-cpu-render-vs-gpu-render-problem/1136771/2

I can at least say, that when using small area lights below a size of 1 (e.g. meter), and it’s getting darker (the light source is far away from the object) you can clearly see this problem: CPU renders the tiles darker than the CUDA GPU.
CPU_GPU_tilies_issue.png

Exact steps for others to reproduce the error
Create a new scene with the cube, remove the default light, create an area light, resize it to lets say 10% (or 1%… the smaller the bigger the effect) and rotate it that it lights the default cube.
Here is a .blend that reproduce the issue :
TileProblem.blend.blend

**System Information** Operating system: Linux-4.19.0-5-amd64-x86_64-with-debian-10.0 64 Bits Graphics card: GeForce GTX 780/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.74 **Blender Version** Broken: version: 2.81 (sub 8), branch: master, commit date: 2019-09-04 21:17, hash: `baaa89a0bc` Worked: (optional) **Short description of error** This was recently reported in this thread : https://blenderartists.org/t/blender-2-8-beta-cpu-render-vs-gpu-render-problem/1136771/2 I can at least say, that when using small area lights below a size of 1 (e.g. meter), and it’s getting darker (the light source is far away from the object) you can clearly see this problem: CPU renders the tiles darker than the CUDA GPU. ![CPU_GPU_tilies_issue.png](https://archive.blender.org/developer/F7718114/CPU_GPU_tilies_issue.png) **Exact steps for others to reproduce the error** Create a new scene with the cube, remove the default light, create an area light, resize it to lets say 10% (or 1%… the smaller the bigger the effect) and rotate it that it lights the default cube. Here is a .blend that reproduce the issue : [TileProblem.blend.blend](https://archive.blender.org/developer/F7718117/TileProblem.blend.blend)
Author

Added subscriber: @sozap

Added subscriber: @sozap

#82896 was marked as duplicate of this issue

#82896 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Hm, can actually confirm.
Need to check if this has been reported before.

Hm, can actually confirm. Need to check if this has been reported before.
Member

Here are some reports that mention differences between CPU vs. GPU (though these are more about volumes, DOF, ...)
#57109 (Flickering artifacts in (animated) DOF areas)
#67448 (Shader node float precision issue cause different results on CPU and GPU)
#50193 (Cycles renders volumetrics very differently on CPU vs. GPU)

Here are some reports that mention differences between CPU vs. GPU (though these are more about volumes, DOF, ...) #57109 (Flickering artifacts in (animated) DOF areas) #67448 (Shader node float precision issue cause different results on CPU and GPU) #50193 (Cycles renders volumetrics very differently on CPU vs. GPU)
Brecht Van Lommel changed title from CPU + GPU render tiles differently to CPU + GPU render precision differences for small, far away area light 2019-09-25 16:17:22 +02:00

Added subscriber: @atomedia

Added subscriber: @atomedia

I want to add that this is not just an error that appears in very few situations. It appears (for my understanding) for nearly every realistic sized light (lights <1m).
I have a big project where I can render no single frame without this error. ~90% of the light comes from area lights (10x10cm floor lights).
It looks like the contrast or brightness setting is different when rendering with CPU or GPU. GPU frames are always a lot brighter than CPU frames. I currently don't know which device produces the correct output. It's annoying and very time consuming that you cannot use both devices at the same time anymore to speed up rendering.

Here for you two comparison frames rendered separatly.

CPU (Threadripper 2950X):
CPU.png

GPU (RTX 2080 + GTX 1060):
GPU.png

CPU+GPU (way more samples):
CPUGPU.jpg

Maybe the bug can be investigated with a little higher priority.

I want to add that this is not just an error that appears in very few situations. It appears (for my understanding) for nearly every realistic sized light (lights <1m). I have a big project where I can render no single frame without this error. ~90% of the light comes from area lights (10x10cm floor lights). It looks like the contrast or brightness setting is different when rendering with CPU or GPU. GPU frames are always a lot brighter than CPU frames. I currently don't know which device produces the correct output. It's annoying and very time consuming that you cannot use both devices at the same time anymore to speed up rendering. Here for you two comparison frames rendered separatly. CPU (Threadripper 2950X): ![CPU.png](https://archive.blender.org/developer/F7801506/CPU.png) GPU (RTX 2080 + GTX 1060): ![GPU.png](https://archive.blender.org/developer/F7801507/GPU.png) CPU+GPU (way more samples): ![CPUGPU.jpg](https://archive.blender.org/developer/F7801576/CPUGPU.jpg) Maybe the bug can be investigated with a little higher priority.

Closed as duplicate of #72141

Closed as duplicate of #72141

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Duplicate' to: 'Confirmed'

This was merged into an issue that is different. Re-opening and let the Cycles team decide whether this is something to be tackled or just a known issue.

This was merged into an issue that is different. Re-opening and let the Cycles team decide whether this is something to be tackled or just a known issue.

Added subscriber: @YAFU

Added subscriber: @YAFU

Added subscriber: @arturmachura

Added subscriber: @arturmachura
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 13:59:32 +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
8 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#69535
No description provided.