[SOLVED] Kodi fails to start after Volumio update

Hello all,

For several years I have run the Kodi plugin successfully with Volumio, but I hit a problem whenever there is a Volumio update: Kodi fails to start up at reboot.

I update Volumio (via GUI, System > System Updates …) but on reboot, Kodi fails to start up as it usually didi prior to the update. I only see a command line login prompt. I have no idea how to resolve this.

The same thing has happened the last three times I’ve updated Volumio and the only way I have got around the problem is to remove Kodi (and sometimes Volumio too) and start from scratch, reimporting my music from the NAS and generally wasting a lot of time.

Is there a better way of managing this process?

Thanks.

I guess this may well be a price you pay for running Kodi alongside Volumio … I would be inclined to contact the plugin author, who will have an idea of what is causing the conflicts. Please report back here your conclusions for the benefit of others :wink:

Just thinking out loud here, might it be that the update also edits the /boot/config.txt file? Because that’d mean that Kodi has insufficient memory to start, update the mem-settings, reboot and you should be up and running again. This is the first thing that comes to mind, so I’m not sure it even rings true, this needs proper testing. :wink:

Thanks for your replies (and thanks Saiyato for noticing this thread … I was wondering how I might get in touch with you because I am not a Github user).

I’ve attached a Kodi crash log that might be helpful in diagnosing the problem (below).

Regarding the Kodi memory settings, the Volumio GUI shows that the recommended settings are still in place: 256/144/112 for the various Pi models, respectively (as shown in the Kodi Plugin Quick Installation Guide https://github.com/Saiyato/volumio-kodi-plugin

I do not seem to have a .config/boot.txt file so cannot confirm whether it has been changed.

Other system specs:
VOLUMIO_BUILD_DATE=“Wed Oct 31 12:58:00 CET 2018”
VOLUMIO_VERSION=“2.502”
VOLUMIO_HARDWARE=“pi”
I’m running a Pi2 Model B (Hardware revision a21041)

Thanks for your help.

[code]############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Nov 23 17:37:05 UTC 2018
Kodi Options:
Arch: armv7l
Kernel: Linux 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018
Release: Raspbian GNU/Linux 8 (jessie)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/volumio/core (2018-11-23 17:37:05.000000000 +0000)
=========================================
[New LWP 1629]
[New LWP 1630]
[New LWP 1640]
[New LWP 1639]
[New LWP 1638]
[New LWP 1648]
[New LWP 1643]
[New LWP 1641]
[New LWP 1645]
[New LWP 1647]
[New LWP 1646]
[New LWP 1649]
[New LWP 1642]
[New LWP 1644]
[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_v7.bin --lircdev /var/run/lirc/lircd’.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x75839ea4 in std::basic_string<char, std::char_traits, std::allocator >::~basic_string() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6

Thread 14 (Thread 0x6ffff3b0 (LWP 1644)):
#0 0x76f2aa40 in do_futex_wait (isem=isem@entry=0x75c71864 <tvservice_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76f2aaf4 in __new_sem_wait (sem=0x75c71864 <tvservice_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x75c58084 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#3 0x75c1fcc4 in vcos_thread_entry (arg=0x75c71878 <tvservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#4 0x76f23e90 in start_thread (arg=0x6ffff3b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x711ff3b0 (LWP 1642)):
#0 0x756e8f2c in ioctl () at …/sysdeps/unix/syscall-template.S:81
#1 0x75c39010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2 0x75c1fcc4 in vcos_thread_entry (arg=0x75c4c318 <vchiq_instance+16>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3 0x76f23e90 in start_thread (arg=0x711ff3b0) at pthread_create.c:311
#4 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x6d7ff3b0 (LWP 1649)):
#0 0x76f28b30 in __pthread_cond_timedwait (cond=0x6d7fec70, mutex=0x6d7feca8, abstime=0x6d7feba0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x0067fedc in XbmcThreads::CEventGroup::wait(unsigned int) ()
#3 0x004ea6d8 in CRemoteControl::Process() ()
#4 0x00680a80 in CThread::Action() ()
#5 0x006812e8 in CThread::staticThread(void*) ()
#6 0x76f23e90 in start_thread (arg=0x6d7ff3b0) at pthread_create.c:311
#7 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x6efff3b0 (LWP 1646)):
#0 0x76f287a4 in __pthread_cond_wait (cond=cond@entry=0x71b025d8, mutex=mutex@entry=0x71b025bc) at pthread_cond_wait.c:187
#1 0x75c1fda8 in _timer_thread (arg=0x71b025b8) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#2 0x76f23e90 in start_thread (arg=0x6efff3b0) at pthread_create.c:311
#3 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x6e7ff3b0 (LWP 1647)):
#0 0x76f2aa40 in do_futex_wait (isem=isem@entry=0x71b0276c) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76f2aaf4 in __new_sem_wait (sem=0x71b0276c) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x75c3bb60 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#3 0x73744d70 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#4 0x75c1fcc4 in vcos_thread_entry (arg=0x71b02628) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5 0x76f23e90 in start_thread (arg=0x6e7ff3b0) at pthread_create.c:311
#6 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x6f7ff3b0 (LWP 1645)):
#0 0x76f2aa40 in do_futex_wait (isem=isem@entry=0x75c725ec <cecservice_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76f2aaf4 in __new_sem_wait (sem=0x75c725ec <cecservice_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x75c58c44 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#3 0x75c1fcc4 in vcos_thread_entry (arg=0x75c72600 <cecservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#4 0x76f23e90 in start_thread (arg=0x6f7ff3b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x719ff3b0 (LWP 1641)):
#0 0x76f28b30 in __pthread_cond_timedwait (cond=0x2791c58, mutex=0x2791c90, abstime=0x719fece0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x004409c4 in CEvent::WaitMSec(unsigned int) ()
#3 0x00a72a04 in ActiveAE::CActiveAESink::Process() ()
#4 0x00680a80 in CThread::Action() ()
#5 0x006812e8 in CThread::staticThread(void*) ()
#6 0x76f23e90 in start_thread (arg=0x719ff3b0) at pthread_create.c:311
#7 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x707ff3b0 (LWP 1643)):
#0 0x76f2aa40 in do_futex_wait (isem=isem@entry=0x75c726e8 <dispmanx_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76f2aaf4 in __new_sem_wait (sem=0x75c726e8 <dispmanx_notify_available_event+24>) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x75c5c150 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#3 0x75c1fcc4 in vcos_thread_entry (arg=0x75c73428 <dispmanx_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#4 0x76f23e90 in start_thread (arg=0x707ff3b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x6dfff3b0 (LWP 1648)):
#0 0x76f287a4 in __pthread_cond_wait (cond=0x15f8078 <g_OMXImage+496>, mutex=0x15f805c <g_OMXImage+468>) at pthread_cond_wait.c:187
#1 0x00500b30 in COMXImage::Process() ()
#2 0x00680a80 in CThread::Action() ()
#3 0x006812e8 in CThread::staticThread(void*) ()
#4 0x76f23e90 in start_thread (arg=0x6dfff3b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x735ff3b0 (LWP 1638)):
#0 0x756e6b80 in poll () at …/sysdeps/unix/syscall-template.S:81
#1 0x004ec6e8 in CFDEventMonitor::Process() ()
#2 0x00680a80 in CThread::Action() ()
#3 0x006812e8 in CThread::staticThread(void*) ()
#4 0x76f23e90 in start_thread (arg=0x735ff3b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x72bff3b0 (LWP 1639)):
#0 0x76f28b30 in __pthread_cond_timedwait (cond=0x15f9d00, mutex=0x15f9d38, abstime=0x72bfece0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x00639b5c in CJobManager::GetNextJob(CJobWorker const*) ()
#3 0x0063a454 in CJobWorker::Process() ()
#4 0x00680a80 in CThread::Action() ()
#5 0x006812e8 in CThread::staticThread(void*) ()
#6 0x76f23e90 in start_thread (arg=0x72bff3b0) at pthread_create.c:311
#7 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x723ff3b0 (LWP 1640)):
#0 0x76f28b30 in __pthread_cond_timedwait (cond=0x2791718, mutex=0x2791750, abstime=0x723fece0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x004409c4 in CEvent::WaitMSec(unsigned int) ()
#3 0x00a6ce44 in ActiveAE::CActiveAE::Process() ()
#4 0x00680a80 in CThread::Action() ()
#5 0x006812e8 in CThread::staticThread(void*) ()
#6 0x76f23e90 in start_thread (arg=0x723ff3b0) at pthread_create.c:311
#7 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x73fb23b0 (LWP 1630)):
#0 0x76f287a4 in __pthread_cond_wait (cond=0x278b558, mutex=0x278b590) at pthread_cond_wait.c:187
#1 0x009d910c in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2 0x00680a80 in CThread::Action() ()
#3 0x006812e8 in CThread::staticThread(void*) ()
#4 0x76f23e90 in start_thread (arg=0x73fb23b0) at pthread_create.c:311
#5 0x756f0598 in ?? () at …/ports/sysdeps/unix/sysv/linux/arm/nptl/…/clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x73fb42a0 (LWP 1629)):
#0 0x75839ea4 in std::basic_string<char, std::char_traits, std::allocator >::~basic_string() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#1 0x0043cf00 in void std::_Destroy_aux::__destroystd::string*(std::string*, std::string*) ()
#2 0x00656e88 in RssSet::~RssSet() ()
#3 0x00656edc in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#4 0x006564e4 in CRssManager::Clear() ()
#5 0x00845d9c in CSettingsManager::OnSettingsUnloaded() ()
#6 0x00846724 in CSettingsManager::Unload() ()
#7 0x008481a8 in CSettingsManager::Clear() ()
#8 0x0086fe3c in CSettings::Uninitialize() ()
#9 0x0087019c in CSettings::~CSettings() ()
#10 0x7564faec in __run_exit_handlers (status=-1, listp=0x7575c4ac <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#11 0x7564fb3c in __GI_exit (status=) at exit.c:104
#12 0x75637298 in __libc_start_main (main=0x7e85c774, argc=1970651136, argv=0x75637298 <__libc_start_main+280>, init=, fini=0x10e9548 <__libc_csu_fini>, rtld_fini=0x76f55a14 <_dl_fini>, stack_end=0x7e85c774) at libc-start.c:321
#13 0x0042b48c in _start ()
############# END STACK TRACE ###############

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

17:37:04.385 T:1945846432 NOTICE: special://profile/ is mapped to: special://masterprofile/
17:37:04.386 T:1945846432 NOTICE: -----------------------------------------------------------------------
17:37:04.386 T:1945846432 NOTICE: Starting Kodi (17.4 Git:20170913-5cc491e-dirty). Platform: Linux ARM 32-bit
17:37:04.386 T:1945846432 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
17:37:04.386 T:1945846432 NOTICE: Kodi compiled Sep 13 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)
17:37:04.386 T:1945846432 NOTICE: Running on Raspbian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 4.14.71-v7+
17:37:04.386 T:1945846432 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
17:37:04.386 T:1945846432 NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
17:37:04.387 T:1945846432 NOTICE: ARM Features: Neon enabled
17:37:04.387 T:1945846432 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
17:37:04.387 T:1945846432 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
17:37:04.387 T:1945846432 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
17:37:04.387 T:1945846432 NOTICE: special://masterprofile/ is mapped to: /home/volumio/.kodi/userdata
17:37:04.387 T:1945846432 NOTICE: special://envhome/ is mapped to: /home/volumio
17:37:04.387 T:1945846432 NOTICE: special://home/ is mapped to: /home/volumio/.kodi
17:37:04.387 T:1945846432 NOTICE: special://temp/ is mapped to: /home/volumio/.kodi/temp
17:37:04.387 T:1945846432 NOTICE: special://logpath/ is mapped to: /home/volumio/.kodi/temp
17:37:04.387 T:1945846432 NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin
17:37:04.387 T:1945846432 NOTICE: Local hostname: volumio
17:37:04.387 T:1945846432 NOTICE: Log File is located: /home/volumio/.kodi/temp//kodi.log
17:37:04.387 T:1945846432 NOTICE: -----------------------------------------------------------------------
17:37:04.401 T:1945846432 ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
17:37:04.460 T:1945846432 NOTICE: load settings…
17:37:04.640 T:1945846432 NOTICE: Found 2 Lists of Devices
17:37:04.640 T:1945846432 NOTICE: Enumerated PI devices:
17:37:04.640 T:1945846432 NOTICE: Device 1
17:37:04.640 T:1945846432 NOTICE: m_deviceName : HDMI
17:37:04.641 T:1945846432 NOTICE: m_displayName : HDMI
17:37:04.641 T:1945846432 NOTICE: m_displayNameExtra:
17:37:04.641 T:1945846432 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
17:37:04.641 T:1945846432 NOTICE: m_channels : FL,FR
17:37:04.641 T:1945846432 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
17:37:04.641 T:1945846432 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
17:37:04.641 T:1945846432 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
17:37:04.641 T:1945846432 NOTICE: Device 2
17:37:04.641 T:1945846432 NOTICE: m_deviceName : Analogue
17:37:04.641 T:1945846432 NOTICE: m_displayName : Analogue
17:37:04.641 T:1945846432 NOTICE: m_displayNameExtra:
17:37:04.641 T:1945846432 NOTICE: m_deviceType : AE_DEVTYPE_PCM
17:37:04.641 T:1945846432 NOTICE: m_channels : FL,FR
17:37:04.641 T:1945846432 NOTICE: m_sampleRates : 48000
17:37:04.641 T:1945846432 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
17:37:04.641 T:1945846432 NOTICE: m_streamTypes : No passthrough capabilities
17:37:04.642 T:1945846432 NOTICE: Device 3
17:37:04.642 T:1945846432 NOTICE: m_deviceName : Both
17:37:04.642 T:1945846432 NOTICE: m_displayName : HDMI and Analogue
17:37:04.642 T:1945846432 NOTICE: m_displayNameExtra:
17:37:04.642 T:1945846432 NOTICE: m_deviceType : AE_DEVTYPE_PCM
17:37:04.642 T:1945846432 NOTICE: m_channels : FL,FR
17:37:04.642 T:1945846432 NOTICE: m_sampleRates : 48000
17:37:04.642 T:1945846432 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
17:37:04.642 T:1945846432 NOTICE: m_streamTypes : No passthrough capabilities
17:37:04.642 T:1945846432 NOTICE: Enumerated ALSA devices:
17:37:04.642 T:1945846432 NOTICE: Device 1
17:37:04.642 T:1945846432 NOTICE: m_deviceName : @
17:37:04.642 T:1945846432 NOTICE: m_displayName : Default (bcm2835 ALSA bcm2835 ALSA)
17:37:04.643 T:1945846432 NOTICE: m_displayNameExtra:
17:37:04.643 T:1945846432 NOTICE: m_deviceType : AE_DEVTYPE_PCM
17:37:04.643 T:1945846432 NOTICE: m_channels : FL,FR
17:37:04.643 T:1945846432 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
17:37:04.643 T:1945846432 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
17:37:04.643 T:1945846432 NOTICE: m_streamTypes : No passthrough capabilities
17:37:04.646 T:1945846432 ERROR: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
17:37:04.684 T:1945846432 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
17:37:04.684 T:1945846432 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are…
<?xml version="1.0" encoding="UTF-8" ?>

720
540


30


31457280


17:37:04.687 T:1945846432 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
17:37:04.687 T:1945846432 NOTICE: Default Video Player: VideoPlayer
17:37:04.687 T:1945846432 NOTICE: Default Audio Player: paplayer
17:37:04.687 T:1945846432 NOTICE: Disabled debug logging due to GUI setting. Level 0.
17:37:04.687 T:1945846432 NOTICE: Log level changed to “LOG_LEVEL_NORMAL”
17:37:04.687 T:1945846432 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:37:04.689 T:1945846432 NOTICE: Loaded playercorefactory configuration
17:37:04.689 T:1945846432 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:37:04.690 T:1945846432 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:37:04.951 T:1945846432 NOTICE: ADDONS: Using repository repository.xbmc.org
17:37:05.124 T:1945846432 NOTICE: Raspberry PI firmware version: Sep 21 2018 15:43:17
Copyright © 2012 Broadcom
version 07f57128b8491ffdefcdfd13f7b4961b3006d9a9 (clean) (release)
17:37:05.124 T:1945846432 NOTICE: ARM mem: 992MB GPU mem: 32MB MPG2:0 WVC1:0
17:37:05.124 T:1945846432 NOTICE: cache.memorysize: 30MB libass.cache: 0MB
17:37:05.125 T:1945846432 NOTICE: Config:
aphy_params_current=819
arm_freq=900
audio_pwm_mode=514
config_hdmi_boost=5
disable_auto_turbo=1
disable_commandline_tags=2
disable_l2cache=1
disable_splash=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dphy_params_current=547
enable_uart=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
hdmi_channel_map=8
hdmi_force_cec_address=65535
hdmi_force_hotplug=1
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x1b774
pause_burst_frames=1
program_serial_random=1
ramfsaddr=-1
sdram_freq=450
17:37:05.126 T:1945846432 NOTICE: Config:
device_tree=-
ramfsfile=volumio.initrd
17:37:05.126 T:1945846432 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
17:37:05.129 T:1945846432 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 59.940063 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 848 x 480 for display 0 with 848 x 480 @ 60.000000 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 848 x 480 for display 0 with 848 x 480 @ 59.940063 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 60.000000 Hz
17:37:05.129 T:1945846432 NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 59.940063 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1275 x 720 for display 0 with 1360 x 768 @ 60.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1275 x 720 for display 0 with 1360 x 768 @ 59.940063 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 59.940063 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 60.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 59.940063 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080i @ 50.000000 Hz
17:37:05.130 T:1945846432 NOTICE: Found (1275x720@60.000000) at 24, setting to RES_DESKTOP at 16
17:37:05.131 T:1945846432 NOTICE: Checking resolution 16
17:37:05.415 T:1945846432 ERROR: EGL error in CreateSurface: 3003
17:37:05.415 T:1945846432 NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
17:37:05.430 T:1945846432 ERROR: EGL error in CreateSurface: 300b
17:37:05.430 T:1945846432 ERROR: CreateWindow: Could not create surface
17:37:05.430 T:1945846432 ERROR: CreateNewWindow: Could not create new window
17:37:05.430 T:1945846432 FATAL: CApplication::Create: Unable to create window

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

############ END Kodi CRASH LOG #############[/code]

Hi there,

I see a made a typo, mea culpa; it should be /boot/config.txt
As long as that file contains gpu_mem_* entries, you should be ok.

I found that I needed to perform the following command after the upgrade I just performed

sudo ldconfig sudo reboot

Can you check if that helps for you?

Success! Your diagnosis was correct.

After the Volumio version update, /boot/config.txt was showing gpu_mem=32. I changed this to gpu_mem=256 (appropriate to my model Pi), then

sudo ldconfig sudo reboot

On reboot, Kodi starts correctly.

Prior to this change, the GUI was showing the correct gpu memory settings, but these were clearly being overridden by the /boot/config.txt gpu_mem=32

This is a really great outcome. Thank you so much for your help with this.

Cheers!

1 Like

You’re welcome! :slight_smile: