From nobody Thu Jan 12 16:22:43 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nt8wM2QNVz2p3BB; Thu, 12 Jan 2023 16:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nt8wM1wRdz3rKy; Thu, 12 Jan 2023 16:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673540563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qDnEZco9sL5n5rD6ieAYRzms7M51YhJEBMnvcmNGWoc=; b=T1YZieiaUasAsh5wcYQLkRPOKbALW2aWpKminCUOZ2N16eO55ow/FpD8oJSi+XI+tUULSd JkxT6J/2ZikfpoB9nOKTHUWDgqFEGBVdTSq+Yc48BLqIfmvhl4sv/SPQqjknNLTxcV7hAW e7+UkWvWZyo4/FOFUaEA2YSMsKUqRfy/cW6jN7siGMzSTXvW35HAnI9zAATFdr0CNUIyLs S93jK5G/YFLEs+6RB48stbvq7Q87eRbaluvUCbYyCl7RYabyMv4WqkG9dc/NeuJuWChpy9 2sOfXlNiyMhuPH9/DUDrgXd33IXJpDEsXTZBL8GEafMgBzyOeSjZ46WVR03Uqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673540563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qDnEZco9sL5n5rD6ieAYRzms7M51YhJEBMnvcmNGWoc=; b=tyEMz+VsUtn2EfcJloGSiG0tHtRCYEv8/2HeqlqAmxI6DWVCClVVQMtDAAYN2HOVDpQxc/ urMa1/uUgbjXmLKbX4QoFvTR0ROxnm3fy7VLFPh4Jpv40SukjzodewbnL0Wra+XifjIjmJ ylnxfWjE+QVpykdV/nJONbnRQp1LjEe1OJDFgNXjg8F8ddquuWtEuZc1SndmWbTraq97lZ RS9WlTCCu0KokYnvxQdyF5m73Povel8IGEClpcTCdUy0yFD1vEN3Sppa43+RG7Rxv3zNjO 4EldLBKHd7Q7Ffoikn8XckH5nitHpm4uwkRRVXTMrBkQfRey3k39nYvXaZaefA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673540563; a=rsa-sha256; cv=none; b=HWxnIpjHBs1rmT1VDHKnGigMfw7TkqMn3jbUQqZ0cvfAVYlelBaZuV/zGthX7frLx0BGlo 6Qa83KGIBwjDtdEQCI5ptIB5XOyV88xuPlcu2rTMaZmSo257F8xyu56yjXHaNGU2botIFJ o5eZyjT52SL7zUF1N2RFif9gtVZVPCgS/Me9SIGuzhJZEdAK1YvRO2Ghz5MD9MhW/ZrsLX oyGtohTfQPAojIEoHUTVz85mg7DGlE39EaZEfnq5kHQGRl7KRovYvp0n7cJbOsG/CREE1N +udUu2oUSRi74NTpxSvC1cejPb71+QStjAW9JVvEt23GlYP8zubY33cuXLEWWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nt8wM0zbGzZhP; Thu, 12 Jan 2023 16:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30CGMhjx049527; Thu, 12 Jan 2023 16:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30CGMhq4049526; Thu, 12 Jan 2023 16:22:43 GMT (envelope-from git) Date: Thu, 12 Jan 2023 16:22:43 GMT Message-Id: <202301121622.30CGMhq4049526@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 12e8dd9d6973 - main - graphics/vulkan-validation-layers: unbreak runtime after a9528c27d99c List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12e8dd9d6973f485d1b1ff913e0eab6e676620d2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=12e8dd9d6973f485d1b1ff913e0eab6e676620d2 commit 12e8dd9d6973f485d1b1ff913e0eab6e676620d2 Author: Jan Beich AuthorDate: 2023-01-12 16:17:33 +0000 Commit: Jan Beich CommitDate: 2023-01-12 16:21:31 +0000 graphics/vulkan-validation-layers: unbreak runtime after a9528c27d99c $ vkcube-xcb --validate WARNING : VALIDATION - Message Id Number: 2044605652 | Message Id Name: VUID_Undefined Validation Warning: [ VUID_Undefined ] Object 0: handle = 0x8285d0000, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x79de34d4 | Instance Extension VK_KHR_xcb_surface is not supported by this layer. Using this extension may adversely affect validation results and/or produce undefined behavior. Objects - 1 Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x8285d0000 Selected GPU 0: Intel(R) HD Graphics 530 (SKL GT2), type: IntegratedGpu ERROR : VALIDATION - Message Id Number: -2145442690 | Message Id Name: VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter ] Object 0: handle = 0x8285d0000, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x801f247e | Invalid VkSurfaceKHR Object 0x8285c8870. The Vulkan spec states: surface must be a valid VkSurfaceKHR handle (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter) Objects - 1 Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x8285d0000 ERROR : VALIDATION - Message Id Number: 1567320034 | Message Id Name: UNASSIGNED-Threading-Info Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0x8285c8870, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x5d6b67e2 | Couldn't find VkSurfaceKHR Object 0x8285c8870. This should not happen and may indicate a bug in the application. Objects - 1 Object[0] - VK_OBJECT_TYPE_SURFACE_KHR, Handle 0x8285c8870 Segmentation fault --- graphics/vulkan-validation-layers/Makefile | 4 ++++ graphics/vulkan-validation-layers/distinfo | 2 ++ 2 files changed, 6 insertions(+) diff --git a/graphics/vulkan-validation-layers/Makefile b/graphics/vulkan-validation-layers/Makefile index 4f2216ebe11d..fd5a8308a3ee 100644 --- a/graphics/vulkan-validation-layers/Makefile +++ b/graphics/vulkan-validation-layers/Makefile @@ -1,8 +1,12 @@ PORTNAME= vulkan-validation-layers DISTVERSIONPREFIX= v DISTVERSION= 1.3.238 +PORTREVISION= 1 CATEGORIES= graphics +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= f4d438f73a52.patch:-p1 # https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/5098 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Validation layers for the Vulkan graphics API WWW= https://github.com/KhronosGroup/Vulkan-ValidationLayers diff --git a/graphics/vulkan-validation-layers/distinfo b/graphics/vulkan-validation-layers/distinfo index 99b01b764c31..3f471eed016f 100644 --- a/graphics/vulkan-validation-layers/distinfo +++ b/graphics/vulkan-validation-layers/distinfo @@ -3,3 +3,5 @@ SHA256 (KhronosGroup-Vulkan-ValidationLayers-v1.3.238_GH0.tar.gz) = 03bc5843ef96 SIZE (KhronosGroup-Vulkan-ValidationLayers-v1.3.238_GH0.tar.gz) = 4523932 SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-207-g1d31a10_GH0.tar.gz) = 696f3dddde6d732155140131eceba2b290e0e7a7eea18c39bc687a08fce733f1 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-207-g1d31a10_GH0.tar.gz) = 445575 +SHA256 (f4d438f73a52.patch) = ad27fdfc602e59a1ae300d2a49da0c2736cd4e142ebd93a7786a3f75fd1569d3 +SIZE (f4d438f73a52.patch) = 861