From e0674e740bf84085dec898ffd87bdeb2027e620f Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Wed, 18 Jan 2017 18:07:56 -0500 Subject: [PATCH] vulkan/wsi: clarify the severity of lack of DRI3 v2 The current message sounds like a small warning, clarify that it can result in lack of presentation support and application crashes. v2: add "if they do" (Bas) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98263 Signed-off-by: Andres Rodriguez Acked-by: Jason ekstrand Acked-by: Bas Nieuwenhuizen Reviewed-by: Emil Velikov --- src/vulkan/wsi/wsi_common_x11.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 158446c2ca7..f6cc056d33b 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -265,7 +265,8 @@ VkBool32 wsi_get_physical_device_xcb_presentation_support( return false; if (!wsi_conn->has_dri3) { - fprintf(stderr, "vulkan: No DRI3 support\n"); + fprintf(stderr, "vulkan: No DRI3 support detected - required for presentation\n"); + fprintf(stderr, "Note: Buggy applications may crash, if they do please report to vendor\n"); return false; } @@ -313,7 +314,8 @@ x11_surface_get_support(VkIcdSurfaceBase *icd_surface, return VK_ERROR_OUT_OF_HOST_MEMORY; if (!wsi_conn->has_dri3) { - fprintf(stderr, "vulkan: No DRI3 support\n"); + fprintf(stderr, "vulkan: No DRI3 support detected - required for presentation\n"); + fprintf(stderr, "Note: Buggy applications may crash, if they do please report to vendor\n"); *pSupported = false; return VK_SUCCESS; } -- 2.30.2