LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-13-2018, 05:23 PM   #16
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150

Quote:
Originally Posted by stormtracknole View Post
So kodi does indeed start, but I cannot interact with it through the keyboard at all. I have the pi connected to a touchscreen, but it won't respond to that either.
Doh! I missed the part about adding the user to the input group. It's working now.
 
Old 02-13-2018, 05:51 PM   #17
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by stormtracknole View Post
YES! That's it!!! It's working. Going to take it for a spin and will report back if I hit any snags. I appreciate you taking the time to write that tutorial.
Happy to learn that you've made it!

You could connect an IR sensor on your Pi board and use lirc (I must admit, the lirc configuration can be a little of a PITA ) to control Kodi.

Writing the tutorial was by far the easiest part, it took me some weekends to learn how to get Kodi compiled on Slackware ARM and I did annoy some people on the Kodi Forum with a lot of "Linux" questions. Many were Debian/Ubuntu (on which Kodi was also designed/built) users and they didn't understand me and my dependencies compilations & environmental variables setup, I definitely felt like a weirdo

Last edited by abga; 02-13-2018 at 05:53 PM. Reason: typo
 
1 members found this post helpful.
Old 02-14-2018, 01:58 PM   #18
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by abga View Post
Happy to learn that you've made it!

You could connect an IR sensor on your Pi board and use lirc (I must admit, the lirc configuration can be a little of a PITA ) to control Kodi.

Writing the tutorial was by far the easiest part, it took me some weekends to learn how to get Kodi compiled on Slackware ARM and I did annoy some people on the Kodi Forum with a lot of "Linux" questions. Many were Debian/Ubuntu (on which Kodi was also designed/built) users and they didn't understand me and my dependencies compilations & environmental variables setup, I definitely felt like a weirdo
This was definitely a lot of work. I can tell that the touchscreen will not work with kodi from what I was able to gather. That's not a biggie though.
 
Old 02-14-2018, 06:33 PM   #19
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by stormtracknole View Post
This was definitely a lot of work. I can tell that the touchscreen will not work with kodi from what I was able to gather. That's not a biggie though.
I don't have any experience with touchscreens on Raspberry Pi, but as far as I understand, the touchscreen is usually connected to some data pins on the GPIO, it will need a driver and will work/act like an usual mouse.
https://lektiondestages.blogspot.co....uchscreen.html

Additionally, you'll need to calibrate the touchscreen for Kodi with the help of some tool. Kodi itself has some configuration files (alignment/keymap) that you can use and amend according to your preferences:
https://kodi.wiki/view/advancedsettings.xml#touchscreen
https://kodi.wiki/view/Touch_controls
https://github.com/xbmc/xbmc/blob/ma...ouchscreen.xml
(this file is to be found in: /usr/share/kodi/system/keymaps/touchscreen.xml )

There is another way to control Kodi and I deliberately disabled it in the guide, because it needs a dependency and I haven't had were to test this functionality (no TV capable). It's the CEC protocol that some TV sets have it implemented and through which you can use the remote from your TV to control another HDMI-connected device - a Raspberry Pi running Kodi.
https://en.wikipedia.org/wiki/Consum...ronics_Control
https://kodi.wiki/view/CEC

To get the CEC functionality, the dependency you'll need to compile and install before compiling Kodi is libcec:
https://github.com/Pulse-Eight/libce...g/libcec-2.2.0
And in the Kodi build script - configure section you'll need to change:
Code:
  --disable-libcec \
to:
Code:
  --enable-libcec \
 
Old 02-18-2018, 11:44 AM   #20
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
@stormtracknole

I got some time today to play with the GUI settings in Kodi, looking after a way to change the default font and increase its size in some fields (failed so far...). While looking into the GUI settings sections I found some options that you should check/enable for your touchscreen functionality:
Settings > System > Input > Enable mouse and touch screen support > Enabled (should be enabled by default)
Settings > Skin settings > General > Touch Mode > Enabled
Settings > Interface > Skin > Estouchy (chose this one for touchscreen support)
 
1 members found this post helpful.
Old 02-18-2018, 04:51 PM   #21
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by abga View Post
@stormtracknole

I got some time today to play with the GUI settings in Kodi, looking after a way to change the default font and increase its size in some fields (failed so far...). While looking into the GUI settings sections I found some options that you should check/enable for your touchscreen functionality:
Settings > System > Input > Enable mouse and touch screen support > Enabled (should be enabled by default)
Settings > Skin settings > General > Touch Mode > Enabled
Settings > Interface > Skin > Estouchy (chose this one for touchscreen support)
Thank you for looking into this. Kodi on a touchscreen would be a cheap way to set up a custom travel entertainment system while on the road.
 
Old 02-18-2018, 06:11 PM   #22
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by stormtracknole View Post
Thank you for looking into this. Kodi on a touchscreen would be a cheap way to set up a custom travel entertainment system while on the road.
Worth to mention that you have Kodi for Android on Google Play (Kodi 16 up to Android 4.4 and Kodi 17 for Lollipop onward).
Speaking of mobility, I've already built a cheap (definitely cheaper than your Pi3 ) Slackware ARM powered Pi0 Kodi multimedia travel system (remote included) that will easily fit in my pocket.
https://imgur.com/a/E6ZRk
 
1 members found this post helpful.
Old 02-20-2018, 07:57 PM   #23
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by abga View Post
Worth to mention that you have Kodi for Android on Google Play (Kodi 16 up to Android 4.4 and Kodi 17 for Lollipop onward).
Speaking of mobility, I've already built a cheap (definitely cheaper than your Pi3 ) Slackware ARM powered Pi0 Kodi multimedia travel system (remote included) that will easily fit in my pocket.
https://imgur.com/a/E6ZRk
Oh man! That's awesome!
 
Old 03-07-2018, 06:37 AM   #24
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
So I went through the process on a brand new pi3. I built 17.6 version of kodi. When I type the kodi command, I get the following:
Code:
ERROR: Unable to create GUI. Exiting
Here's the crash log:
Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Tue Mar  6 19:03:41 EST 2018
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.14.18-v7-arm #13 SMP Sat Feb 10 19:34:01 GMT 2018
 Release: Slackware 14.2
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/stn/core (2018-03-06 19:03:41.219829027 -0500)
        =========================================
[New LWP 1284]
[New LWP 1286]
[New LWP 1291]
[New LWP 1295]
[New LWP 1299]
[New LWP 1294]
[New LWP 1297]
[New LWP 1296]
[New LWP 1298]
[New LWP 1293]
[New LWP 1292]
[New LWP 1287]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7476d634 in raise () from /lib/libc.so.6
[Current thread is 1 (Thread 0x70a2bad0 (LWP 1284))]

Thread 12 (Thread 0x700ff3d0 (LWP 1287)):
#0  0x7482253c in poll () from /lib/libc.so.6
#1  0x00adc5e4 in CFDEventMonitor::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x6ecff3d0 (LWP 1292)):
#0  0x747ef8b0 in nanosleep () from /lib/libc.so.6
#1  0x74825b80 in usleep () from /lib/libc.so.6
#2  0x005a7aac in CAESinkPi::AddPackets(unsigned char**, unsigned int, unsigned int) ()
#3  0x00575a18 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()
#4  0x00576fa4 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#5  0x0057790c in ActiveAE::CActiveAESink::Process() ()
#6  0x00d6a008 in CThread::Action() ()
#7  0x00d6a2d4 in CThread::staticThread(void*) ()
#8  0x76cc302c in start_thread () from /lib/libpthread.so.0
#9  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x6e2ff3d0 (LWP 1293)):
#0  0x7482440c in ioctl () from /lib/libc.so.6
#1  0x76976690 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0x7698c200 in vcos_thread_entry (arg=0x76988138 <vchiq_instance+16>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0x76cc302c in start_thread () from /lib/libpthread.so.0
#4  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x6acff3d0 (LWP 1298)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769772f8 in vcos_event_wait () from /opt/vc/lib/libvchiq_arm.so
#3  0x76977724 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0x6f8bd738 in ilcs_process_message () from /opt/vc/lib/libopenmaxil.so
#5  0x6f8bd5e0 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#6  0x7698c200 in vcos_thread_entry (arg=0x6e305888) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#7  0x76cc302c in start_thread () from /lib/libpthread.so.0
Backtrace stopped: Cannot access memory at address 0xfe

Thread 8 (Thread 0x6c8fd3d0 (LWP 1296)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769b4260 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b567c in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769ce4e0 <cecservice_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x6c0fc3d0 (LWP 1297)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x7698d698 in _timer_thread (arg=0x6e305818) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#2  0x76cc302c in start_thread () from /lib/libpthread.so.0
#3  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x6d8ff3d0 (LWP 1294)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769b7330 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b90a0 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769cf310 <dispmanx_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x6a4fe3d0 (LWP 1299)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00ad60e8 in COMXImage::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
Backtrace stopped: Cannot access memory at address 0x7c8

Thread 4 (Thread 0x6d0fe3d0 (LWP 1295)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769afbf8 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b1570 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769cd740 <tvservice_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x6f6ff3d0 (LWP 1291)):
#0  0x76cca830 in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00572fcc in ActiveAE::CActiveAE::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x70a283d0 (LWP 1286)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00740dac in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x70a2bad0 (LWP 1284)):
#0  0x7476d634 in raise () from /lib/libc.so.6
#1  0x7476e718 in abort () from /lib/libc.so.6
#2  0x747ac73c in __libc_message () from /lib/libc.so.6
#3  0x747b3bac in malloc_printerr () from /lib/libc.so.6
#4  0x747bc2cc in free () from /lib/libc.so.6
#5  0x00b5dfdc in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#6  0x00b5d318 in CRssManager::Clear() ()
#7  0x00971384 in CSettingsManager::OnSettingsUnloaded() ()
#8  0x00971eb0 in CSettingsManager::Unload() ()
#9  0x009753a8 in CSettingsManager::Clear() ()
#10 0x002ebe70 in CSettings::Uninitialize() ()
#11 0x002ec9d4 in CSettings::~CSettings() ()
#12 0x7477063c in __run_exit_handlers () from /lib/libc.so.6
#13 0x747707a8 in exit () from /lib/libc.so.6
#14 0x74751240 in __libc_start_main () from /lib/libc.so.6
#15 0x002cc374 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############

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

19:03:10.847 T:1889712848  NOTICE: special://profile/ is mapped to: special://masterprofile/
19:03:10.847 T:1889712848  NOTICE: -----------------------------------------------------------------------
19:03:10.847 T:1889712848  NOTICE: Starting Kodi (17.6 Git:Unknown). Platform: Linux ARM 32-bit
19:03:10.847 T:1889712848  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
19:03:10.847 T:1889712848  NOTICE: Kodi compiled Mar  5 2018 by GCC 7.3.0 for Linux ARM 32-bit version 4.14.23 (265751)
19:03:10.848 T:1889712848  NOTICE: Running on Slackware 14.2, kernel: Linux ARM 32-bit version 4.14.18-v7-arm
19:03:10.848 T:1889712848  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
19:03:10.848 T:1889712848  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
19:03:10.848 T:1889712848  NOTICE: ARM Features: Neon enabled
19:03:10.848 T:1889712848  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:03:10.848 T:1889712848  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
19:03:10.848 T:1889712848  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
19:03:10.848 T:1889712848  NOTICE: special://masterprofile/ is mapped to: /home/stn/.kodi/userdata
19:03:10.848 T:1889712848  NOTICE: special://envhome/ is mapped to: /home/stn
19:03:10.848 T:1889712848  NOTICE: special://home/ is mapped to: /home/stn/.kodi
19:03:10.848 T:1889712848  NOTICE: special://temp/ is mapped to: /home/stn/.kodi/temp
19:03:10.848 T:1889712848  NOTICE: special://logpath/ is mapped to: /home/stn/.kodi/temp
19:03:10.848 T:1889712848  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
19:03:10.848 T:1889712848  NOTICE: Local hostname: cine1.tuxgalaxy.lan
19:03:10.848 T:1889712848  NOTICE: Log File is located: /home/stn/.kodi/temp//kodi.log
19:03:10.848 T:1889712848  NOTICE: -----------------------------------------------------------------------
19:03:10.922 T:1889712848  NOTICE: load settings...
19:03:10.956 T:1889712848 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
19:03:11.030 T:1889712848  NOTICE: Found 2 Lists of Devices
19:03:11.031 T:1889712848  NOTICE: Enumerated PI devices:
19:03:11.031 T:1889712848  NOTICE:     Device 1
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : HDMI
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : HDMI
19:03:11.031 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.031 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
19:03:11.031 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.031 T:1889712848  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
19:03:11.031 T:1889712848  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
19:03:11.031 T:1889712848  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
19:03:11.031 T:1889712848  NOTICE:     Device 2
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : Analogue
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : Analogue
19:03:11.031 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.031 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.031 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.031 T:1889712848  NOTICE:         m_sampleRates     : 48000
19:03:11.031 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:03:11.031 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.031 T:1889712848  NOTICE:     Device 3
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : Both
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : HDMI and Analogue
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 48000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.032 T:1889712848  NOTICE: Enumerated ALSA devices:
19:03:11.032 T:1889712848  NOTICE:     Device 1
19:03:11.032 T:1889712848  NOTICE:         m_deviceName      : default
19:03:11.032 T:1889712848  NOTICE:         m_displayName     : Default
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.032 T:1889712848  NOTICE:     Device 2
19:03:11.032 T:1889712848  NOTICE:         m_deviceName      : pulse
19:03:11.032 T:1889712848  NOTICE:         m_displayName     : PulseAudio Sound Server
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.043 T:1889712848  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
19:03:11.043 T:1889712848  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>VideoPlayer</defaultplayer>
                                                <defaultVideoPlayer>VideoPlayer</defaultVideoPlayer>
                                              </video>
                                            </advancedsettings>
19:03:11.044 T:1889712848  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:03:11.044 T:1889712848  NOTICE: Default Video Player: VideoPlayer
19:03:11.044 T:1889712848  NOTICE: Default Audio Player: paplayer
19:03:11.044 T:1889712848  NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:03:11.044 T:1889712848  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:03:11.044 T:1889712848  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:03:11.045 T:1889712848  NOTICE: Loaded playercorefactory configuration
19:03:11.045 T:1889712848  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:03:11.045 T:1889712848  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:03:11.067 T:1889712848  NOTICE: Running database version Addons27
19:03:11.182 T:1889712848  NOTICE: ADDONS: Using repository repository.xbmc.org
19:03:11.271 T:1889712848  NOTICE: Raspberry PI firmware version: Feb  2 2018 16:19:51 
                                            Copyright (c) 2012 Broadcom
                                            version 2be242eb05556b35215b93a36fcbeb125911f65f (tainted) (release)
19:03:11.271 T:1889712848  NOTICE: ARM mem: 768MB GPU mem: 256MB MPG2:0 WVC1:0
19:03:11.271 T:1889712848  NOTICE: Config:
                                            arm_freq=1200
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=400
                                            desired_osc_freq=0x36ee80
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_depth=16
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=300
                                            hdmi_channel_map=8
                                            hdmi_force_cec_address=65535
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            over_voltage_avs=0x19f0a
                                            over_voltage_avs_boost=0x19f0a
                                            overscan_bottom=53
                                            overscan_left=53
                                            overscan_right=53
                                            overscan_top=53
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            sdram_freq=400
                                            temp_limit=85
19:03:11.271 T:1889712848  NOTICE: Config:
                                            device_tree=-
19:03:11.271 T:1889712848  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
19:03:11.272 T:1889712848   ERROR: EGL error in InitDisplay: 3001
19:03:11.272 T:1889712848   ERROR: InitWindowSystem: Could not create display
19:03:11.272 T:1889712848   FATAL: CApplication::Create: Unable to init windowing system


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

############ END Kodi CRASH LOG #############
I tried going back to 17.4 and have the same results. I'm going to backtrack to see if I miss anything. I've already rebuilt the userland raspberry git. Based on the log file, it looks like kodi doesn't have access to the video processor. However, I built omxplayer separately, and that plays HD videos fine.
 
Old 03-07-2018, 06:56 AM   #25
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by stormtracknole View Post
So I went through the process on a brand new pi3. I built 17.6 version of kodi. When I type the kodi command, I get the following:
Code:
ERROR: Unable to create GUI. Exiting
Here's the crash log:
Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Tue Mar  6 19:03:41 EST 2018
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.14.18-v7-arm #13 SMP Sat Feb 10 19:34:01 GMT 2018
 Release: Slackware 14.2
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/stn/core (2018-03-06 19:03:41.219829027 -0500)
        =========================================
[New LWP 1284]
[New LWP 1286]
[New LWP 1291]
[New LWP 1295]
[New LWP 1299]
[New LWP 1294]
[New LWP 1297]
[New LWP 1296]
[New LWP 1298]
[New LWP 1293]
[New LWP 1292]
[New LWP 1287]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7476d634 in raise () from /lib/libc.so.6
[Current thread is 1 (Thread 0x70a2bad0 (LWP 1284))]

Thread 12 (Thread 0x700ff3d0 (LWP 1287)):
#0  0x7482253c in poll () from /lib/libc.so.6
#1  0x00adc5e4 in CFDEventMonitor::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x6ecff3d0 (LWP 1292)):
#0  0x747ef8b0 in nanosleep () from /lib/libc.so.6
#1  0x74825b80 in usleep () from /lib/libc.so.6
#2  0x005a7aac in CAESinkPi::AddPackets(unsigned char**, unsigned int, unsigned int) ()
#3  0x00575a18 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()
#4  0x00576fa4 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#5  0x0057790c in ActiveAE::CActiveAESink::Process() ()
#6  0x00d6a008 in CThread::Action() ()
#7  0x00d6a2d4 in CThread::staticThread(void*) ()
#8  0x76cc302c in start_thread () from /lib/libpthread.so.0
#9  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x6e2ff3d0 (LWP 1293)):
#0  0x7482440c in ioctl () from /lib/libc.so.6
#1  0x76976690 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0x7698c200 in vcos_thread_entry (arg=0x76988138 <vchiq_instance+16>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0x76cc302c in start_thread () from /lib/libpthread.so.0
#4  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x6acff3d0 (LWP 1298)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769772f8 in vcos_event_wait () from /opt/vc/lib/libvchiq_arm.so
#3  0x76977724 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0x6f8bd738 in ilcs_process_message () from /opt/vc/lib/libopenmaxil.so
#5  0x6f8bd5e0 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#6  0x7698c200 in vcos_thread_entry (arg=0x6e305888) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#7  0x76cc302c in start_thread () from /lib/libpthread.so.0
Backtrace stopped: Cannot access memory at address 0xfe

Thread 8 (Thread 0x6c8fd3d0 (LWP 1296)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769b4260 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b567c in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769ce4e0 <cecservice_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x6c0fc3d0 (LWP 1297)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x7698d698 in _timer_thread (arg=0x6e305818) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#2  0x76cc302c in start_thread () from /lib/libpthread.so.0
#3  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x6d8ff3d0 (LWP 1294)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769b7330 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b90a0 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769cf310 <dispmanx_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x6a4fe3d0 (LWP 1299)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00ad60e8 in COMXImage::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
Backtrace stopped: Cannot access memory at address 0x7c8

Thread 4 (Thread 0x6d0fe3d0 (LWP 1295)):
#0  0x76ccd3ac in do_futex_wait.constprop () from /lib/libpthread.so.0
#1  0x76ccd588 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#2  0x769afbf8 in vcos_event_wait () from /opt/vc/lib/libbcm_host.so
#3  0x769b1570 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x7698c200 in vcos_thread_entry (arg=0x769cd740 <tvservice_notify_task>) at /data/SBo/git/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76cc302c in start_thread () from /lib/libpthread.so.0
#6  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x6f6ff3d0 (LWP 1291)):
#0  0x76cca830 in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00572fcc in ActiveAE::CActiveAE::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x70a283d0 (LWP 1286)):
#0  0x76cca0a8 in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#1  0x00740dac in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2  0x00d6a008 in CThread::Action() ()
#3  0x00d6a2d4 in CThread::staticThread(void*) ()
#4  0x76cc302c in start_thread () from /lib/libpthread.so.0
#5  0x7482e368 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x70a2bad0 (LWP 1284)):
#0  0x7476d634 in raise () from /lib/libc.so.6
#1  0x7476e718 in abort () from /lib/libc.so.6
#2  0x747ac73c in __libc_message () from /lib/libc.so.6
#3  0x747b3bac in malloc_printerr () from /lib/libc.so.6
#4  0x747bc2cc in free () from /lib/libc.so.6
#5  0x00b5dfdc in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#6  0x00b5d318 in CRssManager::Clear() ()
#7  0x00971384 in CSettingsManager::OnSettingsUnloaded() ()
#8  0x00971eb0 in CSettingsManager::Unload() ()
#9  0x009753a8 in CSettingsManager::Clear() ()
#10 0x002ebe70 in CSettings::Uninitialize() ()
#11 0x002ec9d4 in CSettings::~CSettings() ()
#12 0x7477063c in __run_exit_handlers () from /lib/libc.so.6
#13 0x747707a8 in exit () from /lib/libc.so.6
#14 0x74751240 in __libc_start_main () from /lib/libc.so.6
#15 0x002cc374 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############

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

19:03:10.847 T:1889712848  NOTICE: special://profile/ is mapped to: special://masterprofile/
19:03:10.847 T:1889712848  NOTICE: -----------------------------------------------------------------------
19:03:10.847 T:1889712848  NOTICE: Starting Kodi (17.6 Git:Unknown). Platform: Linux ARM 32-bit
19:03:10.847 T:1889712848  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
19:03:10.847 T:1889712848  NOTICE: Kodi compiled Mar  5 2018 by GCC 7.3.0 for Linux ARM 32-bit version 4.14.23 (265751)
19:03:10.848 T:1889712848  NOTICE: Running on Slackware 14.2, kernel: Linux ARM 32-bit version 4.14.18-v7-arm
19:03:10.848 T:1889712848  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
19:03:10.848 T:1889712848  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
19:03:10.848 T:1889712848  NOTICE: ARM Features: Neon enabled
19:03:10.848 T:1889712848  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:03:10.848 T:1889712848  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
19:03:10.848 T:1889712848  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
19:03:10.848 T:1889712848  NOTICE: special://masterprofile/ is mapped to: /home/stn/.kodi/userdata
19:03:10.848 T:1889712848  NOTICE: special://envhome/ is mapped to: /home/stn
19:03:10.848 T:1889712848  NOTICE: special://home/ is mapped to: /home/stn/.kodi
19:03:10.848 T:1889712848  NOTICE: special://temp/ is mapped to: /home/stn/.kodi/temp
19:03:10.848 T:1889712848  NOTICE: special://logpath/ is mapped to: /home/stn/.kodi/temp
19:03:10.848 T:1889712848  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
19:03:10.848 T:1889712848  NOTICE: Local hostname: cine1.tuxgalaxy.lan
19:03:10.848 T:1889712848  NOTICE: Log File is located: /home/stn/.kodi/temp//kodi.log
19:03:10.848 T:1889712848  NOTICE: -----------------------------------------------------------------------
19:03:10.922 T:1889712848  NOTICE: load settings...
19:03:10.956 T:1889712848 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
19:03:11.030 T:1889712848  NOTICE: Found 2 Lists of Devices
19:03:11.031 T:1889712848  NOTICE: Enumerated PI devices:
19:03:11.031 T:1889712848  NOTICE:     Device 1
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : HDMI
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : HDMI
19:03:11.031 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.031 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
19:03:11.031 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.031 T:1889712848  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
19:03:11.031 T:1889712848  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
19:03:11.031 T:1889712848  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
19:03:11.031 T:1889712848  NOTICE:     Device 2
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : Analogue
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : Analogue
19:03:11.031 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.031 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.031 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.031 T:1889712848  NOTICE:         m_sampleRates     : 48000
19:03:11.031 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:03:11.031 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.031 T:1889712848  NOTICE:     Device 3
19:03:11.031 T:1889712848  NOTICE:         m_deviceName      : Both
19:03:11.031 T:1889712848  NOTICE:         m_displayName     : HDMI and Analogue
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 48000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.032 T:1889712848  NOTICE: Enumerated ALSA devices:
19:03:11.032 T:1889712848  NOTICE:     Device 1
19:03:11.032 T:1889712848  NOTICE:         m_deviceName      : default
19:03:11.032 T:1889712848  NOTICE:         m_displayName     : Default
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.032 T:1889712848  NOTICE:     Device 2
19:03:11.032 T:1889712848  NOTICE:         m_deviceName      : pulse
19:03:11.032 T:1889712848  NOTICE:         m_displayName     : PulseAudio Sound Server
19:03:11.032 T:1889712848  NOTICE:         m_displayNameExtra:
19:03:11.032 T:1889712848  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:03:11.032 T:1889712848  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:03:11.032 T:1889712848  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:03:11.032 T:1889712848  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:03:11.032 T:1889712848  NOTICE:         m_streamTypes     : No passthrough capabilities
19:03:11.043 T:1889712848  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
19:03:11.043 T:1889712848  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>VideoPlayer</defaultplayer>
                                                <defaultVideoPlayer>VideoPlayer</defaultVideoPlayer>
                                              </video>
                                            </advancedsettings>
19:03:11.044 T:1889712848  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:03:11.044 T:1889712848  NOTICE: Default Video Player: VideoPlayer
19:03:11.044 T:1889712848  NOTICE: Default Audio Player: paplayer
19:03:11.044 T:1889712848  NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:03:11.044 T:1889712848  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:03:11.044 T:1889712848  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:03:11.045 T:1889712848  NOTICE: Loaded playercorefactory configuration
19:03:11.045 T:1889712848  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:03:11.045 T:1889712848  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:03:11.067 T:1889712848  NOTICE: Running database version Addons27
19:03:11.182 T:1889712848  NOTICE: ADDONS: Using repository repository.xbmc.org
19:03:11.271 T:1889712848  NOTICE: Raspberry PI firmware version: Feb  2 2018 16:19:51 
                                            Copyright (c) 2012 Broadcom
                                            version 2be242eb05556b35215b93a36fcbeb125911f65f (tainted) (release)
19:03:11.271 T:1889712848  NOTICE: ARM mem: 768MB GPU mem: 256MB MPG2:0 WVC1:0
19:03:11.271 T:1889712848  NOTICE: Config:
                                            arm_freq=1200
                                            audio_pwm_mode=514
                                            config_hdmi_boost=5
                                            core_freq=400
                                            desired_osc_freq=0x36ee80
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            display_hdmi_rotate=-1
                                            display_lcd_rotate=-1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_depth=16
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=300
                                            hdmi_channel_map=8
                                            hdmi_force_cec_address=65535
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            over_voltage_avs=0x19f0a
                                            over_voltage_avs_boost=0x19f0a
                                            overscan_bottom=53
                                            overscan_left=53
                                            overscan_right=53
                                            overscan_top=53
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            sdram_freq=400
                                            temp_limit=85
19:03:11.271 T:1889712848  NOTICE: Config:
                                            device_tree=-
19:03:11.271 T:1889712848  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
19:03:11.272 T:1889712848   ERROR: EGL error in InitDisplay: 3001
19:03:11.272 T:1889712848   ERROR: InitWindowSystem: Could not create display
19:03:11.272 T:1889712848   FATAL: CApplication::Create: Unable to init windowing system


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

############ END Kodi CRASH LOG #############
I tried going back to 17.4 and have the same results. I'm going to backtrack to see if I miss anything. I've already rebuilt the userland raspberry git. Based on the log file, it looks like kodi doesn't have access to the video processor. However, I built omxplayer separately, and that plays HD videos fine.
...and of course I did forget a step. For future reference in case someone else has this issue, don't forget about setting up the scripts that handle the libEGL.so links. Those are handled by "glx and glkodi" scripts that need to be created manually on the first page. Otherwise, you'll get the errors that I'm getting.
 
1 members found this post helpful.
Old 03-07-2018, 03:54 PM   #26
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
@stormtracknole

It's an annoyance for sure and the Kodi Forum is filled with this "Unable to create GUI" Error.
It's enough to inspect the Kodi log (not the crash) and if you spot this:
Code:
ERROR: Unable to create GUI. Exiting
then it's about the wrong MESA libs.

I even proposed to hard link these libs in /opt/vc if the Kodi build target is raspberry, but nobody took up the suggestion yet:
https://forum.kodi.tv/showthread.php...993#pid2579993
 
Old 03-07-2018, 08:23 PM   #27
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by abga View Post
@stormtracknole

It's an annoyance for sure and the Kodi Forum is filled with this "Unable to create GUI" Error.
It's enough to inspect the Kodi log (not the crash) and if you spot this:
Code:
ERROR: Unable to create GUI. Exiting
then it's about the wrong MESA libs.

I even proposed to hard link these libs in /opt/vc if the Kodi build target is raspberry, but nobody took up the suggestion yet:
https://forum.kodi.tv/showthread.php...993#pid2579993
Interesting...

So tonight, I finally had a chance to play fully with the build. I played a couple of videos that are 1080 and kodi had no problems at all. One thing I noticed though is that the thumbnail artwork for my detected movies look like 8-bit. I've tried looking through all my settings and can't find anything that can tweak that. I did not have that problem when I used the raspbian version. Have you run into that? It's not a super critical problem as movies play fine with no loss of quality.
 
Old 03-07-2018, 09:25 PM   #28
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by stormtracknole View Post
Interesting...

So tonight, I finally had a chance to play fully with the build. I played a couple of videos that are 1080 and kodi had no problems at all. One thing I noticed though is that the thumbnail artwork for my detected movies look like 8-bit. I've tried looking through all my settings and can't find anything that can tweak that. I did not have that problem when I used the raspbian version. Have you run into that? It's not a super critical problem as movies play fine with no loss of quality.
I'm usually playing Satellite TV / Online Radio and not really caring too much about local content, apart from music. I do remember however that I struggled to not let Kodi index my music, but let me browse & choose from my folders, same with the movies, for which I actually use the Videos section (not indexing - creating playlist) And now, since I'm only using the tiny Raspberry Pi Zero for Kodi, I'm trying to keep the Kodi interface as lightweight as possible, thus no artwork at all.

Have you checked? :
Settings>System>Display>Enable higher colour depth artwork

Worth mentioning that you need to set your Kodi Settings on Expert Level - I described that in my original post.
For the artwork/information content retrieval you already have some prebuilt addons that you can find in your addons settings, more info about:
https://kodi.wiki/view/Artwork
 
Old 03-08-2018, 07:01 AM   #29
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,061

Rep: Reputation: 150Reputation: 150
Not sure if this is related or not, but even the desktop looks kind of washed out too. If I have "dtoverlay=vc4-fkms-v3d" enabled in my config.txt, that the desktop looks sharp again. However, that breaks kodi. I can grab some screenshots later. Have you noticed this at all?
 
Old 03-08-2018, 03:04 PM   #30
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 657

Original Poster
Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
I'm usually using the Pi boards headless and never loaded the vc4 driver in /boot/config.txt even when using X (xfce).
The ones I'm running Kodi on have the following graphics related settings in /boot/config.txt
Code:
framebuffer_depth=16
# Kodi&co will crash with 24
gpu_mem=256
You could try to go for a 32bit depth in your /boot/config.txt:
Code:
framebuffer_depth=32
framebuffer_ignore_alpha=1
- inspiration, search for the "FRAMEBUFFER_DEPTH" section
https://www.raspberrypi.org/document...g-txt/video.md
- here is another (old) thread about the color depth and the issues
https://github.com/raspberrypi/firmware/issues/41
- and here some info from Kodi:
https://kodi.wiki/view/Video_levels_and_color_space

If you believe that the Kodi GUI looked better under Raspbian, then have a look at the /boot/config.txt under Raspbian and copy the options to your Slackware ARM system. Alternatively, you can try libreELEC and check the options that the setup scripts from within libreELEC came up with in the following files:
https://github.com/LibreELEC/LibreEL...der/config.txt
https://github.com/LibreELEC/LibreEL...stroconfig.txt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware ARM Raspberry Pi - armv6 and armv7 - optimized FFMPEG with HW Acceleration abga Slackware - ARM 28 08-19-2018 03:45 PM
Raspberry PI 3 + Slackware 14.2 Arm + Kodi tb404 Linux - Software 16 02-04-2017 11:26 PM
Elementary OS on Raspberry Pi3 (arm processors) ?? Marv_Mark elementary OS 3 12-14-2016 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration