Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] General Discussion => Topic started by: ThomasCoote on 2017-12-08, 17:15:56

Title: Corona Image Editor CPU Usage
Post by: ThomasCoote on 2017-12-08, 17:15:56
Hi,

Using the Corona Image Editor on 1.7 seems significantly slower than previous builds. When altering Lightmix intensity, exposure, light colour, anything really, the CPU usage spikes to 100% and it takes around 1 second per change to process.

Has anyone else noticed a slowdown on the latest version, and more importantly, found a workaround?

Thanks
Title: Re: Corona Image Editor CPU Usage
Post by: ThomasCoote on 2017-12-13, 11:27:45
Has nobody else experienced this?
Title: Re: Corona Image Editor CPU Usage
Post by: maru on 2017-12-13, 11:39:47
Haven't noticed it here. What is your CPU model?
Title: Re: Corona Image Editor CPU Usage
Post by: mike288 on 2017-12-13, 12:58:56
Hi, are you talking about same CXR and using same settings in 1.6 vs 1.7? If not, could you please test this scenario?
Title: Re: Corona Image Editor CPU Usage
Post by: ThomasCoote on 2017-12-13, 18:32:58
Haven't noticed it here. What is your CPU model?

CPU Model is E5-1650 V4

I've saved out some less complex scenes today and tested the Image Editor, and it's lightning fast. It seems to be with just this one scene (Although I have yet to test another complex scene with 1.7 Image Editor). The only thing that has changed with this scene between 1.6 and 1.7 is a lighting model imported from Sketchup and the corresponding LightSelect pass. I also allowed the render to run for several hundred passes overnight, although I'm not sure if this would contribute to a slowdown.

I have just resumed the render from the CXR in Max, and there is no slowdown when using lightmix or adjusting and post processing options - an action that gives a 3 second hang in the Image Editor is instantaneous in the VFB.

I don't have the 1.6 Image Editor to test this with, can I get a download link?

I can also provide you with the .CXR and possibly the Max file if needed.
Title: Re: Corona Image Editor CPU Usage
Post by: ThomasCoote on 2017-12-13, 18:33:44
I should also add I have tested this on other machines in the office and have replicated the problem on each.
Title: Re: Corona Image Editor CPU Usage
Post by: mike288 on 2017-12-13, 18:46:06
OK, great, could you please upload both files (CXR+Max) via our uploader (https://corona-renderer.com/upload), so I can test it? Maybe I will be able to discover something. Thank you.
Title: Re: Corona Image Editor CPU Usage
Post by: stevenchman on 2018-06-26, 11:09:41
Was there any resolution on this?  We seem to have the same issue as well.  I'm also trying out Corona 2.0, hoping there was a fix, but it seems that the problem is still persistent.
Title: Re: Corona Image Editor CPU Usage
Post by: maru on 2018-06-28, 15:19:02
Was there any resolution on this?  We seem to have the same issue as well.  I'm also trying out Corona 2.0, hoping there was a fix, but it seems that the problem is still persistent.
So when you adjust any setting in CIE, the CPU usage jumps to 100% and you are experiencing freezes? Can you send us any CXR file where you are getting this? https://corona-renderer.com/upload
Title: Re: Corona Image Editor CPU Usage
Post by: stevenchman on 2018-07-11, 12:01:34
Sorry the late reply Maru.  I've just uploaded the CXR via the alternate Dropbox link, since it's pretty large!  Please note that the image is confidential.

The CPU usage jumps to about 40% for me when I change a lightmix setting but doesn't change much when I tweak the tonemapping settings.  However, it's very slow whenever I change any setting in CIE regardless of the CPU usage. 
Title: Re: Corona Image Editor CPU Usage
Post by: TomG on 2018-07-11, 14:49:22
When I test here, all Post settings perform fast until anything is changed in the LightMix tab, after which things are laggy in the Post tab. The UI for LightMix is slow to update as well (e.g. if I uncheck a layer, the on / off checkboxes disappear for 5 to 8 seconds, before the UI redraws).  That is a LOT of LightSelect layers btw :)
Title: Re: Corona Image Editor CPU Usage
Post by: stevenchman on 2018-07-11, 17:21:09
Haha yes it is.  I already reduced the amount of LightSelect layers ;-)

When I change Post settings, it's slightly faster than changing Lightmix settings but definitely nowhere near as fast as the VFB during rendertime.
Title: Re: Corona Image Editor CPU Usage
Post by: TomG on 2018-07-11, 20:14:05
For me, so long as I haven't done anything in LightMix, the Post works fast and normal. As soon as I adjust anything in LightMix (which is very slow at redrawing the UI), then the Post gets slower - not as slow as LightMix changes, but definitely slower than the VFB and slower than it was before I edited any LightMix settings.
Title: Re: Corona Image Editor CPU Usage
Post by: stevenchman on 2018-07-12, 15:08:45
Do you think this is due to some bug in CIE?  We have tried on smaller CXR files (like 1k renders) and it's definitely faster, but still nowhere near as fast as the VFB.
Title: Re: Corona Image Editor CPU Usage
Post by: maru on 2018-09-06, 10:28:22
I opened that CXR in CIE and here are my observations:
-changing post options like exposure is super slow when sharpen/blur is enabled - after disabling it, it becomes manageable
-changing lightmix parameters is slow (few seconds freezes when touching the spinners)
-here is how my CPU usage looks when adjusting the lightmix settings (about ~40% usage)
-I do not know how exactly it would work in 3ds max, as when I load it into the vfb, it's loaded without the lightmix layers (would need the scene)
Title: Re: Corona Image Editor CPU Usage
Post by: maru on 2018-09-06, 10:34:33
Never mind, reproduced the freezes in a different scene. CIE is slower than VFB. Will report it.
Title: Re: Corona Image Editor CPU Usage
Post by: giznate on 2018-09-15, 16:33:04
For me, so long as I haven't done anything in LightMix, the Post works fast and normal.
kitchenlola appliance blog (https://kitchenlola.com/)

I'll try this as I was facing similar issue. I thought my machine had a virus or something like that.
Title: Re: Corona Image Editor CPU Usage
Post by: 3dboomerang on 2021-10-15, 09:45:49
This isn't resolved yet, is it? I just came here looking for reasons why the corona image editor is so sluggish... I guess it's a WIP..?