#990954 kodi: crashes on older hardware

Package:
kodi
Source:
kodi
Description:
Open Source Home Theatre (executable binaries)
Submitter:
Sven Geuer
Date:
2024-12-11 08:15:01 UTC
Severity:
normal
#990954#5
Date:
2021-07-11 17:23:31 UTC
From:
To:
Dear Maintainer,

Kodi crashes on my 1st generation intel-based Mac mini with trying to access
the non-existent file /usr/lib/i386-linux-gnu/dri/i915_drv_video.so.
This happened after having upgraded the system from Buster to Bullseye.

Pinning Kodi and its dependencies to the version in Buster circumvents
the issue for me.

.xsession-errors log shows:

	Xsession: X session started for kodi at So 11. Jul 18:48:29 CEST 2021
	WARNING: tempfile is deprecated; consider using mktemp instead.
	dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
	dbus-update-activation-environment: setting DISPLAY=:0
	dbus-update-activation-environment: setting XAUTHORITY=/home/kodi/.Xauthority
	localuser:kodi being added to access control list
	libva info: VA-API version 1.10.0
	libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i915_drv_video.so
	libva info: va_openDriver() returns -1
	Segmentation fault
	Crash report available at /home/kodi/kodi_crashlog-20210711_184843.log

Kodi crash log shows:

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

	################ SYSTEM INFO ################
	 Date: Sun Jul 11 18:48:43 CEST 2021
	 Kodi Options:
	 Arch: i686
	 Kernel: Linux 5.10.0-7-686-pae #1 SMP Debian 5.10.40-1 (2021-05-28)
	 Release: Debian GNU/Linux 11 (bullseye)
	############## END SYSTEM INFO ##############

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

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

	2021-07-11 18:48:39.139 T:916      INFO <general>: -----------------------------------------------------------------------
	2021-07-11 18:48:39.139 T:916      INFO <general>: Starting Kodi from Debian (19.1 Debian package version: 2:19.1+dfsg2-2). Platform: Linux x86 32-bit
	2021-07-11 18:48:39.139 T:916      INFO <general>: Using Release Kodi from Debian x32
	2021-07-11 18:48:39.139 T:916      INFO <general>: Kodi from Debian compiled 2021-06-24 by GCC 10.2.1 for Linux x86 32-bit version 5.10.46 (330286)
	2021-07-11 18:48:39.139 T:916      INFO <general>: Running on Debian GNU/Linux 11 (bullseye), kernel: Linux x86 32-bit version 5.10.0-7-686-pae
	2021-07-11 18:48:39.139 T:916      INFO <general>: FFmpeg version/source: 4.3.2-0+deb11u2
	2021-07-11 18:48:39.139 T:916      INFO <general>: Host CPU: Genuine Intel(R) CPU           T2300  @ 1.66GHz, 2 cores available
	2021-07-11 18:48:39.139 T:916      INFO <general>: special://xbmc/ is mapped to: /usr/share/kodi
	2021-07-11 18:48:39.139 T:916      INFO <general>: special://xbmcbin/ is mapped to: /usr/lib/i386-linux-gnu/kodi
	2021-07-11 18:48:39.139 T:916      INFO <general>: special://xbmcbinaddons/ is mapped to: /usr/lib/i386-linux-gnu/kodi/addons
	2021-07-11 18:48:39.140 T:916      INFO <general>: special://masterprofile/ is mapped to: /home/kodi/.kodi/userdata
	2021-07-11 18:48:39.140 T:916      INFO <general>: special://envhome/ is mapped to: /home/kodi
	2021-07-11 18:48:39.140 T:916      INFO <general>: special://home/ is mapped to: /home/kodi/.kodi
	2021-07-11 18:48:39.140 T:916      INFO <general>: special://temp/ is mapped to: /home/kodi/.kodi/temp
	2021-07-11 18:48:39.140 T:916      INFO <general>: special://logpath/ is mapped to: /home/kodi/.kodi/temp
	2021-07-11 18:48:39.140 T:916      INFO <general>: The executable running is: /usr/lib/i386-linux-gnu/kodi/kodi.bin
	2021-07-11 18:48:39.140 T:916      INFO <general>: Local hostname: macmini
	2021-07-11 18:48:39.140 T:916      INFO <general>: Log File is located: /home/kodi/.kodi/temp/kodi.log
	2021-07-11 18:48:39.140 T:916      INFO <general>: -----------------------------------------------------------------------
	2021-07-11 18:48:39.171 T:916      INFO <general>: loading settings
	2021-07-11 18:48:39.186 T:916      INFO <general>: special://profile/ is mapped to: special://masterprofile/
	2021-07-11 18:48:39.191 T:916   WARNING <CSettingsManager>: missing version attribute
	2021-07-11 18:48:39.213 T:916   WARNING <CSettingsManager>: unable to read value of setting "videolibrary.showunwatchedplots"
	2021-07-11 18:48:39.213 T:916   WARNING <CSettingsManager>: unable to read value of setting "videoplayer.autoplaynextitem"
	2021-07-11 18:48:39.213 T:916      INFO <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
	2021-07-11 18:48:39.214 T:916      INFO <general>: No settings file to load (special://masterprofile/advancedsettings.xml)
	2021-07-11 18:48:39.214 T:916      INFO <general>: Default Video Player: VideoPlayer
	2021-07-11 18:48:39.214 T:916      INFO <general>: Default Audio Player: paplayer
	2021-07-11 18:48:39.214 T:916      INFO <general>: Disabled debug logging due to GUI setting. Level 0.
	2021-07-11 18:48:39.214 T:916      INFO <general>: Log level changed to "INFO"
	2021-07-11 18:48:39.214 T:916      INFO <general>: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
	2021-07-11 18:48:39.252 T:916      INFO <general>: creating subdirectories
	2021-07-11 18:48:39.252 T:916      INFO <general>: userdata folder: special://masterprofile/
	2021-07-11 18:48:39.252 T:916      INFO <general>: recording folder:
	2021-07-11 18:48:39.252 T:916      INFO <general>: screenshots folder:
	2021-07-11 18:48:39.371 T:916      INFO <general>: Running database version Addons33
	2021-07-11 18:48:40.087 T:923      INFO <general>: Loading special://xbmc/system/Lircmap.xml
	2021-07-11 18:48:40.108 T:923      INFO <general>: * Adding remote mapping for device 'mceusb'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'XboxDVDDongle'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'Microsoft_Xbox'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'PinnacleSysPCTVRemote'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'anysee'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'iMON-PAD'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'Antec_Veris_RM200'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'MCE_via_iMON'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'TwinHanRemote'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'linux-input-layer'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Linking remote mapping for 'linux-input-layer' to 'cx23885_remote'
	2021-07-11 18:48:40.109 T:923      INFO <general>: * Adding remote mapping for device 'mediacenter'
	2021-07-11 18:48:40.110 T:923      INFO <general>: * Adding remote mapping for device 'devinput'
	2021-07-11 18:48:40.110 T:923      INFO <general>: * Adding remote mapping for device 'devinput-32'
	2021-07-11 18:48:40.110 T:923      INFO <general>: * Adding remote mapping for device 'devinput-64'
	2021-07-11 18:48:40.110 T:923      INFO <general>: Loading special://profile/Lircmap.xml
	2021-07-11 18:48:40.142 T:923      INFO <general>: * Adding remote mapping for device 'Apple_A1156'
	2021-07-11 18:48:40.402 T:916   WARNING <general>: CAddonMgr::FindAddons: Addon 'game.controller.default' already present with higher version 1.0.9 at '/usr/share/kodi/addons/game.controller.default/' - other version 1.0.8 at '/home/kodi/.kodi/addons/game.controller.default/' will be ignored
	2021-07-11 18:48:40.623 T:916      INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
	2021-07-11 18:48:40.623 T:916      INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
	2021-07-11 18:48:40.623 T:916      INFO <general>: CAddonMgr::FindAddons: game.controller.default v1.0.9 installed
	2021-07-11 18:48:40.624 T:916      INFO <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.9 installed
	2021-07-11 18:48:40.624 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
	2021-07-11 18:48:40.624 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.6 installed
	2021-07-11 18:48:40.624 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
	2021-07-11 18:48:40.625 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
	2021-07-11 18:48:40.625 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.main v1.3.0 installed
	2021-07-11 18:48:40.625 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
	2021-07-11 18:48:40.625 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
	2021-07-11 18:48:40.626 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v3.0.0 installed
	2021-07-11 18:48:40.626 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v2.1.0 installed
	2021-07-11 18:48:40.626 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v2.1.0 installed
	2021-07-11 18:48:40.626 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v2.1.1 installed
	2021-07-11 18:48:40.627 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.0.1 installed
	2021-07-11 18:48:40.627 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
	2021-07-11 18:48:40.627 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v7.1.0 installed
	2021-07-11 18:48:40.627 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.1.0 installed
	2021-07-11 18:48:40.627 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.0 installed
	2021-07-11 18:48:40.628 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.2 installed
	2021-07-11 18:48:40.628 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v3.0.0 installed
	2021-07-11 18:48:40.628 T:916      INFO <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
	2021-07-11 18:48:40.628 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.4 installed
	2021-07-11 18:48:40.629 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.3 installed
	2021-07-11 18:48:40.629 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
	2021-07-11 18:48:40.629 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.3 installed
	2021-07-11 18:48:40.629 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.imdb.com v3.2.3 installed
	2021-07-11 18:48:40.630 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
	2021-07-11 18:48:40.630 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
	2021-07-11 18:48:40.630 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.common.themoviedb.org v3.2.17 installed
	2021-07-11 18:48:40.630 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
	2021-07-11 18:48:40.631 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
	2021-07-11 18:48:40.631 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
	2021-07-11 18:48:40.631 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org v5.2.6 installed
	2021-07-11 18:48:40.631 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.3.1+matrix.1 installed
	2021-07-11 18:48:40.632 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.tvdb.com v3.2.8 installed
	2021-07-11 18:48:40.632 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org v3.5.12 installed
	2021-07-11 18:48:40.632 T:916      INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.3.14 installed
	2021-07-11 18:48:40.632 T:916      INFO <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.2.5 installed
	2021-07-11 18:48:40.633 T:916      INFO <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
	2021-07-11 18:48:40.633 T:916      INFO <general>: CAddonMgr::FindAddons: resource.language.de_de v9.0.34 installed
	2021-07-11 18:48:40.633 T:916      INFO <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
	2021-07-11 18:48:40.633 T:916      INFO <general>: CAddonMgr::FindAddons: resource.timezone v1.0.0 installed
	2021-07-11 18:48:40.634 T:916      INFO <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
	2021-07-11 18:48:40.634 T:916      INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
	2021-07-11 18:48:40.634 T:916      INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.64 installed
	2021-07-11 18:48:40.634 T:916      INFO <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
	2021-07-11 18:48:40.634 T:916      INFO <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
	2021-07-11 18:48:40.635 T:916      INFO <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.9+matrix.1 installed
	2021-07-11 18:48:40.635 T:916      INFO <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.6 installed
	2021-07-11 18:48:40.635 T:916      INFO <general>: CAddonMgr::FindAddons: skin.estuary v3.0.5 installed
	2021-07-11 18:48:40.635 T:916      INFO <general>: CAddonMgr::FindAddons: visualization.spectrum v3.4.0 installed
	2021-07-11 18:48:40.636 T:916      INFO <general>: CAddonMgr::FindAddons: webinterface.default v2.2.33 installed
	2021-07-11 18:48:40.636 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.addon v19.1.0 installed
	2021-07-11 18:48:40.636 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
	2021-07-11 18:48:40.636 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.gui v5.15.0 installed
	2021-07-11 18:48:40.637 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.json v12.3.0 installed
	2021-07-11 18:48:40.637 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
	2021-07-11 18:48:40.637 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.python v3.0.0 installed
	2021-07-11 18:48:40.637 T:916      INFO <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
	2021-07-11 18:48:40.965 T:916      INFO <general>: Selected Logind/UPower as PowerSyscall
	2021-07-11 18:48:41.957 T:948   WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail
	2021-07-11 18:48:41.958 T:948      INFO <general>: Found 1 Lists of Devices
	2021-07-11 18:48:41.958 T:948      INFO <general>: Enumerated PULSE devices:
	2021-07-11 18:48:41.958 T:948      INFO <general>:     Device 1
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_deviceName      : Default
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_displayName     : Default
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_channels        : FL, FR
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_streamTypes     : No passthrough capabilities
	2021-07-11 18:48:41.958 T:948      INFO <general>:     Device 2
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_deviceName      : alsa_output.pci-0000_00_1b.0.analog-stereo
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_displayName     : Internes Audio Analog Stereo
	2021-07-11 18:48:41.958 T:948      INFO <general>:         m_displayNameExtra: Headphones (PULSEAUDIO)
	2021-07-11 18:48:41.959 T:948      INFO <general>:         m_deviceType      : AE_DEVTYPE_PCM
	2021-07-11 18:48:41.959 T:948      INFO <general>:         m_channels        : FL, FR
	2021-07-11 18:48:41.959 T:948      INFO <general>:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
	2021-07-11 18:48:41.959 T:948      INFO <general>:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
	2021-07-11 18:48:41.959 T:948      INFO <general>:         m_streamTypes     : No passthrough capabilities
	2021-07-11 18:48:41.959 T:949      INFO <general>: CActiveAESink::OpenSink - initialize sink
	2021-07-11 18:48:41.963 T:949      INFO <general>: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms Periodsize 50 ms
	2021-07-11 18:48:42.000 T:916      INFO <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
	2021-07-11 18:48:42.249 T:916      INFO <general>: Available videomodes (xrandr):
	2021-07-11 18:48:42.249 T:916      INFO <general>: Output 'VGA1' has 11 modes
	2021-07-11 18:48:42.249 T:916      INFO <general>: ID:0x47 Name:1360x768 Refresh:59.798988 Width:1360 Height:768
	2021-07-11 18:48:42.249 T:916      INFO <general>: Pixel Ratio: 1.013575
	2021-07-11 18:48:42.249 T:916      INFO <general>: ID:0xae Name:1920x1080 Refresh:59.985809 Width:1920 Height:1080
	2021-07-11 18:48:42.249 T:916      INFO <general>: Pixel Ratio: 1.009615
	2021-07-11 18:48:42.249 T:916      INFO <general>: ID:0xaf Name:1024x768 Refresh:75.028580 Width:1024 Height:768
	2021-07-11 18:48:42.249 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.249 T:916      INFO <general>: ID:0xb0 Name:1024x768 Refresh:70.069359 Width:1024 Height:768
	2021-07-11 18:48:42.249 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.249 T:916      INFO <general>: ID:0xb1 Name:1024x768 Refresh:60.003841 Width:1024 Height:768
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb2 Name:832x624 Refresh:74.551270 Width:832 Height:624
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb3 Name:800x600 Refresh:75.000000 Width:800 Height:600
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb4 Name:800x600 Refresh:60.316540 Width:800 Height:600
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb5 Name:640x480 Refresh:75.000000 Width:640 Height:480
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb6 Name:640x480 Refresh:59.940479 Width:640 Height:480
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 1.346154
	2021-07-11 18:48:42.250 T:916      INFO <general>: ID:0xb7 Name:720x400 Refresh:70.081657 Width:720 Height:400
	2021-07-11 18:48:42.250 T:916      INFO <general>: Pixel Ratio: 0.997151
	2021-07-11 18:48:42.250 T:916      INFO <general>: CApplication::CreateGUI - using the x11 windowing system
	2021-07-11 18:48:42.250 T:916      INFO <general>: Checking resolution 16
	2021-07-11 18:48:42.955 T:916      INFO <general>: RetroPlayer[PROCESS]: Registering process control for X11
	2021-07-11 18:48:42.955 T:916      INFO <general>: RetroPlayer[RENDER]: Registering renderer factory for OpenGL
	2021-07-11 18:48:42.976 T:916      INFO <general>: Using visual 0x20
	2021-07-11 18:48:43.012 T:916     ERROR <general>: failed to create EGL context
	2021-07-11 18:48:43.098 T:916      INFO <general>: Using visual 0x20
	2021-07-11 18:48:43.296 T:916      INFO <general>: VDPAU::CreateContext - creating decoder context
	2021-07-11 18:48:43.554 T:916      INFO <general>: vdp_device = 0x000493e1 vdp_st = 0x00000000
	2021-07-11 18:48:43.554 T:916      INFO <general>: VDPAU Decoder capabilities:
	2021-07-11 18:48:43.554 T:916      INFO <general>: name          level macbs width height
	2021-07-11 18:48:43.554 T:916      INFO <general>: ------------------------------------
	2021-07-11 18:48:43.554 T:916      INFO <general>: Skipped 1 duplicate messages..
	2021-07-11 18:48:43.554 T:916      INFO <general>: VDPAU::Close - closing decoder context
	2021-07-11 18:48:43.565 T:916      INFO <general>: CRenderSystemGL::InitRenderSystem - Version: (null), Major: 0, Minor: 0
	2021-07-11 18:48:43.565 T:916      INFO <general>: GL_VENDOR = NULL
	2021-07-11 18:48:43.565 T:916      INFO <general>: GL_RENDERER = NULL
	2021-07-11 18:48:43.565 T:916      INFO <general>: GL_VERSION = NULL
	2021-07-11 18:48:43.565 T:916      INFO <general>: GL_SHADING_LANGUAGE_VERSION = NULL


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

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

#990954#10
Date:
2021-07-11 17:49:47 UTC
From:
To:
Hi Sven!

Does the problem go away if you put missing /usr/lib/i386-linux-gnu/dri/i915_drv_video.so file in place by installing package or copying manually?
Also, please install gdb & kodi-bin-dbgsym from debian-debug repo and reproduce issue again to get a proper stacktrace.

I can rebuild the deb package with debuginfo (DWO CU files) to get more insights like internal variables etc.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#15
Date:
2021-07-11 17:49:47 UTC
From:
To:
Hi Sven!

Does the problem go away if you put missing /usr/lib/i386-linux-gnu/dri/i915_drv_video.so file in place by installing package or copying manually?
Also, please install gdb & kodi-bin-dbgsym from debian-debug repo and reproduce issue again to get a proper stacktrace.

I can rebuild the deb package with debuginfo (DWO CU files) to get more insights like internal variables etc.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#20
Date:
2021-07-11 18:31:43 UTC
From:
To:
Hi Vasyl!

There does not seem to exist a package containing i915_drv_video.so
according to

https://packages.debian.org/search?mode=path&suite=bullseye§ion=all&arch=any&searchon=contents&keywords=i915_drv_video.so

Only i965_drv_video.so is available from the package i965-va-driver.

From what I found on the net it's about video acceleration which is not
available for the i915 driver.

I will install gdb & kodi-bin-dbgsym to come back to you with more logs
soon.

Sven

#990954#25
Date:
2021-07-11 18:31:43 UTC
From:
To:
Hi Vasyl!

There does not seem to exist a package containing i915_drv_video.so
according to

https://packages.debian.org/search?mode=path&suite=bullseye§ion=all&arch=any&searchon=contents&keywords=i915_drv_video.so

Only i965_drv_video.so is available from the package i965-va-driver.

From what I found on the net it's about video acceleration which is not
available for the i915 driver.

I will install gdb & kodi-bin-dbgsym to come back to you with more logs
soon.

Sven

#990954#30
Date:
2021-07-11 19:03:23 UTC
From:
To:
Hi Sven!

I am not using Intel HD graphics but maybe Sebastian knows someone who uses it.
The issue of missing i915 driver was reported in 2014.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#35
Date:
2021-07-11 19:18:44 UTC
From:
To:
Processors from Cantiga and newer come with integrated graphics chips
and VA-API support. The processor is simply too old and is never going
to get VA-API support.

Cheers

#990954#40
Date:
2021-07-11 19:30:28 UTC
From:
To:
Hi Vasyl!
Hi Sebastian!
[...]

Here are the details of the graphics chip set (from lspci):

	00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

I would expect Kodi would not request acceleration for such a graphics
controller.

@Vasyl: Please find attached a Kodi crash log including stack trace.

Cheers,
Sven

#990954#45
Date:
2021-07-11 19:50:53 UTC
From:
To:
Hi Sven!

Looks like https://github.com/xbmc/xbmc/blob/9c2c8913a80a32aee0dc582bc737744c2989a32c/xbmc/utils/GLUtils.cpp#L148 gets nullptr from libgl somewhere. I will build i386 with DWO CUs and upload to fex.net so that we can get finer-grained picture of what fails.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#50
Date:
2021-07-11 20:04:57 UTC
From:
To:
Sven,

It is not only VDPAU missing for you but opengl is totally broken (see Failed to create EGL context, and GL major/minor versions set to NULL).
Can you run glxinfo? I guess since there is no i915 driver it'll be broken anyway but…
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#55
Date:
2021-07-11 20:11:46 UTC
From:
To:
VA-API drivers and OpenGL drivers are two different things.

Cheers

#990954#60
Date:
2021-07-11 20:33:28 UTC
From:
To:
Please find attached the output of "glxinfo -v -t".

Cheers

#990954#65
Date:
2021-07-12 16:31:17 UTC
From:
To:
Hi Sven!

Your mail has dropped into spam folder :(

What I see you have OpenGL 1.4 / OpenGL ES 2.0. Was it the same with buster? I can harden the checks so Kodi wont crash, but I am not sure if it works after initialization of a so outdated OpenGL.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#70
Date:
2021-07-12 17:13:14 UTC
From:
To:
Hi Vasyl!

I do not know what it was with Buster, I would have to roll back the
entire system to find out.

The current installation is fully a Bullseye one. No other repositories
are configured, nor are any non-Bullseye packages installed. So, no
idea why the OpenGL is outdated. May be, it reports the version based
on what the hardware supports it is running on?

I am happy to test any temporary build of kodi you may want me to.


Sven

#990954#75
Date:
2021-07-12 17:28:44 UTC
From:
To:
Hi Sven,

I will check what can be done for Kodi. There is no need to downgrade your Bullseye.

Sebastian, any idea on GL info posted above?
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#80
Date:
2021-07-12 20:00:17 UTC
From:
To:
No? Why would I?

Best
Sebastian

#990954#85
Date:
2021-07-26 16:47:58 UTC
From:
To:
Hi Sven!

Just a very wild guess: make sure your user is in "audio", "video" and "render" groups:

usermod -a -G audio,render,video user

For me, having "kodi" user out of these groups resulted in fallback VDPAU turned instead of proper VAAPI.
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#90
Date:
2021-07-28 17:02:59 UTC
From:
To:
Hi Vasyl!

I added the kodi user to these groups and tested with Bullseye's Kodi.
Unfortunately Kodi still crashes for me, see attached crash log.

On the other hand, Buster's Kodi works for me without the kodi user
being member of any of these groups.

Sven

#990954#95
Date:
2021-07-28 17:10:50 UTC
From:
To:
Hi Sven!

What is interesting I noted from your glxinfo: you have GL 1.4 in effect. I decided to reproduce this edge case on my system. I pulled my graphics card from buildbot and plugged the oldie ATI R300 (2003). Mesa picked that one as opengl 3.3! So I wonder what is in Buster that is absent in Bullseye.

Can you please post output of vainfo and glxinfo from Buster?
-- 
Vasyl Gello
==================================================
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

#990954#100
Date:
2021-07-28 20:29:41 UTC
From:
To:
Hi Vasyl

I downgraded my machine to Buster. Please find the requested outputs
attached.

Sven

#990954#105
Date:
2024-12-10 16:52:46 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation? Kodi crashes a few minutes after starting a video, and even exits the running program.
   * What exactly did you do (or not do) that was effective (or
     ineffective)? I installed an add-on and it didn't work properly while watching the video, the flatpak version usually doesn't have this problem.
   * What was the outcome of this action? The program doesn't work as expected
   * What outcome did you expect instead? I waited for kodi to work correctly

*** End of the template - remove these template lines ***

#990954#110
Date:
2024-12-10 19:09:34 UTC
From:
To:
The reported bug was resolved after not using ProtonVPN, but only using
Firewalld on Debian Sid KDE-Plasma, I apologize for reporting it before I
researched.

Bug#990954: Info received (kodi: crashes on older hardware)

#990954#115
Date:
2024-12-10 20:43:21 UTC
From:
To:
Hi Miguel,

Your statement seems unrelated to bug #990954. Can you please elaborate
on how ProtonVPN and Firewalld affects kodi? Please also state which
version of kodi fixed the issue.

Thanks,
Sven

#990954#120
Date:
2024-12-10 20:48:27 UTC
From:
To:
I watched some videos after on YouTube, and apparently, this is some
defense mechanism against viruses, because in a video, I saw, it said that
when using Kodi with add-on, the Firewall could actually block access, and
in the case of Linux, closing Kodi, I don't know if this would really be
the problem, because I used Firewalld,  gufw or ProtonVPN to be able to
access it.

#990954#125
Date:
2024-12-10 22:05:54 UTC
From:
To:
Control: reopen -1
what I reported in the beginning [1], please re-read it. Reopening the
bug therefore.

What hardware are you using to run kodi?

What version of kodi are you running?

Does your system provide a file /usr/lib/i386-linux-
gnu/dri/i915_drv_video.so? And if does, from what package is it?

Note: According to
https://www.debian.org/distrib/packages#search_contents
there is no file i915_drv_video.so in none of the Debian releases, at
least from Buster onward.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990954#5

#990954#132
Date:
2024-12-10 22:07:06 UTC
From:
To:
Intel Core 2 Duo

3gb of RAM

NVIDIA GT 520 2GB of RAM

#990954#137
Date:
2024-12-11 08:10:11 UTC
From:
To:
Hi Miguel,

Thank you for providing these details.

This proves your case is or was a different one. I retitled the bug to
make more clear what it is about.

Sven