kodi interface do not start if my screen is off
#1
hi everybody,

I use kodi on my RPI4 with archlinuxarm. All work perfectly, except when i restart kodi service with systemd
Code:
systemctl restart kodi
lines 1-11/11 (END)...skipping...
● kodi.service - Kodi standalone (GBM)
     Loaded: loaded (/usr/lib/systemd/system/kodi.service; enabled; preset: disabled)
     Active: active (running) since Mon 2024-04-01 11:57:13 CEST; 17min ago
   Main PID: 32348 (kodi-standalone)
      Tasks: 0 (limit: 4915)
        CPU: 17ms
     CGroup: /system.slice/kodi.service
             ‣ 32348 /bin/sh /usr/bin/kodi-standalone

avr 01 11:57:13 rpi4 systemd[1]: Started Kodi standalone (GBM).
avr 01 11:57:13 rpi4 (andalone)[32348]: pam_unix(loginConfusedession): session opened for user kodi(uid=967) by kodi(uid=0)

So, i have no error message, kodi seem to be running,  i can acces to it with firefox... but on my 1920x1080p screen, when i turn on my TV screen, kodi did'n start.

So my problem is that i must turn on my screen to start kodi without problem, and that i want it to start kodi when it is turned off. :/
Reply
#2
(2024-04-01, 12:19)PowaBanga Wrote: hi everybody,

I use kodi on my RPI4 with archlinuxarm. All work perfectly, except when i restart kodi service with systemd
Code:
systemctl restart kodi
lines 1-11/11 (END)...skipping...
● kodi.service - Kodi standalone (GBM)
     Loaded: loaded (/usr/lib/systemd/system/kodi.service; enabled; preset: disabled)
     Active: active (running) since Mon 2024-04-01 11:57:13 CEST; 17min ago
   Main PID: 32348 (kodi-standalone)
      Tasks: 0 (limit: 4915)
        CPU: 17ms
     CGroup: /system.slice/kodi.service
             ‣ 32348 /bin/sh /usr/bin/kodi-standalone

avr 01 11:57:13 rpi4 systemd[1]: Started Kodi standalone (GBM).
avr 01 11:57:13 rpi4 (andalone)[32348]: pam_unix(loginConfusedession): session opened for user kodi(uid=967) by kodi(uid=0)

So, i have no error message, kodi seem to be running,  i can acces to it with firefox... but on my 1920x1080p screen, when i turn on my TV screen, kodi did'n start.

So my problem is that i must turn on my screen to start kodi without problem, and that i want it to start kodi when it is turned off. :/
The fix is to capture the edid of the display to a file, and use that.
Here are instructions to do this with RPiOS.
Arch is probably similar.
Reply

Logout Mark Read Team Forum Stats Members Help
kodi interface do not start if my screen is off0