ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
14.79k stars 766 forks source link

[auth][windows] Auth uses GPU when window is hidden in tray #2686

Open brandon14 opened 1 month ago

brandon14 commented 1 month ago

Description

I noticed that using the latest 3.1.1 Auth on Windows 11, the auth process will still consume around 8%-15% of GPU usage even if you hide the window in the system tray.

This may not be the intended behavior and maybe how the window is hiding in the system notification tray. Most other applications consume little to no GPU when they are not in focus or otherwise minimized to the taskbar or system tray. It seems that Auth is using this amount of GPU regardless of whether the window is visible.

OS: Windows 11 23H2 Auth: v3.1.1

To replicate this behavior on Windows, launch Auth, right-click on the system notification tray icon, and click hide window. You will notice in the task manager that the Auth process is still consuming GPU even though the window is minimized to the notification tray.

If you need any additional information just let me know and I will be happy to provide whatever I can.

image

Version

3.1.1

What product are you using?

Ente Auth

What platform are you using?

Desktop - Windows

brandon14 commented 1 week ago

I would like to update this and say that on the latest 4.0.0 version, the GPU usage is down to around 1.0%-2.0%.