tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Telegram Desktop - high CPU usage on Windows 7

Open worldremaker opened this issue 2 years ago • 8 comments

Steps to reproduce

  1. Run Telegram

That's all -you'll receive this bug immediately, max in 5 seconds.

EDIT 1: 2nd step: Open any chat. 3rd step: Open stick's selector on the right side.

Expected behaviour

Normal run

Actual behaviour

When I'm running Telegram Desktop I have really high CPU usage, higher than some FPS game. After longer time of run Telegram doesn't response and it's closing by system (crash).

Operating system

Windows 7 Professional x64 SP1, build 7601

Version of Telegram Desktop

4.6.3

Installation source

Static binary from official website

Logs

[2023.02.24 20:36:41] Launched version: 4006003, install beta: [FALSE], alpha: 0, debug mode: [FALSE]
[2023.02.24 20:36:41] Executable dir: C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/, name: Telegram.exe
[2023.02.24 20:36:41] Initial working dir: C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/
[2023.02.24 20:36:41] Working dir: C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/
[2023.02.24 20:36:41] Command line: C:\Users\Remek Bogdanowicz\AppData\Roaming\Telegram Desktop\Telegram.exe
[2023.02.24 20:36:41] Executable path before check: C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/Telegram.exe
[2023.02.24 20:36:41] Logs started
[2023.02.24 20:36:41] Connecting local socket to Global\b8766ba0cc82b00344d12cfc19c56809-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2023.02.24 20:36:41] This is the only instance of Telegram, starting server and app...
[2023.02.24 20:36:41] Moved logging from 'C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/log_start0.txt' to 'C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/log.txt'!
[2023.02.24 20:36:41] Opened 'C:/Users/Remek Bogdanowicz/AppData/Roaming/Telegram Desktop/tdata/working' for reading, the previous Telegram Desktop launch was not finished properly :( Crash log size: 0
[2023.02.24 20:36:41] Global devicePixelRatio: 1
[2023.02.24 20:36:41] QT_DPI_ADJUSTMENT_POLICY: AdjustDpi
[2023.02.24 20:36:41] Primary screen DPI: 96, Base: 96.
[2023.02.24 20:36:41] Computed screen scale: 100
[2023.02.24 20:36:41] DevicePixelRatio: 1
[2023.02.24 20:36:41] ScreenScale: 100
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansRegular.ttf' loaded 'DAOpenSansRegular'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansRegularItalic.ttf' loaded 'DAOpenSansRegularItalic'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.02.24 20:36:41] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2023.02.24 20:36:42] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2023.02.24 20:36:42] Using DirectX compiler 'C:\Users\Remek Bogdanowicz\AppData\Roaming\Telegram Desktop\modules\x86\d3d\d3dcompiler_47.dll'.
[2023.02.24 20:36:42] App Info: reading settings...
[2023.02.24 20:36:42] App Info: reading encrypted settings...
[2023.02.24 20:36:42] Lang Info: Loaded cached, keys: 4761
[2023.02.24 20:36:42] OpenAL Logging Level: (not set)
[2023.02.24 20:36:42] Audio Playback Devices: OpenAL Soft on Głośniki (Realtek High Definition Audio);OpenAL Soft on Line 1 (Virtual Audio Cable);OpenAL Soft on Realtek Digital Output (Realtek High Definition Audio)
[2023.02.24 20:36:42] Audio Playback Default Device: OpenAL Soft on Głośniki (Realtek High Definition Audio)
[2023.02.24 20:36:42] Audio Capture Devices: OpenAL Soft on Mikrofon (Realtek High Definition Audio);OpenAL Soft on Line 1 (Virtual Audio Cable)
[2023.02.24 20:36:42] Audio Capture Default Device: OpenAL Soft on Mikrofon (Realtek High Definition Audio)
[2023.02.24 20:36:42] App Info: reading accounts info...
[2023.02.24 20:36:42] App Info: reading encrypted info...
[2023.02.24 20:36:42] App Info: reading map...
[2023.02.24 20:36:42] App Info: reading encrypted map...
[2023.02.24 20:36:42] App Info: reading encrypted user settings...
[2023.02.24 20:36:42] App Info: encrypted user settings read.
[2023.02.24 20:36:42] App Info: reading encrypted mtp data...
[2023.02.24 20:36:42] MTP Info: read keys, current: 5, to destroy: 0
[2023.02.24 20:36:42] Map read time: 13
[2023.02.24 20:36:42] App Info: reading encrypted mtp config...
[2023.02.24 20:36:42] Export Info: Destroy top bar by controller removal.
[2023.02.24 20:36:43] OpenGL: Using custom 'gpu_driver_bug_list.json'.
[2023.02.24 20:36:43] OpenGL Profile: OpenGLES.
[2023.02.24 20:36:43] OpenGL Renderer: ANGLE (NVIDIA, NVIDIA GeForce GT 730 Direct3D11 vs_5_0 ps_5_0, D3D11-21.21.13.7595)
[2023.02.24 20:36:43] OpenGL Vendor: Google Inc. (NVIDIA)
[2023.02.24 20:36:43] OpenGL Version: OpenGL ES 3.0.0 (ANGLE 2.1.7 git hash: 0bb011f9e403)
[2023.02.24 20:36:43] OpenGL Extensions: GL_EXT_instanced_arrays, GL_OES_compressed_EAC_RG11_signed_texture, GL_OES_texture_half_float_linear, GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture, GL_WEBGL_video_texture, GL_NV_fence, GL_OES_draw_buffers_indexed, GL_EXT_unpack_subimage, GL_OES_compressed_ETC2_sRGB8_alpha8_texture, GL_OES_get_program_binary, GL_ANGLE_client_arrays, GL_ANGLE_get_tex_level_parameter, GL_ANGLE_copy_texture_3d, GL_EXT_texture_filter_anisotropic, GL_OES_rgb8_rgba8, GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture, GL_OES_draw_elements_base_vertex, GL_EXT_shader_texture_lod, GL_EXT_texture_format_BGRA8888, GL_ANGLE_texture_usage, GL_EXT_float_blend, GL_CHROMIUM_copy_texture, GL_EXT_discard_framebuffer, GL_ANGLE_request_extension, GL_EXT_draw_buffers_indexed, GL_OES_depth24, GL_EXT_texture_rg, GL_EXT_color_buffer_float, GL_OVR_multiview, GL_OES_compressed_EAC_R11_unsigned_texture, GL_OES_compressed_ETC2_RGBA8_texture, GL_OES_texture_stencil8, GL_CHROMIUM_bind_generates_resource, GL_ANGLE_base_vertex_base_instance, GL_CHROMIUM_bind_uniform_location, GL_EXT_multisampled_render_to_texture, GL_EXT_draw_buffers, GL_OES_EGL_image, GL_ANGLE_texture_multisample, , GL_ANGLE_explicit_context, GL_OES_standard_derivatives, GL_EXT_color_buffer_half_float, GL_EXT_disjoint_timer_query, GL_EXT_texture_compression_rgtc, GL_NV_EGL_stream_consumer_external, GL_OES_compressed_ETC2_RGB8_texture, GL_ANGLE_framebuffer_multisample, GL_OES_vertex_array_object, GL_CHROMIUM_lose_context, GL_OES_mapbuffer, GL_OES_depth32, GL_OES_compressed_EAC_RG11_unsigned_texture, GL_ANGLE_pack_reverse_row_order, GL_OES_texture_half_float, GL_ANGLE_framebuffer_blit, GL_NV_pixel_buffer_object, GL_EXT_robustness, GL_OVR_multiview2, GL_ANGLE_memory_size, GL_EXT_sRGB, GL_EXT_texture_compression_s3tc_srgb, GL_EXT_EGL_image_external_wrap_modes, GL_EXT_map_buffer_range, GL_ANGLE_instanced_arrays, GL_ANGLE_translated_shader_source, GL_CHROMIUM_copy_compressed_texture, GL_ANGLE_program_cache_control, GL_EXT_draw_elements_base_vertex, GL_EXT_read_format_bgra, GL_EXT_texture_norm16, GL_ANGLE_lossy_etc_decode, GL_OES_EGL_image_external, GL_EXT_blend_minmax, GL_EXT_debug_label, GL_EXT_frag_depth, GL_OES_texture_float_linear, GL_ANGLE_robust_client_memory, GL_OES_surfaceless_context, GL_CHROMIUM_sync_query, GL_EXT_debug_marker, GL_ANGLE_provoking_vertex, GL_OES_compressed_EAC_R11_signed_texture, GL_OES_compressed_ETC2_sRGB8_texture, GL_ANGLE_get_serialized_context_string, GL_ANGLE_depth_texture, GL_EXT_texture_compression_bptc, GL_ANGLE_explicit_context_gles1, GL_OES_EGL_image_external_essl3, GL_OES_packed_depth_stencil, GL_OES_fbo_render_mipmap, GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, GL_KHR_parallel_shader_compile, GL_NV_pack_subimage, GL_OES_texture_float, GL_ANGLE_multi_draw, GL_ANGLE_multiview_multisample, GL_OES_texture_border_clamp, GL_OES_element_index_uint, GL_EXT_texture_storage, GL_EXT_occlusion_query_boolean, GL_KHR_debug, GL_EXT_texture_compression_dxt1, GL_EXT_blend_func_extended, GL_OES_texture_npot
[2023.02.24 20:36:43] EGL Extensions: EGL_EXT_create_context_robustness, EGL_ANGLE_d3d_share_handle_client_buffer, EGL_ANGLE_d3d_texture_client_buffer, EGL_ANGLE_surface_d3d_texture_2d_share_handle, EGL_ANGLE_query_surface_pointer, EGL_ANGLE_window_fixed_size, EGL_ANGLE_keyed_mutex, EGL_ANGLE_surface_orientation, EGL_NV_post_sub_buffer, EGL_KHR_create_context, EGL_KHR_image, EGL_KHR_image_base, EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image, EGL_KHR_gl_renderbuffer_image, EGL_KHR_get_all_proc_addresses, EGL_KHR_stream, EGL_KHR_stream_consumer_gltexture, EGL_NV_stream_consumer_gltexture_yuv, EGL_ANGLE_flexible_surface_compatibility, EGL_ANGLE_stream_producer_d3d_texture, EGL_ANGLE_create_context_webgl_compatibility, EGL_CHROMIUM_create_context_bind_generates_resource, EGL_EXT_pixel_format_float, EGL_KHR_surfaceless_context, EGL_ANGLE_display_texture_share_group, EGL_ANGLE_display_semaphore_share_group, EGL_ANGLE_create_context_client_arrays, EGL_ANGLE_program_cache_control, EGL_ANGLE_robust_resource_initialization, EGL_ANGLE_create_context_extensions_enabled, EGL_ANDROID_blob_cache, EGL_ANDROID_recordable, EGL_ANGLE_image_d3d11_texture, EGL_ANGLE_create_context_backwards_compatible, EGL_KHR_create_context_no_error, EGL_KHR_reusable_sync, 
[2023.02.24 20:36:43] OpenGL: QOpenGLContext created, version: 3.3.
[2023.02.24 20:36:43] OpenGL: [TRUE] (OverlayWidget)
[2023.02.24 20:38:13] App Info: writing encrypted user settings...
[2023.02.24 20:38:26] App Info: writing encrypted user settings...
[2023.02.24 20:40:05] RPC Error: request 165 got fail with code 400, error USER_NOT_PARTICIPANT
[2023.02.24 20:47:36] WinRT Error: -2147221164 (Klasa niezarejestrowana.)
[2023.02.24 20:47:36] Audio Info: recreating audio device and reattaching the tracks
[2023.02.24 20:47:37] WinRT Error: -2147221164 (Klasa niezarejestrowana.)
[2023.02.24 20:47:38] Audio Info: Closing audio playback device.

worldremaker avatar Feb 24 '23 19:02 worldremaker

same here: Ubuntu 22.10

MohammadMD1383 avatar Mar 25 '23 11:03 MohammadMD1383

I don't know what leads to high cpu usage, but some times this happens and cpu usage gradually grows from 10%(when I hear cpu's fan sound that is growing) to 95%.

I have to kill the process to stop this, closing telegram doesn't work.

MohammadMD1383 avatar Mar 25 '23 11:03 MohammadMD1383

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Sep 22 '23 01:09 github-actions[bot]

I don't know what leads to high cpu usage, but some times this happens and cpu usage gradually grows from 10%(when I hear cpu's fan sound that is growing) to 95%.

I have to kill the process to stop this, closing telegram doesn't work.

Same on Windows 7 - process needs to be killed by task manager.

worldremaker avatar Sep 24 '23 13:09 worldremaker

2023-10-20 Still the same on Windows 7: Telegram Desktop (currently V4.10.2) very frequently starts to use full CPU. It can only be stopped by killing the process. When freshly restarted things look good for some time, but then suddenly CPU usage again rises to 100% (one core). Reason or trigger unknown.

mramsch avatar Oct 20 '23 18:10 mramsch

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Apr 18 '24 01:04 github-actions[bot]

same here telegram 4.16.6 gnome

amirkhaki avatar May 03 '24 10:05 amirkhaki

I'm also seeing this semi-frequently on linux

prurigro avatar Aug 15 '24 15:08 prurigro