Commit graph

13 commits

Author SHA1 Message Date
Matthias Reichl
cc8c6c628f kodi: move environment variables in systemd unit to environment file
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>
2020-10-14 15:56:41 +02:00
MilhouseVH
67fe7002d4 kodi: adapt ALSA/PULSE for PR16913 2019-12-09 21:10:10 +00:00
Matthias Reichl
c0af07f97d kodi: give kodi enough time to properly shut down
The current stop timeout of 5 seconds is way too low and
leads to systemd frequently killing kodi while it's still
shutting down. This is really bad since it can potentially
lead to corrupted files or databases and should be avoided
at all costs.

eg plain kodi 18.4 setup with only pvr.hts installed takes
about 6 seconds to stop on RPi4.

Increase the stop timeout to 30 seconds to allow proper shutdown
on slower systems.

While that is still a lot lower than the 90 seconds
systemd default it should both be enough for very slow systems
and also for us and users to notice kodi issues - in which case
those issues have to be investigated.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 14:16:16 +02:00
CvH
31a943b161
Merge pull request #2232 from lrusak/wayland
wayland support
2017-12-18 18:52:20 +01:00
Lukas Rusak
f06b0c2fcb
kodi: allow building with DISPLAYSERVER=weston 2017-12-16 10:17:49 -08:00
MilhouseVH
03a4cd0cec kodi-config: detect boot loop, start clean 2017-12-14 17:58:59 +00:00
MilhouseVH
54634cf062 kodi: cleanups 2016-08-22 13:30:46 +01:00
MilhouseVH
e4657748c1 nvidia: Enable USLEEP to reduce CPU load while rendering 2016-05-25 18:31:52 +01:00
Lukas Rusak
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01:00
Lukas Rusak
0ac03dde6c kodi: use connmand-wait-online and rework service dependencies 2016-02-03 11:29:49 +01:00
Stefan Saraev
be8d1c810c kodi: run via wrapper. dump a crashlog on SEGV whenever possible 2015-01-04 00:10:13 +02:00
Stephan Raue
7a2aad669a kodi: set LimitNOFILE to 16384, to make mythtv pvr addon happy
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-11-29 21:59:56 +01:00
Stephan Raue
2810c70421 [xbmc-rebrand] xbmc: move to package 'kodi'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-21 12:31:34 +02:00
Renamed from packages/mediacenter/xbmc/system.d/kodi.service (Browse further)