Posts: 10
Joined: Jan 2020
Reputation:
0
Had Kodi 18.7 running of my R4 for a while. I run it as a service. Yesterday on a reboot the Kodi main screen did not display. I heard the startup sound but no screen and the desktop is locked from any interaction. Its like its on another monitor but only have TV connected on HDMI .
Going through SSH do a sudo systemctl stop kodi.service and it stops and Desktop is released. Then do sudo systemctl start kodi.service and its start fine just as of old. It only screws up on boot
Posts: 10
Joined: Jan 2020
Reputation:
0
Folks I have done as I was asked providing the logs I would really appreciate any help
Posts: 10
Joined: Jan 2020
Reputation:
0
I am certainly not demanding , just desperate . I have also tried deleting guisettings.xml just to see if this helps. It doesnt . Also noticed on the Display settings I have no option for Display Mode in any level of settings (Basic - Expert)
Posts: 10
Joined: Jan 2020
Reputation:
0
OK have fond this is an issue with kodi-standalone. If I run this from a terminal it locks the system up and no Kodi main meu screen
Posts: 10
Joined: Jan 2020
Reputation:
0
Should have finsished typing sorry folks. So I am using a service like this
[Service]
User = pi
Group = pi
Type = simple
ExecStart = /usr/bin/kodi-standalone
Restart = always
RestartSec = 15
[Install]
WantedBy = multi-user.target
This used to work fine
Reading up on kodi-standalone didnt realize this was done for systems without desktop. So will try with kodi instead of kodi-standalone
Posts: 1,010
Joined: Sep 2014
Reputation:
102
asavah
Posting Freak
Posts: 1,010
Kodi on pi runs on gbm (directly on drm driver sort of) while desktop runs on X11.
Both need exclusive access to the gpu.
On raspios when you start kodi via menu/.desktop file there is some hacky magic that happens in the script to allow kodi to run, which does not happen when you start kodi-standalone via sd unit.
Check the file /usr/bin/kodi - it's a custom script shipped by raspios package maintainers, the magic happens there.
Actual binaries are in /usr/lib/kodi/
Does kodi work if you launch it via desktop menu?
Anyway this issue is distro specific and you may have better chance of getting an answer or a workaround on on official rpi forums.