kodi does not start after apt-get update/upgrade at Rpi4b with Raspberry OS
#1
Hello,

I have 2 RaspberryPi devices,

- one rpi4 with Raspbian Buster, Tvheadend server working with the Raspberry TV HAT, and Kodi with the Tvheadend client addon,

- the 2nd is a rpi3 with Raspian Buster, Kodi with a Tvheadend client addon, looking at the Tvheadend server at the rpi4, and a Hyperion Ambilight control.

The Tvheadend was not in the kodi addon repository, but I could install it from the Raspbian desktop gui, so I assume it is a legal addon.
Both devices were running quite good, but with artefacts looking TV using kodi at the rpi3.
Yesterday (Feb. 5th, 2021) I made a system upgrade before installing tcpdump at the rpi3 to solve a problem in the communication of both devices.
Now starting TV live view at the kodi/rpi3 there comes audio, the first frame of the video strem is shown, but freezes. After some seconds comes a circle in the middle of the screen, showing progress "bar" from 0 to 100. Sometimes after this nothing more happens, sometimes the screen turns to black and no reaction on hmi inputs.

So I am asking for help, at first: is kodi supported here under raspbian at all?
And 2nd, if the answer to question 1 is "yes", can somebody help me to solve my problem.

A crashlog of kodi is here. I have no experience to understand it.
Reply
#2
Hello,

to verificate a problem I have on a Raspberry 3b+ described above I also made an apt-get update/upgrade at my rpi4 today (Feb.. 6th, 2021) with the result that kodi here does not start anymore at all on this device. There comes a black screen, the trial to stop kodi (sudo systemctl stop kodi) gives the answer Failed to stop kodi.service: Unit kodi.service not loaded.
The command "sudo killall kodi" also makes no change, the black screen remains and I am forced to reboot the raspi via ssh.

Yesterday before I could make the update there came the reply
Quote:pi@Raspi3:~ $ sudo apt-get update Fehl:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
so I think there were a lot of changes... maybe some things between buster and kodi do not match anymore and it can't start?
Reply
#3
In Linux pvr addons are distributed in separate packages rather than via addon repos so yes your addon is legal.

It sounds like an issue with your network.
Reply
#4
Same issue here, after updating today!
Now starting TV live view at the kodi/rpi3 there comes audio, the first frame of the video strem is shown, but freezes. After some seconds comes a circle in the middle of the screen, showing progress "bar" from 0 to 100. Sometimes after this nothing more happens, sometimes the screen turns to black and no reaction on hmi inputs.
I experience exactly that after playing 1440p movies, it doesn't happen to any other movie I've tried (2 others, yeah, not many but...), all locally. I couldn't find anything useful in the logs, so I don't know what is the issue, if audio, video or what
Reply
#5
(2021-02-06, 21:09)bluzee Wrote: In Linux pvr addons are distributed in separate packages rather than via addon repos so yes your addon is legal.

It sounds like an issue with your network.

Hi Bluzee,
the network is working, I checked it with tcpdump and I've seen more than thousand of packeges in shortest time while the picture was frozen and they were looking like video-data. But only the 1st frame is shown as frozen picture.
Reply
#6
The Pi3 hevc issue sounds like this: https://github.com/raspberrypi/linux/issues/4112
Reply
#7
(2021-02-08, 15:25)popcornmix Wrote: The Pi3 hevc issue sounds like this: https://github.com/raspberrypi/linux/issues/4112

ah yes, thanks! looks like being fixed

totally offtopic, does anyone knows more or less when will new updates of kodi be released in the raspbian repo?
Reply
#8
(2021-02-08, 15:25)popcornmix Wrote: The Pi3 hevc issue sounds like this: https://github.com/raspberrypi/linux/issues/4112

Thank you for the hint. The same error message like mentioned there is shown in my crashlog referred to in #1
Reply
#9
issue update
today I made an installation of smb with the 5.4. kernel.
Starting kodi later kodi again does not appear at the screen, but sure it works. Somehow occasionally I started a TV program, and the TV screen appeared. Stopping TV again brought a black screen.
From a putty terminal I cold killall kodi, but not kodi.bin.v8. Even kill -9

> pi@Medienserver:~ $ sudo killall kodi.bin_v8
> pi@Medienserver:~ $ ps -A | grep kodi
>  2819 tty1     00:03:43 kodi.bin_v8
> pi@Medienserver:~ $ sudo kill -9 2819
> pi@Medienserver:~ $ ps -A | grep kodi
>  2819 tty1     00:03:49 kodi.bin_v8 <defunct>

has only the result above.
Once started I can terminate kodi - blind - pressing "up" and twice "ret", like I would do it seeing the screen.

So it seems not to be a problem of kernel 5.10, but maybe somehow related to the installation of a new software.

kodi.logs and dmesg are from the actual situation:
dmesg     https://paste.kodi.tv/ahedigikis.kodi
kodi.log    https://paste.kodi.tv/yuqedefose.kodi
kodi_crashlog   https://paste.kodi.tv/ekiqusikel.kodi
Kodi 18.7 on Raspberry Pi 3B+ @ Raspberry OS buster| Kodi 18.7 on Raspberry Pi4B @ Raspberry OS buster
Reply
#10
2021-02-17 20:25:32.860 T:2973235232 NOTICE: Disabled debug logging due to GUI setting. Level 0.

Enable debugging via the advancedsettings.xml file with loglevel 1 if you want detailed log files for troubleshooting.
Reply
#11
attached is the new kodi.log, but something strange happend:
Yesterday, later after my post I tried a kernel downgrade with the result that the system crashed at all, it was not booting anymore.
So I took a backup I made when everything was working well and played it back to my SD-card.
Now when I start kodi again, I have the same error with the black screen without doing anything else before starting kodi. Hardware has no changes. I do not expect that someone understands this but I add the information for completeness.
kodi.log:   https://paste.kodi.tv/ijotidotak.kodi
Kodi 18.7 on Raspberry Pi 3B+ @ Raspberry OS buster| Kodi 18.7 on Raspberry Pi4B @ Raspberry OS buster
Reply
#12
You probably have a damaged sdcard or a corrupted backup.
Reply
#13
This seems suspect to me:
Quote: 
2021-02-18 11:01:09.238 T:2972878880   DEBUG: EGL Debugging:
                                            Error: EGL_BAD_SURFACE
                                            Command: eglSwapBuffers
                                            Type: EGL_DEBUG_MSG_ERROR_KHR
                                            Message: dri2_swap_buffers
2021-02-18 11:01:09.431 T:2972878880   DEBUG: CRBP::OpenDisplay device:0 m_display:10029560 (0)
Reply

Logout Mark Read Team Forum Stats Members Help
kodi does not start after apt-get update/upgrade at Rpi4b with Raspberry OS0