Bug#1115874: /usr/bin/kodi: Fails to start: Can not initialize OpenGL context
Package: kodi
Version: 2:21.2+dfsg-4
Severity: important
File: /usr/bin/kodi
X-Debbugs-Cc: github.earache501@passinbox.com
Dear Maintainer,
Following upgrade from Debian 12 to 13, kodi no longer starts.
>From command line, (to see error output):
>kodi
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
ERROR: Can not initialize OpenGL context. Exiting
ERROR: Unable to create GUI. Exiting
'this->recurse > 0' failed at ../src/pipewire/thread-loop.c:62 do_unlock()
>
Screen blanks briefly then kodi exits. Previously running Debian 12 without startup issues.
Expected kodi to start up its GUI.
This is likely a duplicate of bug 1112002, however my system is a Celeron N5105 NUK (Jasper Lake).
.kodi/temp/kodi.log shows critical error:
025-09-20 14:56:45.348 T:4385 debug <general>: EGL Debugging:
Error: EGL_BAD_PARAMETER
Command: eglCreateImageKHR
Type: EGL_DEBUG_MSG_ERROR_KHR
Message: _eglParseImageAttribList
2025-09-20 14:56:45.348 T:4385 debug <general>: Vaapi2 EGL interop test results: general no, deepColor no
2025-09-20 14:56:45.348 T:4385 debug <general>: EGL Debugging:
Error: EGL_BAD_PARAMETER
Command: eglCreateImageKHR
Type: EGL_DEBUG_MSG_ERROR_KHR
Message: _eglParseImageAttribList
2025-09-20 14:56:45.348 T:4385 debug <general>: Vaapi1 EGL interop test results: general no, deepColor no
2025-09-20 14:56:45.370 T:4385 info <general>: Using visual 0x20
2025-09-20 14:56:45.393 T:4385 info <general>: VDPAU::CreateContext - creating decoder context
2025-09-20 14:56:45.467 T:4385 info <general>: vdp_device = 0x0493e1 vdp_st = 0x000000
2025-09-20 14:56:45.467 T:4385 info <general>: VDPAU Decoder capabilities:
2025-09-20 14:56:45.467 T:4385 info <general>: name level macbs width height
2025-09-20 14:56:45.467 T:4385 info <general>: ------------------------------------
2025-09-20 14:56:45.467 T:4385 info <general>: H264_BASELINE 51 16384 2048 2048
2025-09-20 14:56:45.467 T:4385 info <general>: H264_MAIN 51 16384 2048 2048
2025-09-20 14:56:45.467 T:4385 info <general>: H264_HIGH 51 16384 2048 2048
2025-09-20 14:56:45.467 T:4385 info <general>: ------------------------------------
2025-09-20 14:56:45.467 T:4385 info <general>: VDPAU::Close - closing decoder context
2025-09-20 14:56:45.475 T:4385 debug <general>: GLX_EXTENSIONS: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_gl_interop GLX_MESA_query_renderer GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read
2025-09-20 14:56:45.475 T:4385 info <general>: CRenderSystemGL::InitRenderSystem - Version: <none>, Major: 0, Minor: 0
2025-09-20 14:56:45.475 T:4385 critical <general>: Can not initialize OpenGL context. Exiting
2025-09-20 14:56:45.475 T:4385 critical <general>: CApplication::Create: Unable to init rendering system
-- System Information:
Debian Release: 13.1
APT prefers stable
APT policy: (990, 'stable'), (99, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.43+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: