No tearing please, we're British
The sync-to-vblank technique used by compiz can't work reliably with indirect rendering. Until we can use compiz with direct rendering with DRI2, the only hope there is to set the vblank_mode option to 2 or 3 in /etc/drirc. Unfortunately, that doesn't help in the non-fullscreen case either, as compiz uses the GLX_MESA_copy_sub_buffer extension instead of buffer swaps for incremental screen updates. And in the fullscreen case, compiz can unredirect the window anyway, in which case the following applies:
It should be relatively straightforward to integrate the XVideo part of Alex's patch into mainline xf86-video-ati Git. Only the normal 2D rendering part isn't ready.
The sync-to-vblank technique used by compiz can't work reliably with indirect rendering. Until we can use compiz with direct rendering with DRI2, the only hope there is to set the vblank_mode option to 2 or 3 in /etc/drirc. Unfortunately, that doesn't help in the non-fullscreen case either, as compiz uses the GLX_MESA_copy_sub_buffer extension instead of buffer swaps for incremental screen updates. And in the fullscreen case, compiz can unredirect the window anyway, in which case the following applies:
It should be relatively straightforward to integrate the XVideo part of Alex's patch into mainline xf86-video-ati Git. Only the normal 2D rendering part isn't ready.
Comment