tdesktop
tdesktop copied to clipboard
Telegram freezes and messes with the video card and leaks RAM after recent telegram update (Win8x64)
Steps to reproduce
so after the recent update when i restarted my telegram, it was working fine, and then i went to download a video (file) and it was ok but then i came across a channel which had a video on it and my screen froze.. i originally figured it was temporary and then after 3 minutes noticed the time on my taskbar was not moving which means it crashed my video card, this has never happened to me in 9 months, the last time was around an update in December, after miserably trying to get the task manager to work (which we all know never works when you need it), 5-6 mins later, i saw telegram app was now consuming over 2gb of RAM which doesn't sound bad until u realize that my laptop only has 4GB RAM so it crashed the video card and then started juicing up the RAM lol, uptil this update, telegram worked so smoothly for me on a low 4GB RAM, I'm on Win8, I figured it won't happen again for the 2nd time so i shut every other program off and did it again, and lo and behold, the same thing, except this time i was ready for it on taskmanager an killed it as the RAM Leak was rising over 1.5GB...now i'm scared to turn it on and thus can't use it for my daily downloads :( i looked up its log and i think the issue might be OPENGL
Expected behaviour
well if there was a video on any channel, it should have shown me a snapshot of what it was
Actual behaviour
instead the mouse froze which at that time i figured was the mouse and only later i realised it was the screen freezing cause hovering over the video for like a split second crashed my videocard.. that should never happen.
Operating system
Windows8x64
Version of Telegram Desktop
v4.2
Installation source
Static binary from official website
Logs
[2022.09.19 15:39:51] Launched version: 4002000, install beta: [FALSE], alpha: 0, debug mode: [FALSE]
[2022.09.19 15:39:51] Executable dir: C:/Users/admin/AppData/Roaming/Telegram Desktop/, name: Telegram.exe
[2022.09.19 15:39:51] Initial working dir: C:/Users/admin/AppData/Roaming/Telegram Desktop/
[2022.09.19 15:39:51] Working dir: C:/Users/admin/AppData/Roaming/Telegram Desktop/
[2022.09.19 15:39:51] Command line: C:\Users\admin\AppData\Roaming\Telegram Desktop\Telegram.exe
[2022.09.19 15:39:51] Executable path before check: C:/Users/admin/AppData/Roaming/Telegram Desktop/Telegram.exe
[2022.09.19 15:39:51] Logs started
[2022.09.19 15:39:52] Connecting local socket to Global\40c8fc9aa5936537834512d0bab564c8-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2022.09.19 15:39:52] This is the only instance of Telegram, starting server and app...
[2022.09.19 15:39:52] Moved logging from 'C:/Users/admin/AppData/Roaming/Telegram Desktop/log_start0.txt' to 'C:/Users/admin/AppData/Roaming/Telegram Desktop/log.txt'!
[2022.09.19 15:39:52] Opened 'C:/Users/admin/AppData/Roaming/Telegram Desktop/tdata/working' for reading, the previous Telegram Desktop launch was not finished properly :( Crash log size: 0
[2022.09.19 15:39:52] Primary screen DPI: 96
[2022.09.19 15:39:52] Font: from ':/gui/fonts/DAOpenSansRegular.ttf' loaded 'DAOpenSansRegular'
[2022.09.19 15:39:52] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2022.09.19 15:39:52] Font: from ':/gui/fonts/DAOpenSansRegularItalic.ttf' loaded 'DAOpenSansRegularItalic'
[2022.09.19 15:39:52] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2022.09.19 15:39:52] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2022.09.19 15:39:53] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2022.09.19 15:39:53] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2022.09.19 15:39:53] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2022.09.19 15:39:53] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2022.09.19 15:40:24] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2022.09.19 15:40:24] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2022.09.19 15:40:24] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2022.09.19 15:40:24] Using DirectX compiler 'C:\Users\admin\AppData\Roaming\Telegram Desktop\modules\x64\d3d\d3dcompiler_47.dll'.
[2022.09.19 15:40:24] App Info: reading settings...
[2022.09.19 15:40:24] App Info: reading encrypted settings...
[2022.09.19 15:40:24] Lang Info: Loaded cached, keys: 4219
[2022.09.19 15:40:25] OpenAL Logging Level: (not set)
[2022.09.19 15:40:25] Audio Playback Devices: OpenAL Soft on Speakers (Realtek High Definition Audio)
[2022.09.19 15:40:25] Audio Playback Default Device: OpenAL Soft on Speakers (Realtek High Definition Audio)
[2022.09.19 15:40:25] Audio Capture Devices: OpenAL Soft on Mic in at front panel (black) (Realtek High Definition Audio);OpenAL Soft on Microphone (Realtek High Definition Audio)
[2022.09.19 15:40:25] Audio Capture Default Device: OpenAL Soft on Mic in at front panel (black) (Realtek High Definition Audio)
[2022.09.19 15:40:27] App Info: reading accounts info...
[2022.09.19 15:40:27] App Info: reading encrypted info...
[2022.09.19 15:40:27] App Info: reading map...
[2022.09.19 15:40:27] App Info: reading encrypted map...
[2022.09.19 15:40:27] App Info: reading encrypted user settings...
[2022.09.19 15:40:27] App Info: encrypted user settings read.
[2022.09.19 15:40:27] App Info: reading encrypted mtp data...
[2022.09.19 15:40:27] MTP Info: read keys, current: 5, to destroy: 0
[2022.09.19 15:40:27] Map read time: 116
[2022.09.19 15:40:27] App Info: reading encrypted mtp config...
[2022.09.19 15:40:32] Export Info: Destroy top bar by controller removal.
[2022.09.19 15:40:32] OpenGL: Using custom 'gpu_driver_bug_list.json'.
[2022.09.19 15:40:34] OpenGL Profile: OpenGLES.
[2022.09.19 15:40:34] OpenGL Renderer: ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11-10.18.10.3408)
[2022.09.19 15:40:34] OpenGL Vendor: Google Inc. (Intel)
[2022.09.19 15:40:34] OpenGL Version: OpenGL ES 3.0.0 (ANGLE 2.1.7 git hash: 0bb011f9e403)
[2022.09.19 15:40:34] OpenGL Extensions: GL_ANGLE_base_vertex_base_instance, GL_ANGLE_request_extension, GL_EXT_shader_texture_lod, GL_OES_texture_border_clamp, GL_OES_texture_float, GL_ANGLE_get_serialized_context_string, GL_EXT_draw_buffers, GL_CHROMIUM_lose_context, GL_OES_rgb8_rgba8, GL_EXT_occlusion_query_boolean, GL_OES_vertex_array_object, GL_EXT_debug_label, GL_OES_compressed_EAC_RG11_signed_texture, GL_OES_texture_stencil8, GL_EXT_texture_storage, GL_OES_mapbuffer, GL_OES_surfaceless_context, GL_OES_texture_float_linear, GL_ANGLE_robust_client_memory, GL_EXT_texture_filter_anisotropic, GL_OES_compressed_ETC2_sRGB8_alpha8_texture, GL_OES_texture_half_float_linear, GL_KHR_parallel_shader_compile, GL_OES_EGL_image, GL_EXT_debug_marker, GL_OES_EGL_image_external_essl3, GL_ANGLE_provoking_vertex, GL_OES_standard_derivatives, GL_ANGLE_texture_compression_dxt3, GL_OES_get_program_binary, GL_OES_depth32, GL_ANGLE_framebuffer_multisample, GL_ANGLE_program_cache_control, GL_ANGLE_texture_multisample, , GL_ANGLE_get_tex_level_parameter, GL_CHROMIUM_bind_uniform_location, GL_OES_compressed_EAC_R11_unsigned_texture, GL_EXT_blend_minmax, GL_NV_pixel_buffer_object, GL_ANGLE_memory_size, GL_EXT_unpack_subimage, GL_CHROMIUM_bind_generates_resource, GL_EXT_EGL_image_external_wrap_modes, GL_EXT_discard_framebuffer, GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture, GL_CHROMIUM_sync_query, GL_EXT_draw_buffers_indexed, GL_EXT_read_format_bgra, GL_EXT_draw_elements_base_vertex, GL_EXT_robustness, GL_OES_draw_buffers_indexed, GL_ANGLE_depth_texture, GL_ANGLE_translated_shader_source, GL_EXT_texture_compression_s3tc_srgb, GL_OES_depth24, GL_EXT_sRGB, GL_ANGLE_pack_reverse_row_order, GL_ANGLE_texture_compression_dxt5, GL_OES_compressed_ETC2_RGB8_texture, GL_CHROMIUM_copy_texture, GL_EXT_blend_func_extended, GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture, GL_ANGLE_multiview_multisample, GL_EXT_multisampled_render_to_texture, GL_KHR_debug, GL_EXT_texture_rg, GL_ANGLE_explicit_context, GL_OES_EGL_image_external, GL_EXT_color_buffer_float, GL_OES_packed_depth_stencil, GL_OES_compressed_EAC_R11_signed_texture, GL_EXT_texture_format_BGRA8888, GL_CHROMIUM_copy_compressed_texture, GL_OES_compressed_ETC2_RGBA8_texture, GL_EXT_float_blend, GL_NV_fence, GL_OVR_multiview2, GL_OES_fbo_render_mipmap, GL_OVR_multiview, GL_WEBGL_video_texture, GL_ANGLE_lossy_etc_decode, GL_NV_EGL_stream_consumer_external, GL_ANGLE_copy_texture_3d, GL_EXT_color_buffer_half_float, GL_EXT_texture_compression_dxt1, GL_OES_draw_elements_base_vertex, GL_OES_compressed_EAC_RG11_unsigned_texture, GL_EXT_texture_compression_rgtc, GL_ANGLE_client_arrays, GL_ANGLE_instanced_arrays, GL_OES_compressed_ETC2_sRGB8_texture, GL_EXT_instanced_arrays, GL_EXT_texture_norm16, GL_OES_element_index_uint, GL_OES_texture_half_float, GL_OES_texture_npot, GL_ANGLE_multi_draw, GL_EXT_disjoint_timer_query, GL_ANGLE_texture_usage, GL_NV_pack_subimage, GL_EXT_frag_depth, GL_ANGLE_explicit_context_gles1, GL_ANGLE_framebuffer_blit, GL_EXT_texture_compression_bptc, GL_EXT_map_buffer_range
[2022.09.19 15:40:34] 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_ANGLE_direct_composition, 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_CHROMIUM_sync_control, 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,
[2022.09.19 15:40:34] OpenGL: QOpenGLContext created, version: 3.3.
[2022.09.19 15:40:34] OpenGL: [TRUE] (OverlayWidget)
[2022.09.19 15:40:44] API Warning: not loaded minimal channel applied.
[2022.09.19 15:40:47] API Warning: not loaded minimal channel applied.
Can reproduce this issue. This happened to me a few minutes ago after playing some videos on a Telegram channel. I don't think it is a bug in this particular version, as it has happened to me on previous occasions. Previously, disabling hardware video acceleration solved it, but now neither disabling this option nor disabling the Angle graphics backend stops random freezing.
Operating system
Windows 11 Home compilation 22000
Version of Telegram Desktop
v4.2.0
Installation source
Static binary from official website
Telegram Logs
[2022.09.20 20:49:35] Audio Info: recreating audio device and reattaching the tracks
[2022.09.20 20:49:37] Audio Info: Closing audio playback device.
[2022.09.20 20:49:39] Audio Info: recreating audio device and reattaching the tracks
[2022.09.20 20:49:43] Audio Info: Closing audio playback device.
[2022.09.20 20:49:44] Audio Info: recreating audio device and reattaching the tracks
[2022.09.20 20:49:56] Streaming Error: Error in avformat_open_input (code: -1094995529, text: Invalid data found when processing input).
[2022.09.20 20:49:56] Audio Info: Closing audio playback device.
Windows Event Viewer Logs
Registry name:System
Source: nvlddmkm
Date: 20/09/2022 20:49:45
Event ID:0
Level: Error
Description:
Description of event id 0 is not found in the source nvlddmkm. The component that causes this event is not installed on the local machine, or the installation is corrupted. You can install or repair the component on the local machine.
If the event originated on another computer, the information to be displayed should have been saved with the event.
The following information was included with the event:
\Device\Video3
Error occurred on GPUID: 100
The message resource is present, but the message is not found in the message table.
Registry name:System
Source: Display
Date: 20/09/2022 20:49:57
Event ID:4101
Level: Warning
Description:
The nvlddmkm display driver stopped responding and recovered correctly.
Although I previously thought it might be related to my graphics card or drivers, this freezing only happens to me when watching videos on Telegram Desktop. I bought my current PC recently, it has an RTX 3080 and the latest Nvidia drivers (516.94).
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!