Re: [RFC xserver v4 04/14] present: Send PresentCompleteModeSuboptimalCopy appropriately

2017-10-17 Thread Michel Dänzer
On 16/10/17 07:02 AM, Louis-Francis Ratté-Boulianne wrote: > Add 'check_flip2' hook for driver to let know the core > about why flipping is not possible ('reason'). > If it is because of unsupported buffer format/modifier, > a PresentCompleteNotify event is sent to the client with > the

Re: [RFC xserver v4 12/14] glamor: Implement GetSupportedModifiers

2017-10-17 Thread Michel Dänzer
On 16/10/17 07:02 AM, Louis-Francis Ratté-Boulianne wrote: > Implement function added in DRI3 v1.1. > > A newest version of libepoxy (>= 1.4.4) is required as earlier > versions use a problematic version of Khronos > EXT_image_dma_buf_import_modifiers spec. It might be better to split the

Re: VK_EXT_aquire_xlib_display and kernel security concerns

2017-10-17 Thread James Jones
On 10/16/2017 05:49 PM, Keith Packard wrote: Andy Ritger writes: If the NVIDIA X driver finds an HMD display, it: (a) Marks it as disconnected. (b) Does not make its EDID available to RandR clients. So, unless I'm mistaken, RandR clients will see the HMD as an RandR

Re: Present extension changes needed for GL/Vulkan vblank modes

2017-10-17 Thread Michel Dänzer
On 17/10/17 10:48 AM, Michel Dänzer wrote: > On 17/10/17 06:52 AM, Keith Packard wrote: >> >> PresentOptionRelative >> >> If 'options' contains PresentOptionRelative, then the most >> recent actual MSC for a PresentPixmap request to the same >> drawable (i.e., the MSC value

Re: Present extension changes needed for GL/Vulkan vblank modes

2017-10-17 Thread Michel Dänzer
On 17/10/17 06:52 AM, Keith Packard wrote: > > I know, Present was supposed to support all of the GL vblank modes, and > it mostly does, except for the most common case... > > In any case, here's a summary of four presentation modes from Vulkan, > how you'd get that with GL and Present and what

Re: VK_EXT_aquire_xlib_display and kernel security concerns

2017-10-17 Thread Daniel Vetter
Just throwing a bit more context into the discussion here. On Mon, Oct 16, 2017 at 11:51 PM, James Jones wrote: > On 10/16/2017 01:33 PM, Dave Airlie wrote: >> >> On 17 October 2017 at 06:01, James Jones wrote: >>> >>> On 10/16/2017 12:28 PM, Keith