From nobody Sun Nov 26 19:23:21 2023 X-Original-To: x11@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 4Sddt161G0z51yrW for ; Sun, 26 Nov 2023 19:23:21 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Sddt12gGYz3Br2 for ; Sun, 26 Nov 2023 19:23:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701026601; 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: in-reply-to:in-reply-to:references:references; bh=y/OWkpCcRQR1HFBZ2LxVwpaR/DY+1Yxr6mynpJYkNuI=; b=WeEwGnFxHf0CUBnNpt63yqtqw054gmcNTUy67bRTqTo/5dkQyac1F1Y2dhpVxMT6wAxK7A IfS61KD+sVL/lxoFv5ffZXC7jF87JSUsM0osgZboI0OsPTdod76RuUITBhtQRSEc5A10UM GVfvT8ajlFj5XU7DuqDx0JoHuAJSc9AlH4Ql7JW/41Oo81qXWozpbHc9bYAccYM57GzEzS q5b+MkBXAQDU0sFARciVcW/8+94hyV2FnR5+Dh5L2zZ6SLexb+EU6k55CdKKUl+RlT1Cds KR6vXShEp/6NN2wQE4lBhPBb7OhbLczj5wlc1fDupKKHzmBfa136JRJXw2hnOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701026601; a=rsa-sha256; cv=none; b=W2QTHuAlAUMaOURr0CD5N0YgnwSi32EkAtevIuI0jlNPKKai1bA5L9OFLFF0T1/dMxJITp 3rq5XQLCPzTxFtgtHJ43Y1DhCZQ/wDY7NNjnhcnvuZcjTbdB+Z7MCOWVwq6yDa1LIHbqU1 W7N8rKZwK5B9MwwKHMHmps1gT1YJH40TdhN1e4s2j56jfPOhp+XqsdDTR7ov7cDIEFexcv rSdsNIRcnl+RUOR0DDDipOaC2ScABa1Oqz5kX+BmkEXC/u40f2erRDa3RYKfT+SQoMq0Jm drpf/s6fPBQwQrQ2ZvlqUajGnLClWFnKROm6IotRANu7IDPRC1IKeoOp4bjkUg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Sddt11myBz16SJ for ; Sun, 26 Nov 2023 19:23:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AQJNLOK026262 for ; Sun, 26 Nov 2023 19:23:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AQJNLFd026261 for x11@FreeBSD.org; Sun, 26 Nov 2023 19:23:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 275360] graphics/mesa-dri: enable Vulkan Video support after Mesa >= 23 update Date: Sun, 26 Nov 2023 19:23:21 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 275360: graphics/mesa-dri: enable Vulkan Video support after Mesa >=3D = 23 update https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275360 --- Description --- Similar to ports aada4209a3b0. Vulkan Video extensions are part of Vulkan drivers (mesa-dri). It's an alternative API to VA-API (mesa-gallium-va, libva-*driver), VDPAU (mesa-gallium-vdpau, nvidia-driver), NVDEC (nv-sglrun= + nvidia-driver), QSV (intel-media-sdk, onevpl), AMF (unported). Upstream support enabled by https://gitlab.freedesktop.org/mesa/mesa/-/commit/c90e5ddc710a (removal of = beta ifdefs) but runtime is still gated by environment variables probably due to insufficient QA (validation on all supported hardware). There're also too f= ew open source consumers, and many video players are OpenGL-only. $ pkg install mpv mesa-dri # if built by poudriere $ export ANV_VIDEO_DECODE=3D1 RADV_PERFTEST=3Dvideo_decode $ mpv --vo=3Dgpu-next --gpu-api=3Dvulkan --hwdec=3Dvulkan /path/to/file.mp4 [...] Using hardware decoding (vulkan). VO: [gpu-next] 1920x1080 vulkan[nv12] [...] Tested under X11 (Xwayland) and Wayland (Sway) on Intel Skylake GT2 (0x1912) inside 12.4/13.2 amd64 jail with drm-515-kmod (5.15-lts-focal per bug 27477= 0 to avoid recent DMABUF regressions) on -CURRENT kernel and X11/Wayland sockets passed through.