telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.26k stars 5.02k forks source link

More than 50 % cpu load on macOS Catalina #17125

Open audiserg opened 2 years ago

audiserg commented 2 years ago

Steps to reproduce

start telegram, leave it opened.

Expected behaviour

low cpu consuming

Actual behaviour

more then 50 % loading

Operating system

Mac OS Catalina 10.15.7

Version of Telegram Desktop

3.1.9

Installation source

Static binary from official website

Logs

No response

ask-compu commented 2 years ago

happens on telegram 3.1 on windows from the microsoft store after leaving the app open for a day or so

abitmore commented 2 years ago

Recently I noticed that my Telegram Desktop is slower than before too, causing noticeable CPU load (30% on my laptop). I'm not sure if it's related to this issue or https://github.com/telegramdesktop/tdesktop/issues/17091, or my own environment. I don't know which version it started from. I'm using Ubuntu 18.04 (default theme), the Telegram Desktop app was installed from the Snap Store and it gets upgraded automatically every time when a new version is released.

Update (FWIW): inspired by https://github.com/telegramdesktop/tdesktop/issues/3640#issuecomment-606685837, I did a strace and found that the app was endlessly trying to find a file in pattern telegram(-mute(-panel)?)?\.(png|svg) but always fails. Then I found this issue: https://github.com/telegramdesktop/tdesktop/issues/10263, according to it, I unchecked the "Include muted chats in unread count" in settings - Notifications. it seems it's better now. image

stale[bot] commented 2 years ago

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!

ask-compu commented 2 years ago

still an issue

github-actions[bot] commented 1 year ago

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!

ask-compu commented 1 year ago

still an issue

john-preston commented 1 year ago

@ask-compu The issue is about macOS Catalina, you write about Microsoft Store version. For me the Windows version doesn't consume too much CPU, 0% while idle. Can you give some details in your case?

ask-compu commented 1 year ago

@ask-compu The issue is about macOS Catalina, you write about Microsoft Store version. For me the Windows version doesn't consume too much CPU, 0% while idle. Can you give some details in your case?

it seems somewhat random but it stops if i close and reopen the telegram window (not quitting, still running in the background), i always leave telegram's window open and idk what causes the issue

github-actions[bot] commented 1 year ago

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!

ask-compu commented 1 year ago

this still happens sometimes, it's rare tho

mikhaillopandia commented 11 months ago

Same issue on Macos Ventura

github-actions[bot] commented 5 months ago

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!

ask-compu commented 5 months ago

r the devs ignoring this?

john-preston commented 4 months ago

Well, I have no idea how to reproduce the bug.

hamidghasemy commented 1 month ago

Same issue mac os 12.6.8 CPU load 90% GPU load 60%

I think Telegram doesn't want to fix this issue cause this may be a big consumer CPU-GPU and maybe calculating something in clients' pcs.