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

Alex Goins agoins at nvidia.com
Thu Sep 8 01:23:36 UTC 2016


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.

Thanks,
Alex


More information about the xorg-devel mailing list