Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App uses a lot of CPU when main window is open #102

Open
ngocphamm opened this issue Oct 31, 2024 · 5 comments
Open

App uses a lot of CPU when main window is open #102

ngocphamm opened this issue Oct 31, 2024 · 5 comments

Comments

@ngocphamm
Copy link

I'm not sure if this is a bug but it's quite odd to me.

It does that even when it's not visible, as in hidden by another window on top of it.

However, when minimized, it's good, not using CPU.

CleanShot 2024-10-31 at 19 25 47@2x

@aloneguid
Copy link
Owner

Can you send me a screenshot of "About" window like this? Thanks.

image

@ngocphamm
Copy link
Author

Here you go.

CleanShot 2024-12-18 at 16 55 01@2x

@ngocphamm
Copy link
Author

Actually it's a lot less CPU intensive right now, hovering around 10%, instead of ~35-40% like when I posted.

This might be due to the fact that the machine is a remote one that I RDP into. At the time I created this issue, I remoted in in HiDPI mode. Right now I'm remoting in in LoDPI mode.

But again, minimizing its window will drop the usage to close to 0.

@aloneguid
Copy link
Owner

Oh it makes sense. The UI is GPU accelerated with DirectX, but I'm not sure how it's going to behave via RDP - I assume it needs to stream the window 60 times a second. Locally it's always close to 0. An interesting one to investigate.

@ngocphamm
Copy link
Author

@aloneguid Yeah it's definitely an edge case. Please let me know if I can provide more information for debugging purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants