tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Can't record video message

Open Dandead opened this issue 1 year ago • 19 comments

Steps to reproduce

  1. Launch telegram-desktop
  2. Try to record video message in any chat

Expected behaviour

Telegram will record the video message

Actual behaviour

Telegram captured the first frame (it can be seen behind blur). stopped recording and after 2 seconds exits the recording screen with the error message "Could not start audio recording. Please check your microphone". But audio messages are recorded correctly. After about 0,5s from start recording "drag to lock" freezes too, and you can only stop the recording.

I tried to launch "telegram-desktop -debug" through term and saw multiple "QWidget::repaint: Recursive repaint detected" after recording screen exited with error.

By the way in settings both webcamera and microphone works properly.

Operating system

Arch linux. WM: i3 (4.24)

Version of Telegram Desktop

5.9

Installation source

Static binary from official website

Crash ID

No response

Logs

[2024.12.11 14:35:56] Launched version: 5009000, install beta: [TRUE], alpha: 0, debug mode: [TRUE]
[2024.12.11 14:35:56] Executable dir: /usr/bin/, name: telegram-desktop
[2024.12.11 14:35:56] Initial working dir: /home/dandead/
[2024.12.11 14:35:56] Working dir: /home/dandead/.local/share/TelegramDesktop/
[2024.12.11 14:35:56] Command line: telegram-desktop -debug
[2024.12.11 14:35:56] Executable path before check: /usr/bin/telegram-desktop
[2024.12.11 14:35:56] Logs started
[2024.12.11 14:35:56] App ID: org.telegram.desktop
[2024.12.11 14:35:56] Connecting local socket to 8c843b5a3914323dc0c6708f84349cc8-TelegramDesktop...
[2024.12.11 14:35:56] Socket connect error 0, starting server and app...
[2024.12.11 14:35:56] Moved logging from '/home/dandead/.local/share/TelegramDesktop/log_start0.txt' to '/home/dandead/.local/share/TelegramDesktop/log.txt'!
[2024.12.11 14:35:56] Global devicePixelRatio: 1
[2024.12.11 14:35:56] Primary screen DPI: 96, Base: 96.
[2024.12.11 14:35:56] Computed screen scale: 100
[2024.12.11 14:35:56] DevicePixelRatio: 1
[2024.12.11 14:35:56] ScreenScale: 100
[2024.12.11 14:35:56] Icon theme: hicolor
[2024.12.11 14:35:56] Fallback icon theme: hicolor
[2024.12.11 14:35:56] Media Info: Type Playback, default: Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI), list: { "Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)" <Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)>, "Family 17h/19h/1ah HD Audio Controller Analog Stereo" <Family 17h/19h/1ah HD Audio Controller Analog Stereo> }, full list refresh: true
[2024.12.11 14:35:56] Media Info: Type Capture, default: Family 17h/19h/1ah HD Audio Controller Analog Stereo, list: { "Family 17h/19h/1ah HD Audio Controller Analog Stereo" <Family 17h/19h/1ah HD Audio Controller Analog Stereo>, "Monitor of Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)" <Monitor of Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)>, "Monitor of Family 17h/19h/1ah HD Audio Controller Analog Stereo" <Monitor of Family 17h/19h/1ah HD Audio Controller Analog Stereo> }, full list refresh: true
[2024.12.11 14:35:56] Media Info: Type Camera, default: usb-0000:03:00.4-3, list: { "USB2.0 HD UVC WebCam: USB2.0 HD" <usb-0000:03:00.4-3> }, full list refresh: true
[2024.12.11 14:35:56] App Info: reading settings...
[2024.12.11 14:35:56] App Info: reading encrypted settings...
[2024.12.11 14:35:56] Lang Info: Loaded cached, keys: 7699
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-Regular.ttf' loaded 'Open Sans'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-Italic.ttf' loaded 'Open Sans'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-SemiBold.ttf' loaded 'Open Sans'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-SemiBold.ttf' loaded 'Open Sans Semibold'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-SemiBoldItalic.ttf' loaded 'Open Sans'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/OpenSans-SemiBoldItalic.ttf' loaded 'Open Sans Semibold'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/Vazirmatn-UI-NL-Regular.ttf' loaded 'Vazirmatn UI NL'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/Vazirmatn-UI-NL-SemiBold.ttf' loaded 'Vazirmatn UI NL'
[2024.12.11 14:35:56] Font: from ':/gui/fonts/Vazirmatn-UI-NL-SemiBold.ttf' loaded 'Vazirmatn UI NL SemiBold'
[2024.12.11 14:35:56] OpenAL Logging Level: 3
[2024.12.11 14:35:56] App Info: reading accounts info...
[2024.12.11 14:35:56] App Info: reading encrypted info...
[2024.12.11 14:35:56] App Info: reading map...
[2024.12.11 14:35:56] App Info: reading encrypted map...
[2024.12.11 14:35:56] App Info: reading encrypted user settings...
[2024.12.11 14:35:56] App Info: encrypted user settings read.
[2024.12.11 14:35:56] App Info: reading encrypted mtp data...
[2024.12.11 14:35:56] MTP Info: read keys, current: 4, to destroy: 0
[2024.12.11 14:35:56] Map read time: 8
[2024.12.11 14:35:56] App Info: reading encrypted mtp config...
[2024.12.11 14:35:56] QPainter::begin: Paint device returned engine == 0, type: 2
[2024.12.11 14:35:56] QWidget::render: Cannot render with an inactive painter
[2024.12.11 14:35:56] Export Info: Destroy top bar by controller removal.
[2024.12.11 14:35:56] System tray available: [TRUE]
[2024.12.11 14:35:56] Choosing xcb gl-integration based on following priority
 QList("xcb_glx", "xcb_egl")
[2024.12.11 14:35:56] Xcb GLX gl-integration created
[2024.12.11 14:35:56] Xcb GLX gl-integration successfully initialized
[2024.12.11 14:35:56] Requested format before FBConfig/Visual selection: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
[2024.12.11 14:35:56] Available GLX extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_gl_interop GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync 
[2024.12.11 14:35:56] Got format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
[2024.12.11 14:35:56] OpenGL Profile: Compatibility.
[2024.12.11 14:35:56] OpenGL Renderer: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1)
[2024.12.11 14:35:56] OpenGL Vendor: AMD
[2024.12.11 14:35:56] OpenGL Version: 4.6 (Compatibility Profile) Mesa 24.3.1-arch1.3
[2024.12.11 14:35:56] OpenGL Extensions: GL_ARB_shader_atomic_counter_ops, GL_ARB_compatibility, GL_ARB_transform_feedback_overflow_query, GL_KHR_robust_buffer_access_behavior, GL_ARB_texture_swizzle, GL_NV_vdpau_interop, GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_uniform_location, GL_MESA_texture_signed_rgba, GL_EXT_memory_object_fd, GL_ARB_get_texture_sub_image, GL_ARB_vertex_attrib_binding, GL_ATI_texture_compression_3dc, GL_EXT_blend_func_separate, GL_ARB_vertex_attrib_64bit, GL_EXT_blend_subtract, GL_EXT_texture_env_add, GL_ARB_shader_objects, GL_ARB_texture_env_combine, GL_SGIS_generate_mipmap, GL_NV_copy_depth_to_color, GL_ANGLE_texture_compression_dxt3, GL_ARB_depth_texture, GL_ARB_texture_env_dot3, GL_ARB_texture_buffer_range, GL_NV_conditional_render, GL_ARB_transpose_matrix, GL_ARB_shader_ballot, GL_ARB_compressed_texture_pixel_storage, GL_EXT_vertex_array, GL_ARB_ES3_2_compatibility, GL_EXT_blend_color, GL_EXT_texture_storage, GL_NVX_gpu_memory_info, GL_ARB_texture_cube_map_array, GL_EXT_texture_buffer_object, GL_EXT_texture_compression_latc, GL_NV_primitive_restart, GL_ARB_draw_indirect, GL_ARB_texture_mirror_clamp_to_edge, GL_EXT_texture_filter_minmax, GL_ANGLE_texture_compression_dxt5, GL_ARB_polygon_offset_clamp, GL_ARB_pixel_buffer_object, GL_ARB_texture_filter_anisotropic, GL_EXT_shader_samples_identical, GL_ARB_texture_filter_minmax, GL_ATI_draw_buffers, GL_EXT_texture_env_combine, GL_OES_EGL_image, GL_ARB_explicit_attrib_location, GL_ARB_stencil_texturing, GL_SUN_multi_draw_arrays, GL_ARB_robustness, GL_EXT_texture_env_dot3, GL_EXT_provoking_vertex, GL_EXT_stencil_wrap, GL_EXT_texture_cube_map, GL_ARB_buffer_storage, GL_EXT_direct_state_access, GL_NV_texture_env_combine4, GL_EXT_demote_to_helper_invocation, GL_EXT_shader_image_load_store, GL_EXT_texture_shadow_lod, GL_EXT_texture_sRGB_decode, GL_NV_half_float, GL_ARB_sparse_texture, GL_ARB_direct_state_access, GL_EXT_semaphore, GL_EXT_polygon_offset_clamp, GL_KHR_shader_subgroup, GL_AMD_vertex_shader_viewport_index, GL_KHR_texture_compression_astc_ldr, GL_ARB_texture_rg, GL_EXT_gpu_shader4, GL_ARB_texture_env_add, GL_AMD_framebuffer_multisample_advanced, GL_ARB_texture_view, GL_ARB_ES3_compatibility, GL_ARB_shader_precision, GL_ARB_texture_border_clamp, GL_ARB_half_float_pixel, GL_ARB_point_parameters, GL_EXT_packed_depth_stencil, GL_NV_ES1_1_compatibility, GL_NV_texture_barrier, GL_OES_read_format, GL_EXT_texture_lod_bias, GL_ATI_separate_stencil, GL_ARB_sampler_objects, GL_ARB_copy_image, GL_NV_texture_rectangle, GL_ARB_texture_float, GL_ARB_multitexture, GL_KHR_blend_equation_advanced, GL_NV_fog_distance, GL_ARB_vertex_shader, GL_ARB_compute_shader, GL_ARB_texture_non_power_of_two, GL_NV_compute_shader_derivatives, GL_KHR_robustness, GL_EXT_draw_range_elements, GL_EXT_bgra, GL_ARB_transform_feedback_instanced, GL_ARB_shader_clock, GL_EXT_point_parameters, GL_ARB_debug_output, GL_ARB_sparse_buffer, GL_ARB_viewport_array, GL_EXT_pixel_buffer_object, GL_ARB_shading_language_include, GL_EXT_texture_mirror_clamp, GL_ARB_arrays_of_arrays, GL_ARB_shader_stencil_export, GL_EXT_texture_array, GL_EXT_texture_integer, GL_ARB_shading_language_100, GL_EXT_texture_swizzle, GL_EXT_texture_shared_exponent, GL_ARB_seamless_cubemap_per_texture, GL_EXT_framebuffer_multisample, GL_EXT_texture_sRGB, GL_ATI_texture_mirror_once, GL_ARB_sparse_texture_clamp, GL_ARB_invalidate_subdata, GL_ARB_shader_bit_encoding, GL_ARB_shader_image_load_store, GL_ARB_texture_rgb10_a2ui, GL_EXT_semaphore_fd, GL_AMD_performance_monitor, GL_EXT_compiled_vertex_array, GL_ARB_texture_storage, GL_ARB_separate_shader_objects, GL_EXT_subtexture, GL_MESA_pack_invert, GL_EXT_separate_specular_color, GL_ARB_gpu_shader5, GL_ARB_shader_subroutine, GL_EXT_EGL_image_storage_compression, GL_ARB_conditional_render_inverted, GL_ARB_draw_buffers_blend, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_NV_light_max_exponent, GL_ARB_draw_buffers, GL_EXT_depth_bounds_test, GL_IBM_rasterpos_clip, GL_ARB_clear_buffer_object, GL_ARB_occlusion_query, GL_ARB_shader_draw_parameters, GL_ARB_shading_language_420pack, GL_NV_packed_depth_stencil, GL_ARB_base_instance, GL_EXT_packed_float, GL_EXT_shadow_funcs, GL_AMD_multi_draw_indirect, GL_ARB_texture_buffer_object_rgb32, GL_ARB_point_sprite, GL_EXT_fog_coord, GL_ARB_shader_group_vote, GL_ARB_shader_texture_image_samples, GL_ARB_occlusion_query2, GL_INGR_blend_func_separate, GL_ARB_multi_bind, GL_EXT_framebuffer_blit, GL_ARB_color_buffer_float, GL_ARB_cull_distance, GL_ARB_shader_viewport_layer_array, GL_KHR_texture_compression_astc_sliced_3d, GL_S3_s3tc, GL_ATI_fragment_shader, GL_MESA_shader_integer_functions, GL_MESA_window_pos, GL_AMD_shader_stencil_export, GL_ARB_internalformat_query, GL_EXT_shader_image_load_formatted, GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, GL_NV_copy_image, GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query, GL_ARB_framebuffer_sRGB, GL_ATI_blend_equation_separate, GL_INTEL_blackhole_render, GL_ARB_clear_texture, GL_ARB_texture_barrier, GL_EXT_rescale_normal, GL_EXT_window_rectangles, GL_ARB_map_buffer_alignment, GL_EXT_stencil_two_side, GL_ARB_blend_func_extended, GL_ARB_get_program_binary, GL_ARB_framebuffer_object, GL_EXT_texture_compression_dxt1, GL_AMD_texture_texture4, GL_ARB_texture_compression_rgtc, GL_ARB_vertex_type_2_10_10_10_rev, GL_ATI_meminfo, GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays, GL_KHR_no_error, GL_EXT_texture_snorm, GL_EXT_texture_rectangle, GL_ARB_shader_storage_buffer_object, GL_ARB_fragment_program_shadow, GL_ARB_compute_variable_group_size, GL_ARB_internalformat_query2, GL_EXT_shader_integer_mix, GL_EXT_texture3D, GL_ARB_enhanced_layouts, GL_EXT_framebuffer_object, GL_EXT_timer_query, GL_ARB_clip_control, GL_ARB_multisample, GL_ARB_instanced_arrays, GL_ARB_uniform_buffer_object, GL_EXT_secondary_color, GL_EXT_texture_filter_anisotropic, GL_ARB_shader_atomic_counters, GL_ARB_sync, GL_ARB_fragment_coord_conventions, GL_ARB_copy_buffer, GL_EXT_texture, GL_SGIS_texture_border_clamp, GL_MESA_framebuffer_flip_y, GL_ARB_program_interface_query, GL_ARB_vertex_array_object, GL_ARB_bindless_texture, GL_ARB_depth_buffer_float, GL_EXT_memory_object, GL_AMD_vertex_shader_layer, GL_ARB_seamless_cube_map, GL_ARB_transform_feedback3, GL_ATI_texture_env_combine3, GL_AMD_draw_buffers_blend, GL_ARB_fragment_program, GL_EXT_copy_texture, GL_KHR_context_flush_control, GL_ARB_shading_language_packing, GL_NV_texgen_reflection, GL_ARB_multi_draw_indirect, GL_AMD_depth_clamp_separate, GL_ARB_texture_query_lod, GL_EXT_texture_compression_s3tc, GL_EXT_texture_edge_clamp, GL_ARB_gpu_shader_int64, GL_ARB_transform_feedback2, GL_ARB_ES3_1_compatibility, GL_ARB_texture_query_levels, GL_ARB_fragment_layer_viewport, GL_ARB_texture_mirrored_repeat, GL_ARB_provoking_vertex, GL_SGIS_texture_lod, GL_ARB_vertex_program, GL_EXT_texture_compression_rgtc, GL_ARB_sample_shading, GL_EXT_draw_instanced, GL_ARB_shader_texture_lod, GL_ARB_ES2_compatibility, GL_ARB_sparse_texture2, GL_EXT_EGL_sync, GL_ARB_query_buffer_object, GL_ARB_draw_instanced, GL_ARB_texture_buffer_object, GL_KHR_parallel_shader_compile, GL_ARB_framebuffer_no_attachments, GL_ARB_fragment_shader, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_texture_compression_bptc, GL_ARB_shader_image_size, GL_ARB_vertex_array_bgra, GL_EXT_texture_object, GL_ARB_gpu_shader_fp64, GL_ARB_tessellation_shader, GL_NV_shader_atomic_int64, GL_ARB_texture_env_crossbar, GL_ARB_window_pos, GL_EXT_draw_buffers2, GL_ARB_vertex_buffer_object, GL_NV_blend_square, GL_AMD_seamless_cubemap_per_texture, GL_EXT_debug_label, GL_NV_depth_clamp, GL_ATI_texture_float, GL_ARB_vertex_type_10f_11f_11f_rev, GL_EXT_transform_feedback, GL_KHR_debug, GL_ARB_map_buffer_range, GL_AMD_shader_trinary_minmax, GL_ARB_texture_gather, GL_EXT_texture_sRGB_R8, GL_ARB_robust_buffer_access_behavior, GL_ARB_conservative_depth, GL_SGIS_texture_edge_clamp, GL_ARB_texture_storage_multisample, GL_ARB_spirv_extensions, GL_ARB_texture_rectangle, GL_MESA_texture_const_bandwidth, GL_ARB_half_float_vertex, GL_EXT_abgr, GL_AMD_pinned_memory, GL_ARB_shadow, GL_ARB_derivative_control, GL_ARB_texture_multisample, GL_ARB_depth_clamp, GL_ARB_gl_spirv, GL_IBM_texture_mirrored_repeat, GL_ARB_indirect_parameters, GL_EXT_blend_minmax, GL_EXT_vertex_array_bgra, GL_ARB_texture_stencil8, GL_AMD_query_buffer_object, GL_APPLE_packed_pixels, GL_EXT_EGL_image_storage, GL_ARB_timer_query, GL_NV_alpha_to_coverage_dither_control, GL_AMD_conservative_depth, GL_EXT_packed_pixels, GL_EXT_blend_equation_separate, GL_EXT_vertex_attrib_64bit
[2024.12.11 14:35:56] OpenGL: QOpenGLContext created, version: 4.4.
[2024.12.11 14:35:56] OpenGL: [TRUE] (Window)
[2024.12.11 14:35:57] Corrupt JPEG data: premature end of data segment
[2024.12.11 14:35:57] Corrupt JPEG data: premature end of data segment
[2024.12.11 14:35:58] Corrupt JPEG data: premature end of data segment
[2024.12.11 14:35:59] RPC Error: request 49 got fail with code 400, error WEBFILE_NOT_AVAILABLE
[2024.12.11 14:36:06] RPC Error: request 65 got fail with code 400, error CHANNEL_PRIVATE
[2024.12.11 14:36:09] Streaming Error: Error in avcodec_find_encoder_by_name - libopenh264.
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:14] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:15] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected
[2024.12.11 14:36:16] QWidget::repaint: Recursive repaint detected

Dandead avatar Dec 11 '24 11:12 Dandead

same issue. btw, are you using wayland? may be it is related to the problem?

BacqueV avatar Dec 16 '24 10:12 BacqueV

when you stop recording you can see that it captures the last frame, so actually it was recording always

BacqueV avatar Dec 16 '24 10:12 BacqueV

Getting the same issue using Hyprland. (You can see that OP does not use Wayland as i3 is an Xorg-only WM.) I wonder if some codecs Telegram expects are missing.

Wizzerinus avatar Dec 31 '24 21:12 Wizzerinus

issue still persists, using Ubuntu

ShanTheShan avatar Jan 08 '25 03:01 ShanTheShan

Issue still persists, using ArchLinux/Hyprland

fnDxrk avatar Jan 20 '25 11:01 fnDxrk

reproducible on archlinux/qtile/wayland

katsu-chan avatar Jan 22 '25 12:01 katsu-chan

Same, reproduced on Linux Mint 22.1 Xia with x11 as the display server. The problem still persists on version 5.10.5.

FourLion4L avatar Jan 25 '25 16:01 FourLion4L

Same. Manjaro+KDE(Wayland)

Creep7er avatar Feb 04 '25 14:02 Creep7er

The Issue still persists on Ubuntu

Hadi-loo avatar Feb 09 '25 11:02 Hadi-loo

Same, arch/hyprland

darifedoreev avatar Feb 10 '25 12:02 darifedoreev

Same: QWidget::repaint: Recursive repaint detected. Arch, XFCE, X11.

qo avatar Feb 11 '25 10:02 qo

reproducible on archlinux+wayland+sway

vitalijr2 avatar Feb 17 '25 12:02 vitalijr2

same: QWidget::repaint: Recursive repaint detected Arch, Wayland, Hyprland

revlze avatar Feb 27 '25 17:02 revlze

Ubuntu 24.04.2 LTS, I downloaded Telegram from the Ubuntu Software Center. I'm not sure of the exact problem (maybe as others described). But everything worked after I reinstalled Telegram from the official website.

bika1305 avatar Mar 07 '25 04:03 bika1305

Arch, Xwayland and native wayland (sway). Problem persist.
[2025.04.04 14:27:23] RPC Error: request 112 got fail with code 400, error CHANNEL_PRIVATE [2025.04.04 14:27:24] RPC Error: request 114 got fail with code 400, error WEBFILE_NOT_AVAILABLE [2025.04.04 14:27:37] RPC Error: request 125 got fail with code 400, error PEER_ID_INVALID [2025.04.04 14:27:37] RPC Error: request 124 got fail with code 400, error PEER_ID_INVALID [2025.04.04 14:27:37] RPC Error: request 136 got fail with code 400, error PEER_ID_INVALID [2025.04.04 14:27:37] RPC Error: request 137 got fail with code 400, error PEER_ID_INVALID [2025.04.04 14:27:38] Streaming Error: Error in avcodec_find_encoder_by_name - libopenh264.

fjfalcon avatar Apr 04 '25 11:04 fjfalcon

Saaaaaaame

ogolknev avatar Apr 11 '25 18:04 ogolknev

Same Holding record button, some blurry circle appears and then just dissapears with "Could not start audio recording"

DoggyXomaX avatar May 15 '25 21:05 DoggyXomaX

Same as @DoggyXomaX on

  • Alpine arm64, linux 6.14.0, PulseAudio, Wayland, Phoc
  • Arch x64, linux 6.14.7, PipeWire, Wayland, Hyprland

NekoCWD avatar May 21 '25 20:05 NekoCWD

same on NixOS / GNOME / wayland

maeve-oake avatar May 29 '25 11:05 maeve-oake

Thanks @bika1305, I also downloaded telegram from official site, not from App Center, and video message started working My system also Ubuntu 24.04.2 LTS

adyachenkoo avatar Jun 27 '25 14:06 adyachenkoo

@adyachenkoo Yea, it also works fine on flatpak version, but why it doesn't work on distribution packages?

NekoCWD avatar Jun 27 '25 19:06 NekoCWD

so, this bug is distribution package bug and not official binary as stated by ticker opener?

Aokromes avatar Jun 27 '25 20:06 Aokromes

so, this bug is distribution package bug and not official binary as stated by ticker opener?

It doesn't work if binary was built using official public instructions. I guess it's not a distribution bug, because there are lot of distributives with broken TG

NekoCWD avatar Jun 29 '25 10:06 NekoCWD

same problem, same description. (Archlinux, Hyprland(wayland)) but it's only in the repository version. in the flathub version everything works correctly

gigabebra avatar Aug 01 '25 22:08 gigabebra

Exact same problem with the repository version

Env:

  • Arch (kernel v6.15.8)
  • Plasma 6.4.3 (Wayland)

lopharb avatar Aug 07 '25 16:08 lopharb

Pretty same on Windows 10, but i got something that might shed some light in the problem (maybe it's just for me) I see that the problem is in avcodec_open2 encoder

[08:54:38.006 00-0008946] QWidget::repaint: Recursive repaint detected

"QWidget::repaint: Recursive repaint detected" repeating

[08:54:38.199 00-0008969] QWidget::repaint: Recursive repaint detected
[08:54:39.343 00-0008970] Suggestions: No key. (storage_account.cpp : 25)
[08:54:39.427 00-0008971] Suggestions: Skipping TopPeers local, got already. (top_peers.cpp : 25)
[08:54:39.427 00-0008972] Suggestions: Start RecentPeers read, count: 3, version: 5016004. (recent_peers.cpp : 25)
[08:54:39.427 00-0008973] Suggestions: RecentPeers read OK, count: 3 (recent_peers.cpp : 25)
[08:54:39.456 08-0008974] Streaming Error: Error in avcodec_open2 (code: -1129203192, text: Encoder not found) - libopenh264.
[08:54:39.476 09-0008975] Audio Capture: started! (media_audio_capture.cpp : 25)
[08:54:39.515 00-0008976] QWidget::repaint: Recursive repaint detected

"QWidget::repaint: Recursive repaint detected" repeating

[08:54:39.545 00-0008980] QWidget::repaint: Recursive repaint detected
[08:54:39.546 00-0008981] Suggestions: Skipping TopPeers local, got already. (top_peers.cpp : 25)
[08:54:39.546 00-0008982] Suggestions: Start RecentPeers read, count: 2, version: 5016004. (recent_peers.cpp : 25)
[08:54:39.546 00-0008983] Suggestions: RecentPeers read OK, count: 2 (recent_peers.cpp : 25)
[08:54:39.554 00-0008984] QWidget::repaint: Recursive repaint detected

"QWidget::repaint: Recursive repaint detected" repeating

[08:54:39.729 00-0009008] QWidget::repaint: Recursive repaint detected
[08:54:39.742 00-0009009] Suggestions: Skipping TopPeers local, got already. (top_peers.cpp : 25)
[08:54:39.742 00-0009010] Suggestions: Start RecentPeers read, count: 2, version: 5016004. (recent_peers.cpp : 25)
[08:54:39.742 00-0009011] Suggestions: RecentPeers read OK, count: 2 (recent_peers.cpp : 25)
[08:54:39.744 00-0009012] QWidget::repaint: Recursive repaint detected

"QWidget::repaint: Recursive repaint detected" repeating

[08:54:40.504 00-0009203] QWidget::repaint: Recursive repaint detected

[08:54:44.584 09-0009247] Audio Capture: no samples to capture. (media_audio_capture.cpp : 25)
[08:54:44.585 09-0009248] Audio Capture: stopping (need result: [TRUE]), size: 0, samples: 0 (media_audio_capture.cpp : 25)

MochyPei avatar Aug 31 '25 06:08 MochyPei

I have the same problem. Windows 11 version 24H2 build 26100.4946, Telegram 6.1

Wait, what? Update 6.1.1 arrived, and video messages can now be recorded!

aloki avatar Sep 01 '25 17:09 aloki

@aloki Should be fixed in 6.1.1

john-preston avatar Sep 01 '25 17:09 john-preston

Still happening for me on 6.1.1 and above, up to 6.1.3. Arch+KDE Wayland. More details:

  • Voice messages work, despite the error implying it's an audio related problem
  • Camera works in other apps including firefox and electron-based apps ie. discord
  • The camera LED goes on for half a second, right before telegram shows the last captured frame and shows the error message

glics avatar Sep 19 '25 15:09 glics

Still happening for me on 6.1.1 and above, up to 6.1.3. Arch+KDE Wayland.

@glics Try installing telegram-desktop-bin (AUR). I’m also on Arch/Wayland and the AUR bin package exhibits none of the issues you mentioned. I have been using it for a week or so with no issues, other than one random crash.

The official Arch package has problems on my devices, including the video recording you mentioned, as well as some others. I remember bug reports around Telegram video recording in the Arch gitlab a while back. The root cause was them not keeping some support libraries up to date if I remember correctly.

It could be they’re still doing that for some reason. Whatever the reason, I believe the issue is with how Arch packages the official build in extra, not Telegram.

Alanon202 avatar Sep 20 '25 07:09 Alanon202