i foudn a fix for me and i dont have the issue anymore - no manual power restarts needed. all i did is:
Device: GL.iNet GLKVM RM1 (Comet)
Firmware: V1.8.2 beta0 (glkvm-RM1-1.8.1-0206-1770368458.img)
Issue 1: GUI loads to 99% then times out
The main kvmd service crashes on startup with ModuleNotFoundError: No module named 'numpy'. The new ASR (speech recognition) feature imports numpy, but it's not included in the firmware.
Fix: Create a minimal numpy stub module:
mkdir -p /usr/lib/python3.12/site-packages/numpy
cat > /usr/lib/python3.12/site-packages/numpy/init.py << 'EOF'
"""Minimal numpy stub for kvmd asr module."""
import array as _array
import struct as _struct
int16 = "int16"
class _ndarray:
def init(self, data, dtype=None):
self._data = data
self._dtype = dtype
def reshape(self, *args):
return self
def len(self):
return len(self._data)
def iter(self):
return iter(self._data)
def getitem(self, key):
return self._data[key]
def frombuffer(buffer, dtype=None):
if dtype == int16:
count = len(buffer) // 2
values = list(_struct.unpack(f"<{count}h", buffer))
return _ndarray(values, dtype=dtype)
return _ndarray(list(buffer), dtype=dtype)
def array(obj, dtype=None):
return _ndarray(list(obj), dtype=dtype)
def zeros(shape, dtype=None):
if isinstance(shape, int):
shape = (shape,)
size = 1
for s in shape:
size *= s
return _ndarray([0] * size, dtype=dtype)
EOF
Issue 2: No HDMI signal / video stream
The streamer crashes with KeyError: 'venc_mode'. The config main.yaml uses {venc_mode} as a template variable, but the Python code doesn't define it.
Fix: Replace the template variable with the default value:
sed -i 's/{venc_mode}/smart/g' /etc/kvmd/main.yaml
After both fixes, restart kvmd:
/etc/init.d/S98kvmd stop; sleep 2; /etc/init.d/S98kvmd start