From: sug0 <sug0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa: update to 21.3.3 and add Broadcom vulkan driver
Date: Sun, 02 Jan 2022 02:29:07 +0100 [thread overview]
Message-ID: <20220102012907.JI0Rm5OZOwSEiKD0uD4jJq6ZZq3yWuMxtyFKHZnaRkA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34778@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
There is an updated pull request by sug0 against master on the void-packages repository
https://github.com/sug0/void-packages mesa-vulkan-rpi
https://github.com/void-linux/void-packages/pull/34778
mesa: update to 21.3.3 and add Broadcom vulkan driver
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, aarch64
---
This package builds successfully for `mesa` 21.3.3. Additionally, I created a new subpackage to build vulkan drivers for the Raspberry Pi 4. They seem to be working correctly, given the output of `vulkaninfo` from `Vulkan-Tools`, but I haven't actually tested any graphical workload. For whatever reason, `vkcube` is missing from `Vulkan-Tools` in `aarch64`.
This PR incorporates the changes from #34768
A patch file from https://github.com/void-linux/void-packages/pull/34778.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mesa-vulkan-rpi-34778.patch --]
[-- Type: text/x-diff, Size: 2264 bytes --]
From bd17ddc7a4e4c1434581a4f4adc052cb67789c08 Mon Sep 17 00:00:00 2001
From: Tiago Carvalho <sugoiuguu@tfwno.gf>
Date: Fri, 31 Dec 2021 02:01:54 +0000
Subject: [PATCH] mesa: update to 21.3.3
---
srcpkgs/mesa-vulkan-broadcom | 1 +
srcpkgs/mesa/template | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/mesa-vulkan-broadcom
diff --git a/srcpkgs/mesa-vulkan-broadcom b/srcpkgs/mesa-vulkan-broadcom
new file mode 120000
index 000000000000..1ad1bbec7ab3
--- /dev/null
+++ b/srcpkgs/mesa-vulkan-broadcom
@@ -0,0 +1 @@
+mesa
\ No newline at end of file
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 42bc12fbf877..611cc0d25f57 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,6 +1,6 @@
# Template file for 'mesa'
pkgname=mesa
-version=21.3.2
+version=21.3.3
revision=1
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -22,7 +22,7 @@ license="MIT, LGPL-2.1-or-later"
homepage="https://www.mesa3d.org/"
changelog="https://docs.mesa3d.org/relnotes/${version}.html"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=e2e7bafb8307e7abc3bf982f39382fae3619c84b45504920a21504be52f126bd
+checksum=ad7f4613ea7c5d08d9fcb5025270199e6ceb9aa99fd72ee572b70342240a8121
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -Duse-elf-tls=false"
@@ -115,10 +115,12 @@ fi
if [ "$_have_arm" ]; then
_gallium_drivers+=",kmsro"
_gallium_drivers+=",v3d,vc4,freedreno,etnaviv,lima,panfrost"
+ _vulkan_drivers+=",broadcom"
# transitional dummy packages
subpackages+=" mesa-kmsro-dri mesa-v3d-dri mesa-vc4-dri"
subpackages+=" mesa-etnaviv-dri mesa-freedreno-dri"
subpackages+=" mesa-lima-dri mesa-panfrost-dri"
+ subpackages+=" mesa-vulkan-broadcom"
fi
if [ "$_have_virgl" ]; then
@@ -354,6 +356,14 @@ mesa-vulkan-radeon_package() {
}
}
+mesa-vulkan-broadcom_package() {
+ short_desc="Mesa Broadcom Vulkan driver"
+ pkg_install() {
+ vmove "usr/share/vulkan/icd.d/broadcom_icd*.json"
+ vmove "usr/lib/libvulkan_broadcom.so"
+ }
+}
+
mesa-vulkan-overlay-layer_package() {
short_desc="Vulkan layer to display information about the running application"
pkg_install() {
next prev parent reply other threads:[~2022-01-02 1:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-31 2:47 [PR PATCH] " sug0
2022-01-02 1:29 ` sug0 [this message]
2022-01-02 1:37 ` [PR PATCH] [Closed]: " sug0
2022-01-02 1:37 ` [PR PATCH] [Updated] " sug0
2022-01-03 21:54 ` mesa: " ericonr
2022-01-03 22:24 ` sug0
2022-01-03 22:24 ` [PR PATCH] [Updated] " sug0
2022-01-03 22:24 ` sug0
2022-01-03 22:27 ` sug0
2022-01-03 22:35 ` [PR PATCH] [Updated] " sug0
2022-01-04 8:00 ` ericonr
2022-01-04 12:41 ` q66
2022-01-04 15:39 ` [PR PATCH] [Updated] " sug0
2022-01-04 15:40 ` sug0
2022-01-04 16:24 ` q66
2022-01-05 7:40 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220102012907.JI0Rm5OZOwSEiKD0uD4jJq6ZZq3yWuMxtyFKHZnaRkA@z \
--to=sug0@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).