Raspberry PI / Kodi não inicia após atualizar o raspbian para a versão buster

Raspberry PI / Kodi não inicia após atualizar o raspbian para a versão buster

Raspberry pi 2 b, raspbian buster - versão estável

Tenho problemas ao iniciar o Kodi no meu Raspberry PI. Antes de atualizar o raspbian de stretch para buster, o kodi funciona muito bem. Após a atualização para o buster, o kodi para de funcionar.

abaixo está o crashlog do kodi

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

################ SYSTEM INFO ################
 Date: pon, 1 lip 2019, 16:45:45 CEST
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.19.56-v7+ #1242 SMP Wed Jun 26 17:31:47 BST 2019
 Release: Raspbian GNU/Linux 10 (buster)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
############# END STACK TRACE ###############

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

16:45:15.273 T:1830922080  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:45:15.273 T:1830922080  NOTICE: -----------------------------------------------------------------------
16:45:15.274 T:1830922080  NOTICE: Starting Kodi from Debian (17.6 Debian package version: 2:17.6+dfsg1-4+b1). Platform: Linux ARM 32-bit
16:45:15.274 T:1830922080  NOTICE: Using Release Kodi from Debian x32 build
16:45:15.274 T:1830922080  NOTICE: Kodi from Debian compiled from 2:17.6+dfsg1-4+b1 by GCC 8.2.0 for Linux ARM 32-bit version 4.18.20 (266772)
16:45:15.274 T:1830922080  NOTICE: Running on Raspbian GNU/Linux 10 (buster), kernel: Linux ARM 32-bit version 4.19.56-v7+
16:45:15.274 T:1830922080  NOTICE: FFmpeg version/source: 4.1.3-1+rpt1
16:45:15.274 T:1830922080  NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
16:45:15.274 T:1830922080  NOTICE: ARM Features: Neon disabled
16:45:15.274 T:1830922080  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
16:45:15.274 T:1830922080  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
16:45:15.274 T:1830922080  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
16:45:15.274 T:1830922080  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
16:45:15.275 T:1830922080  NOTICE: special://envhome/ is mapped to: /home/pi
16:45:15.275 T:1830922080  NOTICE: special://home/ is mapped to: /home/pi/.kodi
16:45:15.275 T:1830922080  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
16:45:15.275 T:1830922080  NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
16:45:15.275 T:1830922080  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
16:45:15.275 T:1830922080  NOTICE: Local hostname: raspberrypi
16:45:15.275 T:1830922080  NOTICE: Log File is located: /home/pi/.kodi/temp//kodi.log
16:45:15.275 T:1830922080  NOTICE: -----------------------------------------------------------------------
16:45:15.287 T:1830922080   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
16:45:15.453 T:1830922080  NOTICE: load settings...
16:45:15.528 T:1830922080   ERROR: PulseAudio: Failed to connect context
16:45:15.528 T:1830922080  NOTICE: PulseAudio might not be running. Context was not created.
16:45:15.590 T:1830922080  NOTICE: Found 1 Lists of Devices
16:45:15.590 T:1830922080  NOTICE: Enumerated ALSA devices:
16:45:15.590 T:1830922080  NOTICE:     Device 1
16:45:15.591 T:1830922080  NOTICE:         m_deviceName      : @
16:45:15.591 T:1830922080  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
16:45:15.591 T:1830922080  NOTICE:         m_displayNameExtra:
16:45:15.591 T:1830922080  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
16:45:15.591 T:1830922080  NOTICE:         m_channels        : FL,FR
16:45:15.591 T:1830922080  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
16:45:15.591 T:1830922080  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
16:45:15.591 T:1830922080  NOTICE:         m_streamTypes     : No passthrough capabilities
16:45:15.609 T:1830922080  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
16:45:15.609 T:1830922080  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
16:45:15.609 T:1830922080  NOTICE: Default Video Player: VideoPlayer
16:45:15.609 T:1830922080  NOTICE: Default Audio Player: paplayer
16:45:15.609 T:1830922080  NOTICE: Disabled debug logging due to GUI setting. Level 0.
16:45:15.609 T:1830922080  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
16:45:15.610 T:1830922080  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:45:15.611 T:1830922080  NOTICE: Loaded playercorefactory configuration
16:45:15.611 T:1830922080  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:45:15.611 T:1830922080  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:45:15.642 T:1830922080  NOTICE: Running database version Addons27
16:45:15.747 T:1830922080  NOTICE: ADDONS: Using repository repository.xbmc.org
16:45:15.837 T:1830922080   ERROR: X11 Error: No Display found
16:45:15.837 T:1830922080   FATAL: CApplication::Create: Unable to init windowing system


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

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

Tentando encontrar uma solução no Google, mas existem soluções antigas, nenhuma funciona para mim.

este é o problema

16:45:15.837 T:1830922080   ERROR: X11 Error: No Display found
16:45:15.837 T:1830922080   FATAL: CApplication::Create: Unable to init windowing system

Alguém tem problema assim?

Responder1

Observe que existem duas versões do Kodi circulando: apt-cache showpkg kodi | cauda -3

2: 18.2-1 ~ esticar - xbmc-standalone (=) xbmc-data (=) xbmc (=) kodi-standalone (=) kodi-skin-estuary (=) kodi-data (=)

2:17.6+dfsg1-4+b1 -kodi-api-pvr (= 5.2.1) kodi-api-guilib (= 5.11.0)

As versões dfsg1 são as "gerais" do debian; eles não são otimizados para Raspberry Pi (sem aceleração de hardware) e precisam de xorg . A melhor escolha para o Raspberry Pi são as versões ~stretch ou ~jessie; eles estão hospedados emhttp://archive.raspberrypi.org, então você precisará de um arquivo em seu diretório /etc/apt/sources.list.d, por exemplo, kodi.list, contendo a linha: debhttp://archive.raspberrypi.org/debian/esticar a interface do usuário principal

Execute apt-get update para atualizar suas listas de pacotes. Se você atualizou para o Raspbian Buster, terá um conflito de dependência, porque o kodi-bin 2:18.2-1~stretch precisa do libcurl3 e o buster fornece apenas o libcurl4.

Você precisará fazer o downgrade do libcurl4 para o libcurl3 e, em seguida, poderá instalar o kodi 2:18.2-1~stretch (que funcionará bem no Raspbian Buster). O mais fácil é usar aptitude install kodi=2:18.2-1~stretch, porque isso lhe dará cenários para resolver os conflitos. Você deve alterar temporariamente suas referências de "buster" para "stretch" para fazer esse downgrade.

Responder2

Eu tive um problema muito semelhante no buster. Resolvido instalando o xorg:

sudo apt install xorg

e inicie o kodi desta forma:

sudo xinit kodi-standalone

informação relacionada