FallingSnow / lightdm-webkit2-material2

A material design LightDM Webkit2 greeter theme
Do What The F*ck You Want To Public License
112 stars 16 forks source link

1 core at 100% at all times #6

Closed TheSinding closed 7 years ago

TheSinding commented 7 years ago

Hi, i have a problem with 1 core staying at 100% when i use your theme

Lightdm version: 1.20 Distribution: Arch / Antergos

Want some log or ?

FallingSnow commented 7 years ago

Are you sure it only happens when you are using lightdm-webkit2-material2?

TheSinding commented 7 years ago

Yeah, I just tested it, found that it's the "Zodiac" setting that does it..

FallingSnow commented 7 years ago

Can you be a little more specific on the Zodiac setting?

TheSinding commented 7 years ago

The Zodiac bagground setting, with Random colors set.

FallingSnow commented 7 years ago

The CPU being stuck at 100% persists when you are logged in and exit the greeter, or only while you are in the greeter?

TheSinding commented 7 years ago

It persists, after a login.. It's only ONE core, guessing that is JS' fault tho

FallingSnow commented 7 years ago

I believe the maxed out CPU are two different issues.

First off, I tested this with the latest git and while I have high cpu usage in the greeter using zodiac (expected because no hw acceleration), the usage drops as soon as I login.

I believe the high CPU usage while you are logged in is attributed to something else. Can you please show a screen shot of htop sorted by CPU usage once you are logged in?

TheSinding commented 7 years ago

Hrm, for some reason, it works now.. I'll send you if it does it again ..

But do you have an idea, on what the problem might be? I think the greeter might have been running in the bagground, for some reason

TheSinding commented 7 years ago

It did it agian https://ptpb.pw/Boqa.png

FallingSnow commented 7 years ago

Hmm, your right, that is strange. You're using Zodiac as your background in the greeter correct?

TheSinding commented 7 years ago

Yup.. But now thinking about this.. I thinks its more of a lightdm problem, only local to my machine.. It does this after my laptop have been sleeping, then when i log in, it looks like the lightdm crashes, and recovers, then I have to log in again.

FallingSnow commented 7 years ago

Him, I can write kind of a hacky fix that would just pause Zodiac after a correct login is made. But your lightdm problem will still persist, just without the 100% cpu caused by Zodiac.

Let me know if that would be the easiest route for you.

TheSinding commented 7 years ago

I should fix my lightdm, there is actually nothing wrong with your code..