Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2020 16:53:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246376] devel/vulkan-validation-layers
Message-ID:  <bug-246376-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246376

            Bug ID: 246376
           Summary: devel/vulkan-validation-layers
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: beldin@beldin.org
                CC: greg@unrelenting.technology
                CC: greg@unrelenting.technology
             Flags: maintainer-feedback?(greg@unrelenting.technology)

Using validation layers produces erros (and potentially segfaults) for valid
usage when using GLFW.=20

Error that results:

VUID_Undefined(ERROR / SPEC): msgNum: 0 - Instance Extension VK_KHR_xcb_sur=
face
is not supported by this layer.  Using this extension may adversely affect
validation results and/or produce undefined behavior.
    Objects: 1
        [0] 0, type: 0, name: NULL
VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter(ERROR / SPEC):
msgNum: 0 - Invalid SurfaceKHR Object 0x80098b020. The Vulkan spec states:
surface must be a valid VkSurfaceKHR handle
(https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.h=
tml#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter)

Removing the CMAKE_OFF settings got X11 and XCB and providing options copied
from the graphics/vulkan-loader seems to provide a least suprising solution
(defaulting these 2 options to off leaves behaviour as before).

This has been tested for compiling for all 4 option combinations also.

(I'm sure the wayland option could also be transferred but testing that is
outside my configuration)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246376-7788>