Re: [clutter] About tearing issues and VSYNC use with video textures

2008-08-27 Thread Neil Roberts
On Fri, 2008-08-22 at 19:47 +0200, Florent wrote: As bpeel suggested on the IRC, doing the glXSwapBuffers calls inside a separate thread could be of help (after all, is the FPS counts' instability suggesting a bad FPS counting or a glXSwapBuffers-related bandwidth/process limitation ?).

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-08-26 Thread Florent
Hi, I just continued experimenting. What i just found out: * on my production setup, the CLUTTER_VBLANK=True works ! errmmm.. at 76 fps (???) How it this possible ? The left screen is ok but i'd like to sync to the secondary device * on my dev setup (gnome destkop), it doesn't (sluggish/instable

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-08-23 Thread Dirk Meyer
Florent wrote: I use two mainloops. One is the glib mainloop for clutter and the other one is for my application. This works very well and makes sure the animations run even when the real mainloop is kind of busy. Very interesting, could you please develop how you set up this ? o Open a

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-08-22 Thread Dirk Meyer
Florent wrote: If i want to sync on the secondary device, the __GL_SYNC_DISPLAY_DEVICE'] = 'CRT-1' only works if i use the __GL_SYNC_TO_VBLANK env var. Too bad, that does not seem to work with the Intel drivers. But I guess the problem which display to sync is the same here. However, with my

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-08-22 Thread Tomas Frydrych
Hi, Florent wrote: Another hint: since the small animation seems to freeze on FPS count print, this may indicate that there's something that's freezing the app here: if (g_timer_elapsed (timer, NULL) = 1.0) { g_print (*** FPS: %i ***\n, timer_n_frames);

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-07-31 Thread Florent
Hi Jason, I ran into tearing issues as well on one of my development systems, also after having disabled compiz. I found that actually restarting the X server (and not loading compiz) fixed the tearing. I didn't investigate it further. Well, for me it's not solved :( I will try with the

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-07-30 Thread Florent
Are you using compiz by any chance? Compiz seems to break vsync completely for me on my nvidia hardware at home, regardless of nvidia-settings and compiz's own vsync settings. Nope, i deactivated it (if settings Appearance settings to None does the job). Many users of compiz seem to suffer

Re: [clutter] About tearing issues and VSYNC use with video textures

2008-07-30 Thread Jason Tackaberry
On Wed, 2008-07-30 at 18:50 +0200, Florent wrote: Nope, i deactivated it (if settings Appearance settings to None does the job). I ran into tearing issues as well on one of my development systems, also after having disabled compiz. I found that actually restarting the X server (and not loading