Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling
In case anyone else encounters this problem, a workaround is to run: kodi --windowing=x11 which will bypass any problems with scaling under Wayland
Bug#1031975: Re: Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling
Hi Vasyl, I thought I'd replied to your question, but yes the resolution doubles on each run. On a fresh install of Bookworm, this is the changes after 1. Opening and closing Kodi 2. Opening Kodi and pushing '\' to make it windowed 3. 4. and 5. Opening and closing windowed Kodi. diff guisettings.xml.1 guisettings.xml.2after2runsandmakingwindowed 294,296c294,296 < 0 < 16 < DESKTOP --- > -1 > 15 > WINDOW diff guisettings.xml.2after2runsandmakingwindowed guisettings.xml.3 40,41c40,41 < 720 < 480 --- > 1440 > 960 diff guisettings.xml.3 guisettings.xml.4 40,41c40,41 < 1440 < 960 --- > 2880 > 1920 diff guisettings.xml.4 guisettings.xml.5 40,41c40,41 < 2880 < 1920 --- > 5760 > 3840 Mark Cookson
Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling
Hi Mark! So the fractional scaling doubles each dimension of the window on next start? -- Vasyl Gello == Certified SolidWorks Expert Mob.:+380 (98) 465 66 77 E-Mail: vasek.ge...@gmail.com == 호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다
Bug#1031975: kodi: Windowed kodi takes wrong size when run under KDE Plasma Wayland with fractional scaling
Package: kodi Version: 2:20.0+dfsg-2 Severity: important X-Debbugs-Cc: markcook...@yahoo.com Dear Maintainer, When running Kodi on the KDE Plasma desktop under Wayland, with fractional scaling set to 125%, Kodi seems to misread the display size, creating a larger window on each run until it becomes big enough to crash upon opening. Whichever code stores the previous window size seems to get confused by fractional scaling. I've attached the relevant kodi.log lines from 3 successive runs on a laptop with screen resolution 1920x1080. The last line of each log shows the GUI format dimensions are increasing each on each run. 1. With display scaling set to 100% 2023-02-26 21:18:48.137 T:9120 info : UpdateResolutions: - 1920x1080 @60.008 Hz pixel ratio 1.026 current 2023-02-26 21:18:48.224 T:9120 info : EGL_VERSION = 1.5 2023-02-26 21:18:48.224 T:9120 info : EGL_VENDOR = Mesa Project 2023-02-26 21:18:48.225 T:9120 info : EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_present_opaque EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image 2023-02-26 21:18:48.225 T:9120 info : EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless 2023-02-26 21:18:48.225 T:9120 info : RetroPlayer[RENDER]: Registering renderer factory for DMA 2023-02-26 21:18:48.225 T:9120 info : RetroPlayer[RENDER]: Registering renderer factory for OpenGL 2023-02-26 21:18:48.233 T:9120 info : VAAPI::Close - closing decoder context 2023-02-26 21:18:48.233 T:9120 info : CApplication::CreateGUI - using the wayland windowing system 2023-02-26 21:18:48.233 T:9120 info : Checking resolution 15 2023-02-26 21:18:48.233 T:9120 info : CreateNewWindow: Starting windowed size 1132x613 2023-02-26 21:18:48.234 T:9120 info : UpdateSizeVariables: Surface size changed: 0x0 -> 1132x613 2023-02-26 21:18:48.234 T:9120 info : UpdateSizeVariables: Buffer size changed: 0x0 -> 1132x613 2023-02-26 21:18:48.234 T:9120 info : UpdateSizeVariables: Configured size changed: 0x0 -> 1142x656 2023-02-26 21:18:48.244 T:9120 info : CRenderSystemGL::InitRenderSystem - Version: 4.6 (Core Profile) Mesa 22.3.5, Major: 4, Minor: 6 2023-02-26 21:18:48.244 T:9120 info : GL_VENDOR = Intel 2023-02-26 21:18:48.244 T:9120 info : GL_RENDERER = Mesa Intel(R) HD Graphics 520 (SKL GT2) 2023-02-26 21:18:48.244 T:9120 info : GL_VERSION = 4.6 (Core Profile) Mesa 22.3.5 2023-02-26 21:18:48.244 T:9120 info : GL_SHADING_LANGUAGE_VERSION = 4.60 2023-02-26 21:18:48.244 T:9120 info : GL_EXTENSIONS = GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts