Forum

Full Version: Kodi wont start on HummingBoard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I tried some times to boot xbian in my HummingBoard, It boots and I can login through SSH, but Kodi does not start.

Thanks you very much for your help.

Software
XBian version: XBian_2016.03.01_imx6
XBMC/Kodi version: 16?
Overclock settings: Stock

Hardware
HummingBoard Pro (Wifi;Bluetooth, 4Gbytes of RAM)
Power supply rating: Original by SolidRun
SD card size and make/type: Original by SolidRun
Network (Ethernet or wireless): Ethernet
Connected devices (Multimedia display with Audio (HDMI); USB keyboard):

Log files
Link to logfile(s): Pasted at the end

Problem description:
Kodi does not start

How to reproduce:
Fresh install always the same problem.


18:11:12 1114.446777 T:1953632256 NOTICE: special://profile/ is mapped to: special://masterprofile/
18:11:12 1114.446899 T:1953632256 NOTICE: -----------------------------------------------------------------------
18:11:12 1114.447021 T:1953632256 NOTICE: Starting Kodi (16.0 Git:2016-02-23-a265cd7). Platform: Linux ARM (Thumb) 32-bit
18:11:12 1114.447021 T:1953632256 NOTICE: Using Debug Kodi x32 build
18:11:12 1114.447144 T:1953632256 NOTICE: Kodi compiled Feb 23 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 4.1.7 (262407)
18:11:12 1114.447388 T:1953632256 NOTICE: Running on XBian 1.0 (knockout), kernel: Linux ARM 32-bit version 4.3.3+
18:11:12 1114.447510 T:1953632256 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
18:11:12 1114.447510 T:1953632256 NOTICE: Host CPU: ARMv7 Processor rev 10 (v7l), 4 cores available
18:11:12 1114.447632 T:1953632256 NOTICE: ARM Features: Neon enabled
18:11:12 1114.447632 T:1953632256 NOTICE: special://xbmc/ is mapped to: /usr/local/share/kodi
18:11:12 1114.447754 T:1953632256 NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
18:11:12 1114.447754 T:1953632256 NOTICE: special://masterprofile/ is mapped to: /home/xbian/.kodi/userdata
18:11:12 1114.447876 T:1953632256 NOTICE: special://home/ is mapped to: /home/xbian/.kodi
18:11:12 1114.447876 T:1953632256 NOTICE: special://temp/ is mapped to: /home/xbian/.kodi/temp
18:11:12 1114.447998 T:1953632256 NOTICE: The executable running is: /usr/local/lib/kodi/kodi.bin
18:11:12 1114.448120 T:1953632256 NOTICE: Local hostname: xbian
18:11:12 1114.448242 T:1953632256 NOTICE: Log File is located: /home/xbian/.kodi/temp/kodi.log
18:11:12 1114.448364 T:1953632256 NOTICE: -----------------------------------------------------------------------
18:11:12 1114.464600 T:1953632256 INFO: Selected UPower as PowerSyscall
18:11:12 1114.497192 T:1953632256 DEBUG: DeviceKit.Power: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
18:11:12 1114.497314 T:1953632256 INFO: Selected Logind/UPower as PowerSyscall
18:11:12 1114.509155 T:1953632256 DEBUG: LogindUPowerSyscall - inhibit lock taken, fd 15
18:11:12 1114.514160 T:1953632256 INFO: Selected UPower as PowerSyscall
18:11:12 1114.518433 T:1953632256 DEBUG: LogindUPowerSyscall - delay lock released
18:11:12 1114.518799 T:1953632256 NOTICE: load settings...
18:11:12 1114.560425 T:1953632256 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
18:11:12 1114.585938 T:1953632256 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/imx6.xml
18:11:12 1114.607422 T:1953632256 ERROR: PulseAudio: Failed to connect context
18:11:12 1114.607666 T:1953632256 NOTICE: PulseAudio might not be running. Context was not created.
18:11:12 1114.608887 T:1715463088 DEBUG: Thread FDEventMonitor start, auto delete: false
18:11:12 1114.626465 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71" for playback
18:11:12 1114.628418 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround51" for playback
18:11:12 1114.628540 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71" for playback
18:11:12 1114.630371 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround40" for playback
18:11:12 1114.630493 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround51" for playback
18:11:12 1114.630615 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71" for playback
18:11:12 1114.683594 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.685425 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround51:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.685547 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.687378 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround40:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.687500 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround51:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.687622 T:1953632256 INFO: CAESinkALSA - Unable to open device "surround71:CARD=imxsgtl5000,DEV=0" for playback
18:11:12 1114.694458 T:1953632256 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:11:12 1114.694580 T:1953632256 NOTICE: Found 1 Lists of Devices
18:11:12 1114.694580 T:1953632256 NOTICE: Enumerated ALSA devices:
18:11:12 1114.694702 T:1953632256 NOTICE: Device 1
18:11:12 1114.694946 T:1953632256 NOTICE: m_deviceName : @
18:11:12 1114.695068 T:1953632256 NOTICE: m_displayName : Default (imx-sgtl5000 Analog)
18:11:12 1114.695068 T:1953632256 NOTICE: m_displayNameExtra:
18:11:12 1114.695190 T:1953632256 NOTICE: m_deviceType : AE_DEVTYPE_PCM
18:11:12 1114.695190 T:1953632256 NOTICE: m_channels : FL,FR
18:11:12 1114.695312 T:1953632256 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,96000
18:11:12 1114.695312 T:1953632256 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
18:11:12 1114.695435 T:1953632256 NOTICE: Device 2
18:11:12 1114.695557 T:1953632256 NOTICE: m_deviceName : @:CARD=imxsgtl5000,DEV=0
18:11:12 1114.695557 T:1953632256 NOTICE: m_displayName : imx-sgtl5000
18:11:12 1114.695679 T:1953632256 NOTICE: m_displayNameExtra: Analog
18:11:12 1114.695679 T:1953632256 NOTICE: m_deviceType : AE_DEVTYPE_PCM
18:11:12 1114.695801 T:1953632256 NOTICE: m_channels : FL,FR
18:11:12 1114.695801 T:1953632256 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,96000
18:11:12 1114.695923 T:1953632256 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
18:11:12 1114.695923 T:1953632256 NOTICE: Device 3
18:11:12 1114.696167 T:1953632256 NOTICE: m_deviceName : iec958:CARD=imxspdif,DEV=0
18:11:12 1114.696167 T:1953632256 NOTICE: m_displayName : imx-spdif
18:11:12 1114.696289 T:1953632256 NOTICE: m_displayNameExtra: S/PDIF
18:11:12 1114.696289 T:1953632256 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:11:12 1114.696411 T:1953632256 NOTICE: m_channels : FL,FR
18:11:12 1114.696411 T:1953632256 NOTICE: m_sampleRates : 32000,44100,48000,96000,192000
18:11:12 1114.696533 T:1953632256 NOTICE: m_dataFormats : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
18:11:12 1114.696533 T:1953632256 NOTICE: Device 4
18:11:12 1114.696655 T:1953632256 NOTICE: m_deviceName : hdmi:CARD=imxhdmisoc,DEV=0
18:11:12 1114.696655 T:1953632256 NOTICE: m_displayName : imx-hdmi-soc
18:11:12 1114.696777 T:1953632256 NOTICE: m_displayNameExtra: ACI VE247 on HDMI
18:11:12 1114.696777 T:1953632256 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
18:11:12 1114.696899 T:1953632256 NOTICE: m_channels : FL,FR
18:11:12 1114.696899 T:1953632256 NOTICE: m_sampleRates : 32000,44100,48000
18:11:12 1114.697021 T:1953632256 NOTICE: m_dataFormats : AE_FMT_LPCM,AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_DTSHD,AE_FMT_TRUEHD,A​E_FMT_EAC3,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_AAC
18:11:12 1114.710693 T:1953632256 DEBUG: CSkinSettings: no <skinsettings> tag found
18:11:12 1114.712158 T:1953632256 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
18:11:12 1114.712524 T:1953632256 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<advancedsettings>
<fanartres>720</fanartres>
<imageres>540</imageres>
<network>
<readbufferfactor>4.0</readbufferfactor>
</network>
</advancedsettings>
18:11:12 1114.713989 T:1953632256 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
18:11:12 1114.714111 T:1953632256 NOTICE: Default DVD Player: dvdplayer
18:11:12 1114.714233 T:1953632256 NOTICE: Default Video Player: dvdplayer
18:11:12 1114.714233 T:1953632256 NOTICE: Default Audio Player: paplayer
18:11:12 1114.714355 T:1953632256 NOTICE: Disabled debug logging due to GUI setting. Level 0.
18:11:12 1114.714355 T:1953632256 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
18:11:12 1114.714600 T:1953632256 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
18:11:12 1114.715332 T:1953632256 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:11:12 1114.716309 T:1953632256 NOTICE: Loaded playercorefactory configuration
18:11:12 1114.716675 T:1953632256 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
18:11:12 1114.716919 T:1953632256 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
18:11:12 1114.765869 T:1953632256 NOTICE: Running database version Addons20
18:11:13 1114.869751 T:1953632256 NOTICE: ADDONS: Using repository repository.xbmc.org
18:11:13 1114.869873 T:1953632256 NOTICE: ADDONS: Using repository repository.superrepo.org.gotham.all
18:11:13 1115.046997 T:1953632256 NOTICE: Register - new cec device registered on cec->i.MX: CEC Adapter (0471:1001)
18:11:13 1115.298340 T:1953632256 ERROR: DBus: Error org.freedesktop.UDisks.Error.Failed - Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/root on /home
18:11:14 1115.897095 T:1953632256 NOTICE: Register - new video device registered on platform->/sys/devices/soc0/soc/20e0000.hdmi_video: generic_video,hdmi_video (0000:0000)
18:11:14 1115.898193 T:1953632256 NOTICE: Initialize - graphics sysfs is writable
18:11:14 1115.898438 T:1953632256 NOTICE: Initialize - 32bpp: configure alpha blending
18:11:14 1115.975342 T:1953632256 NOTICE: InitWindowSystem: Using EGL Implementation: iMX
18:11:14 1116.148193 T:1953632256 NOTICE: Found resolution 1280x 720 @ 60.000 - Full Screen CEA (0.999)
18:11:14 1116.148315 T:1953632256 NOTICE: Found resolution 1280x 720 @ 59.940 - Full Screen CEA (0.999)
18:11:14 1116.148438 T:1953632256 NOTICE: Found resolution 1360x 768 @ 60.000 - Full Screen CEA (1.003)
18:11:14 1116.148438 T:1953632256 NOTICE: Found resolution 1360x 768 @ 59.940 - Full Screen CEA (1.003)
18:11:14 1116.148560 T:1953632256 NOTICE: Found resolution 1920x1080 @ 60.000 - Full Screen CEA (0.999)
18:11:14 1116.148560 T:1953632256 NOTICE: Found resolution 1920x1080 @ 59.940 - Full Screen CEA (0.999)
18:11:14 1116.148682 T:1953632256 NOTICE: Found resolution 720x 480 @ 60.000 - Full Screen CEA (1.184)
18:11:14 1116.148682 T:1953632256 NOTICE: Found resolution 720x 480 @ 59.940 - Full Screen CEA (1.184)
18:11:14 1116.148804 T:1953632256 NOTICE: Found resolution 1280x 720 @ 50.000 - Full Screen CEA (0.999)
18:11:14 1116.148804 T:1953632256 NOTICE: Found resolution 1920x1080 @ 50.000i - Full Screen CEA (0.999)
18:11:14 1116.148926 T:1953632256 NOTICE: Found resolution 1920x1080 @ 60.000i - Full Screen CEA (0.999)
18:11:14 1116.148926 T:1953632256 NOTICE: Found resolution 1920x1080 @ 59.940i - Full Screen CEA (0.999)
18:11:14 1116.149048 T:1953632256 NOTICE: Found resolution 1920x1080 @ 50.000 - Full Screen CEA (0.999)
18:11:14 1116.149048 T:1953632256 NOTICE: Found resolution 720x 576 @ 50.000 - Full Screen CEA (1.421)
18:11:14 1116.149170 T:1953632256 NOTICE: Found resolution 1440x 896 @ 60.000 - Full Screen DMT (1.105)
18:11:14 1116.149170 T:1953632256 NOTICE: Found resolution 1440x 896 @ 59.940 - Full Screen DMT (1.105)
18:11:14 1116.149292 T:1953632256 NOTICE: Found resolution 1680x1048 @ 60.000 - Full Screen DMT (1.108)
18:11:14 1116.149292 T:1953632256 NOTICE: Found resolution 1680x1048 @ 59.940 - Full Screen DMT (1.108)
18:11:14 1116.149414 T:1953632256 NOTICE: Found resolution 640x 480 @ 67.000 - Full Screen DMT (1.332)
18:11:14 1116.149536 T:1953632256 NOTICE: Found resolution 720x 400 @ 70.000 - Full Screen DMT (0.987)
18:11:14 1116.149536 T:1953632256 NOTICE: Found resolution 832x 624 @ 75.000 - Full Screen DMT (1.332)
18:11:14 1116.149658 T:1953632256 NOTICE: Found resolution 1024x 768 @ 60.000 - Full Screen DMT (1.332)
18:11:14 1116.149658 T:1953632256 NOTICE: Found resolution 1024x 768 @ 59.940 - Full Screen DMT (1.332)
18:11:14 1116.149780 T:1953632256 NOTICE: Found resolution 1024x 768 @ 70.000 - Full Screen DMT (1.332)
18:11:14 1116.149780 T:1953632256 NOTICE: Found resolution 1024x 768 @ 75.000 - Full Screen DMT (1.332)
18:11:14 1116.149902 T:1953632256 NOTICE: Found resolution 1152x 864 @ 75.000 - Full Screen DMT (1.332)
18:11:14 1116.149902 T:1953632256 NOTICE: Found resolution 1280x1024 @ 60.000 - Full Screen DMT (1.421)
18:11:14 1116.150024 T:1953632256 NOTICE: Found resolution 1280x1024 @ 59.940 - Full Screen DMT (1.421)
18:11:14 1116.150024 T:1953632256 NOTICE: Found resolution 1280x1024 @ 75.000 - Full Screen DMT (1.421)
18:11:14 1116.150146 T:1953632256 NOTICE: Found resolution 1280x 960 @ 60.000 - Full Screen DMT (1.332)
18:11:14 1116.150146 T:1953632256 NOTICE: Found resolution 1280x 960 @ 59.940 - Full Screen DMT (1.332)
18:11:14 1116.150269 T:1953632256 NOTICE: Found resolution 1600x1200 @ 60.000 - Full Screen DMT (1.332)
18:11:14 1116.150269 T:1953632256 NOTICE: Found resolution 1600x1200 @ 59.940 - Full Screen DMT (1.332)
18:11:14 1116.150391 T:1953632256 NOTICE: Found resolution 640x 480 @ 60.000 - Full Screen DMT (1.332)
18:11:14 1116.150391 T:1953632256 NOTICE: Found resolution 640x 480 @ 59.940 - Full Screen DMT (1.332)
18:11:14 1116.150513 T:1953632256 NOTICE: Found resolution 640x 480 @ 72.000 - Full Screen DMT (1.332)
18:11:14 1116.150513 T:1953632256 NOTICE: Found resolution 640x 480 @ 75.000 - Full Screen DMT (1.332)
18:11:14 1116.150635 T:1953632256 NOTICE: Found resolution 800x 600 @ 56.000 - Full Screen DMT (1.332)
18:11:14 1116.150635 T:1953632256 NOTICE: Found resolution 800x 600 @ 60.000 - Full Screen DMT (1.332)
18:11:14 1116.150757 T:1953632256 NOTICE: Found resolution 800x 600 @ 59.940 - Full Screen DMT (1.332)
18:11:14 1116.150757 T:1953632256 NOTICE: Found resolution 800x 600 @ 72.000 - Full Screen DMT (1.332)
18:11:14 1116.150879 T:1953632256 NOTICE: Found resolution 800x 600 @ 75.000 - Full Screen DMT (1.332)
18:11:14 1116.151367 T:1953632256 NOTICE: Checking resolution 16
18:11:14 1116.363525 T:1953632256 ERROR: EGL error in CreateSurface: 3003
18:11:14 1116.363647 T:1953632256 NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
18:11:14 1116.384766 T:1953632256 ERROR: EGL error in CreateSurface: 3003
18:11:14 1116.384888 T:1953632256 ERROR: CreateWindow: Could not create surface
18:11:14 1116.384888 T:1953632256 ERROR: CreateNewWindow: Could not create new window
18:11:14 1116.385010 T:1953632256 FATAL: CApplication::Create: Unable to create window
Did you change locales? I had same issues with my Hummingboard pro (Quad/2GB) 4 month ago after changing language to DE

Was able to solve this issue by copying the /home/xbian/.kodi folder from another (Raspberry Pi) installation.

Weeks later I tried to reproduce this issue (by removing .kodi folder), but was not able to reproduce.
Hello,

Thanks for your fast response. I did not change anything, it is a fresh Install.

Should I copy userdata from other installation?

Could you say me what image did you use for the first install?

Thanks,
Jonathan.
Quote:Should I copy userdata from other installation?

Yes (I copied complete .kodi folder, but userdata should be enough)

Quote:Could you say me what image did you use for the first install?

Can't remember (4 month ago)
I copied it from another installation and it does not work.

Do you know where can I download older images of Xbian?

Thanks!
https://sourceforge.net/projects/xbian/files/release/

But there is only one older (from Feb)
Should I post it on github?

I do not know how can I boot it.
Tested it with my Hummingboard and image XBian_2016.03.01_imx6

Got same error - kodi did not come up. But I was able to get kodi work:
  1. Flashed image
  2. Booted Hummingboard. Resize was ok, system rebooted and splash "Starting kodi ..." was on screen for a looooong time. So powered off and rebooted again -> kodi was up
  3. Did not do any changes in kodi (resoluton was 1280x720), stopped kodi, started kodi got black screen but kodi was up
  4. killed kodi, and removed folder /home/xbian/.kodi and started kodi again -> kodi came up and then changed resolution to 1080p (50 or 60 Hz doesn't matter) and stopped kodi again. Now kodi always comes up.

Maybe you can try this
Hello,

Thanks you very much for your time.

I tried to follow your steps, but it does not work for me. I also tried:

- Remove the folder and reboot, kodi starts create the folder but it always die.
- Kill kodi, remove the folder and restart kodi ( A lot of times) without success.
- The first time that I boot the board, after partition is resize, If I connect to the board through SSH it is really slow and I can see that kodi is using 400% of the CPU (The whole CPU). In my system kodi always die or if it is running it use the whole CPU (4 Threads).
- I also tried to connect it to the TV without success.

Did you get in the first boot the same log from Kodi that I posted?

To stop/start Kodi I use "sudo start xbmc" or "sudo service xbmc start" I think it should execute the same script.

Another time more, thanks you very much for your help.
Very very strange Sad

Quote:Did you get in the first boot the same log from Kodi that I posted?

Did not look to the log
I am having trouble starting kodi on my cubox-i.

I am also getting the same error as OP (hence I reply in this thread).


$ uname -a
Linux xbian 4.8.15+rt9+ #1 SMP PREEMPT RT Wed Jun 28 18:30:56 CEST 2017 armv7l GNU/Linux

$ tail .kodi/temp/kodi.log
16:15:00.715 33.097488 T:1921322000 NOTICE: Found resolution 1024x 768 @ 59.940 - Full Screen DMT (1.333)
16:15:00.715 33.097553 T:1921322000 NOTICE: Found resolution 800x 600 @ 60.000 - Full Screen DMT (1.333)
16:15:00.715 33.097618 T:1921322000 NOTICE: Found resolution 800x 600 @ 59.940 - Full Screen DMT (1.333)
16:15:00.716 33.098240 T:1921322000 NOTICE: Checking resolution 16
16:15:00.990 33.372795 T:1921322000 ERROR: EGL error in CreateSurface: 3003
16:15:00.991 33.372929 T:1921322000 NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
16:15:01.013 33.394947 T:1921322000 ERROR: EGL error in CreateSurface: 3003
16:15:01.013 33.395027 T:1921322000 ERROR: CreateWindow: Could not create surface
16:15:01.013 33.395096 T:1921322000 ERROR: CreateNewWindow: Could not create new window
16:15:01.013 33.395164 T:1921322000 FATAL: CApplication::Create: Unable to create window


When I start the device, it boots, I see the kodi splash screen and then it crashes and drops me into a terminal.

any suggestions on what I should try?

Edit: Trying with xbian-jessie-latest-imx6 instead of xbian-latest-imx6, exact same problem.
@cobordism

Did you try my procedure described some posts above?
Reference URL's