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 they mean:
Vulkan GL
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
> output. But, perhaps the problem is
James Jones writes:
> However, I think direct enumeration is generally useful functionality,
> if nothing else just for things like vkinfo or DRM equivalents.
Sure, I've enabled direct enumeration when the process has access to
that information from the kernel. Right now,
On Mon, Oct 16, 2017 at 02:17:27PM -0700, Keith Packard wrote:
>
> Dave Airlie writes:
>
> > If they use acquire extensions they get display enumeration, the
> > problem is display enumeration before the acquire would need special
> > permission elevation.
>
> And the
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 Packard wrote:
James Jones writes:
I think at a lower level, we have different views of how
Dave Airlie writes:
> If they use acquire extensions they get display enumeration, the
> problem is display enumeration before the acquire would need special
> permission elevation.
And the problem here is that the nVidia driver hides the HMD displays
from X, forcing the
James Jones writes:
> Understood. In that case, no displays should be enumerated on the
> "rendering hardware" device in Vulkan, unless the driver vendor opts for
> heroics.
We try to avoid software heroics where possible.
> Right, but normal processes don't need the
On 17 October 2017 at 06:01, James Jones wrote:
> On 10/16/2017 12:28 PM, Keith Packard wrote:
>>
>> James Jones writes:
>>
>>> I think at a lower level, we have different views of how
>>> vkGetPhysicalDeviceDisplayPropertiesKHR/VK_KHR_display works.
>>>
On 10/16/2017 12:28 PM, Keith Packard wrote:
James Jones writes:
I think at a lower level, we have different views of how
vkGetPhysicalDeviceDisplayPropertiesKHR/VK_KHR_display works.
vkGetPhysicalDeviceDisplayPropertiesKHR() is suppose to enumerate all
the displays on a
James Jones writes:
> I think at a lower level, we have different views of how
> vkGetPhysicalDeviceDisplayPropertiesKHR/VK_KHR_display works.
> vkGetPhysicalDeviceDisplayPropertiesKHR() is suppose to enumerate all
> the displays on a given device.
In many devices, the
On 10/14/2017 02:00 AM, "Keith Packard" wrote:
I've implemented this extension in DRM and have run into a conflict
between the spec and the Linux architecture.
The VkDisplayKHR parameter for VK_EXT_acquire_xlib_display can be
found in two different ways:
1) Enumerate displays using
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.
v4: Only send scanout-supported modifiers if flipping is possible
Signed-off-by: Louis-Francis
Add support for 'check_flip2' so that the present core can know
why it is impossible to flip in that scenario. The core can then
let know the client that the buffer format/modifier is suboptimal.
Signed-off-by: Louis-Francis Ratté-Boulianne
---
If the Complete event has this mode, the client is not using
the more optimal format/modifier for the buffer allocation.
Its main usage as of now is to allow clients to re-fetch DRI3
format modifiers as some modifiers might allow direct scanout.
Signed-off-by: Louis-Francis Ratté-Boulianne
It relies on GBM >= 17.1.0 where we can import BO with multiple
planes and a format modifier (GBM_BO_IMPORT_FD_MODIFIER).
Signed-off-by: Louis-Francis Ratté-Boulianne
---
configure.ac | 4 +
glamor/glamor.c | 34 ---
glamor/glamor.h
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 PresentCompleteModeSuboptimalCopy mode.
v4: It replaces the old mechanism for
Using modifier might allow the driver to use a more optimal format
(e.g. tiled/compressed). Let's try to use those if possible.
Signed-off-by: Louis-Francis Ratté-Boulianne
---
glamor/glamor_egl.c | 44 ++-
On Fri, 2017-09-29 at 18:24 +0200, Michel Dänzer wrote:
> On 27/09/17 07:19 AM, Louis-Francis Ratté-Boulianne wrote:
> > Instead of relying on the present module to wait on in-fences,
> > we added some hooks to allow the drivers/hardware to do the work.
> > Drivers need to implement can_wait, wait
Use most optimal buffer format (e.g. tiled/compressed) available
for scanout.
v3: Don't use multi-plane modifier to create scanout buffer
v4: Add flag to retrieve modifiers set from enabled CRTCs only
Signed-off-by: Louis-Francis Ratté-Boulianne
---
To make sure we also use the same primary plane and to avoid
mixing uses of two APIs, it is better to always use the atomic
modesetting API when possible.
Signed-off-by: Louis-Francis Ratté-Boulianne
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 402
In order to flip between compressed and uncompressed buffers -
something drmModePageFlip explicitly bans us from doing - we need
to port use the atomic modesetting API. It's only 'fake' atomic
though given we still commit for each CRTC separately and
CRTC and connector properties are not set with
Hi,
On Fri, 2017-09-29 at 18:45 +0200, Michel Dänzer wrote:
> On 27/09/17 07:19 AM, Louis-Francis Ratté-Boulianne wrote:
> > When the window has changed CRTC, send the event.
>
> This doesn't make sense to me I'm afraid.
> With the current present implementation, which CRTC is used for
>
Hello,
This is the RFC v4 for DRI3 v1.1 (X11 modifiers and multi-plane).
For context, please check previous submissions:
https://lists.x.org/archives/xorg-devel/2017-June/053854.html
https://lists.x.org/archives/xorg-devel/2017-August/054436.html
Initial implementation for DRI3 v1.1. Only the DRI3 implementation
is there, backends need to implement the proper hooks.
Version is still set to 1.0 so clients shouldn't use the new
requests yet.
v2: Use depth/bpp instead of DRM formats in requests
v3: Remove DMA fence requests from v1.1
Retrieve IN_FORMATS property from the plane. It gives the
allowed formats and modifiers for BO allocation.
Signed-off-by: Louis-Francis Ratté-Boulianne
---
configure.ac | 4 +
hw/xfree86/drivers/modesetting/drmmode_display.c | 114
This allows the uses of CCS compressed or tiled pixmaps as BOs when
page-flipping.
Signed-off-by: Louis-Francis Ratté-Boulianne
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 46
hw/xfree86/drivers/modesetting/drmmode_display.h | 4 +++
DRI3 version 1.1 adds support for explicit format modifiers, including
multi-planar buffers.
Signed-off-by: Daniel Stone
Signed-off-by: Louis-Francis Ratté-Boulianne
---
configure.ac | 2 +-
dri3proto.h | 86 -
Enable DRI3 v1.1 now that all functions have been implemented and
that there is at least one backend implementing the driver hooks
(modesetting/glamor).
Signed-off-by: Louis-Francis Ratté-Boulianne
---
include/protocol-versions.h | 2 +-
1 file changed, 1 insertion(+), 1
It was missing value for HAL_chipset. All the following values got shifted by
one and so the whole record was garbage.
---
Alternatively HAL_chipset could be dropped from everywhere because it does not
seem to be used.
src/mga_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
29 matches
Mail list logo