Cycles and PC frozen on "Updating Images" #74751

Closed
opened 2020-03-14 10:23:56 +01:00 by Jason Battersby · 18 comments

{F8404642}System Information
Operating system: Windows 10
Graphics card: Nvidia GTX1080ti, Driver 442.59

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca, type: Release
build date: 2020-03-12, 15:41:08
Worked: Possibly 2.80

Short description of error

Cycles Issue: I have a typical car model, textured, some modifiers, and is Linked into my main file where I do my rendering. Everything works perfectly in Eevee. As soon as I switch it to Cycles and it goes through its motions, when it comes to “Updating Images” on the top left corner of the viewport the computer becomes unusable, mouse is frozen and the computer is " working". I left it almost 1 hour and nothing happened, so only option to hard shut down the PC.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Attached is a screenshot before I had to hard restart the PC, Memory working, but went on forever.

{[F8404642](https://archive.blender.org/developer/F8404642/Crash_1.PNG)}**System Information** Operating system: Windows 10 Graphics card: Nvidia GTX1080ti, Driver 442.59 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4caf4, type: Release build date: 2020-03-12, 15:41:08 Worked: Possibly 2.80 **Short description of error** Cycles Issue: I have a typical car model, textured, some modifiers, and is Linked into my main file where I do my rendering. Everything works perfectly in Eevee. As soon as I switch it to Cycles and it goes through its motions, when it comes to “Updating Images” on the top left corner of the viewport the computer becomes unusable, mouse is frozen and the computer is " working". I left it almost 1 hour and nothing happened, so only option to hard shut down the PC. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). Attached is a screenshot before I had to hard restart the PC, Memory working, but went on forever.

Added subscriber: @JasonBattersby

Added subscriber: @JasonBattersby

Added subscriber: @brecht

Added subscriber: @brecht

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

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

We require a .blend file and exact steps to reproduce the problem using that .blend file.

We require a .blend file and exact steps to reproduce the problem using that .blend file.

In #74751#891144, @brecht wrote:
We require a .blend file and exact steps to reproduce the problem using that .blend file.

Yes I'm working on it to reproduce the issue, unfortunately it is a client's file I cannot release the data.

> In #74751#891144, @brecht wrote: > We require a .blend file and exact steps to reproduce the problem using that .blend file. Yes I'm working on it to reproduce the issue, unfortunately it is a client's file I cannot release the data.

Added subscriber: @3di

Added subscriber: @3di

@JasonBattersby It looks like you're using a large HDRI which is too large to fit into memory when uncompressed. You can also see that you're getting a lot of disk activity on drive D as it has to use the page file instead of ram. I'd suggest getting a min of 32 gb ram, but you could try changing surface sampling to manual in the world properties tab, and reducing the value to something like 4096 or lower. It would be nice if there were two options here, one for viewport rendering and one for final rendering, or perhaps better still if the lighting only had to update when necessary, it seems to update even when changing material parameters at the moment, which results in a sloooooow experience.

image.png

@JasonBattersby It looks like you're using a large HDRI which is too large to fit into memory when uncompressed. You can also see that you're getting a lot of disk activity on drive D as it has to use the page file instead of ram. I'd suggest getting a min of 32 gb ram, but you could try changing surface sampling to manual in the world properties tab, and reducing the value to something like 4096 or lower. It would be nice if there were two options here, one for viewport rendering and one for final rendering, or perhaps better still if the lighting only had to update when necessary, it seems to update even when changing material parameters at the moment, which results in a sloooooow experience. ![image.png](https://archive.blender.org/developer/F8417792/image.png)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

This one also reports freezes at the Updating Images phase: #71510 (Rendered view not refreshing on GeForce RTX2080 after changing anything )

This one also reports freezes at the `Updating Images` phase: #71510 (Rendered view not refreshing on GeForce RTX2080 after changing anything )

In #74751#895300, @3di wrote:
@JasonBattersby It looks like you're using a large HDRI which is too large to fit into memory when uncompressed. You can also see that you're getting a lot of disk activity on drive D as it has to use the page file instead of ram. I'd suggest getting a min of 32 gb ram, but you could try changing surface sampling to manual in the world properties tab, and reducing the value to something like 4096 or lower. It would be nice if there were two options here, one for viewport rendering and one for final rendering, or perhaps better still if the lighting only had to update when necessary, it seems to update even when changing material parameters at the moment, which results in a sloooooow experience.

image.png

I did both that and set the Texture Limit to 4096 and it seems to work now. I guess just too many 6k and 8k textures in the scene, but is there a way to calculate this before, a way of knowing the current size of your scene so this doesn't happen again?

> In #74751#895300, @3di wrote: > @JasonBattersby It looks like you're using a large HDRI which is too large to fit into memory when uncompressed. You can also see that you're getting a lot of disk activity on drive D as it has to use the page file instead of ram. I'd suggest getting a min of 32 gb ram, but you could try changing surface sampling to manual in the world properties tab, and reducing the value to something like 4096 or lower. It would be nice if there were two options here, one for viewport rendering and one for final rendering, or perhaps better still if the lighting only had to update when necessary, it seems to update even when changing material parameters at the moment, which results in a sloooooow experience. > > ![image.png](https://archive.blender.org/developer/F8417792/image.png) I did both that and set the Texture Limit to 4096 and it seems to work now. I guess just too many 6k and 8k textures in the scene, but is there a way to calculate this before, a way of knowing the current size of your scene so this doesn't happen again?

you could use the simplify options to limit textgure size to something small and then run a quick test render with f12, then turn up the settings and re-render until your just within your systems memory capacity. Probably easier to just get more ram though if you can.

image.png

You can also use the simplify option to turn on camera culling, that'll ensure you're only using textures that are actually applied to materials that are currently in the camera's field of view. You have to enable this in the simplify settings but also on a per object basis in the culling section of the object properties. Easier to select everything and then hold alt whilst enabling, this way it enables the settings for all objects at once.

Any devs reading this, it would be a good idea to be able to exclude textures from simplification, such as the hdri or textures that will be viewed close up to the camera etc. It's either all or nothing at the moment.

you could use the simplify options to limit textgure size to something small and then run a quick test render with f12, then turn up the settings and re-render until your just within your systems memory capacity. Probably easier to just get more ram though if you can. ![image.png](https://archive.blender.org/developer/F8418108/image.png) You can also use the simplify option to turn on camera culling, that'll ensure you're only using textures that are actually applied to materials that are currently in the camera's field of view. You have to enable this in the simplify settings but also on a per object basis in the culling section of the object properties. Easier to select everything and then hold alt whilst enabling, this way it enables the settings for all objects at once. Any devs reading this, it would be a good idea to be able to exclude textures from simplification, such as the hdri or textures that will be viewed close up to the camera etc. It's either all or nothing at the moment.

I suppose you could also choose which texture a material uses based on camera distance with a light path node and a greater than math node....although I'm not sure if all textures within a shader are loaded regardless. This would mean you'd have to create duplicate lower quality textures in an external editor, so another idea for the devs would be a resample node perhaps, which could perform that task at render time instead of using simplify.

I suppose you could also choose which texture a material uses based on camera distance with a light path node and a greater than math node....although I'm not sure if all textures within a shader are loaded regardless. This would mean you'd have to create duplicate lower quality textures in an external editor, so another idea for the devs would be a resample node perhaps, which could perform that task at render time instead of using simplify.

In #74751#895542, @3di wrote:
you could use the simplify options to limit textgure size to something small and then run a quick test render with f12, then turn up the settings and re-render until your just within your systems memory capacity. Probably easier to just get more ram though if you can.

image.png

You can also use the simplify option to turn on camera culling, that'll ensure you're only using textures that are actually applied to materials that are currently in the camera's field of view. You have to enable this in the simplify settings but also on a per object basis in the culling section of the object properties. Easier to select everything and then hold alt whilst enabling, this way it enables the settings for all objects at once.

Any devs reading this, it would be a good idea to be able to exclude textures from simplification, such as the hdri or textures that will be viewed close up to the camera etc. It's either all or nothing at the moment.

I'll ive the Camera culling a try, but actually the scene is practically empty, for example I'm rendering now this Mustang so the car's textures should be the high quality ones, so the culling won't cut down on much. It would be great to change the Texture Limit per material, so my car's materials and maybe the Asphalt can be 6k, and the rest much lower especially background objects. As most great substance or scanned textures now are 6k-8k, I always download the highest resolution possible so later on I wont have to manually reload all of the PBR's. What is crazy is Eevee handles the scene like butter, super smooth, but when I want that one detailed shot using cycles it just can't take the amount of textures I guess.

> In #74751#895542, @3di wrote: > you could use the simplify options to limit textgure size to something small and then run a quick test render with f12, then turn up the settings and re-render until your just within your systems memory capacity. Probably easier to just get more ram though if you can. > > ![image.png](https://archive.blender.org/developer/F8418108/image.png) > > You can also use the simplify option to turn on camera culling, that'll ensure you're only using textures that are actually applied to materials that are currently in the camera's field of view. You have to enable this in the simplify settings but also on a per object basis in the culling section of the object properties. Easier to select everything and then hold alt whilst enabling, this way it enables the settings for all objects at once. > > Any devs reading this, it would be a good idea to be able to exclude textures from simplification, such as the hdri or textures that will be viewed close up to the camera etc. It's either all or nothing at the moment. I'll ive the Camera culling a try, but actually the scene is practically empty, for example I'm rendering now this Mustang so the car's textures should be the high quality ones, so the culling won't cut down on much. It would be great to change the Texture Limit per material, so my car's materials and maybe the Asphalt can be 6k, and the rest much lower especially background objects. As most great substance or scanned textures now are 6k-8k, I always download the highest resolution possible so later on I wont have to manually reload all of the PBR's. What is crazy is Eevee handles the scene like butter, super smooth, but when I want that one detailed shot using cycles it just can't take the amount of textures I guess.

make sure you enable this too, saves more resources when rendering:

image.png

make sure you enable this too, saves more resources when rendering: ![image.png](https://archive.blender.org/developer/F8418143/image.png)

In #74751#895572, @3di wrote:
make sure you enable this too, saves more resources when rendering:

image.png

Lifesaver, thanks!

> In #74751#895572, @3di wrote: > make sure you enable this too, saves more resources when rendering: > > ![image.png](https://archive.blender.org/developer/F8418143/image.png) Lifesaver, thanks!
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

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

Changed status from 'Needs User Info' to: 'Archived'
Evan Wilson self-assigned this 2020-03-30 05:46:52 +02:00
Member

Since this was a memory issue that looks like it was resolved, I'll be closing this.

Since this was a memory issue that looks like it was resolved, I'll be closing this.
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
5 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#74751
No description provided.