mirror of https://github.com/armbian/build.git
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).
This commit is contained in:
parent
d2e208ace1
commit
03455cb7fd
|
|
@ -55,6 +55,11 @@ family_tweaks_bsp() {
|
|||
:
|
||||
}
|
||||
|
||||
function extension_prepare_config__enable_mesa_vpu() {
|
||||
# Auto-enable mesa-vpu for RK3588 GPU acceleration
|
||||
enable_extension "mesa-vpu"
|
||||
}
|
||||
|
||||
# Additional CFLAGS were previously needed to disable certain errors when building vendor U-Boot.
|
||||
# This is now fixed in Radxa U-Boot sources, but left here (commented out) for reference in case new errors appear in the future.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue