diff --git a/docs/diagnostics/video-gles-local-edge-2026-09-20.md b/docs/diagnostics/video-gles-local-edge-2026-09-20.md new file mode 100644 index 0000000..68c6ce8 --- /dev/null +++ b/docs/diagnostics/video-gles-local-edge-2026-09-20.md @@ -0,0 +1,27 @@ +# Local Edge video diagnosis and correction — 2026-09-20 + +Device: g-box-8e6af561, 192.168.0.109; client 4.410.126. + +## Evidence + +The downloaded IMG_7404 MOV is H.264 High Profile, 720×1280 at 30 fps, duration 21.9667 seconds. gst-discoverer reads it successfully; a qtdemux → h264parse → mppvideodec → fakesink pipeline exits 0. + +The running client repeatedly logged No EGL Display and Internal data stream error. Its mapped libraries included desktop libQt5Gui, the GLX integration and Mesa swrast, alongside the Rockchip OES video plugin. APT history records that installing Qt development packages on 2026-08-29 removed libqt5gui5-gles and installed desktop libqt5gui5. The stage installer preserved that desktop stack, so reinstalling did not correct the video renderer. + +Setting xcb_egl alone with desktop Qt failed (Cannot find EGLConfig). Running the same file in an isolated probe with the Git-provided GLES QtGui succeeded: GL_VENDOR ARM, GL_RENDERER Mali-G52, OpenGL ES 3.2, OES renderer 720×1280 and advancing playback positions. Captured frames contained the video. + +## Correction + +stage_itscreen now extracts the existing Git-catalogued QtGui GLES and QtQuick GLES packages into a private /opt/itscreen/qt-gles runtime. git_delivery.fetch verifies the pinned hashes; temporary package archives are removed. itscreen-run selects those libraries/plugins and xcb_egl. The host Qt SDK is preserved. Runtime replacement renames directories rather than overwriting mapped library files; one prior runtime can be retained for rollback. + +Applied the same installer functions to this local Edge, saved /usr/local/bin/itscreen-run.bak-video-20260920, and restarted only itscreen-x11. The application maps private QtGui/QtQuick and xcb-egl; no swrast is mapped. Actual model screenshots show different video frames. After restart, both No EGL Display and Internal data stream error counts are zero in the inspected log interval. + +Validation: bash -n and existing Qt stack selection tests pass; actual-device decode, EGL probe and model playback succeed. No model content or registration was changed. This task has not published a new Git release or stage version; the installer correction is local source plus the tested local Edge hotfix. + +Qt reference: https://doc.qt.io/qt-6.5/qtwaylandcompositor-index.html (explicit QT_XCB_GL_INTEGRATION=xcb_egl selection). + +Publication follow-up: the installer correction and client 4.410.135 were published +as stage_itscreen 1.0.6, commit 30f8e2c. After forcing the existing Console version +check on 192.168.0.109, /api/health/services reports current=1.0.5, +latest=1.0.6, status=update_available and can_install=true. No stage installation +was triggered by that verification.