Counter Error in population XXXX

Started by AndyWelder, June 30, 2008, 09:57:45 AM

Previous topic - Next topic

AndyWelder

After installing Version 4 and loading a .tgd that did suffer from incomplete rendered vegetation I got these "Counter error in population Long Grass/grass/Long Grass" messages. The render did continue and the result looks fine: the vegetation now looks completely rendered.
Have to admit though I didn't count all the grass-stems so I can't tell if TG2 did miss a few. ;)
Oh, I used the new render options "Supersample prepass" and "Preallocate subdiv cache" (with the default 400 MB).
"Ik rotzooi maar wat aan" Karel Appel

ZStar

I am running the new TP4 1.9.98.1.  I tried a cropped render of my current project and got the same error message:

  "Counter error in populator Pop Grass clump short"

"Pop Grass clump short" is the name of one of my grass populations.  The small patch of grass that was in the crop region looks good.  There are no obvious holes and the render appeared to complete normally other than the message. 

At the moment it may not appear to be a major problem the way the dropped buckets were but it does seem like a number of people are encountering the message.  It has been mentioned in one or more of the other update related topics on the forum.

Matt

#2
There is a bug in the rendering of populations which we're still trying to solve. I've added a safety check for this situation. When you see the "counter error" warning, the populator has detected this problem while rendering a particular object instance. The populator isn't supposed to reach this state and I don't yet know why it happens, so it is theoretically possible that your populations may not have rendered correctly if you see this warning.

This bug is not the same as the missing vegetation tiles which were seen in TP3. That was caused by an algorithm which hadn't been designed for rendering with multiple threads, and that has been changed for TP4.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

gregsandor

I'm getting the same error, seemingly at random:  sometimes in grass, sotimes in telegraph poles, sometimes not at all. 

Oshyan

The error is something we're aware of, but so far it seems to handle the issues gracefully and we have not seen any missing vegetation as a result. Further reports of the error occurring aren't necessary, but if you do notice missing vegetation and can provide a screenshot please let us know.

- Oshyan

AndyWelder

Quoteif you do notice missing vegetation and can provide a screenshot please let us know.
Yup, will do.
And "Dank je wel" to you and Matt for the swift response.
"Ik rotzooi maar wat aan" Karel Appel

PG

How did I not see this thread?
I've had this error today, very similar at first but when I tried to render it as final it did the top half of the image and on the bottom half it rendered all the objects of the population that was throwing up the counter error but nothing else...then it crashed throwing up a C++ Redist error. Should've taken a screenshot really. I'll render it again tonight
Figured out how to do clicky signatures

commorancy

Quote from: PG on July 02, 2008, 04:33:51 PM
I've had this error today, very similar at first but when I tried to render it as final it did the top half of the image and on the bottom half it rendered all the objects of the population that was throwing up the counter error but nothing else...then it crashed throwing up a C++ Redist error. Should've taken a screenshot really. I'll render it again tonight

I've found that the C++ Error is due to the fact that the system tries to allocate memory for the subdiv cache and it fails during the allocation.  If you turn on preallocation of the subdiv cache under the renderer's advanced tab, I've found that this C++ error goes away.  You may still find that you have thread crashing errors on a mutlicore processor (thread crashes do not throw a C++ exception).

I am also having this populations error on a render that I'm presently trying to render.  I am unsure if the population error is also related to the thread crashing.

Thanks.

--
Brian

sonshine777

Is this the error you are talking about in this thread?(See below) The render I am currently doing pops this up for each tile as it starts rendering. It doesn't seem to stop the render or leave things out. The one thing that is curious is the primary population is the grass population which hasn't even started rendering yet.

jo

Hi,

I would like to point out something about the Errors and Warnings window. It shows both errors and warnings. Errors have a red stop sign like icon, warnings have a yellow triangle with an exclamation mark. In general errors are something you would worry about, and are most likely things which would prevent a render from being successful. Warnings are just warnings though, they are usually to notify you of something irregular happening but which won't necessarily stop a render from being successful.

It's the difference between "Things are seriously wrong and you should not go further" and "Something a bit funny is happening, but there shouldn't be any harm in carrying on. Just letting you know".

In this case the wording of the warning message is a bit unfortunate because it suggests it's an error.

Especially because the Tech Previews are still alpha quality software there are often warnings posted that are diagnostic tools for us, and not much use to you as users. The counter error is an example of this. For the final release we will try to minimise these sorts of things so that you only see useful errors and warnings.

Sonshine, the error you're seeing is the one being discussed here.

Regards,

Jo

sonshine777


rcallicotte

Thanks for explaining your processes, Jo.  This is helpful and goes above your duties as a programmer.  Thanks.  I'm glad someone is doing it.
So this is Disney World.  Can we live here?

sjefen

I get this warning too. Also when I render something with a population, it very often takes a very, very long time to start rendering. When the GI pass has finished it can take several minutes before the actual render starts.
I don't know if this has anything to do with the counter warnings but I didn't know where to post this.

- Terje
ArtStation: https://www.artstation.com/royalt

AMD Ryzen Threadripper 1950X
128 GB RAM
GeForce RTX 3060 12GB

Oshyan

Sjefen, I don't think that would be related to the counter warnings. Are the populations large (many instances) when this delay happens?

- Oshyan

sjefen

Quote from: Oshyan on September 17, 2008, 02:37:50 AM
Sjefen, I don't think that would be related to the counter warnings. Are the populations large (many instances) when this delay happens?

- Oshyan

Most of the time it happens when there are many instances, but it has happend with less dense populations too.
Not that often, but it has happend.

- Terje
ArtStation: https://www.artstation.com/royalt

AMD Ryzen Threadripper 1950X
128 GB RAM
GeForce RTX 3060 12GB