2.5.0 REGRESSION: LT6911UXC stalls before VPSS (VIFPS=0); not HDMI, EDID, or HTTPS
Summary
App 2.5.0 introduces a reproducible capture regression on an SG2002 NanoKVM with /etc/kvm/hw=beta and LT6911UXC (/etc/kvm/hdmi_version=ux). The HDMI source remains correctly detected at 1920×1080@60, CSI start-of-frame interrupts continue, but the VI front end stalls and VPSS receives no buffers.
This is not “no HDMI signal.” It is a VI/ISP → VPSS pipeline failure introduced by the application update. Displaying “No HDMI signal detected” hides the actual failure and sends users toward irrelevant cable, HTTPS, image, and EDID advice.
For an out-of-band management device, shipping a preview update that silently breaks the video path while leaving the UI alive is not acceptable.
Exact environment
- NanoKVM: SG2002,
/etc/kvm/hw=beta - Capture chip: LT6911UXC,
/etc/kvm/hdmi_version=ux - System image:
/boot/ver = 2025-04-17-14-21-98d17d.img - Known-good app immediately before update: 2.4.3
- Broken app: 2.5.0
- HDMI source: Intel N100 iGPU, Ubuntu 24.04 LTS
- Host DRM status after the failure:
- connector:
connected - mode:
1920x1080 - EDID SHA-256:
9d989c46655c2cd675a1bd41685970260dc14b477c650cab90d0530936a85b3d
- connector:
No cable, source, EDID, image, or hardware setting changed. Only the NanoKVM app was updated.
Fresh device evidence
NanoKVM correctly identifies the input:
VIOutImgWidth : 1920
VIOutImgHeight : 1080
VIInImgWidth : 1920
VIInImgHeight : 1080
VIDevFPS : 60
VIFPS : 0Two samples taken seconds apart:
BEFORE
VIFPS : 0
VISofCh0Cnt : 40288
VIPreFECh0Cnt : 32
AFTER
VIFPS : 0
VISofCh0Cnt : 40469
VIPreFECh0Cnt : 32This is unambiguous:
- CSI start-of-frame interrupts are still arriving (
VISofCh0Cntincreases). - The VI front end stalls almost immediately (
VIPreFECh0Cntremains 32). - No frames are delivered (
VIFPS=0). /kvmapp/kvm/now_fpsis0.
The kernel then reports this every second:
base_get_chn_buffer:262(): Mod(VPSS) Grp(0) Chn(0), jobs wait(0) work(0) done(0)VPSS is alive but receives no frame buffers. The failure occurs before H.264 encoding and before any browser transport or decoding.
There is no /etc/kvm/hdmi_mode override and no /etc/kvm/hdmi_idle_timeout; the idle timeout therefore uses the default disabled value. This is not an idle-shutdown configuration issue.
Why the previously suggested advice is not a fix
The advice in #869 was:
- Flash image v1.4.3, then install App 2.5.0.
- Try HTTPS.
- Rewrite EDID and reboot.
None of these addresses this failure:
- v1.4.3 officially bundles App 2.4.3. This exact device already ran 2.4.3 successfully on the current image. Reinstalling 2.5.0 puts the broken capture stack back.
- HTTP versus HTTPS cannot change kernel
VIFPS, VI front-end counters, or VPSS buffer delivery. - EDID negotiation is already successful: both the host and NanoKVM report 1920×1080@60, and CSI SOF interrupts are arriving. Rewriting a working EDID only adds risk and noise.
The reporter in #869 did not confirm that this advice worked. They explicitly said they would try it later; the issue was then closed without a verified fix. #875 subsequently documented the same LT6911UXC signature and challenged the image advice.
Please do not treat #869 as resolved evidence.
Code-level regression window
The working and broken tags are:
- 2.4.3:
3b2ba7c0c1214f44da9d328f90bbdd025fac0413 - 2.5.0:
40bbeab8ae7114774e577f569e5f17d551cd9378
The strongest code-level suspect is c999a88 (perf(sg2002): integrate zero-copy H.264 capture), which changes the actual MMF/VI/VPSS frame path:
- defers VI frame ownership and release;
- passes mapped VPSS frames directly to VENC;
- changes VPSS channel FPS from 30 to 60;
- changes ION/ISP startup cleanup behavior.
b587b9f then changes HDMI capture lifecycle and, critically, changes mmf_vi_init / camera-open failure handling from raising an error to logging and continuing. That can leave the web server healthy while the capture pipeline is dead, which matches the observed behavior.
The later direct-H.264 WebSocket flow-control work cannot explain VIFPS=0; the failure is already present in VI/VPSS before WebSocket or browser code runs.
The exact first-bad source line still requires a hardware bisect of the capture-path commits. The failed subsystem, first-bad released version, and relevant commit window are already demonstrated by the counters above.
Exact application binary fingerprints
Broken 2.5.0:
NanoKVM-Server 0a033296a1bdeb36e8cdd2a44778c2e84ca6d8257eb56e4a9566e50bd6e22d7e
libkvm.so 9d7759a4c3bac2e4c65d5b25aa044c4218b00472523a5d9203599ca30b72c665
libkvm_mmf.so f98580884c4f2513d25530c65d6935a5d5eea492754d150eed2bf5eeee90ffb0
kvm_system c6c7b21edcf4cc62634a5ae9908f291b7cd07f36cc7b14f277a4c6d1d9742f72Updater-preserved 2.4.3 backup:
NanoKVM-Server baf1bccfcb9300806bfb39aa567901dc1962e13788c24631c04d35412ec7ce3c
libkvm.so b88a788285f872b2dd1b366e583828aa01552ce4300797ee549aa9b9ec71cf1e
libkvm_mmf.so b4c14aa7ca6311036662ea3f134ae9e958c62ae2a64584168bfea848e30026e7
kvm_system 59b10ee6e5329d13c7cc6b4ef0a5013c741f37361c9fb680e588fb7efd4ddcb0Required action
Please:
- Reopen or explicitly correct #869; it was closed without a verified fix.
- Stop offering App 2.5.0 to
hw=beta/hdmi_version=uxdevices until this is fixed, or add an update compatibility gate. - Bisect the SG2002 capture-path commits on real LT6911UXC hardware and publish fixed
libkvm.so/libkvm_mmf.soartifacts. - Fail loudly when VI/VPSS initialization fails instead of continuing with a healthy-looking UI and a dead capture pipeline.
- Report this state as “VI capture pipeline stalled,” not “No HDMI signal.”
- Publish an official app-only rollback procedure. Flashing the entire image and rewriting EDID are not appropriate first-line recovery steps for this failure.
Related: #869, #875
Source: sipeed/NanoKVM