Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Linux GBM - unable to init GBM windowing system.
#1
Hi,

I'm trying to get Kodi 21 running on Gentoo in GBM mode, on an AMD GPU (Phoenix, 780M). I already have one Kodi (19 though...) running on an Intel GPU, just to boast I know a little bit what I'm doing.
Kodi opens the `/dev/dri/card0` node, gets all resolutions supported by the TV,enumerates EGL extensions, and gives up. This happens with both GL and GLES compilations.
Debug log snippets:
Quote:debug <general>: CDRMUtils::OpenDrm - opened render node: /dev/dri/renderD128
debug <general>: CDRMUtils::FindConnector - failed to find specified connector: HDMI-0, trying default
 info <general>: CDRMUtils::FindConnector - using connector: HDMI-A-1
 info <general>: CDRMUtils::FindEncoder - using encoder: 92
debug <general>: CDRMUtils::FindCrtc - original crtc mode: 3840x2160 @ 30 Hz
 info <general>: CDRMUtils::FindPlanes - using crtc: 79
debug <general>: CDRMUtils::FindPlanes - using video plane 58
debug <general>: CDRMUtils::FindPlanes - using 10bit gui plane 64
debug <general>: CDRMAtomic::InitDrm - initialized atomic DRM
 info <general>: [display-info] make: 'LG Electronics' model: 'LG TV SSCR2'

[ ... ]  Display details &  Resolution enumeration

info <general>: Found resolution 720x400 with 720x400 @ 70.000000 Hz
info <general>: EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_protected_surface EGL_EXT_query_reset_notification_strategy EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display
 info <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
debug <general>: failed to find EGL config with EGL_NATIVE_VISUAL_ID=808669761
debug <general>: failed to find EGL config with EGL_NATIVE_VISUAL_ID=808669784
debug <general>: failed to find EGL config with EGL_NATIVE_VISUAL_ID=875713089
debug <general>: failed to find EGL config with EGL_NATIVE_VISUAL_ID=875713112
debug <general>: CApplication::CreateGUI - unable to init gbm windowing system
debug <general>: CWinSystemGbm:Big GrinestroyWindowSystem - deinitialized DRM
Full log: https://paste.kodi.tv/uwinezuwev.kodi
Any ideas?
Reply
#2
After an evening of digging, at EGLUtils.cpp:323, eglChooseConfig() returns 0 matched configs. Makes sense that it doesn't work.
Something is very wrong with kodi + GBM + radeonsi...
Reply

Logout Mark Read Team Forum Stats Members Help
GBM - unable to init GBM windowing system.0