Hello Chris,

I have seen this or a similar problem when trying to update UI contents from
a different gthread.

Are you rendering it from the main loop ?

- Kiran

On Wed, Aug 11, 2010 at 7:24 AM, Chris Debenham <[email protected]> wrote:

> On 11 August 2010 06:35, Robert Bragg <[email protected]> wrote:
> > On Tue, Aug 10, 2010 at 1:09 PM, Chris Debenham <[email protected]>
> wrote:
> >> I have been hitting a problem where when displaying a cluttertext
> >> 'some' of the characters do not display. (screenshot attached showing
> >> the problem)
> >> There doesn't seem to be any pattern to the behaviour - and it only
> >> occurs for some people.  I haven't found anything in common between
> >> failing systems (ie: distro/libclutter version/graphics drivers)
> >> If it makes any difference the text being displayed is actually a
> >> cluttergroup containing 5 black cluttertexts that create an
> >> outline/shadow and then a white cluttertext over the top of it all.
> >> When the problem occurs the same letter often disappears in all these
> >> independent texts (but not always)
> >
> > It implies to me that something has gone wrong with the glyph cache.
> > Internally we maintain a texture with pre-rendered glyphs which we
> > texture from when drawing your text. Certainly if you see the same
> > letter disappearing that would imply that glyph has been cleared in
> > the cache but for some reason Cogl doesn't know about it.
>
> That sounds about right
>
> >
> > Have you tried with Clutter master? Failing that it would be
> > interesting if you are able to test the 'wip/pango-share-atlas' branch
> > on clutter-project.org. We are hoping to merge this soon and it
> > changes how we manage the glyph cache to share the code we use for
> > texture atlasing.
>
> The hardest bit is that I am not seeing the issue myself (I did once -
> but it went away a day or so later and I have no idea what changed :-)
>
> >
> > In general it sounds a bit too random to give much more insight, its
> > quite possible its a driver bug. If you are running with mesa perhaps
> > you can try running with LIBGL_ALWAYS_SOFTWARE=1 in your environment
> > and see if it fixes the issue.
>
> Thanks - I'll ask the users who are hitting this issue to try that
>
> >
> > kind regards,
> > - Robert
> >
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list
>
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to