File save is very slow under Big Sur, "Listing Dirs..." for minutes #84300

Open
opened 2021-01-01 02:58:18 +01:00 by Roger McCarty · 27 comments

System Information
Operating system:

System Version:	macOS 11.1 (20C69)
Kernel Version:	Darwin 20.2.0

Graphics card:

Chipset Model:	Intel Iris Graphics 540
Type:	GPU
Bus:	Built-In
VRAM (Dynamic, Max):	1536 MB

Blender Version
2.91.0 2020-11-25 08:34
0f45cab862

Worked: (newest version of Blender that worked as expected)
2.83 worked fine, but under Catalina

Short description of error
Since updating to macOS Big Sur, saving of new files & even opening files has been extremely slow. The status bar indicates "Listing Dirs..." for several minutes before file access proceeds.
Blender also had com.apple.quarantine attribute, but removing it didn't fix the slow saving/listing.

Exact steps for others to reproduce the error
It happens with Desktop folder. Problem seems related to the OS itself.
Tried giving Full Disk Access, as well as specific folder access to Blender too.

**System Information** Operating system: ``` System Version: macOS 11.1 (20C69) Kernel Version: Darwin 20.2.0 ``` Graphics card: ``` Chipset Model: Intel Iris Graphics 540 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB ``` **Blender Version** 2.91.0 2020-11-25 08:34 0f45cab862b8 Worked: (newest version of Blender that worked as expected) 2.83 worked fine, but under Catalina **Short description of error** Since updating to macOS Big Sur, saving of new files & even opening files has been extremely slow. The status bar indicates "Listing Dirs..." for several minutes before file access proceeds. Blender also had `com.apple.quarantine` attribute, but removing it didn't fix the slow saving/listing. **Exact steps for others to reproduce the error** It happens with Desktop folder. Problem seems related to the OS itself. Tried giving Full Disk Access, as well as specific folder access to Blender too.
Author

Added subscriber: @RogerMc

Added subscriber: @RogerMc

Added subscriber: @rjg

Added subscriber: @rjg

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

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

Does this only happen with 2.91.0 or does 2.83.x have the same issues when used on Big Sur? Are similar issues happening in other applications?

Does this only happen with 2.91.0 or does 2.83.x have the same issues when used on Big Sur? Are similar issues happening in other applications?
Author

2.83.0 same behavior. I ~have~ dropped all network connectivity so I know it isn't trying to scan attached server drives, Dropbox, etc.

Trouble became noticeable after update to Big Sur.

Blender has folder access enabled, and I have at times tested with full disk access. No difference.

No similar trouble in any other applications.

Screen Shot 2021-01-01 at 13.58.25.png

2.83.0 same behavior. I ~have~ dropped all network connectivity so I know it isn't trying to scan attached server drives, Dropbox, etc. Trouble became noticeable after update to Big Sur. Blender has folder access enabled, and I have at times tested with full disk access. No difference. No similar trouble in any other applications. ![Screen Shot 2021-01-01 at 13.58.25.png](https://archive.blender.org/developer/F9545922/Screen_Shot_2021-01-01_at_13.58.25.png)
Author
https://youtu.be/UVPU2VCHzlg
Author

Sorry, had posted the video as private. Changed to make it viewable, so now available.

Sorry, had posted the video as private. Changed to make it viewable, so now available.

Added subscriber: @robbott

Added subscriber: @robbott

if you let run the "activity monitor" next to blender do you see a cpu spike on any process ? (make sure you see all processes)

Some suggestions:

  1. Try removing and re-adding blender to the "Privacy" > "Files and Folders" section shown above.
  2. Try cleaning the caches
  3. Make sure the network you are connected to is properly set up. There are different problem that can occur related to sip, tccd, sandboxd etc.
if you let run the "activity monitor" next to blender do you see a cpu spike on any process ? (make sure you see all processes) Some suggestions: 1) Try removing and re-adding blender to the "Privacy" > "Files and Folders" section shown above. 2) Try cleaning the caches 3) Make sure the network you are connected to is properly set up. There are different problem that can occur related to sip, tccd, sandboxd etc.
Author

No CPU spikes
As mentioned, have removed/added privacy multiple times, no effect. Have provided full disk access as well, no effect.
Issue occurs with or without properly configured network.
~Which~ caches? how?

https://youtu.be/5yNHTiQz9So

No CPU spikes As mentioned, have removed/added privacy multiple times, no effect. Have provided full disk access as well, no effect. Issue occurs with or without properly configured network. ~Which~ caches? how? https://youtu.be/5yNHTiQz9So
Author

After add'l investigation, I've determined that the issue is related to opening/saving files on the desktop (and probably also download) and the relatively new feature to control access to those locations.

But, I've been unable to workaround or resolve the issue by turning off the access and then re-enabling access. Also, allowing full disk access to Blender does not resolve the issue.

After add'l investigation, I've determined that the issue is related to opening/saving files on the desktop (and probably also download) and the relatively new feature to control access to those locations. But, I've been unable to workaround or resolve the issue by turning off the access and then re-enabling access. Also, allowing full disk access to Blender does not resolve the issue.
Author

Screen Shot 2021-01-06 at 10.30.07.png

![Screen Shot 2021-01-06 at 10.30.07.png](https://archive.blender.org/developer/F9553418/Screen_Shot_2021-01-06_at_10.30.07.png)
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

If desktop is synced with some cloud service, try saving to some other folder.
Also, share the output of xattr -l -r path/to/Blender.app

If desktop is synced with some cloud service, try saving to some other folder. Also, share the output of `xattr -l -r path/to/Blender.app`
Author

Issue ~is~ in fact related to desktop and it is synced with DropBox. Saving to other folders works normally.

Issue ~is~ in fact related to desktop and it is synced with DropBox. Saving to other folders works normally.
Author
[xattr.txt](https://archive.blender.org/developer/F9553446/xattr.txt)
Member

Where was Blender downloaded from ?

Where was Blender downloaded from ?
Author

official site, blender.org

official site, blender.org
Member

Not sure why it's quarantined.. it can be removed by running xattr -d -r com.apple.quarantine path/to/Blender.app
Let us know if that gets rid of the slowdown.

Not sure why it's quarantined.. it can be removed by running `xattr -d -r com.apple.quarantine path/to/Blender.app` Let us know if that gets rid of the slowdown.
Author

xattr -d -r did not resolve issue

xattr -d -r did not resolve issue
Author

and yes, xattr -l -r confirms quarantine is removed. no output from xattr now.

and yes, xattr -l -r confirms quarantine is removed. no output from xattr now.
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Author

Sorry, I misspoke. Desktop is NOT synched with Dropbox and has never been.

Sorry, I misspoke. Desktop is NOT synched with Dropbox and has never been.
Author

Removed Blender app using App Zapper, removed entire folder named ~/Library/Application Support/Blender. Rebooted.
Downloaded new copy of Blender 2.91 from org.
After install used xattr and noticed it was installed with quarantine.
Ran xattr again and noticed the quarantine was NOT removed.
System preferences show that Blender has full disk access.
No change to slow behavior when saving to Desktop.
Attempts to open files in Downloads also slow with Listing Dirs ... status.
Desktop is NOT synched to Dropbox, I misspoke, sorry.

Removed Blender app using App Zapper, removed entire folder named ~/Library/Application Support/Blender. Rebooted. Downloaded new copy of Blender 2.91 from org. After install used xattr and noticed it was installed with quarantine. Ran xattr again and noticed the quarantine was NOT removed. System preferences show that Blender has full disk access. No change to slow behavior when saving to Desktop. Attempts to open files in Downloads also slow with Listing Dirs ... status. Desktop is NOT synched to Dropbox, I misspoke, sorry.
Member

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

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

Added subscriber: @mattli911

Added subscriber: @mattli911

I noticed when i was saving a tiny scene just now, about 8MB, to an external m.2 Drive, saving was also slow. About 3-5 seconds at least.
The drive can read/write at about 1GB/s, so is not that. Blender has full permissions as well.

Running latest MacOS Monterey 12.4, on M1 Pro Macbook Pro, with 1TB SSD/16GB Ram.

Edit: Appears to be saving slower, when I have Eevee higher quality settings enabled, but if basic view/solid mode, then savings basically instant.

I noticed when i was saving a tiny scene just now, about 8MB, to an external m.2 Drive, saving was also slow. About 3-5 seconds at least. The drive can read/write at about 1GB/s, so is not that. Blender has full permissions as well. Running latest MacOS Monterey 12.4, on M1 Pro Macbook Pro, with 1TB SSD/16GB Ram. Edit: Appears to be saving slower, when I have Eevee higher quality settings enabled, but if basic view/solid mode, then savings basically instant.
Iliya Katushenock added
Interest
Platforms, Builds & Tests
and removed
Module
Platforms, Builds & Tests
labels 2023-06-21 15:08:36 +02: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
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#84300
No description provided.