install KODI on A20-OLinuXino-Lime2 Debian with kernel 3.4.90+ release 2

Started by janneman, November 15, 2015, 12:52:30 PM

Previous topic - Next topic

janneman

Hello,

The system:
I am trying to install kodi (xbmc) on my olinuxino A20 lime 2 with the latest stable debian image.

The goal:
Install kodi http://kodi.tv/

The first problem:
I try to install kodi with the command apt-get install kodi.
But I receive the following error:

root@OLinuXino-A20:/home/olimex# apt-get install kodi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
kodi : Depends: kodi-bin (>= 15.2+dfsg1-1) but it is not going to be installed
        Depends: kodi-bin (< 15.2+dfsg1-1.1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Solution:

I modified my sources.list as follows

deb http://ftp.be.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.be.debian.org/debian/ jessie main contrib non-free
deb http://ftp.be.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.be.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free
#deb http://ftp.bg.debian.org/debian testing main contrib non-free
#deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
#deb http://security.debian.org/ jessie/updates main contrib non-free


The second problem:

When running kodi I get an error:


/usr/bin/arm-linux-gnueabihf/kodi/kodi-xrandr: Failed to get size of gamma for output default
libEGL warning: DRI2: Failed top open lima (search paths /usr/lib/arm-linux-gnueabihf/dri:S{ORIGIN}/dri:/usr/lib/dri)
Segmentation fault


and a crash report

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

################ SYSTEM INFO ################
Date: Sun Nov 15 12:03:08 UTC 2015
Kodi Options:
Arch: armv7l
Kernel: Linux 3.4.103-00033-g9a1cd03-dirty #17 SMP PREEMPT Tue Sep 8 11:01:09 EEST 2015
Release: Debian GNU/Linux 8 (jessie)
############## END SYSTEM INFO ##############

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

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

12:03:07 T:2973110880  NOTICE: special://profile/ is mapped to: special://masterprofile/
12:03:07 T:2973110880  NOTICE: -----------------------------------------------------------------------
12:03:07 T:2973110880  NOTICE: Starting Kodi from Debian (15.2-RC3 Debian package version:15.2~rc3+dfsg1-1~bpo8+1 Git: (unknown)). Platform: Linux ARM (Thumb) 32-bit
12:03:07 T:2973110880  NOTICE: Using Debug Kodi from Debian x32 build
12:03:07 T:2973110880  NOTICE: Kodi from Debian compiled from 15.2~rc3+dfsg1-1~bpo8+1 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)
12:03:07 T:2973110880  NOTICE: Running on Debian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 3.4.103-00033-g9a1cd03-dirty
12:03:07 T:2973110880  NOTICE: FFmpeg version: 2.8.1-1~bpo8+1
12:03:07 T:2973110880  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 2 cores available
12:03:07 T:2973110880  NOTICE: ARM Features: Neon disabled
12:03:07 T:2973110880  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
12:03:07 T:2973110880  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
12:03:07 T:2973110880  NOTICE: special://masterprofile/ is mapped to: /home/olimex/.kodi/userdata
12:03:07 T:2973110880  NOTICE: special://home/ is mapped to: /home/olimex/.kodi
12:03:07 T:2973110880  NOTICE: special://temp/ is mapped to: /home/olimex/.kodi/temp
12:03:07 T:2973110880  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
12:03:07 T:2973110880  NOTICE: Local hostname: OLinuXino-A20
12:03:07 T:2973110880  NOTICE: Log File is located: /home/olimex/.kodi/temp/kodi.log
12:03:07 T:2973110880  NOTICE: -----------------------------------------------------------------------
12:03:07 T:2973110880   DEBUG: ConsoleKit.Manager: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.ConsoleKit was not provided by any .service files
12:03:07 T:2973110880   DEBUG: UPower: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
12:03:07 T:2973110880   DEBUG: ConsoleKit.Manager: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.ConsoleKit was not provided by any .service files
12:03:07 T:2973110880   DEBUG: DeviceKit.Power: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
12:03:07 T:2973110880    INFO: Selected Logind/UPower as PowerSyscall
12:03:07 T:2973110880   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
12:03:07 T:2973110880    INFO: LogindUPowerSyscall - UPower not found, battery information will not be available
12:03:07 T:2973110880   DEBUG: LogindUPowerSyscall - inhibit lock taken, fd 10
12:03:07 T:2973110880   DEBUG: UPower: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
12:03:07 T:2973110880  NOTICE: load settings...
12:03:07 T:2973110880   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
12:03:07 T:2973110880   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/linux.xml
12:03:07 T:2973110880   ERROR: PulseAudio: Failed to connect context
12:03:07 T:2973110880  NOTICE: PulseAudio might not be running. Context was not created.
12:03:07 T:2905318224  NOTICE: Thread FDEventMonitor start, auto delete: false
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround71" for playback
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround51" for playback
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround71" for playback
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround40" for playback
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround51" for playback
12:03:07 T:2973110880    INFO: CAESinkALSA - Unable to open device "surround71" for playback
12:03:07 T:2973110880  NOTICE: Found 1 Lists of Devices
12:03:07 T:2973110880  NOTICE: Enumerated ALSA devices:
12:03:07 T:2973110880  NOTICE:     Device 1
12:03:07 T:2973110880  NOTICE:         m_deviceName      : @
12:03:07 T:2973110880  NOTICE:         m_displayName     : Default (sunxi-CODEC sunxi PCM)
12:03:07 T:2973110880  NOTICE:         m_displayNameExtra:
12:03:07 T:2973110880  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
12:03:07 T:2973110880  NOTICE:         m_channels        : FL,FR
12:03:07 T:2973110880  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,96000,192000
12:03:07 T:2973110880  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
12:03:07 T:2973110880  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
12:03:07 T:2973110880  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
12:03:07 T:2973110880  NOTICE: Default DVD Player: dvdplayer
12:03:07 T:2973110880  NOTICE: Default Video Player: dvdplayer
12:03:07 T:2973110880  NOTICE: Default Audio Player: paplayer
12:03:07 T:2973110880  NOTICE: Disabled debug logging due to GUI setting. Level 0.
12:03:07 T:2973110880  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
12:03:07 T:2973110880  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
12:03:07 T:2973110880   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
12:03:07 T:2973110880   DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
12:03:07 T:2973110880   DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/mms/udp
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtmp
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
12:03:07 T:2973110880   DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
12:03:07 T:2973110880  NOTICE: Loaded playercorefactory configuration
12:03:07 T:2973110880  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
12:03:07 T:2973110880  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
12:03:07 T:2973110880    INFO: creating subdirectories
12:03:07 T:2973110880    INFO: userdata folder: special://masterprofile/
12:03:07 T:2973110880    INFO: recording folder:
12:03:07 T:2973110880    INFO: screenshots folder:
12:03:07 T:2895115088  NOTICE: Thread ActiveAE start, auto delete: false
12:03:07 T:2884629328  NOTICE: Thread AESink start, auto delete: false
12:03:07 T:2884629328    INFO: CActiveAESink::OpenSink - initialize sink
12:03:07 T:2884629328   DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:@
12:03:07 T:2884629328    INFO: CAESinkALSA::Initialize - Attempting to open device "@"
12:03:07 T:2884629328    INFO: CAESinkALSA::Initialize - Opened device "sysdefault"
12:03:07 T:2884629328    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
12:03:07 T:2884629328    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
12:03:07 T:2884629328   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
12:03:07 T:2884629328   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
12:03:07 T:2884629328   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
12:03:07 T:2884629328   DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
12:03:07 T:2884629328   DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
12:03:07 T:2884629328   DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none)
12:03:07 T:2884629328   DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
12:03:07 T:2884629328   DEBUG:   Output Device : Default (sunxi-CODEC sunxi PCM)
12:03:07 T:2884629328   DEBUG:   Sample Rate   : 44100
12:03:07 T:2884629328   DEBUG:   Sample Format : AE_FMT_S16NE
12:03:07 T:2884629328   DEBUG:   Channel Count : 2
12:03:07 T:2884629328   DEBUG:   Channel Layout: FL,FR
12:03:07 T:2884629328   DEBUG:   Frames        : 2048
12:03:07 T:2884629328   DEBUG:   Frame Samples : 4096
12:03:07 T:2884629328   DEBUG:   Frame Size    : 4
12:03:07 T:2973110880  NOTICE: Running database version Addons19
12:03:07 T:2973110880   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcpluff-arm.so)
12:03:07 T:2973110880   DEBUG: Loading: /usr/lib/arm-linux-gnueabihf/kodi/system/libcpluff-arm.so
12:03:07 T:2973110880    INFO: ADDON: cpluff: 'Could not read plug-in directory /home/olimex/.kodi/addons: No such file or directory'
12:03:07 T:2973110880    INFO: ADDON: cpluff: 'Could not read plug-in directory /usr/lib/arm-linux-gnueabihf/kodi/addons: No such file or directory'
12:03:07 T:2973110880  NOTICE: ADDONS: Using repository repository.xbmc.org
12:03:07 T:2876240720  NOTICE: Thread RemoteControl start, auto delete: false
12:03:07 T:2876240720    INFO: LIRC Process: using: /dev/lircd
12:03:07 T:2876240720    INFO: LIRC Connect: connect failed: No such file or directory
12:03:07 T:2876240720    INFO: CRemoteControl::Process - failed to connect to LIRC, will keep retrying every 5 seconds
12:03:07 T:2973110880    INFO: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Norwegian QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Arabic QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Portuguese (Portugal) QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "English QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "English AZERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "English ABC" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Hungarian QWERTZ" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian AZERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Romanian QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Danish QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Swedish QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Turkish QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Russian ЙЦУКЕН" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Russian АБВ" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian ЯВЕРТЪ" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian АБВ" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew ABC" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Spanish QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Polish QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "German QWERTZ" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Greek QWERTY" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian ЙЦУКЕН" successfully loaded
12:03:07 T:2973110880   DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian АБВ" successfully loaded
12:03:07 T:2973110880   DEBUG: UDisks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UDisks was not provided by any .service files
12:03:07 T:2973110880   DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
12:03:07 T:2973110880   DEBUG: Selected UDev as storage provider
12:03:07 T:2973110880    INFO: Available videomodes (xrandr):
12:03:07 T:2973110880    INFO: Output 'default' has 3 modes
12:03:07 T:2973110880    INFO: ID:0x17e Name:1280x720 Refresh:50.000000 Width:1280 Height:720
12:03:07 T:2973110880    INFO: Pixel Ratio: 1.000000
12:03:07 T:2973110880    INFO: ID:0x1fb Name:1240x700_60.00 Refresh:59.879421 Width:1240 Height:700
12:03:07 T:2973110880    INFO: Pixel Ratio: 1.000000
12:03:07 T:2973110880    INFO: ID:0x1fc Name:braviatv Refresh:59.879421 Width:1240 Height:700
12:03:07 T:2973110880    INFO: Pixel Ratio: 1.000000
12:03:07 T:2973110880  NOTICE: Checking resolution 16
12:03:08 T:2973110880   DEBUG: Window Manager Name: Openbox
12:03:08 T:2973110880   ERROR: CWinSystemX11::XErrorHandler: BadAtom (invalid Atom parameter), type:0, serial:31, error_code:5, request_code:18 minor_code:0
12:03:08 T:2973110880   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-arm.so)
12:03:08 T:2973110880   DEBUG: Loading: /usr/lib/arm-linux-gnueabihf/kodi/system/ImageLib-arm.so
12:03:08 T:2973110880 WARNING: Visual 0x21 of the SDL window is not suitable, looking for another one...
12:03:08 T:2973110880   ERROR: Failed to determine egl config for visual info
12:03:08 T:2973110880   ERROR: Previous line repeats 116 times.
12:03:08 T:2973110880   ERROR: EGL/GLX Error: vInfo is NULL!
12:03:08 T:2973110880    INFO: GLES: Maximum texture width: 2048
12:03:08 T:2973110880   DEBUG: EGL_EXTENSIONS: EGL_MESA_configless_context EGL_KHR_surfaceless_context


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

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


Any ideas

JohnS


janneman

@John

You mean I should build kodi? or the mali driver?
Can you give me some more info to get started as i am just a noob?

JohnS

Whatever you want that does not now work, build from source.

But you sound to be starting from a poor position.  Why do it at all...

Or if you plan to then start with things that are easier and get experience.  There must be a zillion tutorials for things on the net.

John

janneman

Well, if the mali driver isn't working for anyone, there isn't much I can do.
I'll just have to find another solution until this gets fixed.

frederic_alexandre

Hi,
I did correction for using xbmc on Olinuxino. I did a small wiki page http://olinuxino.4pro-web.com/wiki/xbmc-for-olimex-a20/ to explain how to compile from source.

Up to know only Frodo version of Kodi is up, but I will soon release new version of Xbmc with specific optimization for olinuxino
Hope it will help
Best regards,