The check for "unsupported command" was wrong as vcgencmd outputs
that on stderr (which isn't captured), not stdout.
Current RPii0-3 firmwares support the command and report "unknown",
so the whole check can be dropped and we can simply add the output
of the vcgencmd command.
Signed-off-by: Matthias Reichl <hias@horus.com>
Having timestamps with microsecond precision instead of only
seconds makes it easier to analyse timing issues and cross-reference
entries with kodi log (which has millisecond timestamps).
Signed-off-by: Matthias Reichl <hias@horus.com>
/storage/.config/system.d is listed recursively so we also
see contents of .wants and drop-ins etc directories
Signed-off-by: Matthias Reichl <hias@horus.com>
This brings kodi's RES_DESKTOP handling in line with other
windowing systems, kodi's default is now the mode configured
prior to kodi startup.
Signed-off-by: Matthias Reichl <hias@horus.com>
default to settings from old gbm.xml: enable drmprime decoding
with default direct-to-plane rendering and show drmprime and
keyboard settings.
Signed-off-by: Matthias Reichl <hias@horus.com>
Only set DISPLAY or WAYLAND_DISPLAY if actually running under
x11/wayland. This fixes latest kodi gbm refusing to start because
it thinks a window manager is active.
Also set the Nvidia-specific __GL_YIELD only when Nvidia drivers
are actually used and drop SDL_MOUSE_RELATIVE - kodi stopped using
SDL a long time ago.
Signed-off-by: Matthias Reichl <hias@horus.com>
Kodi defaults to require authentication when the webserver is
enabled and as no password is set this results in an annoying
error box on fresh installations.
As neither disabling authentication or pre-setting a well known
password are great options just stop enabling the webserver via
appliance.xml. Users can enable it and choose authentication options
if they like via settings.
Signed-off-by: Matthias Reichl <hias@horus.com>
giflib support was dropped in kodi 17 (only texturepacker on
buildhost still needs giflib).
See https://github.com/xbmc/xbmc/pull/9055
Signed-off-by: Matthias Reichl <hias@horus.com>