Kodi Community Forum

Full Version: Raspbian crash when kodi start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I came here because i don't know what to do.

I have a Pi3, a 5inch waveshare touchscreen LCD. Everything works fine until i want to start Kodi.

When i launch kodi, within a few second, i have white lines and followed by a black screen. I can't do anything when this happen.

Do you have any idea where this might come from?

Thnaks for you answer and for the help !
Which version of Kodi? 15.X from the repos?
I use raspbian (31-12-2016) and install it with apt-get, but i don't know wich version it is.

How do i look for the version?
/home/pi/.kodi/temp/kodi.log
So this is what i got,

Starting kodi (15.2 Git:02e7013)

Isn't that an old version?
Yes it is old, and I think it doesn't have proper touchscreen LCD support. The latest stable is 17.1. Try this:
https://www.raspberrypi.org/forums/viewt...25#p961205
Thank you!

i'll try this as soon as i can and let you know if it's working
Hi,

i have to use the command echo for adding the list. I used this tutorial : https://mtantawy.com/quick-tip-how-to-up...pberry-pi/

Then i followed the link you give me. A day for upgrading all this, Kodi is at the version 17.1 but i still have lines and a black screen seconds after lauching it. A little difference is that when the black screen show he as now white lines on the left.

Can i check if everything as update correctly ? Or does it come from elsewhere?

Edit : i was in the kodi log file and i see the following error : dbus error org.freedesktop.dbus.error.invalidargs. Are the error and the blackscreen related?
Post the full kodi log please. That waveshare screen's are confirmed to be working with this Kodi versions, if the the screens are configured correctly.
You can also take a look at this about what it seems more or less the same problem:
http://forum.kodi.tv/showthread.php?tid=241622
Here is my Kodi log



[quote]08:53:21.124 T:1945489408 NOTICE: special://profile/ is mapped to: special://masterprofile/
08:53:21.124 T:1945489408 NOTICE: -----------------------------------------------------------------------
08:53:21.125 T:1945489408 NOTICE: Starting Kodi (17.1-RC2 Git:20170312-b2013fd-dirty). Platform: Linux ARM 32-bit
08:53:21.125 T:1945489408 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
08:53:21.125 T:1945489408 NOTICE: Kodi compiled Mar 12 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)
08:53:21.125 T:1945489408 NOTICE: Running on Raspbian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 4.4.50-v7+
08:53:21.133 T:1945489408 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
08:53:21.134 T:1945489408 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
08:53:21.134 T:1945489408 NOTICE: ARM Features: Neon enabled
08:53:21.134 T:1945489408 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
08:53:21.134 T:1945489408 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
08:53:21.134 T:1945489408 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
08:53:21.134 T:1945489408 NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
08:53:21.134 T:1945489408 NOTICE: special://envhome/ is mapped to: /home/pi
08:53:21.134 T:1945489408 NOTICE: special://home/ is mapped to: /home/pi/.kodi
08:53:21.134 T:1945489408 NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
08:53:21.134 T:1945489408 NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
08:53:21.134 T:1945489408 NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
08:53:21.134 T:1945489408 NOTICE: Local hostname: raspberrypi
08:53:21.134 T:1945489408 NOTICE: Log File is located: /home/pi/.kodi/temp//kodi.log
08:53:21.134 T:1945489408 NOTICE: -----------------------------------------------------------------------
08:53:21.431 T:1945489408 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanSuspend
08:53:21.431 T:1945489408 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanHibernate
08:53:21.448 T:1945489408 NOTICE: load settings...
08:53:21.653 T:1945489408 NOTICE: Found 2 Lists of Devices
08:53:21.653 T:1945489408 NOTICE: Enumerated PI devices:
08:53:21.653 T:1945489408 NOTICE: Device 1
08:53:21.653 T:1945489408 NOTICE: m_deviceName : HDMI
08:53:21.653 T:1945489408 NOTICE: m_displayName : HDMI
08:53:21.653 T:1945489408 NOTICE: m_displayNameExtra:
08:53:21.653 T:1945489408 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
08:53:21.653 T:1945489408 NOTICE: m_channels : FL,FR
08:53:21.654 T:1945489408 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
08:53:21.654 T:1945489408 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
08:53:21.654 T:1945489408 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
08:53:21.654 T:1945489408 NOTICE: Device 2
08:53:21.654 T:1945489408 NOTICE: m_deviceName : Analogue
08:53:21.654 T:1945489408 NOTICE: m_displayName : Analogue
08:53:21.654 T:1945489408 NOTICE: m_displayNameExtra:
08:53:21.654 T:1945489408 NOTICE: m_deviceType : AE_DEVTYPE_PCM
08:53:21.654 T:1945489408 NOTICE: m_channels : FL,FR
08:53:21.654 T:1945489408 NOTICE: m_sampleRates : 48000
08:53:21.654 T:1945489408 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
08:53:21.654 T:1945489408 NOTICE: m_streamTypes : No passthrough capabilities
08:53:21.654 T:1945489408 NOTICE: Device 3
08:53:21.654 T:1945489408 NOTICE: m_deviceName : Both
08:53:21.654 T:1945489408 NOTICE: m_displayName : HDMI and Analogue
08:53:21.654 T:1945489408 NOTICE: m_displayNameExtra:
08:53:21.654 T:1945489408 NOTICE: m_deviceType : AE_DEVTYPE_PCM
08:53:21.654 T:1945489408 NOTICE: m_channels : FL,FR
08:53:21.654 T:1945489408 NOTICE: m_sampleRates : 48000
08:53:21.654 T:1945489408 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
08:53:21.654 T:1945489408 NOTICE: m_streamTypes : No passthrough capabilities
08:53:21.654 T:1945489408 NOTICE: Enumerated ALSA devices:
08:53:21.654 T:1945489408 NOTICE: Device 1
08:53:21.654 T:1945489408 NOTICE: m_deviceName : default
08:53:21.654 T:1945489408 NOTICE: m_displayName : Playback/recording through the PulseAudio sound server
08:53:21.654 T:1945489408 NOTICE: m_displayNameExtra:
08:53:21.654 T:1945489408 NOTICE: m_deviceType : AE_DEVTYPE_PCM
08:53:21.654 T:1945489408 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
08:53:21.654 T:1945489408 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
08:53:21.655 T:1945489408 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
08:53:21.655 T:1945489408 NOTICE: m_streamTypes : No passthrough capabilities
08:53:21.655 T:1945489408 NOTICE: Device 2
08:53:21.655 T:1945489408 NOTICE: m_deviceName : pulse
08:53:21.655 T:1945489408 NOTICE: m_displayName : PulseAudio Sound Server
08:53:21.655 T:1945489408 NOTICE: m_displayNameExtra:
08:53:21.655 T:1945489408 NOTICE: m_deviceType : AE_DEVTYPE_PCM
08:53:21.655 T:1945489408 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
08:53:21.655 T:1945489408 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
08:53:21.655 T:1945489408 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
08:53:21.655 T:1945489408 NOTICE: m_streamTypes : No passthrough capabilities
08:53:21.741 T:1945489408 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
08:53:21.742 T:1945489408 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<?xml version="1.0" encoding="UTF-8" ?>
<advancedsettings>
<fanartres>720</fanartres>
<imageres>540</imageres>
<video>
<busydialogdelayms>750</busydialogdelayms>
</video>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<cache>
<memorysize>31457280</memorysize>
</cache>
</advancedsettings>
08:53:21.743 T:1945489408 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
08:53:21.743 T:1945489408 NOTICE: Default Video Player: VideoPlayer
08:53:21.743 T:1945489408 NOTICE: Default Audio Player: paplayer
08:53:21.743 T:1945489408 NOTICE: Disabled debug logging due to GUI setting. Level 0.
08:53:21.743 T:1945489408 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
08:53:21.743 T:1945489408 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
08:53:21.746 T:1945489408 NOTICE: Loaded playercorefactory configuration
08:53:21.746 T:1945489408 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
08:53:21.747 T:1945489408 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
08:53:22.554 T:1945489408 NOTICE: Running database version Addons27
08:53:35.296 T:1945489408 NOTICE: ADDONS: Using repository repository.xbmc.org
08:53:35.536 T:1945489408 NOTICE: Raspberry PI firmware version: Mar 3 2017 13:42:34
Copyright © 2012 Broadcom
version 9ae30f71c7ef4239e9d5b56346c0842f3ef56736 (clean) (release)
08:53:35.536 T:1945489408 NOTICE: ARM mem: 752MB GPU mem: 256MB MPG2:0 WVC1:0
08:53:35.536 T:1945489408 NOTICE: cache.memorysize: 30MB libass.cache: 0MB
08:53:35.536 T:1945489408 NOTICE: Config:
arm_freq=1200
audio_pwm_mode=1
config_hdmi_boost=5
core_freq=250
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
enable_uart=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_channel_map=8
hdmi_force_cec_address=65535
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=37500
over_voltage_avs_boost=37500
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85
08:53:35.537 T:1945489408 NOTICE: Config:
device_tree=-
hdmi_cvt=800 480 60 6 0 0 0
08:53:35.537 T:1945489408 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
08:53:35.539 T:1945489408 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
08:53:35.539 T:1945489408 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
08:53:35.539 T:1945489408 NOTICE: Found resolution 800 x 480 for display 0 with 800 x 480 @ 59.000000 Hz
08:53:35.539 T:1945489408 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
08:53:35.539 T:1945489408 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
08:53:35.539 T:1945489408 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
08:53:35.540 T:1945489408 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.940063 Hz
08:53:35.540 T:1945489408 NOTICE: Found ([email protected]) at 18, setting to RES_DESKTOP at 16
08:53:35.540 T:1945489408 NOTICE: Checking resolution 16
08:53:35.871 T:1945489408 NOTICE: GL_VENDOR = Broadcom
08:53:35.872 T:1945489408 NOTICE: GL_RENDERER = VideoCore IV HW
08:53:35.872 T:1945489408 NOTICE: GL_VERSION = OpenGL ES 2.0
08:53:35.872 T:1945489408 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
08:53:35.872 T:1945489408 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
08:53:37.184 T:1807737776 NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
08:53:37.224 T:1858069424 NOTICE: Running database version Addons27
08:53:38.687 T:1858069424 ERROR: SQL: [ViewModes6.db] SQL error or missing database
Query: SELECT idVersion FROM version
08:53:38.702 T:1858069424 ERROR: Process error processing job
You have an error in one database, although I don't think it will fix your problem. Delete this file an restart Kodi:
/home/pi/.kodi/userdata/Database/ViewModes6.db

And please use something like pastebin for full logs, and enable debug:
http://kodi.wiki/view/log_file
Hi,

sorry for the log file, i was in a hurry !

I see now the Kodi logo but it crash just after that .

If i delete kodi and reinstall it, does it change anything?
You can reset Kodi settings to defaults by deleting /home/pi/.kodi and start Kodi again.

If the problem continues, post your Kodi log like mentioned above.
Hi,

I tried something else today. I have reinstall raspbian on a sd card, update everything like you said and then kodi works.

The only thing i didn't do is install the driver for the touch screen.

So if i install the driver now, what should i do to prevent the crash ? if it's possible .

Thanks for the help !
I don't have any waveshare screen now, but I remember that the HDMI ones didn't need any driver, everything worked OOTB if I remembered correctly.
If everything is working fine, don't install the manufacter driver, it may not be compatible with the latest kernels.
Pages: 1 2