Re: [clutter] Clutter 1.0 in maemo fremantle
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [clutter] Clutter 1.0 in maemo fremantle
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [clutter] Clutter 1.0 in maemo fremantle
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [clutter] Clutter 1.0 in maemo fremantle
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: [clutter] Clutter 1.0 in maemo fremantle
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@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers