Closed csdougliss closed 1 year ago
Try adding the following environment variables:
XDG_DIR=/tmp/xdg
XDG_RUNTIME_DIR=/tmp/xdg
Keep in mind you may still stumble upon an issue of surface manager closing/hiding the window if an app doesn't connect to luna bus and send some special calls. I think one of these was:
30359.072 TX call 6 org.mariotaku.ihsplay (/var/run/ls2/mtKz2L) com.webos.applicationManager (/var/run/ls2/5KYv3o) (null) //registerNativeApp «{"id" : "org.mariotaku.ihsplay"}»
@Informatic They already exist when I type export under prisoner user:
export XDG_DIR='/tmp/xdg'
export XDG_RUNTIME_DIR='/tmp/xdg'
export | grep wayland
export | grep wayland
export AT_QPA_PLATFORM='wayland-egl'
export EGL_PLATFORM='wayland'
export QT_IM_MODULE='wayland'
export QT_QPA_PLATFORM='wayland'
export QT_WAYLAND_HARDWARE_INTEGRATION='wayland-egl'
export QT_WAYLAND_HARDWARE_INTERGRATION='wayland-egl'
export SDL_VIDEODRIVER='wayland'
What are those special calls? Looks like a step x after I get it working :)
WAYLAND_DISPLAY is not set, but I don't know what to set it too?
You could try setting WAYLAND_DISPLAY=:0
and see what happens. o.o Use a wrapper shell script to do these things.
#!/bin/sh
export XDG_DIR='/tmp/xdg'
export XDG_RUNTIME_DIR='/tmp/xdg'
export WAYLAND_DISPLAY=:0
./kodi.bin $*
And then use that shells cript as the app's entrypoint instead... worth a try o.o
It must exist in $XDG_RUNTIME_DIR
I would try with wayland-0
, or alternatively check the environment of a running app in /proc/$pid/environ
$WAYLAND_DISPLAY
This tells Wayland clients which Wayland compositor to connect to. If it is not set, clients will try wayland-0 as a fallback. WAYLAND_DISPLAY is normally the name of a socket in XDG_RUNTIME_DIR, but it can also be an absolute path to a socket anywhere.
Compositors generally also respect WAYLAND_DISPLAY if set. Some will use wayland-0 by default, and others wayland-1. If its default display is already taken, a compositor will either count up until they find a free one or fail to start. Note that the wayland-[0-9] pattern is common, but compositors can create their display with whatever name they like.
@smx-smx
ls -la /tmp/xdg
drwx------ 3 root root 60 Jan 1 2022 dbus-1
drwx------ 2 root root 40 Jan 1 2022 pulse
srw-rw---- 1 root composit 0 Jan 1 2022 wayland-0
-rw-r----- 1 root root 0 Jan 1 2022 wayland-0.lock
prw------- 1 root root 0 Jan 1 2022 wayland_debug
lrwxrwxrwx 1 root root 8 Jan 1 2022 xdg -> /tmp/xdg
Making progress with export WAYLAND_DISPLAY=wayland-0
Black screen. Then exited.
kodi.log
2023-01-21 19:01:56.640 T:9600 info <general>: -----------------------------------------------------------------------
2023-01-21 19:01:56.640 T:9600 info <general>: Starting Kodi (21.0-ALPHA1 (20.90.101) Git:20230120-24085c94fc-dirty). Platform: Linux ARM 32-bit
2023-01-21 19:01:56.640 T:9600 info <general>: Using Release Kodi x32
2023-01-21 19:01:56.641 T:9600 info <general>: Kodi compiled 2023-01-21 by GCC 12.1.0 for Linux ARM 32-bit version 5.4.96 (328800)
2023-01-21 19:01:56.657 T:9600 info <general>: Running on n/a(none), kernel: Linux ARM 64-bit version 5.4.96-266.mlt4tv.1
2023-01-21 19:01:56.657 T:9600 info <general>: FFmpeg version/source: 5.1.2-Kodi
2023-01-21 19:01:56.657 T:9600 info <general>: 4 CPU cores available
2023-01-21 19:01:56.657 T:9600 info <general>: ARM Features: Neon enabled
2023-01-21 19:01:56.657 T:9600 info <general>: special://xbmc/ is mapped to: /media/developer/tmp/kodi-build
2023-01-21 19:01:56.657 T:9600 info <general>: special://xbmcbin/ is mapped to: /media/developer/tmp/kodi-build
2023-01-21 19:01:56.657 T:9600 info <general>: special://xbmcbinaddons/ is mapped to: /media/developer/tmp/kodi-build/addons
2023-01-21 19:01:56.657 T:9600 info <general>: special://masterprofile/ is mapped to: /media/developer//.kodi/userdata
2023-01-21 19:01:56.657 T:9600 info <general>: special://envhome/ is mapped to: /media/developer/
2023-01-21 19:01:56.657 T:9600 info <general>: special://home/ is mapped to: /media/developer//.kodi
2023-01-21 19:01:56.657 T:9600 info <general>: special://temp/ is mapped to: /media/developer//.kodi/temp
2023-01-21 19:01:56.657 T:9600 info <general>: special://logpath/ is mapped to: /media/developer//.kodi/temp
2023-01-21 19:01:56.657 T:9600 info <general>: Webserver extra whitelist paths:
2023-01-21 19:01:56.657 T:9600 info <general>: The executable running is: /media/developer/tmp/kodi-build/kodi.bin
2023-01-21 19:01:56.657 T:9600 info <general>: Local hostname: LGwebOSTV
2023-01-21 19:01:56.657 T:9600 info <general>: Log File is located: /media/developer//.kodi/temp/kodi.log
2023-01-21 19:01:56.657 T:9600 info <general>: -----------------------------------------------------------------------
2023-01-21 19:01:56.657 T:9600 info <general>: loading settings
2023-01-21 19:01:56.658 T:9600 info <general>: special://profile/ is mapped to: special://masterprofile/
2023-01-21 19:01:56.680 T:9600 info <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2023-01-21 19:01:56.680 T:9600 info <general>: No settings file to load (special://masterprofile/advancedsettings.xml)
2023-01-21 19:01:56.680 T:9600 info <general>: Default Video Player: VideoPlayer
2023-01-21 19:01:56.680 T:9600 info <general>: Default Audio Player: paplayer
2023-01-21 19:01:56.680 T:9600 info <general>: Disabled debug logging due to GUI setting. Level 0.
2023-01-21 19:01:56.680 T:9600 info <general>: Log level changed to "info"
2023-01-21 19:01:56.681 T:9600 info <general>: creating subdirectories
2023-01-21 19:01:56.681 T:9600 info <general>: userdata folder: special://masterprofile/
2023-01-21 19:01:56.681 T:9600 info <general>: recording folder:
2023-01-21 19:01:56.681 T:9600 info <general>: screenshots folder:
2023-01-21 19:01:56.685 T:9600 info <general>: Running database version Addons33
2023-01-21 19:01:56.726 T:9600 info <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2023-01-21 19:01:56.726 T:9600 info <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2023-01-21 19:01:56.726 T:9600 info <general>: CAddonMgr::FindAddons: game.controller.default v1.0.35 installed
2023-01-21 19:01:56.726 T:9600 info <general>: CAddonMgr::FindAddons: game.controller.keyboard v1.1.26 installed
2023-01-21 19:01:56.726 T:9600 info <general>: CAddonMgr::FindAddons: game.controller.mouse v1.0.19 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.34 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.7 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.main v2.0.2 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v4.0.0 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v3.0.0 installed
2023-01-21 19:01:56.727 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v3.0.0 installed
2023-01-21 19:01:56.728 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v3.0.1 installed
2023-01-21 19:01:56.729 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.2.0 installed
2023-01-21 19:01:56.729 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2023-01-21 19:01:56.729 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v8.2.0 installed
2023-01-21 19:01:56.729 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.2.0 installed
2023-01-21 19:01:56.729 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.1 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.3 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v4.0.0 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.4 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.3 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.3 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2023-01-21 19:01:56.730 T:9600 info <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.3.1+matrix.1 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.6.0 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.3.1 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.66 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.19+matrix.1 installed
2023-01-21 19:01:56.731 T:9600 info <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.8 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: skin.estuary v3.0.10 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: webinterface.default v19.x-2.4.8 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.addon v20.90.101 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.gui v5.16.0 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.json v13.0.0 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
2023-01-21 19:01:56.732 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.python v3.0.1 installed
2023-01-21 19:01:56.733 T:9600 info <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
2023-01-21 19:01:56.736 T:9600 warning <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2023-01-21 19:01:56.743 T:9600 info <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2023-01-21 19:01:56.754 T:9600 info <general>: InitWindowSystem: Connecting to Wayland server
2023-01-21 19:01:56.770 T:9600 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-21 19:01:56.770 T:9600 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
2023-01-21 19:01:56.773 T:9600 info <general>: EGL_VERSION = 1.4 Bifrost-"r28p0-01eac0"
2023-01-21 19:01:56.773 T:9600 info <general>: EGL_VENDOR = ARM
2023-01-21 19:01:56.773 T:9600 info <general>: EGL_EXTENSIONS = EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_WL_bind_wayland_display EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness
2023-01-21 19:01:56.773 T:9600 info <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
2023-01-21 19:01:56.774 T:9600 info <general>: RetroPlayer[RENDER]: Registering renderer factory for DMA
2023-01-21 19:01:56.774 T:9600 info <general>: RetroPlayer[RENDER]: Registering renderer factory for OpenGLES
2023-01-21 19:01:56.774 T:9600 info <general>: CApplication::CreateGUI - using the wayland windowing system
2023-01-21 19:01:56.774 T:9600 info <general>: Checking resolution 16
2023-01-21 19:01:56.774 T:9600 info <general>: CreateNewWindow: Starting full screen size 1920x1080
2023-01-21 19:01:56.789 T:9600 info <general>: UpdateSizeVariables: Surface size changed: 0x0 -> 1920x1080
2023-01-21 19:01:56.789 T:9600 info <general>: UpdateSizeVariables: Buffer size changed: 0x0 -> 1920x1080
2023-01-21 19:01:56.789 T:9600 info <general>: UpdateSizeVariables: Configured size changed: 0x0 -> 1920x1080
2023-01-21 19:01:56.790 T:9600 warning <general>: CreateNewWindow: Compositor does not support xdg_shell protocol (stable or unstable v6) - falling back to wl_shell, not all features might work
2023-01-21 19:01:56.812 T:9600 info <general>: GL_VENDOR = ARM
2023-01-21 19:01:56.812 T:9600 info <general>: GL_RENDERER = Mali-G52
2023-01-21 19:01:56.812 T:9600 info <general>: GL_VERSION = OpenGL ES 3.2 v1.r28p0-01eac0.c92dc8b662c2d627d9584608889656ac
2023-01-21 19:01:56.812 T:9600 info <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20
2023-01-21 19:01:56.812 T:9600 info <general>: GL_EXTENSIONS = GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage GL_EXT_texture_filter_anisotropic GL_ARM_texture_unnormalized_coordinates
2023-01-21 19:01:57.124 T:9600 info <general>: SetResolutionExternal: Kodi asked to switch mode to 1920x1080 @60.000 Hz on output "" full screen
2023-01-21 19:01:57.129 T:9600 info <general>: GetOSScreenSaverImpl: Using freedesktop.org DBus interface for screen saver inhibition
2023-01-21 19:01:57.356 T:9600 info <general>: GLES: Enabling VSYNC
2023-01-21 19:01:57.356 T:9600 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-21 19:01:57.356 T:9600 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
2023-01-21 19:01:57.356 T:9600 info <general>: load keymapping
2023-01-21 19:01:57.360 T:9600 info <general>: Loading special://xbmc/system/keymaps/appcommand.xml
2023-01-21 19:01:57.361 T:9600 info <general>: Loading special://xbmc/system/keymaps/customcontroller.AppleRemote.xml
2023-01-21 19:01:57.362 T:9600 info <general>: Loading special://xbmc/system/keymaps/customcontroller.Harmony.xml
2023-01-21 19:01:57.363 T:9600 info <general>: Loading special://xbmc/system/keymaps/customcontroller.SiriRemote.xml
2023-01-21 19:01:57.364 T:9600 info <general>: Loading special://xbmc/system/keymaps/gamepad.xml
2023-01-21 19:01:57.366 T:9600 info <general>: Loading special://xbmc/system/keymaps/joystick.xml
2023-01-21 19:01:57.368 T:9600 info <general>: Loading special://xbmc/system/keymaps/keyboard.xml
2023-01-21 19:01:57.373 T:9600 info <general>: Loading special://xbmc/system/keymaps/mouse.xml
2023-01-21 19:01:57.373 T:9600 info <general>: Loading special://xbmc/system/keymaps/remote.xml
2023-01-21 19:01:57.376 T:9600 info <general>: Loading special://xbmc/system/keymaps/touchscreen.xml
2023-01-21 19:01:57.378 T:9600 info <general>: GUI format 1920x1080, Display : 1920x1080 @ 60.00Hz
2023-01-21 19:01:57.421 T:9634 info <general>: Found 1 Lists of Devices
2023-01-21 19:01:57.421 T:9634 info <general>: Enumerated ALSA devices:
2023-01-21 19:01:57.421 T:9634 info <general>: Device 1
2023-01-21 19:01:57.421 T:9634 info <general>: m_deviceName : default
2023-01-21 19:01:57.421 T:9634 info <general>: m_displayName : Default
2023-01-21 19:01:57.421 T:9634 info <general>: m_displayNameExtra:
2023-01-21 19:01:57.421 T:9634 info <general>: m_deviceType : AE_DEVTYPE_PCM
2023-01-21 19:01:57.421 T:9634 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR, UNKNOWN1, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8
2023-01-21 19:01:57.421 T:9634 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2023-01-21 19:01:57.421 T:9634 info <general>: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
2023-01-21 19:01:57.421 T:9634 info <general>: m_streamTypes : No passthrough capabilities
2023-01-21 19:01:57.421 T:9634 info <general>: Device 2
2023-01-21 19:01:57.421 T:9634 info <general>: m_deviceName : sysdefault:CARD=lg115x
2023-01-21 19:01:57.421 T:9634 info <general>: m_displayName : lg115x
2023-01-21 19:01:57.421 T:9634 info <general>: m_displayNameExtra: Analog
2023-01-21 19:01:57.421 T:9634 info <general>: m_deviceType : AE_DEVTYPE_PCM
2023-01-21 19:01:57.421 T:9634 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
2023-01-21 19:01:57.421 T:9634 info <general>: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
2023-01-21 19:01:57.421 T:9634 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2023-01-21 19:01:57.421 T:9634 info <general>: m_streamTypes : No passthrough capabilities
2023-01-21 19:01:57.421 T:9635 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:01:57.422 T:9635 info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2023-01-21 19:01:57.423 T:9635 info <general>: CAESinkALSA::Initialize - Opened device "default"
2023-01-21 19:01:57.440 T:9600 info <general>: CLangInfo: loading resource.language.en_gb language information...
2023-01-21 19:01:57.443 T:9600 info <general>: global locale set to C
2023-01-21 19:01:57.443 T:9600 info <general>: CLangInfo: loading resource.language.en_gb language strings...
2023-01-21 19:01:57.470 T:9639 info <general>: Running database version Addons33
2023-01-21 19:01:57.479 T:9639 info <general>: creating version table
2023-01-21 19:01:57.480 T:9639 info <general>: create view table
2023-01-21 19:01:57.480 T:9639 info <general>: CreateAnalytics - creating indices
2023-01-21 19:01:57.492 T:9639 info <general>: creating version table
2023-01-21 19:01:57.492 T:9639 info <general>: create texture table
2023-01-21 19:01:57.492 T:9639 info <general>: create sizes table, index, and trigger
2023-01-21 19:01:57.492 T:9639 info <general>: create path table
2023-01-21 19:01:57.492 T:9639 info <general>: CreateAnalytics creating indices
2023-01-21 19:01:57.493 T:9639 info <general>: CreateAnalytics creating triggers
2023-01-21 19:01:57.507 T:9639 info <general>: creating version table
2023-01-21 19:01:57.507 T:9639 info <general>: create artist table
2023-01-21 19:01:57.509 T:9639 info <general>: create album table
2023-01-21 19:01:57.509 T:9639 info <general>: create audiobook table
2023-01-21 19:01:57.510 T:9639 info <general>: create album_artist table
2023-01-21 19:01:57.510 T:9639 info <general>: create album_source table
2023-01-21 19:01:57.510 T:9639 info <general>: create genre table
2023-01-21 19:01:57.510 T:9639 info <general>: create path table
2023-01-21 19:01:57.510 T:9639 info <general>: create source table
2023-01-21 19:01:57.510 T:9639 info <general>: create source_path table
2023-01-21 19:01:57.511 T:9639 info <general>: create song table
2023-01-21 19:01:57.511 T:9639 info <general>: create song_artist table
2023-01-21 19:01:57.511 T:9639 info <general>: create song_genre table
2023-01-21 19:01:57.511 T:9639 info <general>: create role table
2023-01-21 19:01:57.511 T:9639 info <general>: create infosetting table
2023-01-21 19:01:57.511 T:9639 info <general>: create discography table
2023-01-21 19:01:57.511 T:9639 info <general>: create art table
2023-01-21 19:01:57.511 T:9639 info <general>: create versiontagscan table
2023-01-21 19:01:57.512 T:9639 info <general>: create removed_link table
2023-01-21 19:01:57.512 T:9639 info <general>: CreateAnalytics - creating indices
2023-01-21 19:01:57.516 T:9639 info <general>: create triggers
2023-01-21 19:01:57.518 T:9639 info <general>: create song view
2023-01-21 19:01:57.518 T:9639 info <general>: create album view
2023-01-21 19:01:57.519 T:9639 info <general>: create artist view
2023-01-21 19:01:57.519 T:9639 info <general>: create albumartist view
2023-01-21 19:01:57.519 T:9639 info <general>: create songartist view
2023-01-21 19:01:57.539 T:9639 info <general>: creating version table
2023-01-21 19:01:57.539 T:9639 info <general>: create bookmark table
2023-01-21 19:01:57.539 T:9639 info <general>: create settings table
2023-01-21 19:01:57.540 T:9639 info <general>: create stacktimes table
2023-01-21 19:01:57.540 T:9639 info <general>: create genre table
2023-01-21 19:01:57.540 T:9639 info <general>: create country table
2023-01-21 19:01:57.540 T:9639 info <general>: create movie table
2023-01-21 19:01:57.541 T:9639 info <general>: create actor table
2023-01-21 19:01:57.541 T:9639 info <general>: create path table
2023-01-21 19:01:57.541 T:9639 info <general>: create files table
2023-01-21 19:01:57.541 T:9639 info <general>: create tvshow table
2023-01-21 19:01:57.541 T:9639 info <general>: create episode table
2023-01-21 19:01:57.541 T:9639 info <general>: create tvshowlinkpath table
2023-01-21 19:01:57.542 T:9639 info <general>: create movielinktvshow table
2023-01-21 19:01:57.542 T:9639 info <general>: create studio table
2023-01-21 19:01:57.542 T:9639 info <general>: create musicvideo table
2023-01-21 19:01:57.542 T:9639 info <general>: create streaminfo table
2023-01-21 19:01:57.542 T:9639 info <general>: create sets table
2023-01-21 19:01:57.543 T:9639 info <general>: create seasons table
2023-01-21 19:01:57.543 T:9639 info <general>: create art table
2023-01-21 19:01:57.543 T:9639 info <general>: create tag table
2023-01-21 19:01:57.543 T:9639 info <general>: create rating table
2023-01-21 19:01:57.543 T:9639 info <general>: create uniqueid table
2023-01-21 19:01:57.543 T:9639 info <general>: CreateAnalytics - creating indices
2023-01-21 19:01:57.551 T:9639 info <general>: CreateAnalytics - creating triggers
2023-01-21 19:01:57.552 T:9639 info <general>: create episode_view
2023-01-21 19:01:57.553 T:9639 info <general>: create tvshowcounts
2023-01-21 19:01:57.553 T:9639 info <general>: create tvshowlinkpath_minview
2023-01-21 19:01:57.553 T:9639 info <general>: create tvshow_view
2023-01-21 19:01:57.554 T:9639 info <general>: create season_view
2023-01-21 19:01:57.554 T:9639 info <general>: create musicvideo_view
2023-01-21 19:01:57.554 T:9639 info <general>: create movie_view
2023-01-21 19:01:57.577 T:9639 info <general>: creating version table
2023-01-21 19:01:57.578 T:9639 info <general>: CreateTables: Creating PVR database tables
2023-01-21 19:01:57.579 T:9639 info <general>: CreateAnalytics: Creating PVR database indices
2023-01-21 19:01:57.592 T:9639 info <general>: creating version table
2023-01-21 19:01:57.593 T:9639 info <general>: Creating EPG database tables
2023-01-21 19:01:57.776 T:9600 info <general>: Unloaded skin
2023-01-21 19:01:57.776 T:9600 info <general>: load skin from: /media/developer/tmp/kodi-build/addons/skin.estuary/ (version: 3.0.10)
2023-01-21 19:01:57.776 T:9600 info <general>: load fonts for skin...
2023-01-21 19:01:57.779 T:9600 info <general>: Loading skin includes from /media/developer/tmp/kodi-build/addons/skin.estuary/xml/Includes.xml
2023-01-21 19:01:57.929 T:9600 info <general>: LoadFonts: Loading fonts from '/media/developer/tmp/kodi-build/addons/skin.estuary/xml/Font.xml'
2023-01-21 19:01:57.954 T:9600 info <general>: LoadTimers: Trying to load skin timers from /media/developer/tmp/kodi-build/addons/skin.estuary/xml/Timers.xml
2023-01-21 19:01:57.957 T:9600 info <general>: load new skin...
2023-01-21 19:01:57.957 T:9600 info <general>: Loading custom window XMLs from skin path /media/developer/tmp/kodi-build/addons/skin.estuary/xml
2023-01-21 19:01:57.973 T:9600 info <general>: initialize new skin...
2023-01-21 19:01:57.973 T:9600 info <general>: Loading skin file: Custom_1109_TopBarOverlay.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.003 T:9600 info <general>: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.005 T:9600 info <general>: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.006 T:9600 info <general>: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.023 T:9600 info <general>: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.026 T:9600 info <general>: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.027 T:9600 info <general>: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.030 T:9600 info <general>: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:01:58.032 T:9600 info <general>: Loading resource://resource.uisounds.kodi/sounds.xml
2023-01-21 19:01:58.083 T:9600 info <general>: skin loaded...
2023-01-21 19:01:58.084 T:9600 info <general>: Loading skin file: Startup.xml, load type: LOAD_EVERY_TIME
2023-01-21 19:01:58.084 T:9600 info <general>: Loading skin file: Home.xml, load type: KEEP_IN_MEMORY
2023-01-21 19:01:58.183 T:9600 warning <general>: JSONRPC: Could not parse type "Setting.Details.SettingList"
2023-01-21 19:01:58.183 T:9600 info <general>: JSONRPC: Adding type "Setting.Details.SettingList" to list of incomplete definitions (waiting for "Setting.Details.Setting")
2023-01-21 19:01:58.184 T:9600 info <general>: JSONRPC: Resolving incomplete types/methods referencing Setting.Details.Setting
2023-01-21 19:01:58.214 T:9600 info <general>: JSONRPC v13.0.0: Successfully initialized
2023-01-21 19:01:58.214 T:9600 info <general>: [Media Detection] starting service for optical media detection
2023-01-21 19:01:58.219 T:9600 info <general>: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000)
2023-01-21 19:01:58.219 T:9600 info <general>: Register - new mouse device registered on application->mouse: Mouse (0000:0000)
2023-01-21 19:01:58.222 T:9600 info <general>: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2023-01-21 19:01:58.223 T:9600 info <general>: Loaded playercorefactory configuration
2023-01-21 19:01:58.223 T:9600 info <general>: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2023-01-21 19:01:58.223 T:9600 info <general>: special://masterprofile/playercorefactory.xml does not exist. Skipping.
2023-01-21 19:01:58.223 T:9600 info <general>: removing tempfiles
2023-01-21 19:01:58.228 T:9600 info <general>: initialize done
2023-01-21 19:01:58.228 T:9600 info <general>: Running the application...
2023-01-21 19:01:58.231 T:9698 info <general>: ES: Starting UDP Event server on port 9777
2023-01-21 19:01:58.231 T:9698 info <general>: UDP: Listening on port 9777 (ipv6 : false)
2023-01-21 19:01:58.234 T:9687 error <general>: CCurlFile::CReadState::FillBuffer - (0xed929190) Failed: Couldn't resolve host name(6)
2023-01-21 19:01:58.234 T:9687 error <general>: CCurlFile::Open - <http://mirrors.kodi.tv/addons/nexus/addons.xml.gz?sha256> Failed with code 0:
2023-01-21 19:01:58.234 T:9687 error <general>: CRepository: failed read 'http://mirrors.kodi.tv/addons/nexus/addons.xml.gz?sha256'
2023-01-21 19:01:58.237 T:9600 info <general>: JSONRPC Server: Successfully initialized
2023-01-21 19:01:58.239 T:9600 info <general>: CWSDiscoveryListenerUDP::Start - Started
./kodi.sh
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 571 cdbgp_channel_init
Initing shared dests 0xb: failed to init 0x8. Some debug output may not appear due to this
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 1: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 2: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 3: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
XDG_RUNTIME_DIR (/tmp/xdg) is not owned by us (uid 6557), but by uid 0! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/tmp/xdg) is not owned by us (uid 6557), but by uid 0! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'egl_unified_query 94 : status 0
egl_unified_query 94 : status 0
python3'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = '/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11'
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release'
sys.base_exec_prefix = '/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release'
sys.exec_prefix = '/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release'
sys.path = [
'/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python311.zip',
'/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release',
'/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/site-packages',
'/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11',
'/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0xe465ce80 (most recent call first):
<no Python frame>
Segmentation fault (core dumped)
The error with /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11 is probably because I moved around some libs. Going to put them back how they was.
I've re-established /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib. Now getting an error around missing swrast.
./kodi.sh
libEGL warning: MESA-LOADER: failed to open swrast (search paths /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/dri)
libEGL warning: MESA-LOADER: failed to open swrast (search paths /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/dri)
xkbcommon: ERROR: Couldn't find file "rules/evdev" in include paths
xkbcommon: ERROR: 1 include paths searched:
xkbcommon: ERROR: /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/share/X11/xkb
xkbcommon: ERROR: 1 include paths could not be added:
xkbcommon: ERROR: /media/developer//.xkb
xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc105', layout 'us', variant '(null)', options '(null)'
ERROR: Unable to create GUI. Exiting
kodi.log
2023-01-21 19:14:39.234 T:14519 error <general>: failed to initialize EGL display (EGL_NOT_INITIALIZED)
I was interested to see if I remove some libs that kodi compiled and use the ones already in the TV to see what would happen, I moved the following files out /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib temporarily and its now making a blank screen and quitting again.
Files I've moved temporarily out of /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib
lrwxrwxrwx 1 prisoner 5000 11 Jan 21 18:31 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 prisoner 5000 15 Jan 21 18:31 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 prisoner 5000 315944 Jan 21 18:31 libEGL.so.1.0.0
lrwxrwxrwx 1 prisoner 5000 14 Jan 21 18:31 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 prisoner 5000 18 Jan 21 18:31 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rwxr-xr-x 1 prisoner 5000 63372 Jan 21 18:31 libGLESv2.so.2.0.0
lrwxrwxrwx 1 prisoner 5000 24 Jan 21 18:31 libwayland-client++.so -> libwayland-client++.so.0
lrwxrwxrwx 1 prisoner 5000 28 Jan 21 18:31 libwayland-client++.so.0 -> libwayland-client++.so.0.2.8
-rw-r--r-- 1 prisoner 5000 1794912 Jan 21 18:31 libwayland-client++.so.0.2.8
lrwxrwxrwx 1 prisoner 5000 30 Jan 21 18:31 libwayland-client-extra++.so -> libwayland-client-extra++.so.0
lrwxrwxrwx 1 prisoner 5000 34 Jan 21 18:31 libwayland-client-extra++.so.0 -> libwayland-client-extra++.so.0.2.8
-rw-r--r-- 1 prisoner 5000 393016 Jan 21 18:31 libwayland-client-extra++.so.0.2.8
-rwxr-xr-x 1 prisoner 5000 1106 Jan 21 18:31 libwayland-client.la
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-client.so -> libwayland-client.so.0.3.0
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-client.so.0 -> libwayland-client.so.0.3.0
-rwxr-xr-x 1 prisoner 5000 175340 Jan 21 18:31 libwayland-client.so.0.3.0
lrwxrwxrwx 1 prisoner 5000 24 Jan 21 18:31 libwayland-cursor++.so -> libwayland-cursor++.so.0
lrwxrwxrwx 1 prisoner 5000 28 Jan 21 18:31 libwayland-cursor++.so.0 -> libwayland-cursor++.so.0.2.8
-rw-r--r-- 1 prisoner 5000 260328 Jan 21 18:31 libwayland-cursor++.so.0.2.8
-rwxr-xr-x 1 prisoner 5000 1194 Jan 21 18:31 libwayland-cursor.la
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-cursor.so -> libwayland-cursor.so.0.0.0
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-cursor.so.0 -> libwayland-cursor.so.0.0.0
-rwxr-xr-x 1 prisoner 5000 68488 Jan 21 18:31 libwayland-cursor.so.0.0.0
lrwxrwxrwx 1 prisoner 5000 21 Jan 21 18:31 libwayland-egl++.so -> libwayland-egl++.so.0
lrwxrwxrwx 1 prisoner 5000 25 Jan 21 18:31 libwayland-egl++.so.0 -> libwayland-egl++.so.0.2.8
-rw-r--r-- 1 prisoner 5000 254580 Jan 21 18:31 libwayland-egl++.so.0.2.8
-rwxr-xr-x 1 prisoner 5000 1070 Jan 21 18:31 libwayland-egl.la
lrwxrwxrwx 1 prisoner 5000 23 Jan 21 18:31 libwayland-egl.so -> libwayland-egl.so.1.0.0
lrwxrwxrwx 1 prisoner 5000 23 Jan 21 18:31 libwayland-egl.so.1 -> libwayland-egl.so.1.0.0
-rwxr-xr-x 1 prisoner 5000 10616 Jan 21 18:31 libwayland-egl.so.1.0.0
-rwxr-xr-x 1 prisoner 5000 1106 Jan 21 18:31 libwayland-server.la
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-server.so -> libwayland-server.so.0.1.0
lrwxrwxrwx 1 prisoner 5000 26 Jan 21 18:31 libwayland-server.so.0 -> libwayland-server.so.0.1.0
-rwxr-xr-x 1 prisoner 5000 232240 Jan 21 18:31 libwayland-server.so.0.1.0
I am now getting to this point:
./kodi.sh
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 571 cdbgp_channel_init
Initing shared dests 0xb: failed to init 0x8. Some debug output may not appear due to this
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 1: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 2: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
==>[INIT] (kodi.bin) CDBG: In file: ../cdbg/src/mali_cdbg_channels.c line: 647 cdbgp_channel_open
Initing dest bitpattern 0x4 for channel 3: failed dests bitpattern is 0x4. Some debug output may not appear from this channel.
Opens a blank screen then quits
kodi.log
2023-01-21 19:27:57.582 T:15194 info <general>: -----------------------------------------------------------------------
2023-01-21 19:27:57.582 T:15194 info <general>: Starting Kodi (21.0-ALPHA1 (20.90.101) Git:20230120-24085c94fc-dirty). Platform: Linux ARM 32-bit
2023-01-21 19:27:57.582 T:15194 info <general>: Using Release Kodi x32
2023-01-21 19:27:57.582 T:15194 info <general>: Kodi compiled 2023-01-21 by GCC 12.1.0 for Linux ARM 32-bit version 5.4.96 (328800)
2023-01-21 19:27:57.600 T:15194 info <general>: Running on n/a(none), kernel: Linux ARM 64-bit version 5.4.96-266.mlt4tv.1
2023-01-21 19:27:57.600 T:15194 info <general>: FFmpeg version/source: 5.1.2-Kodi
2023-01-21 19:27:57.600 T:15194 info <general>: 4 CPU cores available
2023-01-21 19:27:57.600 T:15194 info <general>: ARM Features: Neon enabled
2023-01-21 19:27:57.600 T:15194 info <general>: special://xbmc/ is mapped to: /media/developer/tmp/kodi-build
2023-01-21 19:27:57.600 T:15194 info <general>: special://xbmcbin/ is mapped to: /media/developer/tmp/kodi-build
2023-01-21 19:27:57.600 T:15194 info <general>: special://xbmcbinaddons/ is mapped to: /media/developer/tmp/kodi-build/addons
2023-01-21 19:27:57.600 T:15194 info <general>: special://masterprofile/ is mapped to: /media/developer//.kodi/userdata
2023-01-21 19:27:57.600 T:15194 info <general>: special://envhome/ is mapped to: /media/developer/
2023-01-21 19:27:57.600 T:15194 info <general>: special://home/ is mapped to: /media/developer//.kodi
2023-01-21 19:27:57.600 T:15194 info <general>: special://temp/ is mapped to: /media/developer//.kodi/temp
2023-01-21 19:27:57.600 T:15194 info <general>: special://logpath/ is mapped to: /media/developer//.kodi/temp
2023-01-21 19:27:57.600 T:15194 info <general>: Webserver extra whitelist paths:
2023-01-21 19:27:57.600 T:15194 info <general>: The executable running is: /media/developer/tmp/kodi-build/kodi.bin
2023-01-21 19:27:57.600 T:15194 info <general>: Local hostname: LGwebOSTV
2023-01-21 19:27:57.600 T:15194 info <general>: Log File is located: /media/developer//.kodi/temp/kodi.log
2023-01-21 19:27:57.600 T:15194 info <general>: -----------------------------------------------------------------------
2023-01-21 19:27:57.600 T:15194 info <general>: loading settings
2023-01-21 19:27:57.601 T:15194 info <general>: special://profile/ is mapped to: special://masterprofile/
2023-01-21 19:27:57.623 T:15194 info <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2023-01-21 19:27:57.624 T:15194 info <general>: No settings file to load (special://masterprofile/advancedsettings.xml)
2023-01-21 19:27:57.624 T:15194 info <general>: Default Video Player: VideoPlayer
2023-01-21 19:27:57.624 T:15194 info <general>: Default Audio Player: paplayer
2023-01-21 19:27:57.624 T:15194 info <general>: Disabled debug logging due to GUI setting. Level 0.
2023-01-21 19:27:57.624 T:15194 info <general>: Log level changed to "info"
2023-01-21 19:27:57.625 T:15194 info <general>: creating subdirectories
2023-01-21 19:27:57.625 T:15194 info <general>: userdata folder: special://masterprofile/
2023-01-21 19:27:57.626 T:15194 info <general>: recording folder:
2023-01-21 19:27:57.626 T:15194 info <general>: screenshots folder:
2023-01-21 19:27:57.630 T:15194 info <general>: Running database version Addons33
2023-01-21 19:27:57.671 T:15194 info <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2023-01-21 19:27:57.671 T:15194 info <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2023-01-21 19:27:57.671 T:15194 info <general>: CAddonMgr::FindAddons: game.controller.default v1.0.35 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: game.controller.keyboard v1.1.26 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: game.controller.mouse v1.0.19 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.34 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.7 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.main v2.0.2 installed
2023-01-21 19:27:57.672 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v4.0.0 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v3.0.0 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v3.0.0 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v3.0.1 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.2.0 installed
2023-01-21 19:27:57.673 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v8.2.0 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.2.0 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.1 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.3 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v4.0.0 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.4 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.3 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2023-01-21 19:27:57.674 T:15194 info <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.3 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.3.1+matrix.1 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.6.0 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.3.1 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2023-01-21 19:27:57.675 T:15194 info <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.66 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.19+matrix.1 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.8 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: skin.estuary v3.0.10 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: webinterface.default v19.x-2.4.8 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.addon v20.90.101 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
2023-01-21 19:27:57.676 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.gui v5.16.0 installed
2023-01-21 19:27:57.677 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.json v13.0.0 installed
2023-01-21 19:27:57.677 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
2023-01-21 19:27:57.677 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.python v3.0.1 installed
2023-01-21 19:27:57.677 T:15194 info <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
2023-01-21 19:27:57.680 T:15194 warning <general>: DBus connection failed: org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/var/run/dbus/system_bus_socket: No such file or directory
2023-01-21 19:27:57.688 T:15194 info <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2023-01-21 19:27:57.699 T:15194 info <general>: InitWindowSystem: Connecting to Wayland server
2023-01-21 19:27:57.701 T:15194 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-21 19:27:57.701 T:15194 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
2023-01-21 19:27:57.705 T:15194 info <general>: EGL_VERSION = 1.4 Bifrost-"r28p0-01eac0"
2023-01-21 19:27:57.705 T:15194 info <general>: EGL_VENDOR = ARM
2023-01-21 19:27:57.705 T:15194 info <general>: EGL_EXTENSIONS = EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_WL_bind_wayland_display EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness
2023-01-21 19:27:57.705 T:15194 info <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
2023-01-21 19:27:57.705 T:15194 info <general>: RetroPlayer[RENDER]: Registering renderer factory for DMA
2023-01-21 19:27:57.705 T:15194 info <general>: RetroPlayer[RENDER]: Registering renderer factory for OpenGLES
2023-01-21 19:27:57.706 T:15194 info <general>: CApplication::CreateGUI - using the wayland windowing system
2023-01-21 19:27:57.707 T:15194 info <general>: Checking resolution 16
2023-01-21 19:27:57.708 T:15194 info <general>: CreateNewWindow: Starting full screen size 1920x1080
2023-01-21 19:27:57.712 T:15194 info <general>: UpdateSizeVariables: Surface size changed: 0x0 -> 1920x1080
2023-01-21 19:27:57.712 T:15194 info <general>: UpdateSizeVariables: Buffer size changed: 0x0 -> 1920x1080
2023-01-21 19:27:57.712 T:15194 info <general>: UpdateSizeVariables: Configured size changed: 0x0 -> 1920x1080
2023-01-21 19:27:57.713 T:15194 warning <general>: CreateNewWindow: Compositor does not support xdg_shell protocol (stable or unstable v6) - falling back to wl_shell, not all features might work
2023-01-21 19:27:57.759 T:15194 info <general>: GL_VENDOR = ARM
2023-01-21 19:27:57.759 T:15194 info <general>: GL_RENDERER = Mali-G52
2023-01-21 19:27:57.759 T:15194 info <general>: GL_VERSION = OpenGL ES 3.2 v1.r28p0-01eac0.c92dc8b662c2d627d9584608889656ac
2023-01-21 19:27:57.759 T:15194 info <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20
2023-01-21 19:27:57.759 T:15194 info <general>: GL_EXTENSIONS = GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage GL_EXT_texture_filter_anisotropic GL_ARM_texture_unnormalized_coordinates
2023-01-21 19:27:58.097 T:15194 info <general>: SetResolutionExternal: Kodi asked to switch mode to 1920x1080 @60.000 Hz on output "" full screen
2023-01-21 19:27:58.098 T:15194 info <general>: GetOSScreenSaverImpl: Using freedesktop.org DBus interface for screen saver inhibition
2023-01-21 19:27:58.307 T:15194 info <general>: GLES: Enabling VSYNC
2023-01-21 19:27:58.308 T:15194 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-21 19:27:58.308 T:15194 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
2023-01-21 19:27:58.308 T:15194 info <general>: load keymapping
2023-01-21 19:27:58.310 T:15194 info <general>: Loading special://xbmc/system/keymaps/appcommand.xml
2023-01-21 19:27:58.310 T:15194 info <general>: Loading special://xbmc/system/keymaps/customcontroller.AppleRemote.xml
2023-01-21 19:27:58.312 T:15194 info <general>: Loading special://xbmc/system/keymaps/customcontroller.Harmony.xml
2023-01-21 19:27:58.314 T:15194 info <general>: Loading special://xbmc/system/keymaps/customcontroller.SiriRemote.xml
2023-01-21 19:27:58.315 T:15194 info <general>: Loading special://xbmc/system/keymaps/gamepad.xml
2023-01-21 19:27:58.318 T:15194 info <general>: Loading special://xbmc/system/keymaps/joystick.xml
2023-01-21 19:27:58.321 T:15194 info <general>: Loading special://xbmc/system/keymaps/keyboard.xml
2023-01-21 19:27:58.331 T:15194 info <general>: Loading special://xbmc/system/keymaps/mouse.xml
2023-01-21 19:27:58.332 T:15194 info <general>: Loading special://xbmc/system/keymaps/remote.xml
2023-01-21 19:27:58.334 T:15194 info <general>: Loading special://xbmc/system/keymaps/touchscreen.xml
2023-01-21 19:27:58.336 T:15194 info <general>: GUI format 1920x1080, Display : 1920x1080 @ 60.00Hz
2023-01-21 19:27:58.341 T:15228 info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-01-21 19:27:58.342 T:15228 info <general>: CAESinkALSA - Unable to get a list of devices
2023-01-21 19:27:58.342 T:15228 info <general>: No Devices found - retry: 4
2023-01-21 19:27:59.842 T:15228 info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-01-21 19:27:59.842 T:15228 info <general>: CAESinkALSA - Unable to get a list of devices
2023-01-21 19:27:59.842 T:15228 info <general>: No Devices found - retry: 3
2023-01-21 19:28:01.342 T:15228 info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-01-21 19:28:01.342 T:15228 info <general>: CAESinkALSA - Unable to get a list of devices
2023-01-21 19:28:01.342 T:15228 info <general>: No Devices found - retry: 2
2023-01-21 19:28:02.843 T:15228 info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-01-21 19:28:02.843 T:15228 info <general>: CAESinkALSA - Unable to get a list of devices
2023-01-21 19:28:02.844 T:15228 info <general>: No Devices found - retry: 1
2023-01-21 19:28:04.344 T:15228 info <general>: CAESinkALSA - Unable to open device "default" for playback
2023-01-21 19:28:04.344 T:15228 info <general>: CAESinkALSA - Unable to get a list of devices
2023-01-21 19:28:04.344 T:15228 info <general>: Found 0 Lists of Devices
2023-01-21 19:28:04.344 T:15229 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:28:04.344 T:15229 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:28:04.344 T:15228 error <general>: ActiveAE::InitSink - returned error
2023-01-21 19:28:04.345 T:15194 info <general>: CLangInfo: loading resource.language.en_gb language information...
2023-01-21 19:28:04.352 T:15194 info <general>: global locale set to C
2023-01-21 19:28:04.352 T:15194 info <general>: CLangInfo: loading resource.language.en_gb language strings...
2023-01-21 19:28:04.376 T:15243 info <general>: Running database version Addons33
2023-01-21 19:28:04.386 T:15243 info <general>: creating version table
2023-01-21 19:28:04.386 T:15243 info <general>: create view table
2023-01-21 19:28:04.386 T:15243 info <general>: CreateAnalytics - creating indices
2023-01-21 19:28:04.397 T:15243 info <general>: creating version table
2023-01-21 19:28:04.397 T:15243 info <general>: create texture table
2023-01-21 19:28:04.398 T:15243 info <general>: create sizes table, index, and trigger
2023-01-21 19:28:04.398 T:15243 info <general>: create path table
2023-01-21 19:28:04.398 T:15243 info <general>: CreateAnalytics creating indices
2023-01-21 19:28:04.398 T:15243 info <general>: CreateAnalytics creating triggers
2023-01-21 19:28:04.414 T:15243 info <general>: creating version table
2023-01-21 19:28:04.414 T:15243 info <general>: create artist table
2023-01-21 19:28:04.415 T:15243 info <general>: create album table
2023-01-21 19:28:04.415 T:15243 info <general>: create audiobook table
2023-01-21 19:28:04.415 T:15243 info <general>: create album_artist table
2023-01-21 19:28:04.415 T:15243 info <general>: create album_source table
2023-01-21 19:28:04.415 T:15243 info <general>: create genre table
2023-01-21 19:28:04.415 T:15243 info <general>: create path table
2023-01-21 19:28:04.416 T:15243 info <general>: create source table
2023-01-21 19:28:04.416 T:15243 info <general>: create source_path table
2023-01-21 19:28:04.416 T:15243 info <general>: create song table
2023-01-21 19:28:04.416 T:15243 info <general>: create song_artist table
2023-01-21 19:28:04.416 T:15243 info <general>: create song_genre table
2023-01-21 19:28:04.416 T:15243 info <general>: create role table
2023-01-21 19:28:04.416 T:15243 info <general>: create infosetting table
2023-01-21 19:28:04.417 T:15243 info <general>: create discography table
2023-01-21 19:28:04.417 T:15243 info <general>: create art table
2023-01-21 19:28:04.417 T:15243 info <general>: create versiontagscan table
2023-01-21 19:28:04.417 T:15243 info <general>: create removed_link table
2023-01-21 19:28:04.417 T:15243 info <general>: CreateAnalytics - creating indices
2023-01-21 19:28:04.420 T:15243 info <general>: create triggers
2023-01-21 19:28:04.422 T:15243 info <general>: create song view
2023-01-21 19:28:04.424 T:15243 info <general>: create album view
2023-01-21 19:28:04.424 T:15243 info <general>: create artist view
2023-01-21 19:28:04.424 T:15243 info <general>: create albumartist view
2023-01-21 19:28:04.425 T:15243 info <general>: create songartist view
2023-01-21 19:28:04.446 T:15243 info <general>: creating version table
2023-01-21 19:28:04.447 T:15243 info <general>: create bookmark table
2023-01-21 19:28:04.448 T:15243 info <general>: create settings table
2023-01-21 19:28:04.448 T:15243 info <general>: create stacktimes table
2023-01-21 19:28:04.448 T:15243 info <general>: create genre table
2023-01-21 19:28:04.448 T:15243 info <general>: create country table
2023-01-21 19:28:04.449 T:15243 info <general>: create movie table
2023-01-21 19:28:04.449 T:15243 info <general>: create actor table
2023-01-21 19:28:04.449 T:15243 info <general>: create path table
2023-01-21 19:28:04.449 T:15243 info <general>: create files table
2023-01-21 19:28:04.449 T:15243 info <general>: create tvshow table
2023-01-21 19:28:04.450 T:15243 info <general>: create episode table
2023-01-21 19:28:04.450 T:15243 info <general>: create tvshowlinkpath table
2023-01-21 19:28:04.450 T:15243 info <general>: create movielinktvshow table
2023-01-21 19:28:04.450 T:15243 info <general>: create studio table
2023-01-21 19:28:04.450 T:15243 info <general>: create musicvideo table
2023-01-21 19:28:04.451 T:15243 info <general>: create streaminfo table
2023-01-21 19:28:04.451 T:15243 info <general>: create sets table
2023-01-21 19:28:04.451 T:15243 info <general>: create seasons table
2023-01-21 19:28:04.451 T:15243 info <general>: create art table
2023-01-21 19:28:04.451 T:15243 info <general>: create tag table
2023-01-21 19:28:04.451 T:15243 info <general>: create rating table
2023-01-21 19:28:04.452 T:15243 info <general>: create uniqueid table
2023-01-21 19:28:04.452 T:15243 info <general>: CreateAnalytics - creating indices
2023-01-21 19:28:04.458 T:15243 info <general>: CreateAnalytics - creating triggers
2023-01-21 19:28:04.459 T:15243 info <general>: create episode_view
2023-01-21 19:28:04.460 T:15243 info <general>: create tvshowcounts
2023-01-21 19:28:04.460 T:15243 info <general>: create tvshowlinkpath_minview
2023-01-21 19:28:04.460 T:15243 info <general>: create tvshow_view
2023-01-21 19:28:04.460 T:15243 info <general>: create season_view
2023-01-21 19:28:04.461 T:15243 info <general>: create musicvideo_view
2023-01-21 19:28:04.461 T:15243 info <general>: create movie_view
2023-01-21 19:28:04.485 T:15243 info <general>: creating version table
2023-01-21 19:28:04.485 T:15243 info <general>: CreateTables: Creating PVR database tables
2023-01-21 19:28:04.486 T:15243 info <general>: CreateAnalytics: Creating PVR database indices
2023-01-21 19:28:04.500 T:15243 info <general>: creating version table
2023-01-21 19:28:04.501 T:15243 info <general>: Creating EPG database tables
2023-01-21 19:28:04.728 T:15194 info <general>: Unloaded skin
2023-01-21 19:28:04.729 T:15194 info <general>: load skin from: /media/developer/tmp/kodi-build/addons/skin.estuary/ (version: 3.0.10)
2023-01-21 19:28:04.729 T:15194 info <general>: load fonts for skin...
2023-01-21 19:28:04.731 T:15194 info <general>: Loading skin includes from /media/developer/tmp/kodi-build/addons/skin.estuary/xml/Includes.xml
2023-01-21 19:28:04.793 T:15194 info <general>: LoadFonts: Loading fonts from '/media/developer/tmp/kodi-build/addons/skin.estuary/xml/Font.xml'
2023-01-21 19:28:04.806 T:15194 info <general>: LoadTimers: Trying to load skin timers from /media/developer/tmp/kodi-build/addons/skin.estuary/xml/Timers.xml
2023-01-21 19:28:04.809 T:15194 info <general>: load new skin...
2023-01-21 19:28:04.809 T:15194 info <general>: Loading custom window XMLs from skin path /media/developer/tmp/kodi-build/addons/skin.estuary/xml
2023-01-21 19:28:04.817 T:15194 info <general>: initialize new skin...
2023-01-21 19:28:04.817 T:15194 info <general>: Loading skin file: Custom_1109_TopBarOverlay.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.835 T:15194 info <general>: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.837 T:15194 info <general>: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.838 T:15194 info <general>: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.843 T:15229 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:28:04.843 T:15229 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:28:04.843 T:15228 error <general>: ActiveAE::InitSink - returned error
2023-01-21 19:28:04.853 T:15194 info <general>: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.855 T:15194 info <general>: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.856 T:15194 info <general>: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.856 T:15194 info <general>: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
2023-01-21 19:28:04.858 T:15194 info <general>: Loading resource://resource.uisounds.kodi/sounds.xml
2023-01-21 19:28:04.894 T:15194 info <general>: skin loaded...
2023-01-21 19:28:04.895 T:15194 info <general>: Loading skin file: Startup.xml, load type: LOAD_EVERY_TIME
2023-01-21 19:28:04.895 T:15194 info <general>: Loading skin file: Home.xml, load type: KEEP_IN_MEMORY
2023-01-21 19:28:04.982 T:15194 warning <general>: JSONRPC: Could not parse type "Setting.Details.SettingList"
2023-01-21 19:28:04.982 T:15194 info <general>: JSONRPC: Adding type "Setting.Details.SettingList" to list of incomplete definitions (waiting for "Setting.Details.Setting")
2023-01-21 19:28:04.983 T:15194 info <general>: JSONRPC: Resolving incomplete types/methods referencing Setting.Details.Setting
2023-01-21 19:28:05.004 T:15194 info <general>: JSONRPC v13.0.0: Successfully initialized
2023-01-21 19:28:05.004 T:15194 info <general>: [Media Detection] starting service for optical media detection
2023-01-21 19:28:05.008 T:15194 info <general>: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000)
2023-01-21 19:28:05.008 T:15194 info <general>: Register - new mouse device registered on application->mouse: Mouse (0000:0000)
2023-01-21 19:28:05.009 T:15194 info <general>: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2023-01-21 19:28:05.010 T:15194 info <general>: Loaded playercorefactory configuration
2023-01-21 19:28:05.010 T:15194 info <general>: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2023-01-21 19:28:05.010 T:15194 info <general>: special://masterprofile/playercorefactory.xml does not exist. Skipping.
2023-01-21 19:28:05.010 T:15194 info <general>: removing tempfiles
2023-01-21 19:28:05.015 T:15194 info <general>: initialize done
2023-01-21 19:28:05.015 T:15194 info <general>: Running the application...
2023-01-21 19:28:05.016 T:15282 info <general>: ES: Starting UDP Event server on port 9777
2023-01-21 19:28:05.017 T:15282 info <general>: UDP: Listening on port 9777 (ipv6 : false)
2023-01-21 19:28:05.018 T:15194 info <general>: JSONRPC Server: Successfully initialized
2023-01-21 19:28:05.019 T:15194 info <general>: CWSDiscoveryListenerUDP::Start - Started
2023-01-21 19:28:05.341 T:15229 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:28:05.341 T:15229 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:28:05.341 T:15228 error <general>: ActiveAE::InitSink - returned error
2023-01-21 19:28:05.702 T:15243 error <general>: CCurlFile::CReadState::FillBuffer - (0x4a1d690) Failed: SSL peer certificate or SSH remote key was not OK(60)
2023-01-21 19:28:05.702 T:15243 error <general>: CRepository: http://mirrors.kodi.tv/addons/nexus/addons.xml.gz index has wrong digest e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, expected: 86ce193b5991f7d8f7df0c1aed23544700dda5fdad3719c713e4b4e6aebfb0cb
2023-01-21 19:28:05.841 T:15229 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:28:05.841 T:15229 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:28:05.841 T:15228 error <general>: ActiveAE::InitSink - returned error
2023-01-21 19:28:06.318 T:15281 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'subprocess.CalledProcessError'>
Error Contents: Command '('lsb_release', '-a')' returned non-zero exit status 3.
Traceback (most recent call last):
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/runner.py", line 14, in <module>
from version_check import service # pylint: disable=import-error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/service.py", line 44, in <module>
DISTRIBUTION = distro.linux_distribution(full_distribution_name=False)[0].lower()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 676, in linux_distribution
self.name() if full_distribution_name else self.id(),
^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 694, in id
distro_id = self.lsb_release_attr('distributor_id')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
^^^^^^^^^^^^
File "/media/developer/tmp/kodi-build/addons/service.xbmc.versioncheck/resources/lib/version_check/distro/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/developer/opt/xbmc-deps/arm-webos-linux-gnueabi-release/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 3.
-->End of Python script error report<--
2023-01-21 19:28:06.341 T:15229 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:28:06.341 T:15229 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:28:06.341 T:15228 error <general>: ActiveAE::InitSink - returned error
2023-01-21 19:28:06.354 T:15228 warning <general>: CActiveAE::StateMachine - signal: 1 from port: OutputDataPort not handled for state: 2
For reference, my LG C2 OLED has the following in /usr/lib:
lrwxrwxrwx 1 root root 15 Nov 25 04:45 libEGL.so -> libEGL.so.1.4.0
lrwxrwxrwx 1 root root 15 Nov 25 04:45 libEGL.so.1 -> libEGL.so.1.4.0
-rwxr-xr-x 1 root root 8512 Nov 25 04:45 libEGL.so.1.4.0
lrwxrwxrwx 1 root root 21 Nov 25 04:45 libGLESv1_CM.so -> libGLESv1_CM.so.1.1.0
lrwxrwxrwx 1 root root 21 Nov 25 04:45 libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1.0
-rwxr-xr-x 1 root root 8520 Nov 25 04:45 libGLESv1_CM.so.1.1.0
lrwxrwxrwx 1 root root 18 Nov 25 04:45 libGLESv2.so -> libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root 18 Nov 25 04:45 libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root 8516 Nov 25 04:45 libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root 26 Dec 1 06:12 libwayland-client.so.0 -> libwayland-client.so.0.3.0
-rwxr-xr-x 1 root root 34580 Dec 1 06:12 libwayland-client.so.0.3.0
lrwxrwxrwx 1 root root 26 Dec 1 06:12 libwayland-cursor.so.0 -> libwayland-cursor.so.0.0.0
-rwxr-xr-x 1 root root 26004 Dec 1 06:12 libwayland-cursor.so.0.0.0
lrwxrwxrwx 1 root root 24 Nov 25 04:45 libwayland-egl.so -> libwayland-egl.so.1.10.0
lrwxrwxrwx 1 root root 24 Nov 25 04:45 libwayland-egl.so.1 -> libwayland-egl.so.1.10.0
-rwxr-xr-x 1 root root 8988 Nov 25 04:45 libwayland-egl.so.1.10.0
lrwxrwxrwx 1 root root 32 Nov 25 04:47 libwayland-input-helper.so.1 -> libwayland-input-helper.so.1.0.0
-rwxr-xr-x 1 root root 26012 Nov 25 04:47 libwayland-input-helper.so.1.0.0
lrwxrwxrwx 1 root root 26 Dec 1 06:12 libwayland-server.so.0 -> libwayland-server.so.0.1.0
-rwxr-xr-x 1 root root 42796 Dec 1 06:12 libwayland-server.so.0.1.0
lrwxrwxrwx 1 root root 35 Nov 25 05:14 libwayland-starfish-client.so.1 -> libwayland-starfish-client.so.1.0.0
lrwxrwxrwx 1 root root 35 Nov 25 05:14 libwayland-starfish-client.so.1.0 -> libwayland-starfish-client.so.1.0.0
-rwxr-xr-x 1 root root 9648 Nov 25 05:14 libwayland-starfish-client.so.1.0.0
lrwxrwxrwx 1 root root 32 Nov 25 04:45 libwayland-webos-client.so.1 -> libwayland-webos-client.so.1.0.0
-rwxr-xr-x 1 root root 14016 Nov 25 04:45 libwayland-webos-client.so.1.0.0
lrwxrwxrwx 1 root root 32 Nov 25 04:45 libwayland-webos-server.so.1 -> libwayland-webos-server.so.1.0.0
-rwxr-xr-x 1 root root 14016 Nov 25 04:45 libwayland-webos-server.so.1.0.0
lrwxrwxrwx 1 root root 31 Nov 25 04:49 libwaylandpipeline-1.0.so.1 -> libwaylandpipeline-1.0.so.1.0.0
-rwxr-xr-x 1 root root 161176 Nov 25 04:49 libwaylandpipeline-1.0.so.1.0.0
libwayland-client.so.0.3.0 - not sure if this relates to wayland, wayland-protocols or waylandpp!?
Regarding kodi's own wayland/mesa - I think could possibly build: https://docs.mesa3d.org/drivers/panfrost.html
As this supports Mali G52
Now that I have a blank screen, and quitting, is this because of @Informatic described earlier? It's doing a blank screen, then going back to live TV. It hasn't core dumped. How do I get around that?
Just these, over and over, in the kodi.log:
2023-01-21 19:53:15.071 T:16594 info <general>: CActiveAESink::OpenSink - initialize sink
2023-01-21 19:53:15.071 T:16594 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-21 19:53:15.071 T:16593 error <general>: ActiveAE::InitSink - returned error
That's some good progress in the right direction, but this is not the right place to debug Mali EGL related issues. You can reach us on the discussion group instead.
@smx-smx Where is the discussion group?
Keep in mind you may still stumble upon an issue of surface manager closing/hiding the window if an app doesn't connect to luna bus and send some special calls. I think one of these was:
30359.072 TX call 6 org.mariotaku.ihsplay (/var/run/ls2/mtKz2L) com.webos.applicationManager (/var/run/ls2/5KYv3o) (null) //registerNativeApp «{"id" : "org.mariotaku.ihsplay"}»
@Informatic Can you elaborate on this at all? When special calls do I need to send? Is this a wrapper or do I need to modify kodi's source. Is this part of the official NDK or the open source version one at all? @smx-smx Can you provide any assistance with this one?
Is this still an issue If I package it up into a .ipk?
Regarding EGL issues, I am still researching this. I need to either compile mesa properly with the correct options (more than just panfrost) or just use the EGL libraries that came pre-loaded into the TV. I am still working on this one.
Today's update:
Packaged as a ipk Moved my --prefix to this folder so it knows where to find the files etc. Compiled my own mesa with:
MESA_GALLIUM_DRIVERS=lima,panfrost,kmsro,swrast
Now this wasn't successful starting kodi. Not for the reason I was expecting!! Confused about this as I was compiling with static libstdc++, so I will have to go and check again.
kodi.sh
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /media/developer/apps/usr/palm/applications/org.xbmc.kodi/xbmc-depends/
Kodi seems to find bifrost, bit odd as I thought this GPU was panfrost.
kodi.log
2023-01-22 19:52:44.493 T:8818 info <general>: EGL_VERSION = 1.4 Bifrost-"r28p0-01eac0"
2023-01-22 19:52:44.494 T:8818 info <general>: EGL_VENDOR = ARM
2023-01-22 19:52:44.494 T:8818 info <general>: EGL_EXTENSIONS = EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_WL_bind_wayland_display EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness
2023-01-22 19:52:44.494 T:8818 info <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
2023-01-22 19:52:44.515 T:8818 warning <general>: CreateNewWindow: Compositor does not support xdg_shell protocol (stable or unstable v6) - falling back to wl_shell, not all features might work
2023-01-22 19:52:44.520 T:8851 error <general>: Could not parse keymap from compositor: Failed to create xkb context - continuing without keymap
So I went in and temporarirly removed my own compiled LibEGL to see if I can use the TVs own:
lrwxrwxrwx 1 1000 1000 11 Jan 22 19:31 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 1000 1000 15 Jan 22 19:31 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 1000 1000 322928 Jan 22 19:31 libEGL.so.1.0.0
lrwxrwxrwx 1 1000 1000 14 Jan 22 19:31 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 1000 1000 18 Jan 22 19:31 libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rwxr-xr-x 1 1000 1000 63368 Jan 22 19:31 libGLESv2.so.2.0.0
Now starting kodi:
It's running but with a black screen and then goes to live TV. The application continues to run in ssh.
Kodi.log (trimmed)
2023-01-22 19:56:42.174 T:9332 warning <general>: DBus connection failed: org.freedesktop.DBus.Error.BadAddress - Socket name too long
2023-01-22 19:56:42.179 T:9332 info <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2023-01-22 19:56:42.188 T:9332 info <general>: InitWindowSystem: Connecting to Wayland server
2023-01-22 19:56:42.194 T:9332 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-22 19:56:42.194 T:9332 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
2023-01-22 19:56:42.198 T:9332 info <general>: EGL_VERSION = 1.4 Bifrost-"r28p0-01eac0"
2023-01-22 19:56:42.198 T:9332 info <general>: EGL_VENDOR = ARM
2023-01-22 19:56:42.198 T:9332 info <general>: EGL_EXTENSIONS = EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_WL_bind_wayland_display EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness
2023-01-22 19:56:42.198 T:9332 info <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
2023-01-22 19:56:42.199 T:9332 info <general>: RetroPlayer[RENDER]: Registering renderer factory for DMA
2023-01-22 19:56:42.199 T:9332 info <general>: RetroPlayer[RENDER]: Registering renderer factory for OpenGLES
2023-01-22 19:56:42.200 T:9332 info <general>: CApplication::CreateGUI - using the wayland windowing system
2023-01-22 19:56:42.201 T:9332 info <general>: Checking resolution 16
2023-01-22 19:56:42.202 T:9332 info <general>: CreateNewWindow: Starting full screen size 1920x1080
2023-01-22 19:56:42.216 T:9332 info <general>: UpdateSizeVariables: Surface size changed: 0x0 -> 1920x1080
2023-01-22 19:56:42.216 T:9332 info <general>: UpdateSizeVariables: Buffer size changed: 0x0 -> 1920x1080
2023-01-22 19:56:42.216 T:9332 info <general>: UpdateSizeVariables: Configured size changed: 0x0 -> 1920x1080
2023-01-22 19:56:42.217 T:9332 warning <general>: CreateNewWindow: Compositor does not support xdg_shell protocol (stable or unstable v6) - falling back to wl_shell, not all features might work
2023-01-22 19:56:42.247 T:9364 error <general>: Could not parse keymap from compositor: Failed to create xkb context - continuing without keymap
2023-01-22 19:56:42.248 T:9332 info <general>: Skipped 2 duplicate messages..
2023-01-22 19:56:42.248 T:9332 info <general>: GL_VENDOR = ARM
2023-01-22 19:56:42.248 T:9332 info <general>: GL_RENDERER = Mali-G52
2023-01-22 19:56:42.248 T:9332 info <general>: GL_VERSION = OpenGL ES 3.2 v1.r28p0-01eac0.c92dc8b662c2d627d9584608889656ac
2023-01-22 19:56:42.248 T:9332 info <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20
2023-01-22 19:56:42.248 T:9332 info <general>: GL_EXTENSIONS = GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage GL_EXT_texture_filter_anisotropic GL_ARM_texture_unnormalized_coordinates
2023-01-22 19:56:42.547 T:9332 info <general>: SetResolutionExternal: Kodi asked to switch mode to 1920x1080 @60.000 Hz on output "" full screen
2023-01-22 19:56:42.554 T:9332 info <general>: GetOSScreenSaverImpl: Using freedesktop.org DBus interface for screen saver inhibition
2023-01-22 19:56:42.756 T:9332 info <general>: GLES: Enabling VSYNC
2023-01-22 19:56:42.757 T:9332 info <general>: UpdateResolutions: User wanted output "Default", we now have "" size 0x0 mm with 1 mode(s):
2023-01-22 19:56:42.757 T:9332 info <general>: UpdateResolutions: - 1920x1080 @60.000 Hz pixel ratio 1.000 current
Repeats:
2023-01-22 19:57:15.376 T:9367 error <general>: CActiveAESink::OpenSink - no sink was returned
2023-01-22 19:57:15.376 T:9366 error <general>: ActiveAE::InitSink - returned error
How do I stop it going back to live TV?
I tried launching it from the menu as well (as part of the normal web os). I clicked on the Kodi icon and nothing happens. No logs. No crash dump.
@smx-smx Where is the discussion group?
Is the homebrew or webos the best one to use?
Regarding launching from the web os menu, all my kodi files are located in: /media/developer/apps/usr/palm/applications/org.xbmc.kodi
kodi.bin etc.
appinfo.json
cat appinfo.json
{
"id": "org.xbmc.kodi",
"version": "20.90.101",
"vendor": "xbmc",
"type": "native",
"main": "kodi.sh",
"title": "Kodi",
"icon": "icon.png",
"largeIcon": "largeIcon.png"
}
kodi.sh
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/media/developer/apps/usr/palm/applications/org.xbmc.kodi/xbmc-depends/arm-webos-linux-gnueabi-release/lib
export WAYLAND_DISPLAY=wayland-0
export KODI_HOME=:/media/developer/apps/usr/palm/applications/org.xbmc.kodi
# export MESA_LOADER_DRIVER_OVERRIDE=
./kodi.bin
Not sure why it's not doing anything. Is there any logs on the tv besides kodi's own logs? (kodi.log is not being written to when launching from the web os menu)
Is the homebrew or webos the best one to use?
Either is fine. Probably the former
So I've managed to using the toolchain compile kodi from sources with a few little patches. I've uploaded kodi.bin and it's libs to /media/developer. lib sub-folder which is included in the LD library path by default.
I'm trying to see if I can launch it from ssh on the TV, when I launch kodi.bin it fails with CWinSystemWayland::InitWindowSystem - WAYLAND_DISPLAY env not set.
Any ideas? Should this just run or are there source code modifications needed? It is wayland or gbm.
Full instructions below. Note I used my own branch of buildroot-nc4 because I needed newer kernel and glibc (https://github.com/craigcarnell/buildroot-nc4/tree/update/kernel/glibc)
https://github.com/craigcarnell/xbmc.git Branch is update/flatbuffers-23.1.4
Configuration/build info
Manual patches
./kodi.bin --debug
The snippet of kodi.log:
kodi.log in full