andrum99
Posts: 1019
Joined: Fri Jul 20, 2012 2:41 pm

Re: [Guide] Kodi on Raspbian Buster

Mon Jan 06, 2020 5:41 pm

Rascas wrote:
Mon Jan 06, 2020 2:08 pm
andrum99 wrote:
Sun Jan 05, 2020 4:21 pm
Hi @rascas. Is it possible to get the systemd script included in the official repo? Or can you possibly explain why it was not included?

Thanks again for your work on this package - it is really helpful to many folk, including me :D
It could be included, it is not because it is not in the original source code. Also if you check the Kodi packages from Ubuntu PPA for x86, that's not included either.
I see. I was just curious why it was in your test builds, but got removed when you built the official version. I will go and fetch if from the test version.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Mon Jan 06, 2020 6:19 pm

andrum99 wrote:
Mon Jan 06, 2020 5:41 pm
Rascas wrote:
Mon Jan 06, 2020 2:08 pm
andrum99 wrote:
Sun Jan 05, 2020 4:21 pm
Hi @rascas. Is it possible to get the systemd script included in the official repo? Or can you possibly explain why it was not included?

Thanks again for your work on this package - it is really helpful to many folk, including me :D
It could be included, it is not because it is not in the original source code. Also if you check the Kodi packages from Ubuntu PPA for x86, that's not included either.
I see. I was just curious why it was in your test builds, but got removed when you built the official version. I will go and fetch if from the test version.
It was never included since I use cmake cpak deb, so more than 3 or 4 years ago at least.

andrum99
Posts: 1019
Joined: Fri Jul 20, 2012 2:41 pm

Re: [Guide] Kodi on Raspbian Buster

Tue Jan 07, 2020 10:38 pm

Rascas wrote:
Mon Jan 06, 2020 6:19 pm
andrum99 wrote:
Mon Jan 06, 2020 5:41 pm
Rascas wrote:
Mon Jan 06, 2020 2:08 pm


It could be included, it is not because it is not in the original source code. Also if you check the Kodi packages from Ubuntu PPA for x86, that's not included either.
I see. I was just curious why it was in your test builds, but got removed when you built the official version. I will go and fetch if from the test version.
It was never included since I use cmake cpak deb, so more than 3 or 4 years ago at least.
Ah, sorry. My mistake. I must have picked it up from someone else's build of Kodi.

C0nvert
Posts: 6
Joined: Fri Jan 10, 2020 5:16 am

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 5:22 am

If I start a 1080p Video on my PI 4 4gb. The Video stutter
I don't know if the debug Infos in Kodi are legit but it shows that my fps drops from 40-12 and goes then sometime up to 60.
If I start a Movie in 4k h264 decoded it stutter even more
Kodi debug show fps between 25 and 8 fps.
Why is that so?

gkreidl
Posts: 6191
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 10:40 am

C0nvert wrote:
Fri Jan 10, 2020 5:22 am
If I start a 1080p Video on my PI 4 4gb. The Video stutter
I don't know if the debug Infos in Kodi are legit but it shows that my fps drops from 40-12 and goes then sometime up to 60.
If I start a Movie in 4k h264 decoded it stutter even more
Kodi debug show fps between 25 and 8 fps.
Why is that so?
Did you enable the MMAL hardware decoder?
But this will only work for videos up to 1080p because that is the limit of the HW decoder.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

C0nvert
Posts: 6
Joined: Fri Jan 10, 2020 5:16 am

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 4:38 pm

gkreidl wrote:
Fri Jan 10, 2020 10:40 am

Did you enable the MMAL hardware decoder?
But this will only work for videos up to 1080p because that is the limit of the HW decoder.
Yes I does.
Maybe I'm doing something wrong. I streamed the same file to my fire TV 2 (4 years old)
Kodi debug shows fps 60
Video info shows: Undetermined (h264, 3840x1608)

Same on rspb
Kodi debug shows fps 24-12
Videoinfo: same as ftv
Lag and stutter , unwatchable

I thought fire TV 2 can't work with h264, 3840x1608, but it seems to work, but on rspb not.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 4:42 pm

C0nvert wrote:
Fri Jan 10, 2020 4:38 pm
gkreidl wrote:
Fri Jan 10, 2020 10:40 am

Did you enable the MMAL hardware decoder?
But this will only work for videos up to 1080p because that is the limit of the HW decoder.
Yes I does.
Maybe I'm doing something wrong. I streamed the same file to my fire TV 2 (4 years old)
Kodi debug shows fps 60
Video info shows: Undetermined (h264, 3840x1608)

Same on rspb
Kodi debug shows fps 24-12
Videoinfo: same as ftv
Lag and stutter , unwatchable

I thought fire TV 2 can't work with h264, 3840x1608, but it seems to work, but on rspb not.
4K h264 won't play good on the Raspberry Pi. The HW h264 decoder on the Pi supports max 1080p, it is on the oficial hardware specifications.

C0nvert
Posts: 6
Joined: Fri Jan 10, 2020 5:16 am

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 5:20 pm

i assumed that too, but why is it than working on my fire tv (2 Gen)?
HW Specs FTV2

Code: Select all

H.265 (HEVC). Hardware accelerated up to 3840x2160p (4K) @ 30fps, 25 Mbps, Main 10 Profile Level 5.0, Color space 8-bit and 10-bit input but just 8-bit output.
H.264. Hardware accelerated up to 1080p @ 30fps or 720p @ 60fps, 20 Mbps, High Profile up to Level 4

The rspb should be the same as ftv2 am i right ?
Rascas wrote:
Fri Jan 10, 2020 4:42 pm
4K h264 won't play good on the Raspberry Pi. The HW h264 decoder on the Pi supports max 1080p, it is on the oficial hardware specifications.
From the rspb Site:

Code: Select all

 H.265 (HEVC) hardware decode (up to 4Kp60)
• H.264 hardware decode (up to 1080p60)
The below attached pic shows the Video i try to play on both devices.
As stated above on my FTV (2 Gen) it works on rspb pi4 not

I can provide you a Log File if you want.
Attachments
Screen Shot 2020-01-10 at 18.12.42.png
Screen Shot 2020-01-10 at 18.12.42.png (87.97 KiB) Viewed 1405 times
Last edited by C0nvert on Fri Jan 10, 2020 5:42 pm, edited 1 time in total.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 5:35 pm

C0nvert wrote:
Fri Jan 10, 2020 5:20 pm
i assumed that too, but why is it than working on my fire tv (2 Gen)?
HW Specs FTV2

Code: Select all

H.265 (HEVC). Hardware accelerated up to 3840x2160p (4K) @ 30fps, 25 Mbps, Main 10 Profile Level 5.0, Color space 8-bit and 10-bit input but just 8-bit output.
H.264. Hardware accelerated up to 1080p @ 30fps or 720p @ 60fps, 20 Mbps, High Profile up to Level 4

The rspb should be the same as ftv2 am i right ?
Rascas wrote:
Fri Jan 10, 2020 4:42 pm
4K h264 won't play good on the Raspberry Pi. The HW h264 decoder on the Pi supports max 1080p, it is on the oficial hardware specifications.
The below attached pic shows the Video i try to play on both devices.
As stated above on my FTV (2 Gen) it works on rspb pi4 not

I can provide you a Log File if you want.
I don't know about Fire TV 2, it has nothing to do with the RPi 4. I can only say that, that file will hardly play good on the RPi 4 (or any other) because it will be software decoded.

C0nvert
Posts: 6
Joined: Fri Jan 10, 2020 5:16 am

Re: [Guide] Kodi on Raspbian Buster

Fri Jan 10, 2020 5:52 pm

Rascas wrote:
Fri Jan 10, 2020 5:35 pm
I don't know about Fire TV 2, it has nothing to do with the RPi 4. I can only say that, that file will hardly play good on the RPi 4 (or any other) because it will be software decoded.
Maybe if we can find out why its working on FTV (2gen) we can reproduce this on the pi 4 cause if you compare the Specs Data Sheets they are really close to each other.
Cause i'm sure the fire tv 2 cant decode 4k h264.
h265 yes
Can i provide you the video file or is it prohibited (copyright issues) it's a Movie in 4k from a russian Server.
maybe you as an expert understand it better, maybe i provide the wrong info..

Kodi Log Files show this:

Code: Select all

Open Android MediaCodec OMX.MTK.VIDEO.DECODER.AVC

C0nvert
Posts: 6
Joined: Fri Jan 10, 2020 5:16 am

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 11, 2020 9:42 am

I found out Omx as HW Decode is not enabled in Kodi.
How do i do this?

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 11, 2020 3:40 pm

C0nvert wrote:
Sat Jan 11, 2020 9:42 am
I found out Omx as HW Decode is not enabled in Kodi.
How do i do this?
OMX is for Pi 3 and below only. It was replaced by MMAL, so even on the older PIs is not recommended to be turned on.

About that video, you could post a sample but I cannot do much. I am not part of the Raspberry Pi Foundation neither a Kodi developer, I only compile and make Kodi packages for Raspbian.
You could try that on the oficial Kodi forum, but I doubt that they can do anything also.

flyingsubs
Posts: 6
Joined: Sun Nov 17, 2019 7:41 pm

Re: [Guide] Kodi on Raspbian Buster

Sun Jan 12, 2020 10:44 pm

Any chance you'll be updating to 18.5? There's an issue with 18.4 where it doesn't leverage the commercial skip files. I don't mean to pressure, just was curious what the plans are or if it's something I could do on my own?

Thank you for the hard work!

-Flyingsubs

bat0nas
Posts: 19
Joined: Wed Jul 17, 2019 8:28 am

Re: [Guide] Kodi on Raspbian Buster

Tue Jan 14, 2020 6:45 pm

UPDATE:
Looks like I've found the workaround. Kodi crashed only when browser is launched. If I close the browser - Kodi starts without crashing.
So.. something in the default Raspberry Pi 4 browser makes Kodi crash.
I don't think I have enough knowledge or competence to debug. But I least there's a workaround :)


UPDATE #2:
Second app which crashes Kodi while running in background - File Explorer.
I did numerous of tests with both Chromium browser and File explorer on and off and can confirm that Kodi crashes are related to those apps running in the background.

------

Hi,
I'm having an issue when Kodi crashes without starting: launch Kodi from Desktop, black screen appears with blinking cursor and then Kodi exits to Desktop without showing Kodi GUI.

Pi4 restart solves the issue. But after the day or two - problem repeats. Makes me wanna schedule Pi4 restart every few hours.

Latest Buster build, default installation and configuration, everything updated, Kodi configured according guide in the first post.
Pi4 resintall didn't help.
The only additional app I installed: samba and java. Java is uses by serviio.

Here's a log file with and error at the end.

Any ideas how to solve that?

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Tue 14 Jan 2020 08:33:44 PM EET
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/pi/core (2020-01-14 20:33:42.600244052 +0200)
        =========================================
[New LWP 24343]
[New LWP 24345]
[New LWP 24350]
[New LWP 24344]
[New LWP 24355]
[New LWP 24354]
[New LWP 24349]
[New LWP 24353]
[New LWP 24347]
[New LWP 24346]
[New LWP 24352]
[New LWP 24348]
[New LWP 24351]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8 --lircdev /var/run/lirc/lircd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0xb136bc60 (LWP 24343))]

Thread 13 (Thread 0xacfff0d0 (LWP 24351)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b480 <dispmanx_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait ([email protected]=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b480 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d044d4 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1c1c0 <dispmanx_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xacfff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xaedfe0d0 (LWP 24348)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaedfd958, expected=0, futex_word=0x2e744cc) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaedfd958, mutex=0x0, cond=0x2e744a0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e744a0, mutex=0x0, abstime=0xaedfd958) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00cefb50 in ActiveAE::CActiveAESink::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaedfe0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xac7fe0d0 (LWP 24352)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1a5f4 <tvservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait ([email protected]=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1a5f4 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d003b0 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1a608 <tvservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xac7fe0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xaffff0d0 (LWP 24346)):
#0  0xb54099d0 in epoll_wait (epfd=<optimized out>, events=0xafffe9d0, maxevents=1, timeout=200) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x006aa65c in CLibInputHandler::Process() ()
#2  0x008725f8 in CThread::Action() ()
#3  0x008734f8 in CThread::staticThread(void*) ()
#4  0xb6f37494 in start_thread (arg=0xaffff0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xaf5ff0d0 (LWP 24347)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaf5fe950, expected=0, futex_word=0x2e73f10) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xaf5fe950, mutex=0x0, cond=0x2e73ee8) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2e73ee8, mutex=0x0, abstime=0xaf5fe950) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x00ce9e68 in ActiveAE::CActiveAE::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xaf5ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xabffd0d0 (LWP 24353)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xb5d1b384 <cecservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait ([email protected]=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xb5d1b384 <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5d01720 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5d1b398 <cecservice_notify_task>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0xb6f37494 in start_thread (arg=0xabffd0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xae3ff0d0 (LWP 24349)):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xae400708) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xae400708, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0x006b3538 in CFDEventMonitor::Process() ()
#3  0x008725f8 in CThread::Action() ()
#4  0x008734f8 in CThread::staticThread(void*) ()
#5  0xb6f37494 in start_thread (arg=0xae3ff0d0) at pthread_create.c:486
#6  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xab7fc0d0 (LWP 24354)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0xada03fc4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0xada03f98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait ([email protected]=0xada03f98, mutex=0x0, [email protected]=0xada03f7c) at pthread_cond_wait.c:655
#3  0xb5cc6d94 in _timer_thread (arg=0xada03f78) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#4  0xb6f37494 in start_thread (arg=0xab7fc0d0) at pthread_create.c:486
#5  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xaaffb0d0 (LWP 24355)):
#0  0xb6f41088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0xada0412c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait ([email protected]=0xada0412c, abstime=0x0) at sem_waitcommon.c:115
#2  0xb6f411f4 in __new_sem_wait_slow (sem=0xada0412c, abstime=0x0) at sem_waitcommon.c:282
#3  0xb5ce1b60 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0xb012ad70 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#5  0xb5cc6cb0 in vcos_thread_entry (arg=0xada03fe8) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#6  0xb6f37494 in start_thread (arg=0xaaffb0d0) at pthread_create.c:486
#7  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb13680d0 (LWP 24344)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2dc82e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2dc82b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2dc82b8, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb5517c94 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0x008720f8 in void std::_V2::condition_variable_any::wait<XbmcThreads::CRecursiveMutex>(XbmcThreads::CRecursiveMutex&) ()
#5  0x00c45298 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#6  0x008725f8 in CThread::Action() ()
#7  0x008734f8 in CThread::staticThread(void*) ()
#8  0xb6f37494 in start_thread (arg=0xb13680d0) at pthread_create.c:486
#9  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xad9ff0d0 (LWP 24350)):
#0  0xb540151c in ioctl () at ../sysdeps/unix/syscall-template.S:78
#1  0xb5cdf010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0xb5cc6cb0 in vcos_thread_entry (arg=0xb5cf2318 <vchiq_instance+16>) at /home/dom/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0xb6f37494 in start_thread (arg=0xad9ff0d0) at pthread_create.c:486
#4  0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb09ff0d0 (LWP 24345)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xb09fe948, expected=0, futex_word=0x2d225d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xb09fe948, mutex=0x0, cond=0x2d225b0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x2d225b0, mutex=0x0, abstime=0xb09fe948) at pthread_cond_wait.c:667
#3  0x005a1ed4 in std::cv_status std::_V2::condition_variable_any::wait_until<XbmcThreads::CRecursiveMutex, std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >(XbmcThreads::CRecursiveMutex&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > > const&) ()
#4  0x005a1f9c in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#5  0x005a208c in CEvent::WaitMSec(unsigned int) ()
#6  0x006a97f8 in CLirc::Process() ()
#7  0x008725f8 in CThread::Action() ()
#8  0x008734f8 in CThread::staticThread(void*) ()
#9  0xb6f37494 in start_thread (arg=0xb09ff0d0) at pthread_create.c:486
#10 0xb5409578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb136bc60 (LWP 24343)):
#0  __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0xb5349230 in __GI_abort () at abort.c:79
#2  0xb54f48d8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0xb54f25b0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb54f2624 in std::terminate() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#5  0xb54f2990 in __cxa_throw () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#6  0x0068ed7c in KODI::WINDOWING::GBM::CWinSystemGbmGLESContext::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
#7  0x007fa248 in CGraphicContext::SetVideoResolutionInternal(RESOLUTION, bool) ()
#8  0x00a05324 in CApplication::InitWindow(RESOLUTION) ()
#9  0x00a09ea8 in CApplication::CreateGUI() ()
#10 0x0088ee58 in XBMC_Run ()
#11 0x00519abc in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

2020-01-14 20:33:38.143 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Starting Kodi (18.4 Git:20191027-06c77692ee). Platform: Linux ARM 32-bit
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Using Release Kodi x32 build
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Kodi compiled 2019-10-27 by GCC 8.3.0 for Linux ARM 32-bit version 4.18.20 (266772)
2020-01-14 20:33:38.143 T:2973154400  NOTICE: Running on Raspbian GNU/Linux 10 (buster), kernel: Linux ARM 32-bit version 4.19.75-v7l+
2020-01-14 20:33:38.144 T:2973154400  NOTICE: FFmpeg version/source: 4.0.4-Kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 4 cores available
2020-01-14 20:33:38.144 T:2973154400  NOTICE: ARM Features: Neon enabled
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://envhome/ is mapped to: /home/pi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://home/ is mapped to: /home/pi/.kodi
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
2020-01-14 20:33:38.144 T:2973154400  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin_v8
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Local hostname: uoga
2020-01-14 20:33:38.144 T:2973154400  NOTICE: Log File is located: /home/pi/.kodi/temp/kodi.log
2020-01-14 20:33:38.144 T:2973154400  NOTICE: -----------------------------------------------------------------------
2020-01-14 20:33:38.144 T:2973154400    INFO: loading settings
2020-01-14 20:33:38.146 T:2973154400  NOTICE: special://profile/ is mapped to: special://masterprofile/
2020-01-14 20:33:38.169 T:2973154400   DEBUG: CSkinSettings: no <skinsettings> tag found
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
2020-01-14 20:33:38.170 T:2973154400  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <fanartres>720</fanartres>
                                              <imageres>540</imageres>
                                              <video>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <cache>
                                                <memorysize>31457280</memorysize>
                                              </cache>
                                            </advancedsettings>
2020-01-14 20:33:38.170 T:2973154400 WARNING: CSettingsManager: missing version attribute
2020-01-14 20:33:38.171 T:2973154400  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Video Player: VideoPlayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Default Audio Player: paplayer
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Disabled debug logging due to GUI setting. Level 0.
2020-01-14 20:33:38.171 T:2973154400  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2020-01-14 20:33:38.171 T:2973154400  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2020-01-14 20:33:38.241 T:2973154400  NOTICE: PulseAudio: Server not running
2020-01-14 20:33:38.257 T:2973154400  NOTICE: Running database version Addons27
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-01-14 20:33:38.401 T:2973154400  NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.album.universal v3.1.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.artists.universal v4.3.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.allmusic.com v3.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.fanart.tv v3.6.2 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.common.themoviedb.org v3.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.local v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.themoviedb.org v5.1.10 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.4.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-01-14 20:33:38.402 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.57 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: service.xbmc.versioncheck v0.5.1 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estouchy v2.0.26 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: skin.estuary v2.0.25 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.addon v18.4.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-01-14 20:33:38.403 T:2973154400  NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-01-14 20:33:38.431 T:2973154400   ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Found 2 Lists of Devices
2020-01-14 20:33:38.509 T:2942300368  NOTICE: Enumerated ALSA devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : @
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : sysdefault:CARD=ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra: bcm2835 ALSA
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.510 T:2942300368  NOTICE: Enumerated PI devices:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 1
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceName      : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayName     : HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
2020-01-14 20:33:38.510 T:2942300368  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
2020-01-14 20:33:38.510 T:2942300368  NOTICE:     Device 2
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.511 T:2942300368  NOTICE:     Device 3
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceName      : Both
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayName     : HDMI and Analogue
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_displayNameExtra:
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_channels        : FL, FR
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_sampleRates     : 48000
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
2020-01-14 20:33:38.511 T:2942300368  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-01-14 20:33:38.619 T:2973154400  NOTICE: Raspberry PI firmware version: Sep 24 2019 17:34:30 
                                            Copyright (c) 2012 Broadcom
                                            version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)
2020-01-14 20:33:38.619 T:2973154400  NOTICE: ARM mem: 768MB GPU mem: 256MB MPG2:0 WVC1:0
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            arm_freq=1500
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=500
                                            core_freq_min=200
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            disable_overscan=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            enable_gic=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=500
                                            gpu_freq_min=500
                                            hdmi_channel_map=8
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=0x10000
                                            max_framebuffers=2
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            hdmi_force_cec_address:0=65535
                                            hdmi_force_cec_address:1=65535
                                            hdmi_pixel_freq_limit:0=0x11e1a300
                                            hdmi_pixel_freq_limit:1=0x11e1a300
2020-01-14 20:33:38.620 T:2973154400  NOTICE: Config:
                                            device_tree=-
                                            hdmi_cvt:0=
                                            hdmi_cvt:1=
                                            hdmi_edid_filename:0=
                                            hdmi_edid_filename:1=
                                            hdmi_timings:0=
                                            hdmi_timings:1=
2020-01-14 20:33:39.296 T:2973154400 WARNING: CDRMUtils::FindPlane - could not find plane
2020-01-14 20:33:39.297 T:2973154400 WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
2020-01-14 20:33:39.297 T:2973154400  NOTICE: CDRMUtils::InitDrm - successfully authorized drm magic
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 30.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 29.970032 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 25.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 24.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1920x1080 with 1920x1080 @ 23.976025 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x576 with 2880x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 2880x480 with 2880x480 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x1024 with 1280x1024 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 59.940063 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1440x576 with 1440x576 @ 50.000000 Hz
2020-01-14 20:33:40.321 T:2973154400  NOTICE: Found resolution 1024x768 with 1024x768 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 1440x480 with 1440x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 800x600 with 800x600 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x576 with 720x576 @ 50.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 59.940063 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 720x480 with 720x480 @ 60.000000 Hz
2020-01-14 20:33:40.322 T:2973154400  NOTICE: Found resolution 640x480 with 640x480 @ 60.000000 Hz
2020-01-14 20:33:40.324 T:2973154400  NOTICE: Previous line repeats 1 times.
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VERSION = 1.4
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_VENDOR = Mesa Project
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
2020-01-14 20:33:40.324 T:2973154400  NOTICE: EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device
2020-01-14 20:33:40.327 T:2973154400  NOTICE: Checking resolution 16
2020-01-14 20:33:40.437 T:2973154400 WARNING: CGBMUtils::DestroySurface - surface already destroyed
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VENDOR = Broadcom
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_RENDERER = V3D 4.2
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_VERSION = OpenGL ES 3.0 Mesa 19.2.0-rc1
2020-01-14 20:33:41.246 T:2973154400  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.00
2020-01-14 20:33:41.247 T:2973154400  NOTICE: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile GL_EXT_texture_query_lod
2020-01-14 20:33:42.444 T:2973154400   ERROR: eglSwapBuffers failed (EGL_BAD_ALLOC)


############### END LOG FILE ################

############ END Kodi CRASH LOG #############

Yoinx
Posts: 3
Joined: Sat Jan 18, 2020 7:22 pm

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 18, 2020 7:41 pm

Good Afternoon. First, I want to say thanks for all your hard work on these builds Rascas. However, I seem to be having a similar problem to the poster above me. I am running the latest DietPI builds (based on Raspbian Buster) with kodi as the gui (no desktop environment). Unfortuantely, Kodi keeps randomly crashing back to the shell prompt while playing videos. I enabled debug logging and put a test video jellyfish-55-mbps-hd-h264.mkv on repeat to force the crash. I apologize for the large logs, I know partial logs are not generally helpful so I did not truncate them.

Please see the following logs: (posted as gists due to size of kodi.log
Kodi.log
journalctl -k

I noticed in the crashlog that it reads:

Code: Select all

################ SYSTEM INFO ################
 Date: Sat 18 Jan 13:41:05 EST 2020
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################
followed by the log posted above... so I am attempting to re-pull a log with gdb installed. Not sure if that will be useful to you or not, but I should be able to post the stack trace later on this afternoon. It typically takes less than an hour or two to crash.

Thanks in advance for your attention.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 18, 2020 8:40 pm

Yoinx wrote:
Sat Jan 18, 2020 7:41 pm
Good Afternoon. First, I want to say thanks for all your hard work on these builds Rascas. However, I seem to be having a similar problem to the poster above me. I am running the latest DietPI builds (based on Raspbian Buster) with kodi as the gui (no desktop environment). Unfortuantely, Kodi keeps randomly crashing back to the shell prompt while playing videos. I enabled debug logging and put a test video jellyfish-55-mbps-hd-h264.mkv on repeat to force the crash. I apologize for the large logs, I know partial logs are not generally helpful so I did not truncate them.

Please see the following logs: (posted as gists due to size of kodi.log
Kodi.log
journalctl -k

I noticed in the crashlog that it reads:

Code: Select all

################ SYSTEM INFO ################
 Date: Sat 18 Jan 13:41:05 EST 2020
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################
followed by the log posted above... so I am attempting to re-pull a log with gdb installed. Not sure if that will be useful to you or not, but I should be able to post the stack trace later on this afternoon. It typically takes less than an hour or two to crash.

Thanks in advance for your attention.
That's weird because both the journalctl and kodi.log shows no relevant errors. Install gdb and you seem to be running the cpu underclocked to 900Mhz and gpu overclocked. I would try with default settings in config.txt. I am also not familiar with DietPi, I only know that it has some changes to stock Raspbian, for example, the kernel/firmware is not the same and that may cause problems.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 18, 2020 8:45 pm

flyingsubs wrote:
Sun Jan 12, 2020 10:44 pm
Any chance you'll be updating to 18.5? There's an issue with 18.4 where it doesn't leverage the commercial skip files. I don't mean to pressure, just was curious what the plans are or if it's something I could do on my own?

Thank you for the hard work!

-Flyingsubs
I will upload Kodi 18.5 on monday.

Yoinx
Posts: 3
Joined: Sat Jan 18, 2020 7:22 pm

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 18, 2020 10:16 pm

Rascas wrote:
Sat Jan 18, 2020 8:40 pm
Yoinx wrote:
Sat Jan 18, 2020 7:41 pm
Good Afternoon. First, I want to say thanks for all your hard work on these builds Rascas. However, I seem to be having a similar problem to the poster above me. I am running the latest DietPI builds (based on Raspbian Buster) with kodi as the gui (no desktop environment). Unfortuantely, Kodi keeps randomly crashing back to the shell prompt while playing videos. I enabled debug logging and put a test video jellyfish-55-mbps-hd-h264.mkv on repeat to force the crash. I apologize for the large logs, I know partial logs are not generally helpful so I did not truncate them.

Please see the following logs: (posted as gists due to size of kodi.log
Kodi.log
journalctl -k

I noticed in the crashlog that it reads:

Code: Select all

################ SYSTEM INFO ################
 Date: Sat 18 Jan 13:41:05 EST 2020
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################
followed by the log posted above... so I am attempting to re-pull a log with gdb installed. Not sure if that will be useful to you or not, but I should be able to post the stack trace later on this afternoon. It typically takes less than an hour or two to crash.

Thanks in advance for your attention.
That's weird because both the journalctl and kodi.log shows no relevant errors. Install gdb and you seem to be running the cpu underclocked to 900Mhz and gpu overclocked. I would try with default settings in config.txt. I am also not familiar with DietPi, I only know that it has some changes to stock Raspbian, for example, the kernel/firmware is not the same and that may cause problems.
Thanks. Yeah I didn't see anything weird in them either, but I'm not am very familiar with Kodi. I'll look at my clocks. I don't recall changing them, so maybe that's related to the issue. I also tried disabling hw decoding, since I know that can cause issues and so far I haven't had another crash yet.

Thanks for taking a look!

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 18, 2020 10:22 pm

Yoinx wrote:
Sat Jan 18, 2020 10:16 pm
Rascas wrote:
Sat Jan 18, 2020 8:40 pm
Yoinx wrote:
Sat Jan 18, 2020 7:41 pm
Good Afternoon. First, I want to say thanks for all your hard work on these builds Rascas. However, I seem to be having a similar problem to the poster above me. I am running the latest DietPI builds (based on Raspbian Buster) with kodi as the gui (no desktop environment). Unfortuantely, Kodi keeps randomly crashing back to the shell prompt while playing videos. I enabled debug logging and put a test video jellyfish-55-mbps-hd-h264.mkv on repeat to force the crash. I apologize for the large logs, I know partial logs are not generally helpful so I did not truncate them.

Please see the following logs: (posted as gists due to size of kodi.log
Kodi.log
journalctl -k

I noticed in the crashlog that it reads:

Code: Select all

################ SYSTEM INFO ################
 Date: Sat 18 Jan 13:41:05 EST 2020
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################
followed by the log posted above... so I am attempting to re-pull a log with gdb installed. Not sure if that will be useful to you or not, but I should be able to post the stack trace later on this afternoon. It typically takes less than an hour or two to crash.

Thanks in advance for your attention.
That's weird because both the journalctl and kodi.log shows no relevant errors. Install gdb and you seem to be running the cpu underclocked to 900Mhz and gpu overclocked. I would try with default settings in config.txt. I am also not familiar with DietPi, I only know that it has some changes to stock Raspbian, for example, the kernel/firmware is not the same and that may cause problems.
Thanks. Yeah I didn't see anything weird in them either, but I'm not am very familiar with Kodi. I'll look at my clocks. I don't recall changing them, so maybe that's related to the issue. I also tried disabling hw decoding, since I know that can cause issues and so far I haven't had another crash yet.

Thanks for taking a look!
You shouldn't need to disable hw decoding, it is recommend to stay on.

Yoinx
Posts: 3
Joined: Sat Jan 18, 2020 7:22 pm

Re: [Guide] Kodi on Raspbian Buster

Sun Jan 19, 2020 12:53 am

Rascas wrote:
Sat Jan 18, 2020 10:22 pm

You shouldn't need to disable hw decoding, it is recommend to stay on.
That makes sense. I was just disabling it on there to see if it was causing an issue for whatever reason.

I ended up switching to Raspbian to test and it appears to be something caused by DietPI. I also had GUI screen tearing which is gone on Raspbian.

Thanks again.

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Mon Jan 20, 2020 2:37 pm

Kodi updated to 18.5 and all binary addons also updated to latest stable version.
No specific Raspbian changes.

Just update and upgrade the packages has you normally do.*

*Note that this packages are not yet available on Raspberry Pi repos, you have to wait a little bit.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6162
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: [Guide] Kodi on Raspbian Buster

Mon Jan 20, 2020 6:02 pm

Rascas wrote: *Note that this packages are not yet available on Raspberry Pi repos, you have to wait a little bit.
Should be available there as well now. Thank you.

flyingsubs
Posts: 6
Joined: Sun Nov 17, 2019 7:41 pm

Re: [Guide] Kodi on Raspbian Buster

Tue Jan 21, 2020 1:44 am

Rascas wrote:
Mon Jan 20, 2020 2:37 pm
Kodi updated to 18.5 and all binary addons also updated to latest stable version.
No specific Raspbian changes.

Just update and upgrade the packages has you normally do.*

*Note that this packages are not yet available on Raspberry Pi repos, you have to wait a little bit.
Thank you!

williamc
Posts: 5
Joined: Wed Jan 22, 2020 12:35 pm

Re: [Guide] Kodi on Raspbian Buster

Wed Jan 22, 2020 12:40 pm

If you updated to Kodi 18.5, note that if you created a new user for Kodi, which I did, then you need to fix the permissions again after the update. Just re-run the commands on the first page.

EDIT: Make sure that you use raspi-config to set the fake KMS driver or you'll use llvmpipe (CPU rendering) and complain about how slow it is. (LOL at me.)

Rascas
Posts: 595
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: [Guide] Kodi on Raspbian Buster

Sat Jan 25, 2020 3:56 am

williamc wrote:
Wed Jan 22, 2020 12:40 pm
If you updated to Kodi 18.5, note that if you created a new user for Kodi, which I did, then you need to fix the permissions again after the update. Just re-run the commands on the first page.

EDIT: Make sure that you use raspi-config to set the fake KMS driver or you'll use llvmpipe (CPU rendering) and complain about how slow it is. (LOL at me.)
Yep, for the the RPi 4 you have to use the fake KMS driver. For the lower ones, the proprietary drivers aka legacy drivers.

Return to “Raspbian”