Maniphest T94169

Regression: Grease Pencil does not show up in render past 2049x2049 render resolution
Closed, Resolved

Assigned To
Sergey Sharybin (sergey)
Authored By
insi (insi)
Dec 16 2021, 11:38 PM
Tags
  • BF Blender
  • Grease Pencil
  • Render & Cycles
Subscribers
Brecht Van Lommel (brecht)
Floatharr (Floatharr)
insi (insi)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)
Raimund Klink (Raimund58)
Sergey Sharybin (sergey)

Description

System Information
Operating system: Windows Version 10.0.19043 Build 19043
Graphics card: Nvidia RTX 3080 @ 497.09 Driver

Blender Version
Broken: 3.0 Stable (Dec 3rd), same thing on 3.0 Daily Dec 16th
Worked: 2.93 Stable (with the same setup)

Caused by rB08031197250a: Cycles: merge of cycles-x branch, a major update to the renderer

Short description of error

Setting the render resolution to something higher than 2048x2048 makes the Grease Pencil Line Art not appear in the final render when using Cycles.

Exact steps for others to reproduce the error

  • Default startup file
  • Set Renderer to Cycles
  • (Optional: Set Sample Size to 1, for faster rendering)
  • Shift-A Add Grease Pencil Scene Line Art
  • Set Render Resolution to 2049x2049 or higher
  • Render

Result: No line art shows up in final render. The lineart pops up for a split second, but does not end up showing up in the render. Affects both GPU and CPU rendering

"Fix"

  • Set Render resolution to 2048x2048 or lower
  • Render

Result: Line art shows up on the cube as expected.

Note: this is not only erasing LineArt, all of Greasepencil is affected.

Edit: Updated Example Blend file and specified Steps/Problem

Revisions and Commits

rB Blender
D13740
D13740

Related Objects

Event Timeline

insi (insi) created this task.Dec 16 2021, 11:38 PM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Dec 17 2021, 7:44 AM
Floatharr (Floatharr) added a subscriber: Floatharr (Floatharr).Dec 20 2021, 4:01 PM

Confirmed with the included blend file: the issue shows up in Cycles but not EEVEE. The exact resolution above which lineart fails to show up is 2048x2048

insi (insi) renamed this task from Grease Pencil Scene Line Art does not show up in render past certain render resolutions to Grease Pencil Scene Line Art does not show up in render past 2049x2049 render resolution.Dec 20 2021, 4:04 PM
insi (insi) updated the task description.
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Dec 23 2021, 11:02 AM
Philipp Oeser (lichtwerk) added projects: Grease Pencil, Render & Cycles.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Can confirm.

Philipp Oeser (lichtwerk) renamed this task from Grease Pencil Scene Line Art does not show up in render past 2049x2049 render resolution to Regression: Grease Pencil Scene Line Art does not show up in render past 2049x2049 render resolution.Dec 23 2021, 11:03 AM
Philipp Oeser (lichtwerk) triaged this task as High priority.EditedDec 23 2021, 11:41 AM

Caused by rB08031197250a: Cycles: merge of cycles-x branch, a major update to the renderer

I'd dare setting this to High priority, because this is not only erasing LineArt, all of Greasepencil is affected.
(and afaict, you cannot save this to a pass -- which might have been a workaround)

Philipp Oeser (lichtwerk) renamed this task from Regression: Grease Pencil Scene Line Art does not show up in render past 2049x2049 render resolution to Regression: Grease Pencil does not show up in render past 2049x2049 render resolution.Dec 23 2021, 11:42 AM
Philipp Oeser (lichtwerk) updated the task description.
Philipp Oeser (lichtwerk) updated the task description.
Philipp Oeser (lichtwerk) added subscribers: Sergey Sharybin (sergey), Brecht Van Lommel (brecht).

Supposed to inform responsible devs on high prio tasks, so here it goes:

CC @Brecht Van Lommel (brecht)
CC @Sergey Sharybin (sergey)

Raimund Klink (Raimund58) added a subscriber: Raimund Klink (Raimund58).Dec 30 2021, 5:57 PM
Sergey Sharybin (sergey) claimed this task.Jan 5 2022, 12:07 PM

Caused by the tiled rendering which intent is to save memory. The gpencil object is rendered onto the render result prior the tiled buffer is read from disk, which makes it so reading tiled buffer overrides gpencil render esult.

Sergey Sharybin (sergey) closed this task as Resolved by committing rB8cd6d0fe6876: Fix T94169: Missing grease pencil render with tiled rendering.Jan 5 2022, 5:47 PM
Sergey Sharybin (sergey) added a commit: rB8cd6d0fe6876: Fix T94169: Missing grease pencil render with tiled rendering.
Philipp Oeser (lichtwerk) mentioned this in T94675: Grease Pencil Won't Render With Cycles.Jan 6 2022, 12:14 PM
Philipp Oeser (lichtwerk) added a commit: rBe84625dcbcfe: Fix T94169: Missing grease pencil render with tiled rendering.Jan 11 2022, 10:39 AM