Jump to content

How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?


Recommended Posts

Posted

The code being compiled is the latest mainline.

My compile command: ./compile.sh build BOARD=rock-5b BRANCH=vendor BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no RELEASE=noble ENABLE_EXTENSIONS=mesa-vpu

It has not been compiled successfully and is stuck here. I am in China and have used a VPN.

 

Sometimes it compiles successfully, but after installation, the 3D acceleration feature is not detected. In the GNOME settings, it shows as LLVM software rendering.

 

Installing 3D extension packages [ mesa-vpu ]
[🚸] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ]
[🔨]   /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt:
[🔨]   total 3.9M
[🔨]   drwxrwxr-x  2 root root 4.0K Mar 12 18:57 .
[🔨]   -rw-r--r--  1 root root 2.3M Mar 12 18:57 pkgcache.bin
[🔨]   -rw-r--r--  1 root root 1.6M Mar 12 18:57 srcpkgcache.bin
[🔨]   drwxr-xr-x 13 root root 4.0K Mar 12 18:37 ..
[🔨]   E: Unable to correct problems, you have held broken packages.
[🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ]
[🚸] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ]
[🔨]   /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt:
[🔨]   total 3.9M
[🔨]   drwxrwxr-x  2 root root 4.0K Mar 12 18:57 .
[🔨]   -rw-r--r--  1 root root 2.3M Mar 12 18:57 pkgcache.bin
[🔨]   -rw-r--r--  1 root root 1.6M Mar 12 18:57 srcpkgcache.bin
[🔨]   drwxr-xr-x 13 root root 4.0K Mar 12 18:37 ..
[🔨]   E: Unable to correct problems, you have held broken packages.
[🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ]
[🚸] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ]
[🔨]   /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt:
[🔨]   total 3.9M
[🔨]   drwxrwxr-x  2 root root 4.0K Mar 12 18:57 .
[🔨]   -rw-r--r--  1 root root 2.3M Mar 12 18:57 pkgcache.bin
[🔨]   -rw-r--r--  1 root root 1.6M Mar 12 18:57 srcpkgcache.bin
[🔨]   drwxr-xr-x 13 root root 4.0K Mar 12 18:37 ..
[🔨]   E: Unable to correct problems, you have held broken packages.
[🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ]
[🚸] Command failed 3 times, giving up [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ]
[💥] Error 1 occurred in main shell [ at /home/qqq/lyh/v24_11_build/extensions/mesa-vpu.sh:160
   post_install_kernel_debs__3d() --> extensions/mesa-vpu.sh:160
       post_install_kernel_debs() --> <extension_magic>:222
          call_extension_method() --> lib/functions/general/extensions.sh:57
   install_distribution_agnostic() --> lib/functions/rootfs/distro-agnostic.sh:309
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
         build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:28
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
                           main() --> compile.sh:50
 ]
[💥] Cleaning up [ please wait for cleanups to finish ]
[🌿] Unmounting recursively [ SDCARD - be patient ]
[🌱] Unmounted OK after 2 attempt(s) [ SDCARD ]
[🌿] Unmounting recursively [ MOUNT - be patient ]
[🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-1777ddf6-77e5-4225-bf2d-2f8abff527ae.log.ans ]
[🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-1777ddf6-77e5-4225-bf2d-2f8abff527ae.log.ans https://paste.armbian.com/log ]
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines