Kodi Community Forum
v19 FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: BSD (https://forum.kodi.tv/forumdisplay.php?fid=225)
+---- Thread: v19 FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting (/showthread.php?tid=365726)



FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - k0d1_2021 - 2021-11-28

Hello,
sorry for n00b Question:

How to get kodi to run on freebsd.

Here is what I did.

Install FreeBSD13 without Xorg (Console only)

freebsd-update fetch
freebsd-update install
pkg update
pkg install kodi libbluray libcec dav1d lcms2 libass libcrossguid curl ffmpeg libfmt fstrcmp lzo2 spdlog sqlite3 taglib waylandpp libGLU


When I try to start kodi.... got this error:

kodi@kodi:~ $ kodi
hdac0: Reset setting timeout
ERROR: Unable to create GUI. Exiting


How can I fix this ?


RE: FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - k0d1_2021 - 2021-11-28

Logfile:

kodi@kodi:~ $ cat /home/kodi/kodi_crashlog-20211128_171817.log
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Sun Nov 28 17:18:17 CET 2021
 Kodi Options:
 Arch: amd64
 Kernel: FreeBSD 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021     [email protected]:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
 Release: FreeBSD 13.0-RELEASE-p5
############## END SYSTEM INFO ##############

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

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

2021-11-28 17:18:05.650 T:100510    INFO <general>: -----------------------------------------------------------------------
2021-11-28 17:18:05.650 T:100510    INFO <general>: Starting Kodi (19.1 (19.1.0) Git:19.1-Matrix). Platform: FreeBSD x86 64-bit
2021-11-28 17:18:05.650 T:100510    INFO <general>: Using Unknown Kodi x64
2021-11-28 17:18:05.650 T:100510    INFO <general>: Kodi compiled 2021-11-28 by Clang 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) for FreeBSD x86 64-bit version 13.0-CURRENT (1300139)
2021-11-28 17:18:05.650 T:100510    INFO <general>: Running on FreeBSD 13.0, kernel: FreeBSD x86 64-bit version 13.0-RELEASE-p4
2021-11-28 17:18:05.651 T:100510    INFO <general>: FFmpeg version/source: 4.4.1
2021-11-28 17:18:05.651 T:100510    INFO <general>: Host CPU: Intel Core Processor (Skylake, IBRS), 1 core available
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://xbmc/ is mapped to: /usr/local/share/kodi
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://xbmcbinaddons/ is mapped to: /usr/local/lib/kodi/addons
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://masterprofile/ is mapped to: /home/kodi/.kodi/userdata
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://envhome/ is mapped to: /home/kodi
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://home/ is mapped to: /home/kodi/.kodi
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://temp/ is mapped to: /home/kodi/.kodi/temp
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://logpath/ is mapped to: /home/kodi/.kodi/temp
2021-11-28 17:18:05.651 T:100510    INFO <general>: The executable running is: /usr/local/lib/kodi/kodi.bin
2021-11-28 17:18:05.651 T:100510    INFO <general>: Local hostname: kodi
2021-11-28 17:18:05.651 T:100510    INFO <general>: Log File is located: /home/kodi/.kodi/temp/kodi.log
2021-11-28 17:18:05.651 T:100510    INFO <general>: -----------------------------------------------------------------------
2021-11-28 17:18:05.651 T:100510    INFO <general>: loading settings
2021-11-28 17:18:05.651 T:100510    INFO <general>: special://profile/ is mapped to: special://masterprofile/
2021-11-28 17:18:05.654 T:100510    INFO <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2021-11-28 17:18:05.654 T:100510    INFO <general>: No settings file to load (special://masterprofile/advancedsettings.xml)
2021-11-28 17:18:05.655 T:100510    INFO <general>: Default Video Player: VideoPlayer
2021-11-28 17:18:05.655 T:100510    INFO <general>: Default Audio Player: paplayer
2021-11-28 17:18:05.655 T:100510    INFO <general>: Disabled debug logging due to GUI setting. Level 0.
2021-11-28 17:18:05.655 T:100510    INFO <general>: Log level changed to "INFO"
2021-11-28 17:18:05.655 T:100510    INFO <general>: creating subdirectories
2021-11-28 17:18:05.655 T:100510    INFO <general>: userdata folder: special://masterprofile/
2021-11-28 17:18:05.655 T:100510    INFO <general>: recording folder:
2021-11-28 17:18:05.655 T:100510    INFO <general>: screenshots folder:
2021-11-28 17:18:05.656 T:100510    INFO <general>: Running database version Addons33
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: game.controller.default v1.0.9 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.9 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.6 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.main v1.3.0 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2021-11-28 17:18:05.667 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v3.0.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v2.1.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v2.1.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v2.1.1 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.0.1 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v7.1.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.1.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.2 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v3.0.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.4 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.3 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.3 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.imdb.com v3.1.6 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.common.themoviedb.org v3.2.13 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2021-11-28 17:18:05.668 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org v5.2.6 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.3.1+matrix.1 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org v3.5.12 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.3.14 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: pvr.iptvsimple v7.6.10 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.2.5 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.64 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.9+matrix.1 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.6 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: skin.estuary v3.0.5 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: webinterface.default v19.x-2.4.8 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.addon v19.1.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.gui v5.15.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.json v12.3.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.python v3.0.0 installed
2021-11-28 17:18:05.669 T:100510    INFO <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
2021-11-28 17:18:05.670 T:100540    INFO <general>: Found 1 Lists of Devices
2021-11-28 17:18:05.670 T:100540    INFO <general>: Enumerated OSS devices:
2021-11-28 17:18:05.670 T:100540    INFO <general>:     Device 1
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_deviceName      : /dev/dsp0
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_displayName     : pcm0 Generic (0x1af40022) (Analog)
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_displayNameExtra:
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_channels        : FL, FR
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_sampleRates     : 16000,22050,32000,44100,48000,64000,88200,96000
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S32NE
2021-11-28 17:18:05.670 T:100540    INFO <general>:         m_streamTypes     : No passthrough capabilities
2021-11-28 17:18:05.670 T:100541    INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-11-28 17:18:05.671 T:100541    INFO <general>: CAESinkOSS::Initialize - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-11-28 17:18:05.688 T:100510    INFO <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2021-11-28 17:18:05.692 T:100510   FATAL <general>: CApplication::CreateGUI - unable to init windowing system
2021-11-28 17:18:05.692 T:100510    INFO <general>: Stopping player
2021-11-28 17:18:05.693 T:100510    INFO <general>: Storing total System Uptime
2021-11-28 17:18:05.693 T:100510    INFO <general>: Saving settings
2021-11-28 17:18:05.694 T:100510    INFO <general>: Saving skin settings
2021-11-28 17:18:05.694 T:100510    INFO <general>: Stopping all
2021-11-28 17:18:05.694 T:100510    INFO <general>: stop dvd detect media
2021-11-28 17:18:05.729 T:100510    INFO <general>: Application stopped
2021-11-28 17:18:05.949 T:100510    INFO <general>: unload skin
2021-11-28 17:18:05.949 T:100510    INFO <general>: Unloaded skin
2021-11-28 17:18:05.949 T:100510    INFO <general>: unload sections


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

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


RE: FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - Klojum - 2021-11-28

(2021-11-28, 18:16)k0d1_2021 Wrote: Install FreeBSD13 without Xorg (Console only)
..
ERROR: Unable to create GUI. Exiting

So, what were you expecting? Kodi running in text-mode? I mean, I do see "waylandpp" on the install line, but...

Also, we have a bold red text on each thread page above the Post Reply button. It would be really great if you followed that instruction next time(s).


RE: FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - k0d1_2021 - 2021-11-28

>So, what were you expecting? Kodi running in text-mode? I mean, I do see "waylandpp" on the install line, but...

I just wanted to inform that there is no Xorg etc. installed...


RE: FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - lrusak - 2021-11-29

You need to build Kodi with the gbm platform if you want to run on the frame buffer without x11 or wayland.


RE: FreeBSD 13 - Kodi 19.1 - ERROR: Unable to create GUI. Exiting - k0d1_2021 - 2021-11-29

@IRUSAK

What do I need to install that it runs with wayland ? Witch packages are missing ?