Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Re: [clutter] Clutter 1.0 in maemo fremantle

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


mardy at users

Sep 5, 2009, 1:20 AM

Post #1 of 6 (948 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle

Hi,

JiangWei Zhou wrote:
> when you run the test-actors test app, does it produce the same output?
> it seems in clutter , it cannot create the egl window surface.
> use |*eglGetError *|to check the error code ,which is not correct.
> i think this may help you to find the cause.

Yes, I get the same output from the test-actors test (the only
difference is that test-actors exits shortly after the error occurs,
while test-text loops forever).

For both tests the error code is 0x3005, EGL_BAD_CONFIG. I'll try to
investigate a bit more.

Ciao,
Alberto

--
http://www.mardy.it <- geek in un lingua international!
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


mardy at users

Sep 5, 2009, 2:43 AM

Post #2 of 6 (885 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle [In reply to]

JiangWei Zhou wrote:
> you may remove the EGL_STENCIL_SIZE, 8 from the egl config list
> and try again.
> i just wonder it may cause this problem. but in our target, there is no
> such problem.

Mmmm... the more I play with egl the less I understand how it works.

The call to eglChooseConfig() changes the configs variable, and puts in
the first element of the array a configuration in which R, G, B, and A
are all 8 bits (which presumably are not supported, because AFAIK on the
N900 X starts on 16 bit mode).

Anyway, commenting out the call to eglChooseConfig makes things go
slightly better: eglCreateWindowSurface() succeeds.

But then the context creation fails, with error EGL_BAD_CONFIG again. If
I remove the attributes parameter and just pass NULL there, then it
still fails but the error code is 0x3001, i.e. EGL_NOT_INITIALIZED.

Any hints on what to try now?

Ciao,
Alberto

--
http://www.mardy.it <- geek in un lingua international!
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


mardy at users

Sep 5, 2009, 3:56 AM

Post #3 of 6 (877 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle [In reply to]

Update:

Alberto Mardegan wrote:
> JiangWei Zhou wrote:
>> you may remove the EGL_STENCIL_SIZE, 8 from the egl config list
>> and try again.
>> i just wonder it may cause this problem. but in our target, there is
>> no such problem.

I checked the source code of clutter-0.8 in maemo, and with that
attribute list it worked. Then I try to remove the differences one by
one, to reduce them to the minimum: strangely enough, the problem is in
specifying EGL_{RED,GREEN,BLUE}_SIZE. Removing them from the attributes
array make the whole things work.

I guess I won't submit a patch for it, as the change is maemo-specific:
I cannot see any reason why specifying those sizes would break the thing.

Anyway, I'm happy to announce that I got clutter 1.0 and clutter-gtk
0.10 to work fine in maemo fremantle. I'll create a project in
garage.maemo.org and upload the packages as soon as I've cleaned them up
a bit. :-)

Thanks for your support!
Alberto

--
http://www.mardy.it <- geek in un lingua international!
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


baisheng.wang.cn at gmail

Nov 20, 2009, 10:54 PM

Post #4 of 6 (660 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle [In reply to]

Alberto,

Any clutter 1.0 for maemo fremantle is avavilable ?

Thanks,
Baisheng



在 2009-09-05六的 13:56 +0300,Alberto Mardegan写道:
> Update:
>
> Alberto Mardegan wrote:
> > JiangWei Zhou wrote:
> >> you may remove the EGL_STENCIL_SIZE, 8 from the egl config list
> >> and try again.
> >> i just wonder it may cause this problem. but in our target, there is
> >> no such problem.
>
> I checked the source code of clutter-0.8 in maemo, and with that
> attribute list it worked. Then I try to remove the differences one by
> one, to reduce them to the minimum: strangely enough, the problem is in
> specifying EGL_{RED,GREEN,BLUE}_SIZE. Removing them from the attributes
> array make the whole things work.
>
> I guess I won't submit a patch for it, as the change is maemo-specific:
> I cannot see any reason why specifying those sizes would break the thing.
>
> Anyway, I'm happy to announce that I got clutter 1.0 and clutter-gtk
> 0.10 to work fine in maemo fremantle. I'll create a project in
> garage.maemo.org and upload the packages as soon as I've cleaned them up
> a bit. :-)
>
> Thanks for your support!
> Alberto
>
> --
> http://www.mardy.it <- geek in un lingua international!

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


baisheng.wang.cn at gmail

Nov 20, 2009, 11:48 PM

Post #5 of 6 (665 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle [In reply to]

Hi Alberto,

Clutter 1.0 for maemo fremantle is available ?

Thanks,
Baisheng

在 2009-09-05六的 13:56 +0300,Alberto Mardegan写道:
> Update:
>
> Alberto Mardegan wrote:
> > JiangWei Zhou wrote:
> >> you may remove the EGL_STENCIL_SIZE, 8 from the egl config list
> >> and try again.
> >> i just wonder it may cause this problem. but in our target, there is
> >> no such problem.
>
> I checked the source code of clutter-0.8 in maemo, and with that
> attribute list it worked. Then I try to remove the differences one by
> one, to reduce them to the minimum: strangely enough, the problem is in
> specifying EGL_{RED,GREEN,BLUE}_SIZE. Removing them from the attributes
> array make the whole things work.
>
> I guess I won't submit a patch for it, as the change is maemo-specific:
> I cannot see any reason why specifying those sizes would break the thing.
>
> Anyway, I'm happy to announce that I got clutter 1.0 and clutter-gtk
> 0.10 to work fine in maemo fremantle. I'll create a project in
> garage.maemo.org and upload the packages as soon as I've cleaned them up
> a bit. :-)
>
> Thanks for your support!
> Alberto
>
> --
> http://www.mardy.it <- geek in un lingua international!

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


quim.gil at nokia

Nov 22, 2009, 10:17 PM

Post #6 of 6 (636 views)
Permalink
Re: [clutter] Clutter 1.0 in maemo fremantle [In reply to]

ext Wang Baisheng wrote:
> Hi Alberto,
>
> Clutter 1.0 for maemo fremantle is available ?

Please use the search at http://maemo.org/packages

http://maemo.org/packages/view/libclutter-1.0-0

--
Quim Gil
open source advocate
Maemo Devices @ Nokia

>
> Thanks,
> Baisheng
>
> 在 2009-09-05六的 13:56 +0300,Alberto Mardegan写道:
>> Update:
>>
>> Alberto Mardegan wrote:
>>> JiangWei Zhou wrote:
>>>> you may remove the EGL_STENCIL_SIZE, 8 from the egl config list
>>>> and try again.
>>>> i just wonder it may cause this problem. but in our target, there is
>>>> no such problem.
>> I checked the source code of clutter-0.8 in maemo, and with that
>> attribute list it worked. Then I try to remove the differences one by
>> one, to reduce them to the minimum: strangely enough, the problem is in
>> specifying EGL_{RED,GREEN,BLUE}_SIZE. Removing them from the attributes
>> array make the whole things work.
>>
>> I guess I won't submit a patch for it, as the change is maemo-specific:
>> I cannot see any reason why specifying those sizes would break the thing.
>>
>> Anyway, I'm happy to announce that I got clutter 1.0 and clutter-gtk
>> 0.10 to work fine in maemo fremantle. I'll create a project in
>> garage.maemo.org and upload the packages as soon as I've cleaned them up
>> a bit. :-)
>>
>> Thanks for your support!
>> Alberto
>>
>> --
>> http://www.mardy.it <- geek in un lingua international!
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers



_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.