tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Opening videos in Telegram causes a green tint to be applied to video

Open Tony2987 opened this issue 2 years ago • 21 comments

Steps to reproduce

  1. Find any video that has been uploaded to Telegram and sent as a message (preview is fine, by the way)
  2. Open the video to visualize it inside Telegram. It loads and runs fine but acquires a green tint over it.

Expected behaviour

No green tint on videos, just like preview shows up.

Actual behaviour

Green tint over the video once visualizing it in the video player in Telegram.

Operating system

Windows 7 64x

Version of Telegram Desktop

v3.7

Installation source

Static binary from official website

Logs

No response

Tony2987 avatar Apr 17 '22 11:04 Tony2987

try to change acceleration from directx to opengl

Aokromes avatar Apr 17 '22 11:04 Aokromes

I have the same problem with new 3.7 version.

FQgvZ6BXEAokA2J

jimmy-1000 avatar Apr 17 '22 15:04 jimmy-1000

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

john-preston avatar Apr 17 '22 15:04 john-preston

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

thanks, really helped solve the problem My video also turned green on the new version (v3.7 win7 x32) this was not the case in previous versions

Yurbason avatar Apr 17 '22 15:04 Yurbason

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

Thanks for your help. This is strange, I have a Nvidia graphic card 🤷

jimmy-1000 avatar Apr 17 '22 17:04 jimmy-1000

@john-preston there is problem with memory leaks on fresh client 3.7 x64 (Windows 8.1). Play several videos/GIF's and it will allocate 2-3GBs with no reason(without release), wtf :(.

Something is broken... Even if you try to close client(to erase\freed memory), it will not have any effect, since after exit it stays anyway in process with same amount of captured memory.

VetaLioSTV avatar Apr 17 '22 17:04 VetaLioSTV

Tthis is happening on my Nvidia RTX 2080 (driver 512.15), telegram version 3.7 and same on prev version.

XJIOP avatar Apr 17 '22 19:04 XJIOP

Tthis is happening on my Nvidia RTX 2080 (driver 512.15), telegram version 3.7 and same on prev version.

It's correct, the change was made in version 3.6.3

jimmy-1000 avatar Apr 17 '22 20:04 jimmy-1000

To add, I also have an nVidia graphics card. Might be nVidia only related?

Tony2987 avatar Apr 18 '22 13:04 Tony2987

To add, I also have an nVidia graphics card. Might be nVidia only related?

i don't have problem with geforce 960 + windows 11 and drivers 512.15 https://i.imgur.com/9NpFdS3.jpg also no problem with i5-4xxx series intel gfx and windows 11.

Aokromes avatar Apr 18 '22 13:04 Aokromes

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

Thanks. Almost worked for me (x64 Win7 Intel(R)Graphics); mine turned red. Found another in my Tele chat with same problem.

Batchute avatar Apr 18 '22 17:04 Batchute

I have the same problem. Windows 7, Intel HD graphics.

jez9999 avatar Apr 18 '22 18:04 jez9999

I had this issue and after trying various things noted above (not with much success because bizarrely my control panel doesn't have a 'Display' option) I decided to go hunting in the Telegram Settings. Within Settings > Advanced, scroll down to Performance and there I disabled 'Hardware accelerated video decoding'. Next time I played a video it came up with a red hue on it instead of green. After Exiting Telegram and relaunching, all is good again... Hopefully if anyone else encounters difficulty with this and the previous solutions didn't do it or weren't able to be applied, this one might sort you out... ;-) Untitled

FoxOscar avatar Apr 18 '22 19:04 FoxOscar

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

Thanks. Almost worked for me (x64 Win7 Intel(R)Graphics); mine turned red. Found another in my Tele chat with same problem.

Look down a couple of comments - I think if you Exit Telegram (make sure to Exit and not just minimise to taskbar) and relaunch you should be fixed...

FoxOscar avatar Apr 18 '22 19:04 FoxOscar

To add, I also have an nVidia graphics card. Might be nVidia only related?

Yes I think it is possible. I will test it deactivating my Nvidia to see what happens.

jimmy-1000 avatar Apr 18 '22 19:04 jimmy-1000

@jimmy-1000 You can disable hardware accelerated video decoding in Settings > Advanced > Performance.

Thanks. Almost worked for me (x64 Win7 Intel(R)Graphics); mine turned red. Found another in my Tele chat with same problem.

Look down a couple of comments - I think if you Exit Telegram (make sure to Exit and not just minimise to taskbar) and relaunch you should be fixed...

Yes, always do exit completely, but seemingly it is working now. Thanks.

Batchute avatar Apr 18 '22 19:04 Batchute

Yeah, same here. Red hue after disabling hardware acceleration, then exit and restart fixed it. Still, if it requires disabling hardware acceleration, isn't this still a bug in Telegram's video system?

jez9999 avatar Apr 18 '22 22:04 jez9999

The same thing happened to me with the green screens, when deactivating hard acceleration the screens turned red but the problem persisted. I fixed it by changing Angle Graphics to OpenGL Telegram verde

cxavierpb avatar Apr 19 '22 03:04 cxavierpb

I see that this commit has been added, hopefully we will get an update soon.

HW accelerated enabled with ANGLE DX9 - videos is green HW accelerated disabled with ANGLE DX9 - videos is red HW accelerated enabled with ANGLE Auto - videos is fine but I still got this bug: https://github.com/telegramdesktop/tdesktop/issues/17109 with media flickering

All is fine only with OpenGL or with disabled ANGLE. Even if I don't touch HW accelerated and left it enabled.

Windows 10, Telegram 3.7, NVIDIA GTX 1060 512.15 drivers

Neurotoxin001 avatar Apr 19 '22 07:04 Neurotoxin001

I had this issue and after trying various things noted above (not with much success because bizarrely my control panel doesn't have a 'Display' option) I decided to go hunting in the Telegram Settings. Within Settings > Advanced, scroll down to Performance and there I disabled 'Hardware accelerated video decoding'. Next time I played a video it came up with a red hue on it instead of green. After Exiting Telegram and relaunching, all is good again... Hopefully if anyone else encounters difficulty with this and the previous solutions didn't do it or weren't able to be applied, this one might sort you out... ;-) Untitled

Thank you so much! This is the only one advice that really helped me.

amgrypingvi avatar Jul 31 '22 21:07 amgrypingvi

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 Jan 28 '23 02:01 github-actions[bot]

4.5.8 beta still have this issue

Neurotoxin001 avatar Jan 28 '23 11:01 Neurotoxin001

older intel drivers are very bad.... it's recommended to update video drivers when possible, get dedicate gfx if possible, if unable to do such things the only solution without expend money is disable acceleration.

Aokromes avatar Jul 28 '23 07:07 Aokromes

older intel drivers are very bad.... it's recommended to update video drivers when possible, get dedicate gfx if possible, if unable to do such things the only solution without expend money is disable acceleration.

disabling acceleration DO NOT helps, as I wrote in the issue you'd closed as duplication.

gleruzh avatar Jul 28 '23 09:07 gleruzh

Already try any combinations of three parameters

  1. run Telegram with Intel or Nvidia GPU
  2. turn on or turn off Hardware Video Accelleration
  3. all different ANGLE backends.

not solved.

gleruzh avatar Jul 31 '23 05:07 gleruzh

The OpenGL backend was removed in version 4.8.11, so there is now no way to use hardware acceleration on buggy GPUs.

@aeiouaeiouaeiouaeiouaeiouaeiou OpenGL was not working before, it just used software rendering really, like "Disabled" option.

john-preston avatar Aug 15 '23 07:08 john-preston

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 Mar 15 '24 01:03 github-actions[bot]