From nobody Sat Jul 15 02:09:13 2023 X-Original-To: dev-commits-ports-all@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 4R2sGf1ckVz4my1w; Sat, 15 Jul 2023 02:09:14 +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 4R2sGf1885z3ks4; Sat, 15 Jul 2023 02:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689386954; 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=h3ElHWr1AgUBlOcr2CIA69HikSYoEsiN2CZSAzcTx04=; b=g5AyKK34zooz04KDruFLrTppb4Qv0IW+YxFJMrGV/UVQUHyX3zyefuYzEPTO686yQVey9T sR8JD2znNEzPX12aBkBM+o3qJ6igGSsJ03RDsJgG83cTSuARV0F4rnE74grJ0jQ1DjQLta 8iEASdUYy3VqLkELxY7Tjb9Ggf91b6O7KGopy+ytRuecrjZmvZMSA73vXOAOSJ+VMrsn/9 sCYvdbv5sMy6xKYiOM3N700pxgf51w4LzBV3XuHJHFzs7SJBdjQOdFAiI6Jo81FojwxMxi 3uSMrc3zEnXkMqbx0ZMtozgW6uBN3M7dRB20VJJEp9Gv9GxW6dYBMcHS4vINEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689386954; 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=h3ElHWr1AgUBlOcr2CIA69HikSYoEsiN2CZSAzcTx04=; b=A2IMj3jrGHWzyEyZzGE7JPlj/8irRtTo43cGj5pLa1U5hdV3F5KzbJ3Jkx9LEFHBeUtAaZ IKII4gNcdpMqG4svNvy8Fn8iJjHNydnKtCYzGBDSpIQg6HE2yTG5/CosaZ5wu6CjM/wVJd IhGOQjfLAlsTBkyRHLa9qeM76/9lPBXxe3s1hAqcKee6luhfZg81remjhN76xRsszvmpkn bjg8ujFPj2zdcCEsjQscmm9ECMBwuVHRYo6PRExgTptojRlTYNPR2IiDbeQJZR/+FQPl0Q F3C+OR/BUy6B+lty8qorgbqthTLSbnbmH3Kc2TKQlvp50FIe9dooTFX9T6nbrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689386954; a=rsa-sha256; cv=none; b=FLmw3mqv0OiDTzUTMNLTFK1JEyhVeSIbPnLogvDiHJI6mpUTtskjZS/L716NlJOtM0QaIY x0e2eja5Te/mPehE5DDZrAWRQwcYuEouAuhsvJj1Xr818Zw52bgCV46ViLXsOHFjXvmJoV Y8QHTK86fHBR/QwBP4VK1Ohdc29CVc8PVVs2AU43P1oCkV0W7x+m4OVzcQ6cdjylcE1QH6 JoaqvdmbCxYBCsGY3OjTf39LRK6xh/My0yb91/E2VoCGnvs9uO5NH2ZBxC6hxS30DXqAHR oduxZuy6klM3HQm0IodyoxGFRwprWu9oOnnfqn88AWudRr8dNwnFR8uXJoCKKA== 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 4R2sGf0D0XzhfN; Sat, 15 Jul 2023 02:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36F29DUI055284; Sat, 15 Jul 2023 02:09:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36F29D5l055283; Sat, 15 Jul 2023 02:09:13 GMT (envelope-from git) Date: Sat, 15 Jul 2023 02:09:13 GMT Message-Id: <202307150209.36F29D5l055283@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 1cea078264b0 - 2023Q3 - graphics/mesa-devel: apply 36049d38d71f to Vulkan with VAAPI=off List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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/2023Q3 X-Git-Reftype: branch X-Git-Commit: 1cea078264b07ffd9504ec41fdb7f52b9f7ec756 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cea078264b07ffd9504ec41fdb7f52b9f7ec756 commit 1cea078264b07ffd9504ec41fdb7f52b9f7ec756 Author: Jan Beich AuthorDate: 2023-07-15 01:37:27 +0000 Commit: Jan Beich CommitDate: 2023-07-15 02:09:05 +0000 graphics/mesa-devel: apply 36049d38d71f to Vulkan with VAAPI=off On Intel GPUs VA-API is implemented by libva-intel-{,media-}driver but Vulkan Video is implemented by Mesa. VAAPI in mesa-devel depends on AMD drivers which in turn brings heavy llvm* dependency, so may not be desirable on Intel-only or Intel+NVIDIA systems. $ ANV_VIDEO_DECODE=1 mpv --vo=gpu-next --gpu-api=vulkan --hwdec=vulkan foo.mp4 [...] [ffmpeg/video] h264: Device does not support decoding h264! [...] $ ANV_VIDEO_DECODE=1 vulkaninfo | fgrep -i decode_h264 VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR (cherry picked from commit aada4209a3b0264fdb8e372efb47739d8bcbf114) --- graphics/mesa-devel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index bbffe05c49df..f88a95a460ef 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -1,6 +1,7 @@ PORTNAME= mesa DISTVERSION= 23.2.0-branchpoint-106 DISTVERSIONSUFFIX= -g27d30fe3c0e +PORTREVISION= 1 CATEGORIES= graphics PKGNAMESUFFIX= -devel @@ -45,6 +46,7 @@ MESON_ARGS= -Dgallium-omx=disabled \ -Dvalgrind=disabled \ -Dglvnd=true \ -Dplatforms=${PLATFORMS:O:[-1..1]:ts,} \ + -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \ ${NULL} PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} @@ -129,7 +131,6 @@ OPENCL_IMPLIES= LLVM ${"${PORT_OPTIONS:Miris}":?iris:radeonsi} # any from OPTIO VAAPI_DESC= Hardware encoding/decoding (only r600, radeonsi) VAAPI_BUILD_DEPENDS= libva>0:multimedia/libva VAAPI_MESON_ENABLED= gallium-va -VAAPI_MESON_ON= -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc VDPAU_DESC= Hardware decoding (only r600, radeonsi) (implies X11) VDPAU_BUILD_DEPENDS= libvdpau>0:multimedia/libvdpau