telegramdesktop / tdesktop

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

Long delay when open first media after application idle #27323

Closed alexeynl closed 9 months ago

alexeynl commented 10 months ago

Steps to reproduce

  1. Not use Telegram for some time (about 15 minutes).
  2. Click on any video of photo to view it on full screen.

Expected behaviour

Photo or video should be opened instantly.

Actual behaviour

Photo or video is opened with delay about 2-3 seconds. It looks like freeze. After this freeze this and another photo or video is opened instantly:

https://github.com/telegramdesktop/tdesktop/assets/82229750/844b3a6b-3678-4e38-b298-ad3f32eb5da0

https://github.com/telegramdesktop/tdesktop/assets/82229750/f8940a13-97e7-4f47-8b8a-279a0960554c

https://github.com/telegramdesktop/tdesktop/assets/82229750/3e607d39-3cd9-4075-bb03-4ad3209bc640

Operating system

Windows 11 and Windows 10

Version of Telegram Desktop

4.14.3

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

alexeynl commented 10 months ago

I have this issue more than 1 year on my new laptop with AMD Ryzen 6800h. I have been updated Telegram Desktop reqularly.

The workaround is disable Angle in Telegram Desktop settings.

ilya-fedin commented 9 months ago

This sadly means it's a bug in your graphics driver...

alexeynl commented 9 months ago

This sadly means it's a bug in your graphics driver...

How can you conclude "this is the driver bug" without any debug??? Is this known issue? Do you know what is the bug?

I have latest drivers and Windows update installed. I have beed updated drivers and operating system all this time. I also have tried install drivers from different sources: Windows Update, OEM and official AMD drivers.

ilya-fedin commented 9 months ago

You say disabling ANGLE helps, ANGLE means using hardware (GPU) rendering. This is not a problem for every user what means this happens not with any driver / hardware.

alexeynl commented 9 months ago

You say disabling ANGLE helps, ANGLE means using hardware (GPU) rendering.

So when i disable Angle, Telegram uses sofware (processor, not GPU) rendering . Correct?

ilya-fedin commented 9 months ago

Yes

alexeynl commented 9 months ago

I have created post about this issue at AMD community: https://community.amd.com/t5/drivers-software/ryzen-6800h-applications-freezes-after-iddle-with-hardware/m-p/656887 Hope i will get support on this.