Re: [PATCH 2/2] present: Fix use of vsynced pageflips and honor PresentOptionAsync. (v3)

2014-12-05 Thread Mario Kleiner
On 12/05/2014 12:56 AM, Eric Anholt wrote: Mario Kleiner mario.kleiner...@gmail.com writes: Pageflips for Pixmap presents were not synchronized to vblank on drivers with support for PresentCapabilityAsync, due to some missing init for vblank-sync_flips. The PresentOptionAsync flag was

Re: [PATCH xf86-input-libinput] Support server-side fds

2014-12-05 Thread Hans de Goede
Hi Peter, Thanks for working on this! On 12/02/2014 06:01 AM, Peter Hutterer wrote: libinput's device handling and server-side fd handling are a bit of a mismatch, so this is hackier than one would hope for. The server sets pInfo-fd and the options fd and device. The server requires pInfo-fd

Re: [PATCH 8/8] modesetting: Add output hotplug support

2014-12-05 Thread Keith Packard
Daniel Martin daniel.mar...@secunet.com writes: From: Daniel Martin consume.no...@gmail.com When receiving a hotplug uevent, check if we have to add or remove outputs and act accordingly. Signed-off-by: Daniel Martin consume.no...@gmail.com --- With this patch we create or destroy outputs

Re: [PATCH 6/8] modesetting: Only handle hotplug uevent when vtSema

2014-12-05 Thread Keith Packard
Daniel Martin consume.no...@gmail.com writes: On Sun, Nov 30, 2014 at 01:27:18PM -0800, Keith Packard wrote: Daniel Martin daniel.mar...@secunet.com writes: From: Daniel Martin consume.no...@gmail.com If the uevent isn't a hotplug event, ignore it, and if !vtSema postpone the

[PULL] GLX fixes for indirect contexts

2014-12-05 Thread Jon TURNEY
On 03/12/2014 18:09, Adam Jackson wrote: On Tue, 2014-11-11 at 15:23 +, Jon TURNEY wrote: On 22/04/2014 04:56, Keith Packard wrote: Jon TURNEY writes: Fixes for a few problems with GLX and indirect contexts. I can reproduce [1/3] and [2/3] on X server 1.15.1, mesa 10.1.0 (from Ubuntu

Re: [PULL] hw/xwin clipboard fixes

2014-12-05 Thread Jon TURNEY
On 09/11/2014 20:28, Jon TURNEY wrote: Hi Keith, Another set of hw/xwin clipboard integration fixes. Please consider pulling into master. The following changes since commit 63bb5c5ef16edf652179770294dcca4fc07dc992: xv: Add missing gcstruct.h include (2014-10-31 07:00:01 -0700) are

[PATCH 1/2] present: Avoid crashes in DebugPresent(), a bit more info.

2014-12-05 Thread Mario Kleiner
DebugPresent() crashed the server when a dri3 drawable was closed while a pageflipped present was still pending, due to vblank-window- Null-Ptr deref, so debug builds caused new problems to debug. E.g., glXSwapBuffers(...); glXDestroyWindow(...); - Pageflip for non-existent window completes -

DRI3/Present fixes for XServers 1.16 and 1.17rc - reviewed

2014-12-05 Thread Mario Kleiner
Ok, the final patchset. I made the changes Eric Anholt proposed, retested, and got them reviewed by him. With those on top of XServer 1.16.2, DRI3/Present works for me on all drivers and backends (intel sna, uxa and nouveau exa, glamor), single and dual-display fullscreen and windowed,