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

2016-09-08 Thread Alex Goins
Thanks Hans for the insight into detecting HW cursor usage. +Daniel Vetter, could you comment on this possible issue with drmModeMoveCursor() and drmModePageFlip() interfering with each other on i915? > I'm encountering some very strange issues when running these with PRIME > Synchronization

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

2016-09-07 Thread Michel Dänzer
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

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

2016-09-07 Thread Alex Goins
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

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

2016-09-07 Thread Michel Dänzer
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

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

2016-09-07 Thread Alex Goins
Hi Hans, Thanks for this, it will definitely be a big improvement. I've been testing these patches against the NVIDIA driver. Some concerns - What would be the best way to query from the master if the slave is using a HW cursor? We typically composite the cursor onto the shared pixmap, and with

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

2016-09-07 Thread Aaron Plattner
On 09/07/2016 08:51 AM, Hans de Goede wrote: > Hi, > > On 07-09-16 17:38, Aaron Plattner wrote: >> On 09/07/2016 08:24 AM, Hans de Goede wrote: >>> Hi, >>> >>> On 07-09-16 17:02, Aaron Plattner wrote: Adding Alex. On 09/07/2016 05:26 AM, Hans de Goede wrote: > From: Dave Airlie

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

2016-09-07 Thread Hans de Goede
Hi, On 07-09-16 17:38, Aaron Plattner wrote: On 09/07/2016 08:24 AM, Hans de Goede wrote: Hi, On 07-09-16 17:02, Aaron Plattner wrote: Adding Alex. On 09/07/2016 05:26 AM, Hans de Goede wrote: From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we

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

2016-09-07 Thread Aaron Plattner
On 09/07/2016 08:24 AM, Hans de Goede wrote: Hi, On 07-09-16 17:02, Aaron Plattner wrote: Adding Alex. On 09/07/2016 05:26 AM, Hans de Goede wrote: From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we switch to using SW cursors, this isn't optimal,

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

2016-09-07 Thread Hans de Goede
Hi, On 07-09-16 17:02, Aaron Plattner wrote: Adding Alex. On 09/07/2016 05:26 AM, Hans de Goede wrote: From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we switch to using SW cursors, this isn't optimal, esp for the intel/nvidia combinations, we have

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

2016-09-07 Thread Aaron Plattner
Adding Alex. On 09/07/2016 05:26 AM, Hans de Goede wrote: From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we switch to using SW cursors, this isn't optimal, esp for the intel/nvidia combinations, we have no choice for the USB offload devices. This