Cycles renders shows black during rendering huge resolutions #93350

Closed
opened 2021-11-24 10:16:43 +01:00 by Jeroen Bakker · 22 comments
Member

System Information
Operating system: Linux-5.13.0-7620-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: Radeon RX Vega (VEGA10, DRM 3.41.0, 5.13.0-7620-generic, LLVM 12.0.0) AMD 4.6 (Core Profile) Mesa 21.2.2

Blender Version
Broken:

  • version: 3.0.0 Beta, branch: master, commit date: 2021-11-24 09:05, hash: 785503a7e4
  • version 3.1.0 Alpha

Worked:

  • version: 2.93.6 official release.

Short description of error
When rendering an image with a resolution of 20000x10000 makes the intermediate result fully back. The transparency checkerboard also doesn't show in this case. After rendering the image is correct.

Exact steps for others to reproduce the error

  • Start Blender
  • Set render engine to cycles
  • Set render resolution to 20000x10000
  • Disable denoising (has nothing to do with the error, except that it would be very time consuming.)
  • Press F12

I was able to render with 16000x8000

Screenshot during rendering
Screenshot from 2021-11-24 10-10-20.png

system-info.txt

**System Information** Operating system: Linux-5.13.0-7620-generic-x86_64-with-glibc2.33 64 Bits Graphics card: Radeon RX Vega (VEGA10, DRM 3.41.0, 5.13.0-7620-generic, LLVM 12.0.0) AMD 4.6 (Core Profile) Mesa 21.2.2 **Blender Version** Broken: * version: 3.0.0 Beta, branch: master, commit date: 2021-11-24 09:05, hash: `785503a7e4` * version 3.1.0 Alpha Worked: * version: 2.93.6 official release. **Short description of error** When rendering an image with a resolution of 20000x10000 makes the intermediate result fully back. The transparency checkerboard also doesn't show in this case. After rendering the image is correct. **Exact steps for others to reproduce the error** * Start Blender * Set render engine to cycles * Set render resolution to 20000x10000 * Disable denoising (has nothing to do with the error, except that it would be very time consuming.) * Press F12 I was able to render with 16000x8000 Screenshot during rendering ![Screenshot from 2021-11-24 10-10-20.png](https://archive.blender.org/developer/F11969698/Screenshot_from_2021-11-24_10-10-20.png) [system-info.txt](https://archive.blender.org/developer/F11969725/system-info.txt)
Author
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Jeroen Bakker changed title from Cycles renders black when rendering huge resolutions to Cycles renders shows black during rendering huge resolutions 2021-11-24 10:19:58 +01:00

Added subscriber: @Garek

Added subscriber: @Garek

Can confirm. Black shows as long as either X or Y resolution are greater than 16384 (which is 2^14).
When I switch to Eevee I get an error about texture size limit, might be related?
изображение_2021-11-24_160342.png

Can confirm. Black shows as long as either X or Y resolution are greater than 16384 (which is 2^14). When I switch to Eevee I get an error about texture size limit, might be related? ![изображение_2021-11-24_160342.png](https://archive.blender.org/developer/F11979081/изображение_2021-11-24_160342.png)
Sergey Sharybin self-assigned this 2021-11-24 14:31:57 +01:00

This issue indeed roots into the same limitation as @Garek pointed out: OpenGL has a limit on the texture size and in Cycles for 3.0 we are allocating one single texture for the final result. Technically it is a regression compared to 2.93, but not sure whether there is a way around it.

Guess the proper solution is to allocate multiple texture in the BlenderDisplayDriver when the render result does not fit into limitations of the OpenGL.

Marking as high priority to allow classify whether it is something we aim to be resolved before 3.0.

This issue indeed roots into the same limitation as @Garek pointed out: OpenGL has a limit on the texture size and in Cycles for 3.0 we are allocating one single texture for the final result. Technically it is a regression compared to 2.93, but not sure whether there is a way around it. Guess the proper solution is to allocate multiple texture in the `BlenderDisplayDriver` when the render result does not fit into limitations of the OpenGL. Marking as high priority to allow classify whether it is something we aim to be resolved before 3.0.
Author
Member

Best to keep the texture to 8Kx8K. The reported max resolution of the gl driver doesn't mean that allocation of smaller textures always work.

Best to keep the texture to 8Kx8K. The reported max resolution of the gl driver doesn't mean that allocation of smaller textures always work.

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

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

Added subscriber: @brecht

Added subscriber: @brecht

Maybe we could allocate one texture per tile, and limit the max tile size to 8k?

Maybe we could allocate one texture per tile, and limit the max tile size to 8k?

Good to know.

And to clarify: this but is something what is very nice to be fixed soon, but we do not consider this a stopper for 3.0.

Good to know. And to clarify: this but is something what is very nice to be fixed soon, but we do not consider this a stopper for 3.0.

@brecht, That is definitely a possibility, and it does sound like it is simplest/cleanest approach. I'd need to think a bit about what exactly that'd mean for the display driver and graphics interop API.

@brecht, That is definitely a possibility, and it does sound like it is simplest/cleanest approach. I'd need to think a bit about what exactly that'd mean for the display driver and graphics interop API.
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58
Contributor
Just to create a link: [D13385: Fix #93350: Cycles renders shows black during rendering huge resolutions](https://archive.blender.org/developer/D13385)

Added subscriber: @Wovchick

Added subscriber: @Wovchick

This issue was referenced by blender/cycles@d3a486d3fb

This issue was referenced by blender/cycles@d3a486d3fb2d1e9e9a8591fabae7e9057f10042e

This issue was referenced by 5e37f70307

This issue was referenced by 5e37f70307bdacedd0f7da65f8b385bc1426f21d

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This issue was referenced by blender/cycles@1031647a4d

This issue was referenced by blender/cycles@1031647a4d63e162e461d3b734d716b3f195117c

This issue was referenced by 204ae33d75

This issue was referenced by 204ae33d755561e68ad3a6193d9a90d39d47d4da

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'

This issue was referenced by blender/cycles@d29923554a

This issue was referenced by blender/cycles@d29923554a7a9a6a9c253386c37760166f392826

This issue was referenced by ae28d90578

This issue was referenced by ae28d90578be516bf81f3532846c29f9985f1085

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#93350
No description provided.