[PATCH v6 xserver 7/7] xf86Cursor: Add hw cursor support for prime

Michel Dänzer michel at daenzer.net
Thu Sep 8 01:28:10 UTC 2016


On 08/09/16 10:23 AM, Alex Goins wrote:
> On Thu, 8 Sep 2016, Michel Dänzer wrote:
> 
>> On 08/09/16 08:32 AM, Alex Goins wrote:
>>>
>>> I'm encountering some very strange issues when running these with PRIME
>>> Synchronization enabled, even after fixing our internal cursor handling. When
>>> moving the cursor around without damaging anything, it's smooth. When having an
>>> application causing damage, and thus flipping, without the cursor moving, it's
>>> smooth. When moving the cursor AND causing damage, both the cursor and the
>>> flipping seem to be going at roughly 30 Hz, half speed.
>>>
>>> Skipping the call to either drmModeMoveCursor() in drmmode_set_cursor_position()
>>> or the call to drmModePageFlip() in drmmode_SharedPixmapFlip() alleviates the
>>> issue for flipping or cursor moving, respectively, so I'm inclined to say that
>>> drmModeMoveCursor() or drmModePageFlip() are interfering with each other. Could
>>> that be?
>>
>> It certainly could be, but that would probably be an issue in your
>> kernel driver.
> 
> Sorry, should have specified. This is running against the i915 DRM driver as the
> slave. drmModeMoveCursor() and drmModePageFlip() are calling into i915 on kernel
> 4.6.

Probably an i915 kernel driver issue then. I know there were issues like
that during the transition to the atomic KMS API.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list