Kodi Community Forum

Full Version: Mint 18 Kodi won't start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I currently dual boot windows and mint 18, Kodi 17 is flawless in windows, I get perfect playback and hardware decoding of HEVC with an RX460 grfx card.......so my issue in Linux isn't the end of the world but I did want to switch over permanently at some point.
I've now tried all versions of Kodi stable, beta and nightly and the program simply doesn't start with any of them, I've tried running from terminal but same problem, crash log below for anybody who might have a clue why!
For a little more info it worked on Ubuntu 16.10 albeit no smooth playback of HEVC which I'm guessing is more of a Linux problem.

Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Wed  2 Nov 14:05:17 GMT 2016
Kodi Options:
Arch: x86_64
Kernel: Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
Release: Ubuntu 16.04 LTS (Xenial Xerus)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/sean/core (2016-11-02 14:05:17.401664896 +0000)
        =========================================
[New LWP 4387]
[New LWP 4390]
[New LWP 4388]
[New LWP 4391]
[New LWP 4394]
[New LWP 4392]
[New LWP 4393]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/x86_64-linux-gnu/kodi/kodi.bin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa1941a7034 in amdgpu_query_gpu_info () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1
[Current thread is 1 (Thread 0x7fa1b1667940 (LWP 4387))]

Thread 7 (Thread 0x7fa1955b7700 (LWP 4393)):
#0  0x00007fa1abf24b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa1aef2c201 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fa1aef1da01 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fa1aef1e0ae in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fa1aef1e160 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fa1aef2c149 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fa1a7659678 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7  0x00007fa1b2e7170a in start_thread (arg=0x7fa1955b7700) at pthread_create.c:333
#8  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fa195db8700 (LWP 4392)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143
#1  0x00007fa1aef2c7e8 in pa_threaded_mainloop_wait () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00000000015adc44 in CAESinkPULSE::AddPackets(unsigned char**, unsigned int, unsigned int) ()
#3  0x000000000158d669 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()
#4  0x000000000158ed22 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#5  0x000000000158fa47 in ActiveAE::CActiveAESink::Process() ()
#6  0x0000000000cee355 in CThread::Action() ()
#7  0x0000000000cee5af in CThread::staticThread(void*) ()
#8  0x00007fa1b2e7170a in start_thread (arg=0x7fa195db8700) at pthread_create.c:333
#9  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fa194db6700 (LWP 4394)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180
#1  0x0000000000ceba77 in XbmcThreads::CEventGroup::wait(unsigned int) ()
#2  0x00000000009ddd74 in ?? ()
#3  0x0000000000cee355 in CThread::Action() ()
#4  0x0000000000cee5af in CThread::staticThread(void*) ()
#5  0x00007fa1b2e7170a in start_thread (arg=0x7fa194db6700) at pthread_create.c:333
#6  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fa1965b9700 (LWP 4391)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180
#1  0x0000000001584faa in ActiveAE::CActiveAE::Process() ()
#2  0x0000000000cee355 in CThread::Action() ()
#3  0x0000000000cee5af in CThread::staticThread(void*) ()
#4  0x00007fa1b2e7170a in start_thread (arg=0x7fa1965b9700) at pthread_create.c:333
#5  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa197a29700 (LWP 4388)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143
#1  0x00000000014297f1 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2  0x0000000000cee355 in CThread::Action() ()
#3  0x0000000000cee5af in CThread::staticThread(void*) ()
#4  0x00007fa1b2e7170a in start_thread (arg=0x7fa197a29700) at pthread_create.c:333
#5  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa197228700 (LWP 4390)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:180
#1  0x0000000000c5a98b in CJobManager::GetNextJob(CJobWorker const*) ()
#2  0x0000000000c5aaba in CJobWorker::Process() ()
#3  0x0000000000cee355 in CThread::Action() ()
#4  0x0000000000cee5af in CThread::staticThread(void*) ()
#5  0x00007fa1b2e7170a in start_thread (arg=0x7fa197228700) at pthread_create.c:333
#6  0x00007fa1abf3082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa1b1667940 (LWP 4387)):
#0  0x00007fa1941a7034 in amdgpu_query_gpu_info () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1
#1  0x00007fa17f4d98de in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#2  0x00007fa17f4d9eb4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#3  0x00007fa17f4dcb56 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#4  0x00007fa17e966d98 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#5  0x00007fa17e910f64 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#6  0x00007fa17e911167 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#7  0x00007fa17d62705f in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#8  0x00007fa17e538e07 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#9  0x00007fa17f4d7f70 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#10 0x00007fa17f463e68 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#11 0x00007fa17f4641c6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#12 0x00007fa17f45eb7e in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#13 0x00007fa17f45c36f in eglInitialize () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
#14 0x00000000009a5fb2 in CGLContextEGL::Refresh(bool, int, unsigned long, bool&) ()
#15 0x00000000009ad220 in CWinSystemX11GLContext::RefreshGLContext(bool) ()
#16 0x00000000009ad3f3 in CWinSystemX11GLContext::SetWindow(int, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*) ()
#17 0x00000000009aa204 in CWinSystemX11::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
#18 0x00000000009ad05f in CWinSystemX11GLContext::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
#19 0x00000000009a6f85 in CWinSystemX11::CreateNewWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, RESOLUTION_INFO&, bool (*)(XBMC_Event&)) ()
#20 0x00000000009acf80 in CWinSystemX11GLContext::CreateNewWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, RESOLUTION_INFO&, bool (*)(XBMC_Event&)) ()
#21 0x0000000000fe3c5f in CApplication::InitWindow(RESOLUTION) ()
#22 0x0000000000fe4110 in CApplication::CreateGUI() ()
#23 0x0000000000d1feb5 in XBMC_Run ()
#24 0x00000000007f6f5b in main ()
############# END STACK TRACE ###############

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

14:05:17 T:140332442745152  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:05:17 T:140332442745152  NOTICE: -----------------------------------------------------------------------
14:05:17 T:140332442745152  NOTICE: Starting Kodi (17.0-BETA5 Git:20161028-nogitfound). Platform: Linux x86 64-bit
14:05:17 T:140332442745152  NOTICE: Using Release Kodi x64 build
14:05:17 T:140332442745152  NOTICE: Kodi compiled Nov  4 2012 by GCC 5.4.0 for Linux x86 64-bit version 4.4.21 (263189)
14:05:17 T:140332442745152  NOTICE: Running on Ubuntu 16.04 LTS, kernel: Linux x86 64-bit version 4.4.0-21-generic
14:05:17 T:140332442745152  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
14:05:17 T:140332442745152  NOTICE: Host CPU: AMD A10-7860K Radeon R7, 12 Compute Cores 4C+8G, 4 cores available
14:05:17 T:140332442745152  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
14:05:17 T:140332442745152  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/x86_64-linux-gnu/kodi
14:05:17 T:140332442745152  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/x86_64-linux-gnu/kodi/addons
14:05:17 T:140332442745152  NOTICE: special://masterprofile/ is mapped to: /home/sean/.kodi/userdata
14:05:17 T:140332442745152  NOTICE: special://envhome/ is mapped to: /home/sean
14:05:17 T:140332442745152  NOTICE: special://home/ is mapped to: /home/sean/.kodi
14:05:17 T:140332442745152  NOTICE: special://temp/ is mapped to: /home/sean/.kodi/temp
14:05:17 T:140332442745152  NOTICE: special://logpath/ is mapped to: /home/sean/.kodi/temp
14:05:17 T:140332442745152  NOTICE: The executable running is: /usr/lib/x86_64-linux-gnu/kodi/kodi.bin
14:05:17 T:140332442745152  NOTICE: Local hostname: sean-System-Product-Name
14:05:17 T:140332442745152  NOTICE: Log File is located: /home/sean/.kodi/temp//kodi.log
14:05:17 T:140332442745152  NOTICE: -----------------------------------------------------------------------
14:05:17 T:140332442745152   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend'
14:05:17 T:140332442745152   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate'
14:05:17 T:140332442745152   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'OnLowBattery'
14:05:17 T:140332442745152  NOTICE: load settings...
14:05:17 T:140332442745152  NOTICE: Found 1 Lists of Devices
14:05:17 T:140332442745152  NOTICE: Enumerated PULSE devices:
14:05:17 T:140332442745152  NOTICE:     Device 1
14:05:17 T:140332442745152  NOTICE:         m_deviceName      : Default
14:05:17 T:140332442745152  NOTICE:         m_displayName     : Default
14:05:17 T:140332442745152  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
14:05:17 T:140332442745152  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:05:17 T:140332442745152  NOTICE:         m_channels        : FL,FR
14:05:17 T:140332442745152  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:05:17 T:140332442745152  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:05:17 T:140332442745152  NOTICE:         m_streamTypes     : No passthrough capabilities
14:05:17 T:140332442745152  NOTICE:     Device 2
14:05:17 T:140332442745152  NOTICE:         m_deviceName      : alsa_output.pci-0000_01_00.1.hdmi-stereo
14:05:17 T:140332442745152  NOTICE:         m_displayName     : HD-Audio Generic Digital Stereo (HDMI)
14:05:17 T:140332442745152  NOTICE:         m_displayNameExtra: HDMI / DisplayPort (PULSEAUDIO)
14:05:17 T:140332442745152  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:05:17 T:140332442745152  NOTICE:         m_channels        : FL,FR
14:05:17 T:140332442745152  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:05:17 T:140332442745152  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:05:17 T:140332442745152  NOTICE:         m_streamTypes     : No passthrough capabilities
14:05:17 T:140332442745152  NOTICE:     Device 3
14:05:17 T:140332442745152  NOTICE:         m_deviceName      : alsa_output.pci-0000_00_14.2.analog-stereo
14:05:17 T:140332442745152  NOTICE:         m_displayName     : Built-in Audio Analogue Stereo
14:05:17 T:140332442745152  NOTICE:         m_displayNameExtra: Line Out (PULSEAUDIO)
14:05:17 T:140332442745152  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:05:17 T:140332442745152  NOTICE:         m_channels        : FL,FR
14:05:17 T:140332442745152  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:05:17 T:140332442745152  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:05:17 T:140332442745152  NOTICE:         m_streamTypes     : No passthrough capabilities
14:05:17 T:140332442745152  NOTICE:     Device 4
14:05:17 T:140332442745152  NOTICE:         m_deviceName      : alsa_output.usb-Dell_Dell_AC511_USB_SoundBar-00.analog-stereo
14:05:17 T:140332442745152  NOTICE:         m_displayName     : Dell AC511 USB SoundBar Analogue Stereo
14:05:17 T:140332442745152  NOTICE:         m_displayNameExtra: Analogue Output (PULSEAUDIO)
14:05:17 T:140332442745152  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:05:17 T:140332442745152  NOTICE:         m_channels        : FL,FR
14:05:17 T:140332442745152  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:05:17 T:140332442745152  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:05:17 T:140332442745152  NOTICE:         m_streamTypes     : No passthrough capabilities
14:05:17 T:140332442745152  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:05:17 T:140332442745152  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:05:17 T:140332442745152  NOTICE: Default Video Player: VideoPlayer
14:05:17 T:140332442745152  NOTICE: Default Audio Player: paplayer
14:05:17 T:140332442745152  NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:05:17 T:140332442745152  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
14:05:17 T:140332442745152  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:05:17 T:140332442745152  NOTICE: Loaded playercorefactory configuration
14:05:17 T:140332442745152  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:05:17 T:140332442745152  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:05:17 T:140332442745152  NOTICE: Running database version Addons26
14:05:17 T:140332442745152  NOTICE: ADDONS: Using repository repository.xbmc.org
14:05:17 T:140331980654336  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
14:05:17 T:140332442745152  NOTICE: Checking resolution 16


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

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

I'd hugely appreciate any advice at all.

Many thanks,
Sean
GPU driver issue. Try a Milhouse le build. There is no new enough distribution for your hw yet.

Vdpau will do hevc 8 bit only though.
Ahh nice, I totally overlooked that thread, I'll take a look at the thread for a guide. Install looks complicated, I'll have a crack at it later.
Weird how it worked on Ubuntu though.

Thanks very much Smile
I give up! so I tried to install a Millhouse build but the timing on my monitor goes tits up before I can even get to the install, unsupported timing. SO then I tried openelec, install went fine.......runs through startup says something like "Got to kodi UI [OK] but it doesn't, it stops at ethernet install it looks like, tried the USB I installed it on in an old laptop and it booted up fine!! I'll wait with the linux versions until it's more mature.
I'd try upgrading the kernel on mint(or better ubuntu) to >= 4.8.5 and mesa 13 from some ppa(e.g. padoka)
Thats a good idea, I'll give it a try, many thanks.
No dice, still crashes with segmentation fault, I'll just stick to windows for my Kodi needs I think before this drives me insane!

Update* it's working now, I purged anything to do with grfx and reinstalled mesa and kodi beta works, most of my files are all good apart from the few massive HEVC x265 files I have, not smooth on linux, fine on windows though *shrugs*
No support on linux. Vdpau has no 10 bit support yet. Vaapi only with ffmpeg 3.2 and not in Kodi. We miss the hw to implement it.