2017-02-02, 05:07
I built the Kodi 17 Krypton release on a Raspberry Pi 3, yet when I start it up, it the user-interface is very slow. It takes several seconds to navigate from one button to another. My Pi has tons of free RAM, and I made it use 256 MB of video memory in the /boot/cmdline.txt (setting gpu_mem=256).
How can I speed up the UI?
With a clean install (no pre-existing ~/.kodi/ dir), this is my kodi.logHere's my kodi.log with debugging options turned on (too big to post here).
Here's my build configuration:README.raspberrypi says to disable OpenGL, which I'm thinking might be slowing the UI down, but I can't get Krypton to build when disabling OpenGL.
This seems to be the problem:
"ERROR: Failed to determine egl config for visual info"
How can I speed up the UI?
With a clean install (no pre-existing ~/.kodi/ dir), this is my kodi.log
Code:
14:46:56.407 T:1913447712 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:46:56.407 T:1913447712 NOTICE: -----------------------------------------------------------------------
14:46:56.408 T:1913447712 NOTICE: Starting Kodi (17.0 Git:20170202-nogitfound). Platform: Linux ARM 32-bit
14:46:56.408 T:1913447712 NOTICE: Using Release Kodi x32 build
14:46:56.408 T:1913447712 NOTICE: Kodi compiled Feb 2 2017 by GCC 5.4.0 for Linux ARM 32-bit version 4.8.15 (264207)
14:46:56.408 T:1913447712 NOTICE: Running on Slackware 14.2, kernel: Linux ARM 32-bit version 4.9.3-v7-arm
14:46:56.408 T:1913447712 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
14:46:56.408 T:1913447712 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
14:46:56.408 T:1913447712 NOTICE: ARM Features: Neon enabled
14:46:56.408 T:1913447712 NOTICE: special://xbmc/ is mapped to: /usr/local/share/kodi
14:46:56.408 T:1913447712 NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
14:46:56.408 T:1913447712 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/local/lib/kodi/addons
14:46:56.408 T:1913447712 NOTICE: special://masterprofile/ is mapped to: /home/Geremia/.kodi/userdata
14:46:56.408 T:1913447712 NOTICE: special://envhome/ is mapped to: /home/Geremia
14:46:56.408 T:1913447712 NOTICE: special://home/ is mapped to: /home/Geremia/.kodi
14:46:56.408 T:1913447712 NOTICE: special://temp/ is mapped to: /home/Geremia/.kodi/temp
14:46:56.408 T:1913447712 NOTICE: special://logpath/ is mapped to: /home/Geremia/.kodi/temp
14:46:56.408 T:1913447712 NOTICE: The executable running is: /usr/local/lib/kodi/kodi.bin
14:46:56.408 T:1913447712 NOTICE: Local hostname: RaspPi
14:46:56.408 T:1913447712 NOTICE: Log File is located: /home/Geremia/.kodi/temp//kodi.log
14:46:56.408 T:1913447712 NOTICE: -----------------------------------------------------------------------
14:46:56.481 T:1913447712 NOTICE: load settings...
14:46:56.554 T:1913447712 NOTICE: Found 1 Lists of Devices
14:46:56.554 T:1913447712 NOTICE: Enumerated PULSE devices:
14:46:56.554 T:1913447712 NOTICE: Device 1
14:46:56.555 T:1913447712 NOTICE: m_deviceName : Default
14:46:56.555 T:1913447712 NOTICE: m_displayName : Default
14:46:56.555 T:1913447712 NOTICE: m_displayNameExtra: Default Output Device (PULSEAUDIO)
14:46:56.555 T:1913447712 NOTICE: m_deviceType : AE_DEVTYPE_PCM
14:46:56.555 T:1913447712 NOTICE: m_channels : FL,FR
14:46:56.555 T:1913447712 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:46:56.555 T:1913447712 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:46:56.555 T:1913447712 NOTICE: m_streamTypes : No passthrough capabilities
14:46:56.555 T:1913447712 NOTICE: Device 2
14:46:56.555 T:1913447712 NOTICE: m_deviceName : auto_null
14:46:56.555 T:1913447712 NOTICE: m_displayName : Dummy Output
14:46:56.555 T:1913447712 NOTICE: m_displayNameExtra: Dummy Output (PULSEAUDIO)
14:46:56.555 T:1913447712 NOTICE: m_deviceType : AE_DEVTYPE_PCM
14:46:56.555 T:1913447712 NOTICE: m_channels : FL,FR
14:46:56.555 T:1913447712 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
14:46:56.555 T:1913447712 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
14:46:56.555 T:1913447712 NOTICE: m_streamTypes : No passthrough capabilities
14:46:56.557 T:1913447712 ERROR: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
14:46:56.575 T:1913447712 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:46:56.575 T:1913447712 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:46:56.575 T:1913447712 NOTICE: Default Video Player: VideoPlayer
14:46:56.575 T:1913447712 NOTICE: Default Audio Player: paplayer
14:46:56.575 T:1913447712 NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:46:56.575 T:1913447712 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
14:46:56.575 T:1913447712 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:46:56.576 T:1913447712 NOTICE: Loaded playercorefactory configuration
14:46:56.576 T:1913447712 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:46:56.577 T:1913447712 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:46:56.875 T:1913447712 NOTICE: ADDONS: Using repository repository.xbmc.org
14:46:56.902 T:1894773728 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 300 ms
14:46:57.472 T:1913447712 NOTICE: Setup SDL
14:46:57.526 T:1913447712 NOTICE: Checking resolution 16
14:46:57.898 T:1913447712 ERROR: Failed to determine egl config for visual info
14:46:57.898 T:1913447712 WARNING: Visual 0x186 of the window is not suitable, looking for another one...
14:46:57.899 T:1913447712 NOTICE: Using visual 0x21
14:46:58.046 T:1913447712 NOTICE: Using visual 0x186
14:46:58.113 T:1913447712 NOTICE: GL_VENDOR = VMware, Inc.
14:46:58.113 T:1913447712 NOTICE: GL_RENDERER = Gallium 0.4 on softpipe
14:46:58.113 T:1913447712 NOTICE: GL_VERSION = 3.0 Mesa 13.0.2
14:46:58.113 T:1913447712 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.30
14:46:58.113 T:1913447712 NOTICE: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_KHR_context_flush_control GL_ARB_shader_atomic_counter_ops GL_MESA_shader_integer_functions
14:47:01.501 T:1836053472 NOTICE: Running database version Addons27
14:47:05.386 T:1913447712 NOTICE: start dvd mediatype detection
14:47:08.199 T:1913447712 WARNING: CSkinInfo: failed to load skin settings
14:47:08.968 T:1913447712 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
14:47:09.230 T:1913447712 NOTICE: initialize done
14:47:09.230 T:1913447712 NOTICE: Running the application...
14:47:09.231 T:1913447712 NOTICE: starting upnp client
14:47:09.236 T:1599075296 NOTICE: ES: Starting UDP Event server on port 9777
14:47:09.236 T:1599075296 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
Here's my build configuration:
Code:
-- Source directory: /tmp/xbmc-17.0-Krypton
-- Build directory: /tmp/kodi-build
-- Generator: Single-configuration: Release (Unix Makefiles)
-- CMake Version: 3.7.1
-- System type: Linux
-- Linker: GNU gold
-- Core system type: linux
-- Platform:
-- CPU: armv7l, ARCH: arm
-- Cross-Compiling: FALSE
-- Execute build artefacts on host: TRUE
-- Depends based build:
-- Could not find hardware support for SSE (missing: _SSE_TRUE _SSE_OK)
-- Could not find hardware support for SSE2 (missing: _SSE2_TRUE _SSE2_OK)
-- Could not find hardware support for SSE3 (missing: _SSE3_TRUE _SSE3_OK)
-- Could not find hardware support for SSSE3 (missing: _SSSE3_TRUE _SSSE3_OK)
-- Could not find hardware support for SSE4.1 (missing: _SSE41_TRUE _SSE41_OK)
-- Could not find hardware support for SSE4.2 (missing: _SSE42_TRUE _SSE42_OK)
-- Could not find hardware support for AVX (missing: _AVX_TRUE _AVX_OK)
-- Could not find hardware support for AVX2 (missing: _AVX2_TRUE _AVX2_OK)
-- NEON optimization enabled
-- FFmpeg 3.1 not found, falling back to internal build
-- Could NOT find Avahi (missing: AVAHI_CLIENT_LIBRARY AVAHI_COMMON_LIBRARY AVAHI_CLIENT_INCLUDE_DIR AVAHI_COMMON_INCLUDE_DIR)
-- Found VDPAU: /usr/lib/libvdpau.so (found version "1.1.1")
-- Found VAAPI: /usr/lib/libva.so (found suitable version "0.38.1", minimum required is "0.38.0")
-- Could NOT find CEC (missing: CEC_LIBRARY CEC_INCLUDE_DIR) (Required is at least version "4.0.0")
-- Could NOT find Bluray (missing: BLURAY_LIBRARY BLURAY_INCLUDE_DIR)
-- Could NOT find NFS (missing: NFS_LIBRARY NFS_INCLUDE_DIR)
-- Could NOT find Shairplay (missing: SHAIRPLAY_LIBRARY SHAIRPLAY_INCLUDE_DIR HAVE_SHAIRPLAY_CALLBACK_CLS)
-- Found Sdl: /usr/lib/libSDL.so (found version "1.2.15")
-- Found OpenGl: /usr/lib/libGL.so
-- Found X: /usr/lib/libX11.so (found version "1.6.4")
-- Found LibDRM: /usr/lib/libdrm.so (found version "2.4.74")
-- Found XRandR: /usr/lib/libXrandr.so (found version "1.5.1")
-- Override disabled for AEDefines.h, using generic implementation
-- #---- CONFIGURATION ----#
-- -- PATH config --
-- Prefix: /usr/local
-- Libdir: /usr/local/lib
-- Bindir: /usr/local/bin
-- Includedir: /usr/local/include
-- Datarootdir: /usr/local/share
-- Datadir: /usr/local/share
-- Docdir: /usr/local/share/doc/kodi
-- MICROHTTPD enabled: Yes
-- MYSQLCLIENT enabled: Yes
-- SSH enabled: Yes
-- XSLT enabled: Yes
-- ALSA enabled: Yes
-- UDEV enabled: Yes
-- DBUS enabled: Yes
-- AVAHI enabled: No
-- SMBCLIENT enabled: Yes
-- CCACHE enabled: Yes
-- PULSEAUDIO enabled: Yes
-- VDPAU enabled: Yes
-- VAAPI enabled: Yes
-- BLUETOOTH enabled: Yes
-- CAP enabled: Yes
-- CEC enabled: No
-- BLURAY enabled: No
-- PLIST enabled: Yes
-- NFS enabled: No
-- SDL enabled: Yes
-- OPENGL enabled: Yes
-- X enabled: Yes
-- LIBDRM enabled: Yes
-- XRANDR enabled: Yes
-- AML enabled: No
-- IMX enabled: No
-- Configuring done
-- Generating done
This seems to be the problem:
"ERROR: Failed to determine egl config for visual info"