Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Mikhail on 2015-11-04, 20:57:27

Title: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-04, 20:57:27

1.2 scene freeze in 1.3 while rendering
 it works with all proxies hidden but the preparing proccess is still slow

Any ideas ?
I need to render it guys...it's commercial work )
Install 1.2 ?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: hubrobin on 2015-11-04, 21:18:23
Hi Mikhail,

we will need a bit more information in order to get this sorted. Is it possible to provide us with the scene through our private uploader? Can you capture and give us a minidump of the frozen process? In the mean time, can you give me a screenshot of the corona framebuffer when its frozen? Any displacement in the scene?

Thanks,
Robin
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-05, 08:51:45
I don't use displasement.
Yes, I can upload scene via FTP
..............................................................

I don't know why but this morning it works better ))

Computing Secondary GI is still slow but it works...

Computing Secondary GI was much faster in 1.2 (in this particular scene)

With hidden multiscatter grass  it works almost normally.

I've attached screen with slow step (Computing Secondary GI )

Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-05, 09:02:28
Yes, the problem is Multiscatter (Grass ) with a lot of instances
May be because it use its own proxy system

I use geometry as an instance not corona proxy.

Secondary GI with this Multiscatter takes 5-10 times more than in 1.2

If Sec. GI is off - Rendering Initial pass is very slow

Using new corona proxy with multiscatter did nothing - still very slow Sec Gi step

Turning off this multiscatter(Grass) or decreasing amount of instances solves the problem !!!
But the point is that it worked in 1.2 very well

wtf guys ?
Give me my green grass back to my home : )
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-05, 11:31:05
We would have to do some tests. Could you start a new support ticket and send us the scene (or other scene where the problem is reproducible)?
https://coronarenderer.freshdesk.com/support/tickets/new

By the way, if it's an exterior scene, you should not use UHD as the secondary solver. PT+PT should be fine unless there are some places where secondary GI is dominating (it looks like you have a house in there so it would probably require some checking).
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Nekrobul on 2015-11-05, 12:02:54
We would have to do some tests. Could you start a new support ticket and send us the scene (or other scene where the problem is reproducible)?
https://coronarenderer.freshdesk.com/support/tickets/new

By the way, if it's an exterior scene, you should not use UHD as the secondary solver. PT+PT should be fine unless there are some places where secondary GI is dominating (it looks like you have a house in there so it would probably require some checking).

Maru have you noticed that that was about 3-4 reports with the same problem. And all of them are geometry overkilled exterior scenes.

By the way the solution is disable low thread priority.

And i have an idea about it, i don't know if it is pausible but when the render hits the RAM limit then LTP must be swithed off automaticaly.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-05, 13:04:38
!!!!! ----- Yes, "low thread priority" flag solves the problem.

It's strange but PT+PT works too...even if "low thread priority" flag is ON
Yesterday it did not work so well...may be it has become work well after rebooting ? But still 1.2 worked well yesterday without rebooting.

LOL it even works with UHD now and "low thread priority" flag is ON )))
Magic : )

It seems like when I unchecked "low thread priority" flag something changed in my system not in 3d max because I restarted it...
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-05, 13:31:40
The problem is solved for me Maru.

Do you still need the scene for a tests ?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-05, 13:47:01
We could take a look at the scene if it's not a problem for you. Checking "low thread priority" is not an official solution, sorry. It is more like a workaround. Did you by any chance run any resource-heavy app in the background? Or edited something in Photoshop at the time Corona was rendering, etc?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-05, 14:44:27
Ok I will start Support ticket and upload my scene.

"low thread priority" is not an official solution BUT it did work for me : )

I don't remember exactly but I think I had videoplayer opened may be photoshop with one jpeg file opened, not too much in other words
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-06, 17:14:48
Is it possible that the problems are related to Itoo plugins? If anyone is experiencing this too - are you using Itoo plugins?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Mikhail on 2015-11-09, 11:59:13
No,I did not use it in this scene.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-09, 19:13:31
I have similar problem, with rendering freeze in the process of rendering with heavy scene. It renders fine for like 6-8 passes and then just render progress stops. Randomly. Once after 6 passes, then after 9 passes. I've experienced it on couple of scenes, not only exterior but interior also. No iToo plugins. No photoshop in background, only chrome with few tabs. Scene  requires ~17 gigs of RAM, but there's 32 on my workstation, so there shouldn't be a problem.
Now trying the low thread priority disabled workaround and looks like it's fine so far. 
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Ondra on 2015-11-10, 11:20:39
can you make a minidump when the rendering freezes? https://coronarenderer.freshdesk.com/support/solutions/articles/5000524006
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-10, 15:10:38
only chrome with few tabs
There was some Chrome-related fix recently. Could it be the cause?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-11, 19:23:03
I'll check out and get minidump whenever it will occur, as it's quite random. Don't have much time now to try to force it.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-12, 18:04:25
There was some Chrome-related fix recently. Could it be the cause?

When was the fix introduced? I'm using the latest official 1.3 version.
https://dl.dropboxusercontent.com/u/30785185/Max.dmp here's a link for a minidump. The stop in rendering occured when i opened Few bars in chrome. The actual rays\s dropped to
abuot 1400 and doesn't go higher.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-17, 16:37:57
Hello, any news on this? We are especially interested in a minidump, and if it's related to Chrome.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-17, 20:17:27
Hello, any news on this? We are especially interested in a minidump, and if it's related to Chrome.

Hey the link to minidump was provided in previous post. I think it's more RAM related rather than chrome.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: maru on 2015-11-19, 17:41:58
I can only confirm that there was some problem within Corona.
Ondra will have to analyze this to hopefully get more details.

To Ondra - The minidump: https://dl.dropboxusercontent.com/u/30785185/Max.dmp

Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Ondra on 2015-11-20, 11:05:39
How many threads do you have in your system? was there interactive rendering involved in any way?
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-20, 16:02:40
4 cores 8 threads.
Interactive rendering was not used.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Freakaz on 2015-11-24, 19:29:49
I have another minidump from different scene, with the same render "freeze" occurred. I can upload the minidump to dropbox if You're interested and if there would be any help from that.
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Ondra on 2015-11-24, 21:41:38
yep, better more than less ;)
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Ondra on 2015-11-25, 10:37:13
note to self: minidump name: 3dsmax 2015 11 24
Title: Re: 1.2 scene freeze in 1.3 while rendering
Post by: Ondra on 2016-04-24, 23:01:17
too old to solve, if there are still problems with latest daily build, start a new thread