Regression: Viewport cycles render: all lines disappear #86032

Closed
opened 2021-02-26 23:47:41 +01:00 by Vyacheslav Kobozev · 12 comments

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-25 05:34, hash: 0e1c6a29cb
2.93.0-4a784f32fe1e-windows64 already have this bug

Short description of error
When I enable Cycles render in viewport all line-objects disappear: empties, lights, curves, wireframes etc.
Tested with factory settings too.

2021-02-27_01-32-47.mp4

Also wireframes disappear only for cycles area, not for all viewport.
{F9858748 size=full}

Also Blender renders wireframe at first, but hide after rotation and it is no matter if I render with CPU or GPU
2021-03-02_05-51-35.mp4

**System Information** Operating system: Windows-8.1-6.3.9600-SP0 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-25 05:34, hash: `0e1c6a29cb` 2.93.0-4a784f32fe1e-windows64 already have this bug **Short description of error** When I enable Cycles render in viewport all line-objects disappear: empties, lights, curves, wireframes etc. Tested with factory settings too. [2021-02-27_01-32-47.mp4](https://archive.blender.org/developer/F9843614/2021-02-27_01-32-47.mp4) Also wireframes disappear only for cycles area, not for all viewport. {[F9858748](https://archive.blender.org/developer/F9858748/изображение.png) size=full} Also Blender renders wireframe at first, but hide after rotation and it is no matter if I render with CPU or GPU [2021-03-02_05-51-35.mp4](https://archive.blender.org/developer/F9858758/2021-03-02_05-51-35.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Cannot reproduce here

**System Information**
Operating system: Linux-5.10.12-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01
version: 2.93.0 Alpha, branch: master (modified), commit date: 2021-03-01 09:59, hash: `rBca63729a5b0e`

Just to make sure: could you check with the latest build from https://builder.blender.org/download/? (since you already checked Factory Settings it seems)
Not sure if you tweaked any other settings, posting your "failing" file could also help.

Cannot reproduce here ``` **System Information** Operating system: Linux-5.10.12-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01 version: 2.93.0 Alpha, branch: master (modified), commit date: 2021-03-01 09:59, hash: `rBca63729a5b0e` ``` Just to make sure: could you check with the latest build from https://builder.blender.org/download/? (since you already checked Factory Settings it seems) Not sure if you tweaked any other settings, posting your "failing" file could also help.

@lichtwerk yes, the same with last version.
Bug does not depend on file, just factory startup and default file
2021-03-01_17-14-48.mp4

@lichtwerk yes, the same with last version. Bug does not depend on file, just factory startup and default file [2021-03-01_17-14-48.mp4](https://archive.blender.org/developer/F9856667/2021-03-01_17-14-48.mp4)
Member

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

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

Not reproduced with:

Blender version: 2.93.0 Alpha, branch: master, commit date: 2021-03-01 01:00, hash: 1638af109e, type: Release
build date: 2021-03-01, 07:28:06
platform: Windows 10

'GeForce GTX 1050 Ti/PCIe/SSE2' 4ГБ
vendor: 'NVIDIA Corporation'
version: '4.5.0 NVIDIA 456.71'

So not OS/windows issue probably.

Not reproduced with: Blender version: 2.93.0 Alpha, branch: master, commit date: 2021-03-01 01:00, hash: 1638af109e46, type: Release build date: 2021-03-01, 07:28:06 platform: Windows 10 'GeForce GTX 1050 Ti/PCIe/SSE2' 4ГБ vendor: 'NVIDIA Corporation' version: '4.5.0 NVIDIA 456.71' So not OS/windows issue probably.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can confirm the problem.
This change seems to resolve:

diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c
index adb21540afb..1ede12a7876 100644
--- a/source/blender/draw/engines/external/external_engine.c
+++ b/source/blender/draw/engines/external/external_engine.c
@@ -281,6 +281,8 @@ static void external_draw_scene(void *vedata)
   }
 
   if (stl->g_data->update_depth && stl->g_data->need_depth) {
+    GPU_framebuffer_bind(dfbl->depth_only_fb);
+    GPU_framebuffer_clear_depth(dfbl->depth_only_fb, 1.0f);
     DRW_draw_pass(psl->depth_pass);
     /* Copy main depth buffer to cached framebuffer. */
     GPU_framebuffer_blit(dfbl->depth_only_fb, 0, fbl->depth_buffer_fb, 0, GPU_DEPTH_BIT);

I can confirm the problem. This change seems to resolve: ``` diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c index adb21540afb..1ede12a7876 100644 --- a/source/blender/draw/engines/external/external_engine.c +++ b/source/blender/draw/engines/external/external_engine.c @@ -281,6 +281,8 @@ static void external_draw_scene(void *vedata) } if (stl->g_data->update_depth && stl->g_data->need_depth) { + GPU_framebuffer_bind(dfbl->depth_only_fb); + GPU_framebuffer_clear_depth(dfbl->depth_only_fb, 1.0f); DRW_draw_pass(psl->depth_pass); /* Copy main depth buffer to cached framebuffer. */ GPU_framebuffer_blit(dfbl->depth_only_fb, 0, fbl->depth_buffer_fb, 0, GPU_DEPTH_BIT); ```

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

No issue in 2.93.5, so I marked as resolved.

No issue in 2.93.5, so I marked as 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
3 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#86032
No description provided.