Stereo render display significantly slows down rendering #73701

Open
opened 2020-02-10 00:36:02 +01:00 by Brian Trepanier · 27 comments

System Information
Operating system: Win10 with 32GB RAM
Graphics card: 2080Ti

Blender Version
2.81, 2.83 (sub 2), branch: master, commit date: 2020-02-04 23:04, hash: 79003fa0c4

Short description of error
Cycles in CUDA mode.
Enabling the Show Stereo option (in the temporary Render Window) seriously slows down rendering.
image.png

Exact steps for others to reproduce the error

  • Open attached file
  • Enable Stereoscopy
  • Render and note time
  • Disable Show Stereo (in the image editor topbar)

Render and compare time

renderStereo.blend

Some numbers
Rendering attached file with 1 eye: 5s (so you would expect a stereo render to be ~10s)
Rendering attached file with in stereo with show_stereo_3d on: 45s.
Rendering attached file with in stereo with show_stereo_3d off: 10s

It's clear that displaying the anaglyph view significantly slows down rendering at high resolution.

**System Information** Operating system: Win10 with 32GB RAM Graphics card: 2080Ti **Blender Version** 2.81, 2.83 (sub 2), branch: master, commit date: 2020-02-04 23:04, hash: `79003fa0c4` **Short description of error** Cycles in CUDA mode. Enabling the `Show Stereo` option (in the temporary Render Window) seriously slows down rendering. ![image.png](https://archive.blender.org/developer/F8335405/image.png) **Exact steps for others to reproduce the error** - Open attached file - Enable `Stereoscopy` - Render and note time - Disable `Show Stereo` (in the image editor topbar) # Render and compare time [renderStereo.blend](https://archive.blender.org/developer/F8333580/renderStereo.blend) **Some numbers** Rendering attached file with 1 eye: 5s (so you would expect a stereo render to be ~10s) Rendering attached file with in stereo with show_stereo_3d on: 45s. Rendering attached file with in stereo with show_stereo_3d off: 10s It's clear that displaying the anaglyph view significantly slows down rendering at high resolution.

Added subscriber: @trepaning

Added subscriber: @trepaning

#78998 was marked as duplicate of this issue

#78998 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

Changed status from 'Needs Triage' to: 'Archived'
Germano Cavalcante self-assigned this 2020-02-10 15:49:43 +01:00

It is probably not a bug, but the rendering must have reached the limits of the RAM and the OS must be having a hard time with memory management.
To make sure it's a bug we need a simple .blend file and steps to reproduce the problem.
Also provide the system-info.txt generated in Help -> Save System Info.

The report can be reopened if the requested information is provided.

It is probably not a bug, but the rendering must have reached the limits of the RAM and the OS must be having a hard time with memory management. To make sure it's a bug we need a simple .blend file and steps to reproduce the problem. Also provide the `system-info.txt` generated in `Help -> Save System Info`. The report can be reopened if the requested information is provided.

Added subscriber: @MikePan

Added subscriber: @MikePan

This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders.

This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders.

my system specs

nvidia geforce rtx 2070

OS Name Microsoft Windows 10 Home
Version 10.0.18362 Build 18362
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Manufacturer Dell Inc.
System Model G5 5090
System Type x64-based PC
System SKU 0947
Processor Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz, 3000 Mhz, 8 Core(s), 8 Logical Processor(s)
BIOS Version/Date Dell Inc. 1.1.2, 2019-11-06
SMBIOS Version 3.1
Embedded Controller Version 255.255
BIOS Mode UEFI
BaseBoard Manufacturer Dell Inc.
BaseBoard Product 0DXJD9
BaseBoard Version A00
Platform Role Desktop
Secure Boot State On
PCR7 Configuration Elevation Required to View
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume3
Locale United States
Hardware Abstraction Layer Version = "10.0.18362.387"
Time Zone Pacific Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.9 GB
Available Physical Memory 11.7 GB
Total Virtual Memory 18.5 GB
Available Virtual Memory 12.2 GB
Page File Space 2.63 GB
Page File C:\pagefile.sys
Hyper-V - VM Monitor Mode Extensions Yes
Hyper-V - Second Level Address Translation Extensions Yes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution Protection Yes

OS and Blender are on C drive, all project files and saves are on D drive

my system specs nvidia geforce rtx 2070 OS Name Microsoft Windows 10 Home Version 10.0.18362 Build 18362 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Manufacturer Dell Inc. System Model G5 5090 System Type x64-based PC System SKU 0947 Processor Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz, 3000 Mhz, 8 Core(s), 8 Logical Processor(s) BIOS Version/Date Dell Inc. 1.1.2, 2019-11-06 SMBIOS Version 3.1 Embedded Controller Version 255.255 BIOS Mode UEFI BaseBoard Manufacturer Dell Inc. BaseBoard Product 0DXJD9 BaseBoard Version A00 Platform Role Desktop Secure Boot State On PCR7 Configuration Elevation Required to View Windows Directory C:\Windows System Directory C:\Windows\system32 Boot Device \Device\HarddiskVolume3 Locale United States Hardware Abstraction Layer Version = "10.0.18362.387" Time Zone Pacific Standard Time Installed Physical Memory (RAM) 16.0 GB Total Physical Memory 15.9 GB Available Physical Memory 11.7 GB Total Virtual Memory 18.5 GB Available Virtual Memory 12.2 GB Page File Space 2.63 GB Page File C:\pagefile.sys Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualization Enabled in Firmware Yes Hyper-V - Data Execution Protection Yes OS and Blender are on C drive, all project files and saves are on D drive

Added subscriber: @brecht

Added subscriber: @brecht

In #73701#868829, @MikePan wrote:
This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders.

It still seems related.
"stereo renders" = two images to render at the same time = more memory required.

@trepaning, without a file it is not be practical to investigate (There are many others reports to investigate and the problem seens to be a limitation in your system memory which is not considered a bug).

@brecht, as a cycles developer, do you have any idea what might actually be happening?

> In #73701#868829, @MikePan wrote: > This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders. It still seems related. `"stereo renders"` = two images to render at the same time = more memory required. @trepaning, without a file it is not be practical to investigate (There are many others reports to investigate and the problem seens to be a limitation in your system memory which is not considered a bug). @brecht, as a cycles developer, do you have any idea what might actually be happening?

In #73701#869216, @mano-wii wrote:

In #73701#868829, @MikePan wrote:
This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders.

It still seems related.
"stereo renders" = two images to render at the same time = more memory required.

without displaying the render, it takes 1 minute and 19 seconds to render

> In #73701#869216, @mano-wii wrote: >> In #73701#868829, @MikePan wrote: >> This is most definitely not an issue caused by system memory limitation. We've seen very similar behavior when rendering 6k panorama images in stereo. When the rendering is being displayed on screen, you get a dramatic (2-5x) slowdown in render time. This ONLY happens in stereo renders. > > It still seems related. > `"stereo renders"` = two images to render at the same time = more memory required. without displaying the render, it takes 1 minute and 19 seconds to render

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

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

Let me add another concrete data point to help with the triaging:

renderStereo.blend

Win10 with 32GB RAM, 2080Ti running Cycles in CUDA mode with Blender 2.81, with renders being outputted to a new image editor window:

Rendering attached file with 1 eye: 5s (so you would expect a stereo render to be ~10s)
Rendering attached file with in stereo with show_stereo_3d on: 45s.
Rendering attached file with in stereo with show_stereo_3d off: 10s

It's clear that displaying the anaglyph view significantly slows down rendering at high resolution.

Let me add another concrete data point to help with the triaging: [renderStereo.blend](https://archive.blender.org/developer/F8333580/renderStereo.blend) Win10 with 32GB RAM, 2080Ti running Cycles in CUDA mode with Blender 2.81, with renders being outputted to a new image editor window: Rendering attached file with 1 eye: 5s (so you would expect a stereo render to be ~10s) Rendering attached file with in stereo with show_stereo_3d on: 45s. Rendering attached file with in stereo with show_stereo_3d off: 10s It's clear that displaying the anaglyph view significantly slows down rendering at high resolution.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Thanks for the file Mike, it certainly helps (haven't opened it yet though)

Thanks for the file Mike, it certainly helps (haven't opened it yet though)

@MikePan, thanks for the file.
I can confirm that something is wrong with the Show Stereo option.
But I'm still not sure if it is the cause of the 17-minute delay reported (@trepaning, can you confirm).

If it is not the same problem it must be reported separately.

@MikePan, thanks for the file. I can confirm that something is wrong with the `Show Stereo` option. But I'm still not sure if it is the cause of the 17-minute delay reported (@trepaning, can you confirm). If it is not the same problem it must be reported separately.

I do not know how to turn show_stereo_3d on and off but

rendering with Blender displaying the render process takes 17 minutes.

Using a BATfile renders the same image in 1 minute and 19 secondsBAT content**
cd C:\Program Files\Blender Foundation\Blender 2.81
blender -b "D:\TheMusicOfJunk-Rhythm_FINALS\RENDER2020-360Tets.blend" -a

I do not know how to turn show_stereo_3d on and off but rendering with Blender displaying the render process takes 17 minutes. Using a BAT**file renders the same image in 1 minute and 19 seconds**BAT content** cd C:\Program Files\Blender Foundation\Blender 2.81 blender -b "D:\TheMusicOfJunk-Rhythm\_FINALS\RENDER2020-360Tets.blend" -a

Mike Pan's test file rendered at 7 seconds as individual,
but 1 minute and 12 seconds as stereo.

Using BAT file, it rendered in 7 seconds.

Mike Pan's test file rendered at 7 seconds as individual, but 1 minute and 12 seconds as stereo. Using BAT file, it rendered in 7 seconds.

In #73701#869679, @trepaning wrote:
I do not know how to turn show_stereo_3d on and off but

Try rendering with and without this option:
image.png

> In #73701#869679, @trepaning wrote: > I do not know how to turn show_stereo_3d on and off but > Try rendering with and without this option: ![image.png](https://archive.blender.org/developer/F8334762/image.png)
Brecht Van Lommel changed title from 360 3d rendering issue - long render time, parts not drawn to Stereo render display significantly slows down rendering 2020-02-11 15:38:37 +01:00

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

Changed status from 'Needs Triage' to: 'Confirmed'
Germano Cavalcante was unassigned by Brecht Van Lommel 2020-02-11 15:38:54 +01:00

(Assuming the assignment was not intentional and just part of closing the task initially.)

(Assuming the assignment was not intentional and just part of closing the task initially.)

In #73701#869685, @mano-wii wrote:

In #73701#869679, @trepaning wrote:
I do not know how to turn show_stereo_3d on and off but

Try rendering with and without this option:
image.png

Holy moly, yes sir, that decreased render time to acceptable, thanks.

with display showing render taking place but 3d stereo turned off, this took 1 minute 30 seconds to render. 360renderTest-1m30s.jpg

> In #73701#869685, @mano-wii wrote: >> In #73701#869679, @trepaning wrote: >> I do not know how to turn show_stereo_3d on and off but >> > > Try rendering with and without this option: > ![image.png](https://archive.blender.org/developer/F8334762/image.png) Holy moly, yes sir, that decreased render time to acceptable, thanks. with display showing render taking place but 3d stereo turned off, this took 1 minute 30 seconds to render. ![360renderTest-1m30s.jpg](https://archive.blender.org/developer/F8335332/360renderTest-1m30s.jpg)

Added subscriber: @ZsoltStefan

Added subscriber: @ZsoltStefan

I had posted this bug before: https://developer.blender.org/T53290 . It seemed to be resolved. ??

I had posted this bug before: https://developer.blender.org/T53290 . It seemed to be resolved. ??

That ticket does offer a workaround. By switching to GLSL, I can avoid most of the slowdowns. But it's still slower than expected.

Single Eye: 3s
Stereo Expected: 6s
Stereo GLSL: 8s
Stereo 2D Texture/Automatic: 48s

Interesting that when set to automatic, it seems to pick 2D texture instead of GLSL as #53290 implies.

That ticket does offer a workaround. By switching to GLSL, I can avoid most of the slowdowns. But it's still slower than expected. Single Eye: 3s Stereo Expected: 6s Stereo GLSL: 8s Stereo 2D Texture/Automatic: 48s Interesting that when set to automatic, it seems to pick 2D texture instead of GLSL as #53290 implies.

Added subscribers: @yosi, @bent, @Memento

Added subscribers: @yosi, @bent, @Memento

This seems to be fixed now in (the upcoming 2.91) since (4212b6528a) - image draw refactor. Closing it now, let me know if the issue is still around.

This seems to be fixed now in (the upcoming 2.91) since (4212b6528afb0) - image draw refactor. Closing it now, let me know if the issue is still around.
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:01:29 +01:00
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
7 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#73701
No description provided.