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

High CPU usage #50

Open
turutupa opened this issue Jan 19, 2023 · 6 comments
Open

High CPU usage #50

turutupa opened this issue Jan 19, 2023 · 6 comments

Comments

@turutupa
Copy link

I really haven't identified the cause, but if I run picom by itself my PC will run fine. But the minute I run xborders with it, it starts running burning hot. I have shadows and rounded corners applied in my picom config.

I know this is not enough info to learn why its behaving like that, but perhaps you might have some pointers?

@deter0
Copy link
Owner

deter0 commented Jan 19, 2023

Can you confirm it's xborders is causing this? In a process viewer can you report xborders' CPU and memory usage. Also let me
know what your computer's specs are

@turutupa
Copy link
Author

This is my laptop: https://www.amazon.com/ASUS-Entertainment-5900HS-2560x1440-Fingerprint/dp/B097DDZ2MV
Specs summary:
CPU AMD Ryzen 9 5900HS 8-Core
RAM 32GB RAM
SSD 1TB SSD
GPU Nvidia RTX 3080 Max-Q

As per usage, in htop doesn't seem to show high numbers, around 0.7~1.2 CPU% and 0.2 MEM%.

I do see a change in picom numbers, going from 0 CPU% and 0.3 MEM% to 2.6 ~ 3.3 CPU% and MEM% stays the same.

I know this is still little information... could it be GPU related?

@deter0
Copy link
Owner

deter0 commented Jan 19, 2023

600 MB of memory usage seems high. Does the memory keep
increasing is it stable, or in other words is it a memory leak. As for your specs, they seem really good and you shouldn't be experiencing any lag. You can also check your GPU usage by installing a terminal utility for Nvdia cards called 'nvtop.'

@turutupa
Copy link
Author

turutupa commented Jan 19, 2023

Switched to Integrated mode on laptop (disabled GPU completely) and numbers look the same for now, but I think it might not be getting as hot. I see picom get up to 6 CPU% tho, which seems high.

Edit: seems to stabilize around 4.5 CPU%

@turutupa
Copy link
Author

After running xborders for a while, in sensors I see high temps 74C ~ 79C and high fan RPMs, 3200 CPU RPM and 3400 GPU RPM (meaning GPU was not disabled properly after all) and after stopping xborders I get temps down to 61C and 2400 CPU RPM and 2500 GPU RPM

@deter0
Copy link
Owner

deter0 commented Oct 11, 2023

This is weird, it could be a bug in a library we're using. Will investigate further.

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

No branches or pull requests

2 participants