🛠 GPU Mali-450 (lima) et vidéo sur Le Potato : ce qui marche vraiment

Libre Computer Amlogic boards — libre-amlogic (flagship: Le Potato AML-S905X-CC) · avance · Schéma : IMG-libre-amlogic-avance-2-libre-amlogic-avance-acceleration-video-gpu.svg — Le Potato AML-S905X-CC : Mali-450 MP5 accéléré par le pilote mainline lima (OpenGL ES 2 via /dev/dri), décodage vidéo matériel non garanti sous mainline (décodeur logiciel à prévoir).

Objectives

Leverage the Mali-450 MP5 GPU of the S905X under mainline Linux with the open-source lima driver (OpenGL ES 2 via Mesa), and understand what the board can actually display in video: HDMI 2.0 4K/60 for the interface, but no guaranteed hardware decoding.

Hardware

Complete code

# 1) Verifier la presence du GPU mainline
ls /dev/dri/ 2>/dev/null
sudo dmesg | grep -i lima        # « lima 1000000.gpu » attendu

# 2) Installer la pile Mesa/lima et tester
sudo apt install mesa-utils-extra libegl1 libgles2
glmark2-es2                      # benchmark OpenGL ES 2

# 3) Lecture video : planifier un decodage LOGICIEL sous mainline
ffmpeg -hide_banner -hwaccels    # pas d'acceleration V4L2 Meson attendue
mpv --vo=gpu --gpu-context=drm --hwdec=no video.mp4

# 4) Pour du 4K fluide : passer par LibreELEC AMLGX ou CoreELEC
#    (leurs builds utilisent la pile video propre au projet)

Expected verification

dmesg shows the initialization of the lima driver and /dev/dri/renderD128 exists; glmark2-es2 returns a score of a few hundred points. When playing 1080p video under Armbian, CPU load remains high (htop) — a sign of software decoding.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials