Toggling "Visible in Render" is extremely slow since 2.90 (when texture is used in modifier) #92386

Closed
opened 2021-10-21 11:38:43 +02:00 by Ronan · 20 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1660/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: a791bdabd0
Broken: version: 2.90.0
Worked: 2.83.18.0

Caused by 23919d2275 btw.
So this might be an intended change in the end (with no real way around), will let developers decide here.

Short description of error
Toggling an object's visibility for rendering is very slow (>10s freeze in the attached file, on my system) in 2.93 LTS, but is instant in 2.83 LTS.
Toggling viewport visibility is instant in both versions.

Exact steps for others to reproduce the error
In the attached file, simply toggle any object's render visibility in the outliner. At least on my system, Blender freezes for around 10 seconds each time you do this in this file, and >30 seconds on some of my other files (which I can't share unfortunately).
I realise these are quite hi-poly objects but they have never been a problem in previous Blender versions.
Blender Slow Hide Test - Packed.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1660/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: `a791bdabd0` Broken: version: 2.90.0 Worked: 2.83.18.0 Caused by 23919d2275 btw. So this might be an intended change in the end (with no real way around), will let developers decide here. **Short description of error** Toggling an object's visibility for rendering is very slow (>10s freeze in the attached file, on my system) in 2.93 LTS, but is instant in 2.83 LTS. Toggling viewport visibility is instant in both versions. **Exact steps for others to reproduce the error** In the attached file, simply toggle any object's render visibility in the outliner. At least on my system, Blender freezes for around 10 seconds each time you do this in this file, and >30 seconds on some of my other files (which I can't share unfortunately). I realise these are quite hi-poly objects but they have never been a problem in previous Blender versions. [Blender Slow Hide Test - Packed.blend](https://archive.blender.org/developer/F11490600/Blender_Slow_Hide_Test_-_Packed.blend)
Author

Added subscriber: @Don-Macaron

Added subscriber: @Don-Macaron

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I cannot reproduce this with either the latest stable or current development versions of Blender.
It's pretty fast here. Almost instantaneous.

Please try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

If the problem persists, please give us more clear instructions on how to reproduce it from scratch.

I cannot reproduce this with either the latest stable or current development versions of Blender. It's pretty fast here. Almost instantaneous. Please try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue. If the problem persists, please give us more clear instructions on how to reproduce it from scratch.
Author

Hi, thanks for investigating.

I've tried the latest 2.93 build, and have tried loading Factory Settings both on that version and on the LTS 2.93 version.
The problem does still persist, and still does not happen in 2.83.
I'm getting a colleague to try the file on his PC and will report back on that.

However, I have noticed that removing the texture in the Displace modifier from all the objects seems to solve the issue (even though the Displace modifier was not enabled in viewport or render.)
I didn't pack all the textures into the previous .blend file I uploaded here, so perhaps the fact that the texture was missing when you tried it might have had an effect?
Here is a version with the textures packed:

Blender Slow Hide Test - Packed.blend

I'm not yet sure how to reproduce the error fully from scratch, all I know is that most of my files exhibit this behaviour.

Hi, thanks for investigating. I've tried the latest 2.93 build, and have tried loading Factory Settings both on that version and on the LTS 2.93 version. The problem does still persist, and still does not happen in 2.83. I'm getting a colleague to try the file on his PC and will report back on that. However, I have noticed that removing the texture in the Displace modifier from all the objects seems to solve the issue (even though the Displace modifier was not enabled in viewport or render.) I didn't pack all the textures into the previous .blend file I uploaded here, so perhaps the fact that the texture was missing when you tried it might have had an effect? Here is a version with the textures packed: [Blender Slow Hide Test - Packed.blend](https://archive.blender.org/developer/F11490600/Blender_Slow_Hide_Test_-_Packed.blend) I'm not yet sure how to reproduce the error fully from scratch, all I know is that most of my files exhibit this behaviour.

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

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

In #92386#1240795, @Don-Macaron wrote:
(...)
I didn't pack all the textures into the previous .blend file I uploaded here, so perhaps the fact that the texture was missing when you tried it might have had an effect?

It's quite possible.
I'll take a look at the new version soon.

> In #92386#1240795, @Don-Macaron wrote: > (...) > I didn't pack all the textures into the previous .blend file I uploaded here, so perhaps the fact that the texture was missing when you tried it might have had an effect? It's quite possible. I'll take a look at the new version soon.

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

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

I opened the file in 2.83 and 2.93 but didn't notice any difference in duration when hiding and unhiding the objects.
Perhaps you are experiencing an issue described in #73199 (Editing an object that is referenced in a disabled modifier (of another object) forces the other modifiers on the same stack to update).
But the ">10s freeze" is really not expected.

Can you try the latest daily build (3.0)? https://builder.blender.org/download/

I opened the file in 2.83 and 2.93 but didn't notice any difference in duration when hiding and unhiding the objects. Perhaps you are experiencing an issue described in #73199 (Editing an object that is referenced in a disabled modifier (of another object) forces the other modifiers on the same stack to update). But the ">10s freeze" is really not expected. Can you try the latest daily build (3.0)? https://builder.blender.org/download/
Author

Okay, so interesting result: the latest 3.0 build is absolutely fine. Render visibility for all parts can be toggled instantaneously.
The plot thickens...

I've re-tried in the 2.83 & 2.93 latest builds and latest LTS versions (just to double check) and it definitely seems to be an issue with the 2.93 versions specifically.
It seems the wait time can vary a bit (maybe depending on how many other programs I have running?) but it's generally in the range of 5-12 seconds. It's also impossible to click & drag to hide multiple objects at once, so I have to do them one at a time, and wait 5-12 seconds per object I want to hide.

Okay, so interesting result: the latest 3.0 build is absolutely fine. Render visibility for all parts can be toggled instantaneously. The plot thickens... I've re-tried in the 2.83 & 2.93 latest builds and latest LTS versions (just to double check) and it definitely seems to be an issue with the 2.93 versions specifically. It seems the wait time can vary a bit (maybe depending on how many other programs I have running?) but it's generally in the range of 5-12 seconds. It's also impossible to click & drag to hide multiple objects at once, so I have to do them one at a time, and wait 5-12 seconds *per object* I want to hide.
Author

Also, just to note, my colleague has now tried the file on his PC and has the same result as me - 2.83 works fine but 2.93 freezes

Also, just to note, my colleague has now tried the file on his PC and has the same result as me - 2.83 works fine but 2.93 freezes

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

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

I've tested it on 2.93.2, 2.93.5 and 2.93.6, but I still can't replicate the problem.
Tested on Windows and on Mac.

I'll leave the report open in case anyone else can take a look.
But it seems to be a low priority problem, while this is a real issue, it is only happening to a few people so far. And it seems that to troubleshoot it, developers needs to have direct access to hardware.

I've tested it on 2.93.2, 2.93.5 and 2.93.6, but I still can't replicate the problem. Tested on Windows and on Mac. I'll leave the report open in case anyone else can take a look. But it seems to be a low priority problem, while this is a real issue, it is only happening to a few people so far. And it seems that to troubleshoot it, developers needs to have direct access to hardware.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

I can confirm the slowness of the toggle.

In #92386#1243071, @Don-Macaron wrote:
Okay, so interesting result: the latest 3.0 build is absolutely fine. Render visibility for all parts can be toggled instantaneously.

Cant confirm this, for me 3.0, 3.1 and 3.2 are equally slow, @Don-Macaron: could you recheck?
Will try to see where this changed between 2.83 and onwards

I can confirm the slowness of the toggle. > In #92386#1243071, @Don-Macaron wrote: > Okay, so interesting result: the latest 3.0 build is absolutely fine. Render visibility for all parts can be toggled instantaneously. Cant confirm this, for me 3.0, 3.1 and 3.2 are equally slow, @Don-Macaron: could you recheck? Will try to see where this changed between 2.83 and onwards
Member

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
Member

Caused by 23919d2275 btw.

So this might be an intended change in the end (with no real way around), will let developers decide here.

Caused by 23919d2275 btw. So this might be an intended change in the end (with no real way around), will let developers decide here.
Philipp Oeser changed title from Toggling "Visible in Render" is extremely slow in latest 2.93 LTS to Toggling "Visible in Render" is extremely slow since 2.90 (when texture is used in modifier) 2022-02-23 13:29:21 +01:00
Member

Just noticed we have a report for this already, see #83271 (Displace modifier with Image Texture causes scene slowdown), will merge reports

Just noticed we have a report for this already, see #83271 (Displace modifier with Image Texture causes scene slowdown), will merge reports
Member

Closed as duplicate of #83271

Closed as duplicate of #83271
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#92386
No description provided.