KeyShot Forum

Archive => Support Archive => Topic started by: BJT_DAVE on August 21, 2018, 12:31:06 AM

Title: Render times when Mac is inactive
Post by: BJT_DAVE on August 21, 2018, 12:31:06 AM
Has anyone got a foolproof method of keeping Keyshot running at full speed overnight while rendering? Despite turning app nap off, screen sleep to 'never'' etc etc Keyshot render speeds just drops dramatically as soon as I go home from work. For example I am rendering a video along with  the 811 individual frames. While I am at the computer it renders a frame in less than a minute continuously, but as soon as I leave the building the render times drop. I left work at 17.01 yesterday and if you look at the screen grab you can see up until then every frame was a minute or less then from 17.02 it drops to 10 minutes for the next frame and then to 20 minutes a frame for the rest. Same thing when I got into work this morning, as soon as I started using the mac the render speed went straight back up to 1 minute as normal?! Its like it goes to sleep but it cant. It has now taken three days to do a 30 second video at 800 pixels.

Is Aphetamine for Mac the answer? Shouldn't have to resort to these lengths.
Title: Re: Render times when Mac is inactive
Post by: mattjgerard on August 21, 2018, 05:24:10 AM
When the boss is away your computer is slacking off eh ?:)

Do you have any network backups, like CCC running at night? Any other scheduled activities? Is there anything under that pesky "Schedule" button in the Ebergy Saver Preference? I had a utility (Onyx) that scheduled something without me knowing it to run overnight (back when permissions repair was still a thing and would take FOREVER) and that would slow down my renders from Cinema 4D.

Just some ideas, not sure what the problem is unless you can sit there and watch it until it happens. Can you screenshare from home to peek in and see whats happening?

Try unplugging any peripherals that aren't needed, spare HD's, etc to see if that is doing anything.
Title: Re: Render times when Mac is inactive
Post by: BJT_DAVE on August 21, 2018, 05:55:08 AM
There is nothing under the schedule so even more of a mystery, no peripherals either. We are connected to a network server that gets backed up but I am rendering onto my local drive, so there is nothing I can think of that is interferring with it. Im going to try it again tonight with Amphetamine set up to stay awake while Keyshot is running
Title: Re: Render times when Mac is inactive
Post by: TGS808 on August 21, 2018, 11:58:21 AM
I've seen this happen as well. The only thing I've found that stops it is to just leave the Mac running. I see you already have your energy saver settings to never sleep. That's good. It shouldn't matter but I've noticed that if I even use a hot corner to put the display to sleep this happens. So I just leave it running and turn the screen brightness down. The settings that you have shown should work.
Title: Re: Render times (background) when Mac is inactive
Post by: BJT_DAVE on August 22, 2018, 12:23:59 AM
Well, I tried Aphetamine and was full of hope when I came in this morning to see my displays were still on but was quickly shot down when I looked at Keyshot. A job that should have taken 5 hours was still running 10 hours later and was only at frame 50 of 285 frames. Same thing as before, as soon as  stop using the Mac Keyshot just goes into lazy mode and takes 20 minutes to render a frame that normally takes less than a minute. I think I am going to have to try a mouse jiggler next to make it think Im still here. We need to render overnight as there aren't enough hours in the day and we need to use background rendering so we can carry on preparing the next scene. This really is a problem as this video was needed this morning and I now have to wait another 3 hours for it and it is going to be sapping all the processor power  now when I need it for other programs :(
Title: Re: Render times (background) when Mac is inactive
Post by: TGS808 on August 22, 2018, 11:13:33 AM
Quote from: BJT_DAVE on August 22, 2018, 12:23:59 AM
we need to use background rendering so we can carry on preparing the next scene. This really is a problem as this video was needed this morning and I now have to wait another 3 hours for it and it is going to be sapping all the processor power  now when I need it for other programs :(

Do you not have the option of network rendering? If not, you may want to consider looking into it.
Title: Re: Render times when Mac is inactive
Post by: BJT_DAVE on August 23, 2018, 12:13:19 AM
MD is reluctant to spend any more money on it, but it may have to be done as we have a lot of video to create and since Keyshot has no camera transitions I need to render every camera view separately and do cross fades in Premiere Pro.

Mouse Jiggler has worked though...810 frames in 4 and a half hours, every frame rendered in the expected time of less than a minute instead of 20 minutes
Title: Re: Render times when Mac is inactive
Post by: TGS808 on September 05, 2018, 07:02:29 PM
Quote from: BJT_DAVE on August 23, 2018, 12:13:19 AM
Keyshot has no camera transitions I need to render every camera view separately

Look into camera switch events in KeyShot. Of course any fades would have to be done elsewhere.
Title: Re: Render times when Mac is inactive
Post by: BJT_DAVE on September 06, 2018, 12:04:36 AM
Thats what I meant. In effect you end up rendering the whole video from each camera and assembling it in Premiere Pro. Keyshot isnt really up to producing quality edited video. Takes a long time to render a 2 minute video from 5 different camera angles.
Title: Re: Render times when Mac is inactive
Post by: toddbrous on November 11, 2018, 04:21:50 AM
I am having the same issue with Keyshot8.  Were you ever able to fix this issue?
My render basically stops calculating when Keyshot is not the foreground application.  CPU utilization goes to zero.  Render never finishes.  When using the the Background Render, the window must be the foreground app, the computer must never sleep, run screen saver, or do anything else.  If I switch to any other app while rendering, then the CPU drops and the render no longer is calculated.

MackBook Pro (2015), MacOS, High Sierra, 10.13.6.

Thanks!
Title: Re: Render times when Mac is inactive
Post by: TGS808 on November 11, 2018, 11:22:32 AM
Quote from: BJT_DAVE on September 06, 2018, 12:04:36 AM
In effect you end up rendering the whole video from each camera and assembling it in Premiere Pro...

.....Takes a long time to render a 2 minute video from 5 different camera angles.

Yes, it's called editing and it's how all films (animated or live action) are made.

Quote from: BJT_DAVE on September 06, 2018, 12:04:36 AM
Keyshot isnt really up to producing quality edited video.

In fairness, KeyShot is not a video editor and it isn't marketed as one. That being the case, I'm not sure why you would expect it to output finished, edited videos.

Title: Re: Render times when Mac is inactive
Post by: DMerz III on November 12, 2018, 03:13:34 PM
Because your problem seems too specific to the timing of when you leave, it probably isn't related to temp throttling, right?

For instance, if you're thermostats are set to a very different setting when you leave, maybe things get too hot, and the CPU throttles itself without the ambient air being cool enough? Weird, weird outside though, but it's always a consideration when CPU performance suddenly drops.
Title: Re: Render times when Mac is inactive
Post by: mattjgerard on November 13, 2018, 06:19:02 AM
Quote from: toddbrous on November 11, 2018, 04:21:50 AM
I am having the same issue with Keyshot8.  Were you ever able to fix this issue?
My render basically stops calculating when Keyshot is not the foreground application.  CPU utilization goes to zero.  Render never finishes.  When using the the Background Render, the window must be the foreground app, the computer must never sleep, run screen saver, or do anything else.  If I switch to any other app while rendering, then the CPU drops and the render no longer is calculated.

MackBook Pro (2015), MacOS, High Sierra, 10.13.6.

Thanks!

That sounds like an app priority issue. I had that problem a looooong time ago with early versions of premiere pro exporting videos in the background, and I had to go into the terminal to change the "assertivness" of the app to grab CPU time. There was a setting that needed to be changed and after that it worked fine. It was way back on the early versions of OSX, so I can't recall what it was, but might be something to look at. Also, for something this specific, email support and see what they say as well.
Title: Re: Render times when Mac is inactive
Post by: PhilipTh on December 04, 2018, 05:20:09 AM
Hello everyone,

The issue described in this thread appears to be caused by a functionality on mac called "app nap".

A guide on how to turn this off can be found here: http://osxdaily.com/2014/05/13/disable-app-nap-mac-os-x/
Title: Re: Render times when Mac is inactive
Post by: BJT_DAVE on December 04, 2018, 05:31:57 AM
erm...."Despite turning app nap off, screen sleep to 'never'' etc etc Keyshot render speeds just drops dramatically as soon as I go home from work"
Title: [RESOLVED] Re: Render times when Mac is inactive
Post by: PhilipTh on December 06, 2018, 01:49:50 AM
Quote from: BJT_DAVE on December 04, 2018, 05:31:57 AM
erm...."Despite turning app nap off, screen sleep to 'never'' etc etc Keyshot render speeds just drops dramatically as soon as I go home from work"

Hello BJT_DAVE,

Have you tested if the KeyShot does not still go into app nap?

You can test this by opening the activity monitor, then in the CPU tab control click the top row with the column names, select to show "app nap".

Then, try running the same tests you did previously and monitor if KeyShot is in App Nap mode.

Please share your results
Title: Re: Render times when Mac is inactive
Post by: mercury on March 21, 2019, 03:16:12 PM
Quote from: BJT_DAVE on December 04, 2018, 05:31:57 AM
erm...."Despite turning app nap off, screen sleep to 'never'' etc etc Keyshot render speeds just drops dramatically as soon as I go home from work"

@BJT_DAVE

could you solve that? I have exact same problem. app nap off, but still as soon as leave the render perfomance slows down dramatically :(
Title: Re: Render times when Mac is inactive
Post by: BJT_DAVE on March 22, 2019, 01:10:52 AM
Yep, we moved over to Blender. Hell of a learning curve but way superior to Keyshot, and free!
Title: Re: Render times when Mac is inactive
Post by: mercury on March 22, 2019, 04:28:20 AM
ok, actually stopping "app nap" seems to solve that. But other than described in some tuts in web, restart the app didn't work, I needed to restart the Computer.

And as well I think amphetamine and energie settings still do have influence in rendering performance, because I did let amphetamine run a 10 hours Session (I don't remember exactly, might have beenn 9), and when I get back to office, there were 2/3 (about 88 frames) of whole render job fulfilled, but the latest frame already did take about 30 minutes and the amphetamine session was closed already.

My target would be to have the display of and let the machine render through the night. I guess to reach this it needs some more trials to meet the exact setup.

If I found a working setup I will post here

Thanks for participating im my problems.
Title: Re: Render times when Mac is inactive
Post by: RobPrecipice on March 28, 2019, 05:44:23 AM
Yep, AppNap appears to essentially kneecap Keyshot8 at the moment for me. When I had it turned on, just clicking off the app window that was rendering at about 5 samples per second reduced it to about 1 sample per minute, the effect was so sudden.

Keyshot doesn't appear to be AppNap aware, (there's no checkbox when you "Get Info" on the app) so I've had to disable it system wide. Doing this solves the problem completely for me, but I'm not sure what other effects this will have on my system, or what other apps use AppNap for it's good effects rather than it's bad.
Title: Re: Render times when Mac is inactive
Post by: Bruno F on April 17, 2019, 04:20:47 PM
Issue caused by a third party or an MacOS setting. Apple will have a better idea of how to tackle this. Essentially, the machine should provide the same CPU resources to KeyShot 24/7 and all power-saving rules in System Preferences, Activity Monitor, or other performance utility should be turned off.

Post closed due to inactivity by Luxion Support Team

Quote from: BJT_DAVE on December 04, 2018, 05:31:57 AM
erm...."Despite turning app nap off, screen sleep to 'never'' etc etc Keyshot render speeds just drops dramatically as soon as I go home from work"