Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions device/dipper/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,24 @@ The upstream v8 cover letter states it was tested on Xiaomi Mi 8:
[controller-ready fix](https://lists.openwall.net/linux-kernel/2026/09/25/2214),
[binding update](https://lists.openwall.net/linux-kernel/2026/09/25/2212).
Firmware loading, low-power touch and wake-on-touch/AP-SLPI handoff are not implemented.

## 2026-11-13 — Mesa Freedreno renderer check

The earlier scoped Dipper Mesa 1.5 package was extracted to tmpfs in the
phone's pre-existing userdata Linux root and tested from a console login with
`eglinfo -p gbm`.
OpenGL core, compatibility and ES reported `freedreno` / `FD630`;
`LD_DEBUG=libs` confirmed this package's `libgallium` and `dri_gbm.so` were
loaded. This was not a Hyprland test and the package was not installed to the
root. The archive SHA-256 was
`6122aec6efa24194c5dca9733fd8a8936d92e8c99058f9c96d7cb0eb83b8a7fc`.

The installed package database identified `mesa 1:26.2.4-1.5`; retained build
metadata ties its PKGBUILD checksum to Mesa commit
`83aa88ec413644dfc2336e6d09ee0a06481edd01`. `a630_sqe.fw` was owned by
`linux-firmware-qcom 20260916-1`; `a630_zap.mbn` came from this phone's own
vendor firmware. The exact `eglinfo` output, `phone-smoke --json`, kernel
release, boot-image hash and kernel source revision for this console session
were not retained. The available contemporaneous smoke summary says the GPU
render node and display passed, while the session check reported Hyprland and
the shell were not running. Do not describe this as a Hyprland renderer test.
6 changes: 3 additions & 3 deletions packages/mesa/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = mesa
pkgdesc = Open-source OpenGL drivers (Omarchy Mobile: Mali-G710, Mali-G78, Mali-G715)
pkgdesc = Open-source OpenGL drivers (Omarchy Mobile: Adreno and Mali)
pkgver = 26.2.4
pkgrel = 1.4
pkgrel = 1.5
epoch = 1
url = https://www.mesa3d.org/
arch = aarch64
Expand Down Expand Up @@ -110,7 +110,7 @@ pkgname = mesa
depends = zlib
depends = zstd
optdepends = opengl-man-pages: for the OpenGL API man pages
provides = mesa-libgl=1:26.2.4-1.4
provides = mesa-libgl=1:26.2.4-1.5
provides = opengl-driver
conflicts = libva-mesa-driver<1:24.2.7-1
conflicts = mesa-libgl<17.0.1-2
Expand Down
18 changes: 9 additions & 9 deletions packages/mesa/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: 0BSD
#
# Omarchy Mobile build of Mesa for the Pixel 7 Pro (Mali-G710 on Panthor)
# and the Pixel 6 and 6 Pro (Mali-G78 on Panfrost), plus Pixel 9a
# Omarchy Mobile build of Mesa for Qualcomm Adreno and the Pixel 7 Pro
# (Mali-G710 on Panthor), Pixel 6/6 Pro (Mali-G78 on Panfrost), and Pixel 9a
# (Mali-G715 on Panthor).
#
# Derived from Arch Linux's mesa PKGBUILD, tag 1-26.2.4-1
Expand All @@ -17,15 +17,15 @@
# backported (drop it once Mesa ships it in a release).
# - 0004-panfrost-add-Mali-G78-to-the-model-table.patch: the Pixel 6's
# Mali-G78, next to the G68 (drop it once Mesa ships the G78 entry).
# - aarch64 only, and only the drivers this phone can use: Gallium
# - aarch64 only, and only the drivers our phones can use: Gallium freedreno,
# panfrost (with kmsro), llvmpipe, softpipe and zink; Vulkan panfrost
# (PanVK). Splits: mesa, vulkan-panfrost, vulkan-mesa-implicit-layers
# (vulkan-panfrost depends on it). No rusticl, NVK, docs or valgrind,
# so no Rust crates and a much shorter native build.
# - 0005-0010: upstream G715 model and complete v11 support backports.
# See README.md for pinned sources and validation limits.
# - pkgrel 1.4: makepkg only allows integer[.integer], so the Omarchy Mobile
# marker lives in the VERSION string (".omamobile4"), which shows up in
# - pkgrel 1.5: makepkg only allows integer[.integer], so the Omarchy Mobile
# marker lives in the VERSION string (".omamobile5"), which shows up in
# GL_VERSION and the libgallium file name.
#
# Maintainers of the original: Laurent Carlier, Felix Yan, Jan Alexander
Expand All @@ -39,10 +39,10 @@ pkgname=(
)
pkgver=26.2.4
_pkgver=${pkgver/[a-z]/-&}
pkgrel=1.4
_omamobile=omamobile4
pkgrel=1.5
_omamobile=omamobile5
epoch=1
pkgdesc="Open-source OpenGL drivers (Omarchy Mobile: Mali-G710, Mali-G78, Mali-G715)"
pkgdesc="Open-source OpenGL drivers (Omarchy Mobile: Adreno and Mali)"
url="https://www.mesa3d.org/"
arch=(aarch64)
license=("MIT AND BSD-3-Clause AND SGI-B-2.0")
Expand Down Expand Up @@ -165,7 +165,7 @@ build() {
--optimization 2
-D android-libbacktrace=disabled
-D b_ndebug=true
-D gallium-drivers=panfrost,llvmpipe,softpipe,zink
-D gallium-drivers=freedreno,panfrost,llvmpipe,softpipe,zink
-D gallium-extra-hud=true
-D gallium-mediafoundation=disabled
-D gallium-rusticl=false
Expand Down
24 changes: 15 additions & 9 deletions packages/mesa/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- SPDX-License-Identifier: MIT -->
# mesa (Omarchy Mobile build)

Arch Linux's Mesa 26.2.4 package, rebuilt for the Pixel 7 Pro and the
Pixel 6 and 6 Pro, with additional Pixel 9a Mali-G715 support. Mali-G710
Arch Linux's Mesa 26.2.4 package, rebuilt for Qualcomm Adreno phones (the
Mi 8 port is in progress), the Pixel 7 Pro, Pixel 6/6 Pro and Pixel 9a. Mali-G710
(gs201) and Mali-G78 (gs101, with upstream's G68 next to it) are added to
Panfrost's model table. Without an entry, Mesa
rejects the GPU (for the G710 even when Panthor is loaded): the Gallium
Expand All @@ -26,16 +26,22 @@ driver bails out on an unknown model, and PanVK returns

- The patches above.
- `arch=(aarch64)`.
- Only drivers this phone can use:
- Gallium `panfrost` (which brings `kmsro`), `llvmpipe`, `softpipe` and `zink`.
- Only drivers our phones can use:
- Gallium `freedreno`, `panfrost` (which brings `kmsro`), `llvmpipe`, `softpipe` and `zink`.
- Vulkan `panfrost` (PanVK).
- The `device-select` and `anti-lag` layers.
- Only three split packages: `mesa`, `vulkan-panfrost` and
`vulkan-mesa-implicit-layers` (which `vulkan-panfrost` depends on).
- `pkgrel=1.4`. makepkg only accepts `integer[.integer]`, so the Omarchy Mobile
marker is in Mesa's version string instead: `26.2.4-arch1.1.4.omamobile4`.
- `pkgrel=1.5`. makepkg only accepts `integer[.integer]`, so the Omarchy Mobile
marker is in Mesa's version string instead: `26.2.4-arch1.1.5.omamobile5`.
That string shows up in `GL_VERSION` and in the `libgallium-*.so` file name.

Freedreno supplies the Adreno DRI driver (`msm_dri.so`) needed by Qualcomm
phones. `[omamobile]` comes before Arch Linux ARM in pacman's repository
order, so our Mesa replaces theirs on every phone; the shared package must
carry Freedreno. The separate Vulkan Freedreno package remains supplied by
Arch Linux ARM.

The other ALARM split packages (`vulkan-swrast`, `opencl-mesa` and so on)
don't depend on `mesa`'s exact version. They can stay installed at
`1:26.2.4-1`.
Expand Down Expand Up @@ -99,9 +105,9 @@ sudo pacman -S --needed base-devel
gpg --recv-keys 57551DE15B968F6341C248F68D8E31AFC32428A6 # Eric Engestrom, signed 26.2.4
cd packages/mesa
makepkg -s # pulls the makedepends listed in the PKGBUILD
sudo pacman -U mesa-1:26.2.4-1.4-aarch64.pkg.tar.zst \
vulkan-panfrost-1:26.2.4-1.4-aarch64.pkg.tar.zst \
vulkan-mesa-implicit-layers-1:26.2.4-1.4-aarch64.pkg.tar.zst
sudo pacman -U mesa-1:26.2.4-1.5-aarch64.pkg.tar.zst \
vulkan-panfrost-1:26.2.4-1.5-aarch64.pkg.tar.zst \
vulkan-mesa-implicit-layers-1:26.2.4-1.5-aarch64.pkg.tar.zst
```

Until Panthor exposes `/dev/dri/renderD128`, nothing changes visibly:
Expand Down