Re: gtk clutter tearing
Many thanks for the information Kimmo. At least I know which way to go now - this seems to be similar to how iPhone apps behave and I guess this will allow me to port to other OpenGL devices quite easily. - Original message - On Tue, 2009-12-29 at 16:17 +0100, Tamminen Eero (Nokia-D/Helsinki) wrote: Hi, ext Mark Clarkson wrote: I have made a simple animation using a clutter timeline with clutter-gtk-0.10 and clutter-1.0 but there is excessive tearing when the animation plays making the animation look terrible. I have tried none, dri and glx values for the CLUTTER_VBLANK environment variable but this seems to have no effect at all. Is there a way to fix this? Screen update isn't yet synched to LCD refresh. Please file a bug about it to bugs.maemo.org (it needs support from kernel display driver, X server, SGX driver, Clutter and hildon-desktop compositor, but I guess you could file it against Official platform - Core - X). Don't hold your breath with this one. At the moment it seems a proper vsync support is not going to be implemented in Maemo 5. There is a possibility to use a vsync even now, but the implementation is not good enough: if you enable the current vsync, the OpenGL application is blocked on glSwapBuffers until vsync comes, which prevents the application to prepare the next frame (and drops FPS too low). I think doing like Bounce does is the best you can do: use fullscreen window and disable the compositor (in hildon-desktop). Recent hildon-desktop versions disable compositing automatically for fullscreen windows, unless you use HildonStackableWindow (which requires the sliding animation). -Kimmo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Smooth animation
Hi, I am writing an app for the n900 which requires smooth animation within a subwindow. I want to retain the top toolbar and make use of hildon's themed widgets - I want to keep, as much as possible, the maemo 5 look and feel. I have tried cairo animation and clutter (bug #7459), neither of which provide smooth tear/flicker free animation. As a beginner maemo developer, excited with the possibilities of this new device, is there a way to achieve this goal? Cheers Mark. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Fw: Re: gtk clutter tearing
- Original message - off on the *compositor*. My own apps are tear free until I turn off.. Ah. Is there some way that this will help me - the original poster? Does clutter bypass the compositor by making its opengl calls? Do I need to somehow render clutter output to an offscreen buffer and let the compositor smooth things for me as I blit them back on screen? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: gtk clutter tearing
- Original message - You could try playing with the CLUTTER_VBLANK env var (set it to none, dri or glx) to see if it helps. No joy with that one - makes no difference at all. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
gtk clutter tearing
Hi, I have made a simple animation using a clutter timeline with clutter-gtk-0.10 and clutter-1.0 but there is excessive tearing when the animation plays making the animation look terrible. I have tried none, dri and glx values for the CLUTTER_VBLANK environment variable but this seems to have no effect at all. Is there a way to fix this? Thanks Mark.___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: gtk clutter tearing
- Original message - Is there a way to fix this? Screen update isn't yet synched to LCD refresh. Please file a bug about it to bugs.maemo.org (it needs support from kernel display driver, X server, SGX driver, Clutter and hildon-desktop compositor, but I guess you could file it against Official platform - Core - X). I just tried the Bounce Evolution game and that synchs perfectly so I guess this means full screen OpenGL works fine (as it does with general transition effects). Does this mean that full screen clutter will work well too? Would the Qt 4.6 Animation Framework work smoothly non-fullscreen? What are the chances of this 'bug' being a high priority and getting fixed soon? I guess that smooth non-fullscreen animation is something many developers would want and end-users would expect to see. I'll get off and file this bug... Cheers Mark ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers