Cycles not rendering shadows on GPU when MotionBlur enabled #69916

Closed
opened 3 years ago by Wor3d · 22 comments
Wor3d commented 3 years ago

System Information
Operating system: Windows 10 Pro 1903 (18362.356)
Graphics card: Radeon 5700XT

Blender Version
Broken: 2.81 (sub 11), branch: master, commit date: 2019-09-15 10:29, hash: 87c0179857, type: Release

Short description of error
Shadows not rendered when Motion blur enabled (cycles)

Exact steps for others to reproduce the error
As far as I can tell, this only happens on GPU rendered tiles. When rendering with CPU+GPU OpenCL scene, the tiles rendered by a CPU have shadows, tiles rendered by the GPU have not.

As you can see on the picture, there are no shadows. By rendering it again I watched which tiles are rendered by what device and I found out it is only GPU. Tiles render in same order every time, so the same spot on a image had no shadows rendered.

Image (I highlighted missing shadows):
blender_shadow_bug.jpg

Source of light: Sun and one other light

**System Information** Operating system: Windows 10 Pro 1903 (18362.356) Graphics card: Radeon 5700XT **Blender Version** Broken: 2.81 (sub 11), branch: master, commit date: 2019-09-15 10:29, hash: 87c017985719, type: Release **Short description of error** Shadows not rendered when Motion blur enabled (cycles) **Exact steps for others to reproduce the error** As far as I can tell, this only happens on GPU rendered tiles. When rendering with CPU+GPU OpenCL scene, the tiles rendered by a CPU have shadows, tiles rendered by the GPU have not. As you can see on the picture, there are no shadows. By rendering it again I watched which tiles are rendered by what device and I found out it is only GPU. Tiles render in same order every time, so the same spot on a image had no shadows rendered. Image (I highlighted missing shadows): ![blender_shadow_bug.jpg](https://archive.blender.org/developer/F7749081/blender_shadow_bug.jpg) Source of light: Sun and one other light
Wor3d commented 3 years ago
Poster

Added subscriber: @Wor3d

Added subscriber: @Wor3d
Collaborator

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Collaborator

Just to be sure we are all on the same page [this might depend on certain settings]:

  • could you share your .blend file where this happens?
Just to be sure we are all on the same page [this might depend on certain settings]: - could you share your .blend file where this happens?
Wor3d commented 3 years ago
Poster

Yes sure, frames 320-400
L_sizes showcase.blend

Yes sure, frames 320-400 [L_sizes showcase.blend](https://archive.blender.org/developer/F7756813/L_sizes_showcase.blend)
Collaborator

I am afraid I cannot reproduce this...

The only frame that seems off is frame 400 [it is one frame before the camera makes a drastic "cut"] where motion blur goes bunkers [but that happens on both CPU & GPU for me -- and is more or less expected, since the camera makes a jump (would advise to use two cameras here and work with camera markers here...)]

I am afraid I cannot reproduce this... The only frame that seems off is frame 400 [it is one frame before the camera makes a drastic "cut"] where motion blur goes bunkers [but that happens on both CPU & GPU for me -- and is more or less expected, since the camera makes a jump (would advise to use two cameras here and work with camera markers here...)]
Wor3d commented 3 years ago
Poster

I will try to dig deeper and produce simplistic deterministic case. I had problems with Motion blur on other PC also, where it just straight crashed when GPU tried to render the frame (https://developer.blender.org/T69908), same version of 2.81.

I will try to dig deeper and produce simplistic deterministic case. I had problems with Motion blur on other PC also, where it just straight crashed when GPU tried to render the frame (https://developer.blender.org/T69908), same version of 2.81.
iss commented 3 years ago
Collaborator

Added subscriber: @iss

Added subscriber: @iss
iss commented 3 years ago
Collaborator

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'
iss commented 3 years ago
Collaborator

Is this still an issue with latest build? https://builder.blender.org/download/

Is this still an issue with latest build? https://builder.blender.org/download/
iss commented 3 years ago
Collaborator

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

Changed status from 'Needs User Info' to: 'Archived'
iss closed this issue 3 years ago
iss self-assigned this 3 years ago
iss commented 3 years ago
Collaborator

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to close the report

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to close the report
Wor3d commented 3 years ago
Poster

Hi, still an issue. 2.82.7. We have been working on other project files, and the issue remains. CPU and Eevee renders it just fine, also rendered preview (on GPU...) works! Actual cycles render fails to render >any< shadow

Hi, still an issue. 2.82.7. We have been working on other project files, and the issue remains. CPU and Eevee renders it just fine, also rendered preview (on GPU...) works! Actual cycles render fails to render >any< shadow
iss commented 3 years ago
Collaborator

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

Changed status from 'Archived' to: 'Needs User Info'
iss reopened this issue 3 years ago
iss commented 3 years ago
Collaborator

@Wor3d Can you check if this happens with 2.83 version still? Please make sure, that your driver is up to date and before testing click on File > Defaults > Load Factory Settings.

@Wor3d Can you check if this happens with 2.83 version still? Please make sure, that your driver is up to date and before testing click on File > Defaults > Load Factory Settings.
Wor3d commented 3 years ago
Poster

Hello, on version 2.83 (April 11th alpha) I am unable to start the render on the GPU.
The window "blender render" opens, but nothing happens, I don't see the status bar (loading kernels, etc.).
CPU is fully loaded on one core only (so ~7%), and no excess GPU/CPU memory is used.
On my other computer, the render works just fine on that project.

To the problematic one - we DDu'd (safe mode, etc.) the driver and installed the latest AMD driver (20.4.1). We loaded factory settings.

Hello, on version 2.83 (April 11th alpha) I am unable to start the render on the GPU. The window "blender render" opens, but nothing happens, I don't see the status bar (loading kernels, etc.). CPU is fully loaded on one core only (so ~7%), and no excess GPU/CPU memory is used. On my other computer, the render works just fine on that project. To the problematic one - we DDu'd (safe mode, etc.) the driver and installed the latest AMD driver (20.4.1). We loaded factory settings.
iss commented 3 years ago
Collaborator

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

Changed status from 'Needs User Info' to: 'Needs Triage'
iss commented 3 years ago
Collaborator

@Wor3d this issue seems to be reported, so I guess you can subscribe to #74262 so you will be notified when it will be resolved, than you can re-test this one. I will leave it open in meanwhile.

@Wor3d this issue seems to be reported, so I guess you can subscribe to #74262 so you will be notified when it will be resolved, than you can re-test this one. I will leave it open in meanwhile.
Wor3d commented 3 years ago
Poster

Thanks, I will keep an eye on it. Hopefully it will solve this problem too... Having to render on a CPU is a real slow-down :/

Thanks, I will keep an eye on it. Hopefully it will solve this problem too... Having to render on a CPU is a real slow-down :/
Wor3d commented 3 years ago
Poster

If I can somehow help (etc. enable/set verbosity and dig through some debug logs?), just point me how/where to do it, I am fluent in programming languages and so, but not Python and OpenGL in particular..., but I am sure I can dig through it :) I am just helping to solve this problem for my brother, who actually uses the machine for work.

If I can somehow help (etc. enable/set verbosity and dig through some debug logs?), just point me how/where to do it, I am fluent in programming languages and so, but not Python and OpenGL in particular..., but I am sure I can dig through it :) I am just helping to solve this problem for my brother, who actually uses the machine for work.
iss commented 3 years ago
Collaborator

In #69916#909714, @Wor3d wrote:
If I can somehow help (etc. enable/set verbosity and dig through some debug logs?), just point me how/where to do it, I am fluent in programming languages and so, but not Python and OpenGL in particular..., but I am sure I can dig through it :) I am just helping to solve this problem for my brother, who actually uses the machine for work.

I could imagine that help would be appreciated. I am not exactly sure what the issue is there, it may be bug in driver, that is hard to work around. I would recommend offering help / asking for info in particular thread or in https:*blender.chat or https:*devtalk.blender.org

> In #69916#909714, @Wor3d wrote: > If I can somehow help (etc. enable/set verbosity and dig through some debug logs?), just point me how/where to do it, I am fluent in programming languages and so, but not Python and OpenGL in particular..., but I am sure I can dig through it :) I am just helping to solve this problem for my brother, who actually uses the machine for work. I could imagine that help would be appreciated. I am not exactly sure what the issue is there, it may be bug in driver, that is hard to work around. I would recommend offering help / asking for info in particular thread or in https:*blender.chat or https:*devtalk.blender.org
iss was unassigned by ankitm 3 years ago
Wor3d commented 3 years ago
Poster
blender-2.90-00e0034b13e6 (windows 64)

Fixed my problem! Wow :) Shadows are now properly rendered with GPU and motion blur. Can't wait for stable release.

Thanks, whatever fixed it, shall it not break again 🤞

``` blender-2.90-00e0034b13e6 (windows 64) ``` Fixed my problem! Wow :) Shadows are now properly rendered with GPU and motion blur. Can't wait for stable release. Thanks, whatever fixed it, shall it not break again 🤞
Wor3d commented 3 years ago
Poster

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

Changed status from 'Needs Triage' to: 'Resolved'
Wor3d closed this issue 3 years ago
Wor3d self-assigned this 3 years ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Pipeline, Assets & I/O
Interest/Translations
Interest/Undo
Interest/USD
Interest/Video Sequencer
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Performance
legacy project/Physics
legacy project/Platforms, Builds, Tests & Devices
legacy project/Pose Library Basics
legacy project/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Retrospective
legacy project/Sculpt, Paint & Texture
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Triaging
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Virtual Reality
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#69916
Loading…
There is no content yet.