#995729 telegram-desktop: hogs the cpu

Package:
telegram-desktop
Source:
telegram-desktop
Description:
fast and secure messaging application
Submitter:
Ralf Neubauer
Date:
2021-10-04 23:12:03 UTC
Severity:
normal
#995729#5
Date:
2021-10-04 18:27:14 UTC
From:
To:
Hi,

telegram-desktop hogs the CPU, even if no animation is running -- and
even crashed on its own multiple times after some hours of idle desktop.

I don't know how to show or demonstrate that and have no current log (I
don't know it it would even be visible). I just see that
telegram-desktop uses 80% of the cpu, while the web browsers where I
watch videos etc. only get the rest. I can't remember it doing that
before, I think it started when I upgraded from 2.6.1+ds-1 .

Ralf

#995729#10
Date:
2021-10-04 23:09:18 UTC
From:
To:
Hi,

here it is again, roughly 2,5 hours after starting it:

  PID USER      PR  NI    VIRT    RES    SHR S     TIME+  %MEM  %CPU COMMAND
31984 me        20   0  756480 262364  90476 S  28:54.33   3.2 101.0 telegram-+
 1791 root      20   0  341160  94348  72712 S 103:33.75   1.2   3.6 Xorg
23647 me        20   0 3529176 620964 157912 S 132:57.36   7.6   2.6 firefox-e+

There are two animated stickers and a youtube preview in the currently
viewed channel, but none of this runs if I don't move the mouse over it
-- and the CPU load remains, if I switch channels.

Now the animated stickers disappeared. Time to restart telegram-desktop,
obviously. I tend to want chat programs run the whole time, not restart
them every two hours.

Ralf