Skip to main content
vf.jeinselen
Participating Frequently
March 14, 2019
Answered

(MacOS) Rendering slows/pauses when AE is not forefront or screens go to sleep

  • March 14, 2019
  • 22 replies
  • 10959 views

Is anyone else experiencing this? Sometime after my screen saver runs for a bit (it's not immediately tied to the screensaver), my screens go to sleep, or even just switching to a different application, After Effects 2019 slows rendering to a crawl. Just starting this thread in Chrome (5 minutes) created a three minute pause where AE didn't render anything. As soon as I switch back to AE it'll render a few frames, and keep rendering...till a few minutes after I switch back to any other application, where it slows/stops again.

Last night I set a number of sequences to render, all of them 2 seconds long. I set the screen saver to turn on after 1 hour, and display sleep after 3 hours, and made sure no other apps were open. Based on the frames rendered, an hour and a half after I left my computer (so not necessarily directly tied to the screensaver) After Effects dropped to about 3 frames every 4 hours or so. It took between 1 and 19 minutes to render each sequence...except after the monitors locked, it spent 14 hours barely rendering at all. Once I unlocked the displays, it finished that one sequence in a matter of minutes. It's now slowing down or pausing rendering every time I switch to a different program (I currently have four apps open - After Effects 2019, Chrome with 6 tabs, Activity Monitor, and Versions for SVN).

When at the forefront, After Effects is only using 1 or 2 out of the available 12 cores, and about 56GB out of the available 64GB RAM (according to the activity monitor it has about 11GB in compressed memory). CPU usage drops to about 1-2% of a single core when AE is not forefront. I assume this is what's happening when the screens lock as well (since it technically doesn't technically entirely stop rendering...it's just incomprehensibly slow).

Hardware: 2013 Mac Pro — 2.7 GHz 12-Core Intel Xeon E5, 64 GB 1866 MHz DDR3, dual AMD FirePro D700 6144MB, 1TB SSD

Software: MacOS High Sierra, version 10.13.6 (latest update for this version, I can't upgrade to Mojave yet due to other software requirements)

After Effects: CC 2019, 13.0.3 (latest update)

Any ideas? I've never had issues with MacOS throttling background apps before (I just rendered a bunch of 3D assets the other day in a different app without a hiccup), nor have I had issues before with AE killing itself when it's not the centre of attention...which appears to be what's happening now?

This topic has been closed for replies.
Correct answer Thomas Yang

Thank you all for the information, that's very valuable.

Here is the update: we have confirmed that for some output modules, the machine would still switch AE to AppNap mode. We have put a fix for it and will be available in the coming release: 16.1.2. In the mean time, you may want to try the Workaround I posted on Apr 18.

Thanks,

Thomas

After Effects Engineering Team

22 replies

Rameez_Khan
Legend
April 29, 2019

Hi all,

Has Thomas's suggestion worked for you all?

Let us know.

Rameez

Participating Frequently
April 29, 2019

Is the Adobe After Effects process only suppose to show up in Activity Monitor for a few seconds and then disappear? That is the behavior I'm seeing.

I am trying it now. In Activity Monitor under the Energy tab, Adobe After Effects is not always listed at first so I moved to the CPU tab and saw it and then switched to the Energy tab and it appeared for a few seconds.  App Nap: No Preventing Sleep: Yes

I have not tried the terminal settings change yet.

Participating Frequently
April 29, 2019

I did have to use the Terminal commands to disable App Nap. Then AE would continue to render when the display went to sleep instead of pausing. Works!

Thomas Yang
Adobe Employee
Adobe Employee
April 18, 2019

Thank you for reporting the issue. This sounds like related to App Nap at first sight.

Under certain conditions, such as when an app is not visible on the screen, App Nap automatically puts the app into low power state.

Based on various inputs here, most people encountered it when rendering with RenderQueue and After Effects was not at foreground or screen went to sleep. I also noticed some mentioning about 3D workflow and C4D Render Engine. However, so far we haven't been able to reproduce the issue and we will keep trying.

By design, AE will not switch to App Nap mode when there is active rendering in RenderQueue. That being said, we have observed behavioral changes on App Nap depending on macOS version. There might be certain macOS setup or other reasons that cause AE switched to App Nap when shouldn't.

To Verify if AE got switched to App Nap Mode:

1. Open Activity Monitor.

2. Switch to Energy Tab.

3. Check After Effects and CineRenderAE (if C4D used).

When there is active rendering in RenderQueue:

- Preventing Sleep is expected to be 'YES'

- App Nap is expected to be 'NO'

Possible Workaround:

If you have confirmed that AE got switched to App Nap when there is active rendering in render queue. Here are the steps to shut down the App Nap feature entirely. Note this will shut down App Nap not only for AE, but for all application.

1. Open Terminal

2. Type in "defaults read NSGlobalDomain NSAppSleepDisabled ". It should return '0' indicates App Nap is enabled.

3. Disable it by typing in "defaults write NSGlobalDomain NSAppSleepDisabled -bool YES"

4. Type in "defaults read NSGlobalDomain NSAppSleepDisabled ". It should return '1' as App Nap is disabled in step 3.

----

To re-enable:

Type in "defaults write NSGlobalDomain NSAppSleepDisabled -bool NO"

Please do let us know if this fix the issue for you. We are still investigating possible fix if that being the case.

Thank you,

Thomas

After Effects Engineering Team

Participant
April 17, 2019

I can send this project file if it helps the engineering teams with repro.

OussK
Community Expert
Community Expert
April 17, 2019

i don't think it's related to a specific project, i think it's a general bug, for me when i want to keep my Mac overnight, i change the energy setting/turn display off to never and reduce the screen brightness, it's the best solution till now.

Participant
April 17, 2019

AE Render Queue.

Happened again tonight, left a render that should have taken a couple hours. Came back after 5 hours, cleared the screen saver, it was stalled at 70 frames. The render then started to move again on its own. Super frustrating as I have another render I was hoping to run overnight. Client won't be happy.

Rameez_Khan
Legend
April 16, 2019

Hi all,

Is this happening with the After Effects Render Queue as well as Media Encoder?

I've spread the word across our engineering teams. So, the more info we have to decipher this, the better.

Let me know.

Rameez

Participating Frequently
April 16, 2019

Render Queue for me. I wonder if anyone has tried the Mac SMC reset procedure to see if that helps as well...

Participating Frequently
April 16, 2019

As a bandaid, I have set the display not to sleep when rendering and turned down the display brightness to save it from any burn-in risk...

OussK
Community Expert
Community Expert
April 16, 2019

i also face face this issue, on CC2019

iMac with Mojave

Participant
April 16, 2019

Same issue. Exactly as the OP described. Long pauses in frame renders when the app loses focus or the display get put to sleep. I have a brand new machine (bought it about 90 days ago) with all fresh software.

Mid-2018 Macbook Pro

10.14 Mojave

AECC 2019 with the latest update

Using the C4D render engine

Participating Frequently
April 14, 2019

Same issue.

MacOS 10.13.6

AE 16.1.1

michaelb37652740517128
Participant
April 12, 2019

Hi there,

We are having the same/similar issue.

We have an After Effects project that should take 10 minutes to render and it can take up to two hours if OSX turns the screens on to power saving mode.

After Effects:

Version 16.0.1 (Build 48)

Mac Pro:

OSX Sierra - Version 10.12.6

Mac Pro (Late 2013)

This is happening on multiple machines. I'll test the project on CC 2018 to see if it is isolated to a cc 2019 update.