Regression: Nishita Sky - Black Sun Disc(Cycles) #98270

Closed
opened 2022-05-19 20:56:44 +02:00 by Jannai · 13 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.77

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-18 16:54, hash: 214e61fc2c
Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c3b

broke between 17eb8a9ceb and a5644f9a28

Short description of error
Certain (still reasonable) values cause the Sun Disc of the Sky Texture (Nishita) to be rendered as partially or fully black in Viewport Shading "Rendered" as well as the final Render. The bug only occurs when using GPU Compute (maybe a driver bug?)

Exact steps for others to reproduce the error
Assuming a new file:

  • In Scene > World, set the Color parameter of the Surface to "Sky Texture," the Sky Texture type to Nishita and make sure to enable the Sun Disc.
  • Set the following values: Sun Size 3.14°, Sun Elevation 8.4°, Altitude 5000m and all the other values can be left to their default.
  • In the 3D-Viewport set the shading to "rendered" and find the sun disc.
  • When the Sun Disc is in view, align the camera to view and render with Cycles and GPU Compute.

Playing around with the parameters in Sun Size, Sun Elevation, Altitude and Air can change the size of the black area of the sun disc, e.g. Sun Size < 2.6° = fully black, Sun Size > 3.3° full white, every value in between causes a black area inside the disc as seen in the screenshot bellow:
Nishita_Sun-Disc_GPU-Compute_Bug.png Device: GPU Compute
Nishita_Sun-Disc_CPU-Compute.png Device: CPU Compute
Nishita_Sun-Disc.blend

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.77 **Blender Version** Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-18 16:54, hash: `214e61fc2c` Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c3b` broke between 17eb8a9cebd5 and a5644f9a28ea **Short description of error** Certain (still reasonable) values cause the Sun Disc of the Sky Texture (Nishita) to be rendered as partially or fully black in Viewport Shading "Rendered" as well as the final Render. The bug only occurs when using GPU Compute ~~(maybe a driver bug?)~~ **Exact steps for others to reproduce the error** Assuming a new file: - In Scene > World, set the Color parameter of the Surface to "Sky Texture," the Sky Texture type to Nishita and make sure to enable the Sun Disc. - Set the following values: Sun Size 3.14°, Sun Elevation 8.4°, Altitude 5000m and all the other values can be left to their default. - In the 3D-Viewport set the shading to "rendered" and find the sun disc. - When the Sun Disc is in view, align the camera to view and render with Cycles and GPU Compute. Playing around with the parameters in Sun Size, Sun Elevation, Altitude and Air can change the size of the black area of the sun disc, e.g. Sun Size < 2.6° = fully black, Sun Size > 3.3° full white, every value in between causes a black area inside the disc as seen in the screenshot bellow: ![Nishita_Sun-Disc_GPU-Compute_Bug.png](https://archive.blender.org/developer/F13091459/Nishita_Sun-Disc_GPU-Compute_Bug.png) Device: GPU Compute ![Nishita_Sun-Disc_CPU-Compute.png](https://archive.blender.org/developer/F13091460/Nishita_Sun-Disc_CPU-Compute.png) Device: CPU Compute [Nishita_Sun-Disc.blend](https://archive.blender.org/developer/F13091464/Nishita_Sun-Disc.blend)
Author

Added subscriber: @Truhvanor

Added subscriber: @Truhvanor

Added subscriber: @badbunny_uk

Added subscriber: @badbunny_uk

Hi, I confirm that this issue exists on my system too:
Worked in: 3.1.0
Broken in: 3.3.0 alpha
Windows 10 Enterprise
Nvidia RTX 4000 (driver 472.88)

Pete.

Hi, I confirm that this issue exists on my system too: Worked in: 3.1.0 Broken in: 3.3.0 alpha Windows 10 Enterprise Nvidia RTX 4000 (driver 472.88) Pete.
Member

Added subscribers: @lichtwerk, @PratikPB2123

Added subscribers: @lichtwerk, @PratikPB2123
Member

The bug only occurs when using GPU Compute (maybe a driver bug?)

Can not confirm when rendering with CPU (tested in 3.3)
Peter is also able to repro so less likely a driver bug. @lichtwerk , can you confirm?

Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
> The bug only occurs when using GPU Compute (maybe a driver bug?) Can not confirm when rendering with CPU (tested in 3.3) Peter is also able to repro so less likely a driver bug. @lichtwerk , can you confirm? ```System Information Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Author

I just loaded the file on my Linux machine and was able to reproduce the issue with:

  • version: 3.2.0 Beta, branch: master, commit date: 2022-05-19 19:21, hash: 1a627d528cf9
  • version: 3.3.0 Alpha, branch: master, commit date: 2022-05-18 22:35, hash: ae2d2c936161

System Information:

  • platform: Linux-5.17.6-1-MANJARO-x86_64-with-glibc2.35
  • renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
  • version: 4.5.0 NVIDIA 510.68.02

Since the issue occurs on different OSes and driver versions I agree with @PratikPB2123, a faulty driver is unlikely.

I just loaded the file on my Linux machine and was able to reproduce the issue with: - version: 3.2.0 Beta, branch: master, commit date: 2022-05-19 19:21, hash: `1a627d528cf9` - version: 3.3.0 Alpha, branch: master, commit date: 2022-05-18 22:35, hash: `ae2d2c936161` System Information: - platform: Linux-5.17.6-1-MANJARO-x86_64-with-glibc2.35 - renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2 - version: 4.5.0 NVIDIA 510.68.02 Since the issue occurs on different OSes and driver versions I agree with @PratikPB2123, a faulty driver is unlikely.
Member

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

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

Added subscriber: @brecht

Added subscriber: @brecht
Member

Can confirm, broke between 17eb8a9ceb and a5644f9a28

CC @brecht

Can confirm, broke between 17eb8a9cebd5 and a5644f9a28ea CC @brecht

Added subscriber: @Tanza

Added subscriber: @Tanza

This issue was referenced by 967f96ee2e

This issue was referenced by 967f96ee2e2ed454034f3e6be53fc7259f9016d0

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-05-27 20:20:41 +02:00

Added subscriber: @kubagrodzki

Added subscriber: @kubagrodzki
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#98270
No description provided.