Qt Quick / QML Scene Graph, Wayland/DRM-KMS, Multimedia & Industrial HMI

For: Embedded Linux, graphics, and HMI architects shipping 60 fps Qt Quick and touch-launcher appliances

Ship tear-free Qt Quick 6 and touch-swipe embedded HMIs across qmlsc C++20 models, QRhi scene graphs, eglfs_kms/linuxfb/Wayland QPA stacks, QtMultimedia audio/video pipelines, and hardware watchdog quorums.

18 lessons6 labs~15h 30mLinux 6.12Course 3 of 4 · Scene Graph, Display QPA, QtMultimedia & Watchdog HMI

What you'll build

lab m0175 min

Reactive Property-Binding DAG, Deadband Coalescer & Cycle Guard Engine

Eliminate V4 JIT cold-start latency on Cortex-A7 with qt_add_qml_module and qmlsc ahead-of-time C++ compilation, maintain cycle-free reactive property-binding DAGs, and expose FINAL C++20 domain models via QML_ELEMENT with deadband signal coalescing.

learner@ksa: ~/gl-q03/lab-m01
learner@ksa:~/gl-q03/lab-m01./files/lab_cliDAG rpm=4500 -> deg=202.5 | manual_unbind=90.0 | rebound=270.0 | cycle_rejected=1learner@ksa:~/gl-q03/lab-m01
lab m0275 min

Kinetic Swipe Launcher Pager & ListView Delegate Viewport Pool

Engineer kinetic multi-page touch-swipe app launchers in both declarative SwipeView (QtQuick.Controls.Basic) and custom C++20 SlidePage physics, recycle 100,000-row ListView delegates via reuseItems and sized cacheBuffers, and run 60 Hz render-thread Animators.

learner@ksa: ~/gl-q03/lab-m02
learner@ksa:~/gl-q03/lab-m02./files/lab_cliSwipeLauncher: page=2 scroll_x=1600 dot2=1 | Pool: warm_allocs=21 post_allocs=0 reuses=529learner@ksa:~/gl-q03/lab-m02
lab m0380 min

Scene-Graph Sync Barrier, QRhi Batch Planner & Frame-Budget Auditor

Synchronize QSGNode trees safely across updatePaintNode() on threaded GPU loops and QT_QUICK_BACKEND=software partial-dirty-rect Cortex-A7 panels, maximize QRhi batching without clip: true fragmentation, and bake offline .qsb shaders inside 16.67 ms budgets.

learner@ksa: ~/gl-q03/lab-m03
learner@ksa:~/gl-q03/lab-m03./files/lab_cliFragmented (clip:true): draws=72 est_us=13706 ok60=0 | Optimized (atlas): draws=3 est_us=1286 ok60=1learner@ksa:~/gl-q03/lab-m03
lab m0480 min

QPA Scanout Auditor, GBM Atomic Swapchain & Type-B Affine Touch Controller

Select and configure linuxfb, eglfs_kms, and Wayland QPA backends on Linux 6.12, enforce tear-free DRM atomic page flips with EBUSY guards, and calibrate evdev Protocol Type B and tslib touchscreens.

learner@ksa: ~/gl-q03/lab-m04
learner@ksa:~/gl-q03/lab-m04./files/lab_cliQPA_BW linuxfb_rgb565_MBps=46.08 eglfs_xrgb8888_MBps=245.76GBM_SWAP rc1=0 rc_second_pre_vblank=-16 flips=1TOUCH_ROT90 active=1 slot0_px=0,320learner@ksa:~/gl-q03/lab-m04
lab m0580 min

ALSA XRUN Ring, V4L2 NV12/YUYV Lease Pool & PCM dBFS/WAV Coordinator

Deliver sub-15 ms QSoundEffect alerts, state-driven QMediaPlayer audio/video playback, bandwidth-aware NV12/YUYV QVideoSink rendering, and S16_LE PCM QAudioSource capture with dBFS peak metering.

learner@ksa: ~/gl-q03/lab-m05
learner@ksa:~/gl-q03/lab-m05./files/lab_cliV4L2_POOL shown_epoch=2 free_slots=4 nv12_720p30_MBps=41.47ALSA_XRUN xruns=1 post_prime_ok=1CAPTURE_WAV dbfs=0.00 clips=1 riff_sz=64036learner@ksa:~/gl-q03/lab-m05
lab m0690 min

Capstone: Fault-Tolerant C++20 HMI Reducer, Offline Spool & Watchdog Quorum

Architect unidirectional C++20 HMI state stores with immutable snapshots, monotonic command sequence IDs, and bounded offline spooling, couple /dev/watchdog keepalives to worker and frameSwapped() liveness quorums, and enforce sub-1.5 s cold boot and offscreen CI pixel regression gates.

learner@ksa: ~/gl-q03/lab-m06
learner@ksa:~/gl-q03/lab-m06./files/lab_cliSUPERVISOR state=2 replayed_after_outage=3 dropped_oldest=2WATCHDOG keepalives=6 withheld=4 reset_on_ui_hang=1learner@ksa:~/gl-q03/lab-m06

Syllabus

gl-q03/

  • m01/ QML Engine, Reactive Binding DAGs & QML_ELEMENT Bridges

    Eliminate V4 JIT cold-start latency on Cortex-A7 with qt_add_qml_module and qmlsc ahead-of-time C++ compilation, maintain cycle-free reactive property-binding DAGs, and expose FINAL C++20 domain models via QML_ELEMENT with deadband signal coalescing.

  • m02/ Touch-Swipe App Launchers, Controls 2 & ListView Delegate Pooling

    Engineer kinetic multi-page touch-swipe app launchers in both declarative SwipeView (QtQuick.Controls.Basic) and custom C++20 SlidePage physics, recycle 100,000-row ListView delegates via reuseItems and sized cacheBuffers, and run 60 Hz render-thread Animators.

  • m03/ Scene Graph (QSGNode), QRhi Batching & Software Adaptation

    Synchronize QSGNode trees safely across updatePaintNode() on threaded GPU loops and QT_QUICK_BACKEND=software partial-dirty-rect Cortex-A7 panels, maximize QRhi batching without clip: true fragmentation, and bake offline .qsb shaders inside 16.67 ms budgets.

  • m04/ Embedded Linux QPA: linuxfb, eglfs_kms, Wayland & Multi-Touch

    Select and configure linuxfb, eglfs_kms, and Wayland QPA backends on Linux 6.12, enforce tear-free DRM atomic page flips with EBUSY guards, and calibrate evdev Protocol Type B and tslib touchscreens.

  • m05/ QtMultimedia: Sound Effects, Music/Video Players & PCM Capture

    Deliver sub-15 ms QSoundEffect alerts, state-driven QMediaPlayer audio/video playback, bandwidth-aware NV12/YUYV QVideoSink rendering, and S16_LE PCM QAudioSource capture with dBFS peak metering.

  • m06/ Industrial HMI Architecture, Hardware Watchdog & Release Gates

    Architect unidirectional C++20 HMI state stores with immutable snapshots, monotonic command sequence IDs, and bounded offline spooling, couple /dev/watchdog keepalives to worker and frameSwapped() liveness quorums, and enforce sub-1.5 s cold boot and offscreen CI pixel regression gates.

Prerequisites

  • requiredGL-Q01 and GL-Q02 (or equivalent): ISO C++20 RAII, QObject meta-object dispatch, worker-thread affinity, and non-blocking Linux I/O
  • requiredWorking familiarity with Linux DRM/fbdev display, evdev multi-touch, ALSA/V4L2, and watchdog device nodes
  • Bridged in M1–M3Bridges declarative QML property-binding DAGs, SwipeView/custom gesture app launchers, and QML_ELEMENT C++20 models to QRhi/QSGNode scene-graph batching (Modules 1–3)
  • Bridged in M4–M6Maps eglfs_kms/linuxfb/Wayland QPA backends, multi-touch calibration, QtMultimedia audio/video playback & capture, and watchdog-supervised industrial HMIs (Modules 4–6)

Series map

  1. GL-Q01Modern C++20 Foundations, QObject Meta-Object Internals & Qt 6 Widgets — C++20 RAII/move & ownership, CMake AUTOMOC, moc QMetaObject dispatch, event loops/timers, box/grid layouts, Model/View roles, QPainter & QTest
  2. GL-Q02Qt 6 Threads, Network/Serial/CAN Buses, SQLite WAL & Cross-Target Packaging — GUI-thread affinity, worker moveToThread & SPSC rings, QTcpSocket/QUdpSocket/HTTP, sysfs/gpiod/evdev/PWM, QSerialPort/SocketCAN, SQLite3 WAL & CMake sysroots
  3. GL-Q03Qt Quick / QML Scene Graph, Wayland/DRM-KMS, Multimedia & Industrial HMI — QQmlApplicationEngine & QML_ELEMENT bindings, Controls 2/SwipeView/ListView pooling, QSGNode/QRhi batching, eglfs_kms & Wayland QPA, V4L2/ALSA & watchdog HMI this course
  4. GL-Q04Embedded OpenCV 4 Vision, USB Bluetooth, Voice/IoT & Video Surveillance Projects — ARMv7 NEON OpenCV 4 cross-builds & YUYV camera capture, BlueZ QtBluetooth RFCOMM, Smart-Home IoT gateways, 16 kHz WAV ASR, License-Plate OCR & UDP video streaming

Related live cohorts: EMB-201 · ARM Board Bring-Up: TF-A, U-Boot & Kernel (live cohort) DRV-120 · Linux Device Drivers (live cohort)

Companion formats

Slide deck

16:9 review slides with terminal listings, diagrams, and speaker notes.

Reference handbook

Printable HTML and PDF engineering reference covering every module and UAPI.

Flashcards

Leitner spaced-repetition terminal cards and TSV deck for syscalls, flags, and pitfalls.

Kernel Systems Academy engineering studio

Every Kernel Systems Academy course follows our 35% principles / 20% guided investigation / 45% engineering studio pedagogy. Listings are compiled against Linux 6.12 under strict compiler flags (-Wall -Wextra -Werror), and each module culminates in an evidence-checked lab graded locally by ./check.sh.

Frequently asked questions

Can I study this course offline from disk?

Yes. All fonts, stylesheets, diagrams, search indexes, and progress trackers use relative paths and local browser storage, so the bundle works identically over HTTP and file://.

How are the hands-on labs graded?

Each lab directory includes starter source files and an executable ./check.sh runner emitting TAP version 13 diagnostics (ok / not ok) and exiting 0 when every check passes.

What is included in the free preview?

Preview lessons and the opening module lab are unlocked in full so you can inspect our C11 listings, strace transcripts, and ./check.sh workflow before subscribing.

search — fzf

0/0 ───────────────────────────────────────────

keyboard shortcuts — less

/
search
f
focus mode
[
previous
]
next
?
help
Esc
close

figure