Raspberry PI/Kodi no se inicia después de actualizar raspbian a la versión buster

Raspberry PI/Kodi no se inicia después de actualizar raspbian a la versión buster

Raspberry pi 2 b, raspbian buster - versión estable

Tengo un problema al iniciar Kodi en mi Raspberry PI. Antes de actualizar raspbian de stretch a buster kodi funciona muy bien. Después de actualizar a Buster Kodi deja de funcionar.

a continuación se muestra el registro de fallos de 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 #############

Intento encontrar una solución en Google, pero hay una solución antigua, ninguna me funciona.

este es el 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

¿Alguien tiene un problema como ese?

Respuesta1

Tenga en cuenta que existen dos versiones de Kodi: apt-cache showpkg kodi | cola -3

2:18.2-1~stretch - 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)

Las versiones dfsg1 son las "generales" de debian; no están optimizados para Raspberry Pi (sin aceleración de hardware) y necesitan xorg. La mejor opción para Raspberry Pi son las versiones ~stretch o ~jessie; están alojados enhttp://archive.raspberrypi.org, por lo que necesitará un archivo en su directorio /etc/apt/sources.list.d, por ejemplo, kodi.list, que contenga la línea: debhttp://archive.raspberrypi.org/debian/estirar la interfaz de usuario principal

Ejecute apt-get update para actualizar sus listas de paquetes. Si actualizó a Raspbian Buster, obtendrá un conflicto de dependencia, porque kodi-bin 2:18.2-1~stretch necesita libcurl3 y buster solo proporciona libcurl4.

Necesitará degradar libcurl4 a libcurl3 y luego podrá instalar kodi 2:18.2-1~stretch (que funcionará bien en Raspbian Buster). Lo más fácil es usar aptitude install kodi=2:18.2-1~stretch, porque esto le brindará escenarios para resolver los conflictos. Tienes que cambiar temporalmente tus referencias "destructoras" a "estiradas" para realizar esta degradación.

Respuesta2

Tuve un problema muy similar en Buster. Resuelto instalando xorg:

sudo apt install xorg

e inicia kodi de esta manera:

sudo xinit kodi-standalone

información relacionada