Heavy Exr file will not generate previews in asset broswer/file broswer #97810
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#97810
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15
Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-02 23:49, hash:
e5a738af6d
Short description of error
when using a big exr file (20mb+) , it will not generate thumbs in file broswer
also, the small files behind it will not generate, too
Exact steps for others to reproduce the error
use a folder that contain 30file hdr(1 of them is bigger than 20m, stay in the middle)
open the file brower or assgin the big one to asset preview
However, I use this scripts running in the background to resize the big exr, it will not generate the big files' resize result, but the small ones before a big one
Added subscriber: @1029910278
Added subscriber: @lichtwerk
Not sure about your script, but the other issue is either #70584 or #96023
Yeah, I think it is similar.
But I check the console, there is a zero divide error when executing
SIZE_Y = floor(SIZE_X / (img.size- [x] / img.size[1]))
I am not sure why getting size from large image will cause this problem
Added subscriber: @Harley
I expect that the problem is less about the sizes of the individual files and more about the number of them in the folder. That "Pro Studios Metal" folder typically holds about 90 EXR files and our current code is not very good at thumbnailing that many. They are done quite a few at a time and are expanded to full-size uncompressed float buffers, so you can exhaust available memory as shown in #70584 (Heavy EXR images use too much memory when loading them (e.g. multi-threaded thumbnail generation causes swapping)) and #96023 (Blender File Browser not generating previews for large (filezise) images)
I have a patch that might one day help with this: D14663: IMBUF: Thumbnails of all EXR files using less RAM, but in the mean time the best advice is to put less of them in each folder.
There are only 45 exr files in that folder.
20 of them is less than 15M, 6 of them is bigger than 20m (1 image >30m)
And I have 64gb memory, 50gb left
But do all the images that are NOT thumbnailed still display correctly in the Blender Image Editor? Generally the current code does not properly handle Multiview, YCC, Spectral, and some other types of images. Images with a single RGB channel, like just Green, will show as Monochrome. There is a fairly long list of things we fail on, mostly in how we interpret channel names.
If you are able to compile source, give my patch a try - https://developer.blender.org/D14663 - and see if it thumbnails more of them. Just keep in mind that you'd have to clear your local thumbnail cache between tests (c:\users(username).thumbnails\large\ and C:\Users\Harley.thumbnails\fail\blender\ )
Added subscriber: @OmarEmaraDev
I assume Harley meant D14663 above not D1466, just in case you missed that.
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Confirmed'
This seems like a limitation in the code for creating thumbnails and there are plans to improve the situation with D14663: IMBUF: Thumbnails of all EXR files using less RAM.
So I'm taking a step forward and confirming it as a
Known Issue
(to get the report out of the untriaged queue).Changed status from 'Confirmed' to: 'Resolved'
Resolved with commit
f600a2aa6d
as that will thumbnail all EXRs no matter what type or size while using less RAM