Skip to content

Commit 03455cb

Browse files
fix(rockchip-rk3588): Enable mesa-vpu extension for GPU acceleration
Extensions seem to be optional, but the mesa-vpu extension author stated this 'should be enabled on all for rk3588 distributions' but was never implemented. Without it, desktop images use llvmpipe software rendering instead of GPU. Although ENABLE_EXTENSIONS=mesa-vpu resolves the issue, users will run into concerns for other optional extensions similar to #7482. Approach uses extension_prepare_config hook to auto-enable mesa-vpu, ensuring it loads regardless of user-specified ENABLE_EXTENSIONS. Tested on Orange Pi 5 Plus: glxinfo now shows Mali-G610 (Panfrost).
1 parent d2e208a commit 03455cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/sources/families/rockchip-rk3588.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ family_tweaks_bsp() {
5555
:
5656
}
5757

58+
function extension_prepare_config__enable_mesa_vpu() {
59+
# Auto-enable mesa-vpu for RK3588 GPU acceleration
60+
enable_extension "mesa-vpu"
61+
}
62+
5863
# Additional CFLAGS were previously needed to disable certain errors when building vendor U-Boot.
5964
# This is now fixed in Radxa U-Boot sources, but left here (commented out) for reference in case new errors appear in the future.
6065

0 commit comments

Comments
 (0)