modesetting TearFree / VSYNC aware rotation pageflipping

Michel Dänzer michel at
Wed Oct 3 14:36:07 UTC 2018

On 2018-10-03 4:22 p.m., Carsten Behling wrote:
>> TearFree uses separate dedicated scanout buffers, to which the "main"
>> buffer contents are copied on demand.
>> Originally, these three things (DRI page flipping, rotation and
>> TearFree) were separate and mutually exclusive. However, the
>> amdgpu/radeon drivers support all of them the same time these days; this
>> still requires an extra copy in some cases, but that could be eliminated
>> at least in the non-rotated DRI page flipping case.
>> has the
>> start of TearFree support for the modesetting driver, but it's still
>> mutually exclusive with rotation (DRI3 page flipping should work with
>> TearFree, but may still exhibit tearing if the client/user disables
>> sync-to-vblank).
> Couldn't we extend modesetting in addition to Martin's TearFree patch the
> same way you did here for Radeon?:

Yeah, something like that would be needed.

Earthling Michel Dänzer               |     
Libre software enthusiast             |             Mesa and X developer

More information about the xorg mailing list