Re: [PATCH v3 xserver] xwayland-input: Fake crossing to rootwin

2016-06-22 Thread Peter Hutterer
On Tue, Jun 21, 2016 at 01:54:35PM +0200, Olivier Fourdan wrote: > This partially reverts commit c1565f3. > > When the pointer moves from an X11 window to a Wayland native window, > no LeaveNotify event is emitted which can lead to various unexpected > behaviors like tooltips remaining visible aft

Re: [PATCH v3 xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code

2016-06-22 Thread Michel Dänzer
On 23.06.2016 04:58, Emil Velikov wrote: > On 22 June 2016 at 04:12, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Instead of breaking the former when the driver supports the latter, >> hook them up so that the hardware LUTs reflect the combination of the >> current colourmap and gamma states

[PATCH xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code v4

2016-06-22 Thread Michel Dänzer
From: Michel Dänzer Instead of breaking the former when the driver supports the latter, hook them up so that the hardware LUTs reflect the combination of the current colourmap and gamma states. I.e. combine the colourmap, the global gamma value/ramp and the RandR 1.2 per-CRTC gamma ramps into one

Re: [PATCH xserver] XDMCP: For IPv6 add IPv6 link local addresses to the end of the list

2016-06-22 Thread Reinhard Max
On Tue, 21 Jun 2016 at 17:56, Stefan Dirsch wrote: On Tue, Jun 21, 2016 at 11:46:05AM -0400, Adam Jackson wrote: On Fri, 2016-04-29 at 11:22 +0200, Stefan Dirsch wrote: On Fri, Apr 29, 2016 at 09:40:05AM +0200, Julien Cristau wrote: On Thu, Apr 28, 2016 at 15:21:15 +0200, Stefan Dirsch wrote:

Re: [PATCH xserver 1/2] modesetting: Fix swapping of provider sink / source capabilities

2016-06-22 Thread Emil Velikov
On 22 June 2016 at 22:02, Hans de Goede wrote: > Hi, > > On 22-06-16 21:19, Emil Velikov wrote: >> >> Hi Hans, >> >> On 16 June 2016 at 14:37, Hans de Goede wrote: >>> >>> When a card has import capability it can be an offload _sink_, not >>> a source and vice versa for export capability. >>> >>>

Re: xf86-video-dummy: resize to exact resolution

2016-06-22 Thread Erik Jensen
On Tue, Jun 21, 2016 at 6:58 AM Adam Jackson wrote: > On Fri, 2016-06-17 at 18:14 +, Erik Jensen wrote: > > > Chrome Remote Desktop is currently exploring support for using Xorg > > with the dummy driver instead of Xvfb, > > Why? > > - ajax > It is our understanding that Xvfb is more-or-less

Re: [PATCH xserver 1/2] modesetting: Fix swapping of provider sink / source capabilities

2016-06-22 Thread Hans de Goede
Hi, On 22-06-16 21:19, Emil Velikov wrote: Hi Hans, On 16 June 2016 at 14:37, Hans de Goede wrote: When a card has import capability it can be an offload _sink_, not a source and vice versa for export capability. This commit fixes the modesetting driver to properly set these capabilities, th

Re: [PATCH v3 xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code

2016-06-22 Thread Emil Velikov
Hi Michel, On 22 June 2016 at 04:12, Michel Dänzer wrote: > From: Michel Dänzer > > Instead of breaking the former when the driver supports the latter, > hook them up so that the hardware LUTs reflect the combination of the > current colourmap and gamma states. I.e. combine the colourmap, the >

Re: [PATCH xserver 1/2] modesetting: Fix swapping of provider sink / source capabilities

2016-06-22 Thread Emil Velikov
Hi Hans, On 16 June 2016 at 14:37, Hans de Goede wrote: > When a card has import capability it can be an offload _sink_, not > a source and vice versa for export capability. > > This commit fixes the modesetting driver to properly set these > capabilities, this went unnoticed sofar because most g

Re: [PATCH v3 xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code

2016-06-22 Thread Alex Deucher
On Tue, Jun 21, 2016 at 11:12 PM, Michel Dänzer wrote: > From: Michel Dänzer > > Instead of breaking the former when the driver supports the latter, > hook them up so that the hardware LUTs reflect the combination of the > current colourmap and gamma states. I.e. combine the colourmap, the > glob

Re: [PATCH xserver] modesetting: Properly cleanup fb for reverse-prime-offload

2016-06-22 Thread Hans de Goede
Hi, On 22-06-16 09:09, Michel Dänzer wrote: On 22.06.2016 12:47, Michel Dänzer wrote: On 02.06.2016 04:04, Hans de Goede wrote: drmmode_set_scanout_pixmap_gpu(pix) adds drmmod->fb_id through a call to drmmode_xf86crtc_resize(), but on a subsequent drmmode_set_scanout_pixmap_gpu(NULL) it would

Re: [PATCH xserver 1/2] modesetting: Fix swapping of provider sink / source capabilities

2016-06-22 Thread Hans de Goede
Hi, On 22-06-16 10:48, Eric Engestrom wrote: On Thu, Jun 16, 2016 at 03:37:51PM +0200, Hans de Goede wrote: When a card has import capability it can be an offload _sink_, not a source and vice versa for export capability. This commit fixes the modesetting driver to properly set these capabilit

Re: [PATCH xserver 1/2] modesetting: Fix swapping of provider sink / source capabilities

2016-06-22 Thread Eric Engestrom
On Thu, Jun 16, 2016 at 03:37:51PM +0200, Hans de Goede wrote: > When a card has import capability it can be an offload _sink_, not > a source and vice versa for export capability. > > This commit fixes the modesetting driver to properly set these > capabilities, this went unnoticed sofar because

[PATCH RESEND v4] xfree86: Immediately handle failure to set HW cursor

2016-06-22 Thread Alexandre Courbot
There is currently no reliable way to report failure to set a HW cursor. Still such failures can happen if e.g. the MODE_CURSOR DRM ioctl fails (which currently happens at least with modesetting on Tegra for format incompatibility reasons). As failures are currently handled by setting the HW curso

Re: [PATCH xserver] modesetting: Properly cleanup fb for reverse-prime-offload

2016-06-22 Thread Michel Dänzer
On 22.06.2016 12:47, Michel Dänzer wrote: > On 02.06.2016 04:04, Hans de Goede wrote: >> drmmode_set_scanout_pixmap_gpu(pix) adds drmmod->fb_id through a call >> to drmmode_xf86crtc_resize(), but on a subsequent >> drmmode_set_scanout_pixmap_gpu(NULL) it would not remove the fb. >> >> This keeps th