[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=484323

xha...@gmail.com changed:

   What|Removed |Added

 CC||xha...@gmail.com

--- Comment #31 from xha...@gmail.com ---
I have the same issue on Manjaro, high CPU usage on locked screen after whole
system upgrade that includes plasma-desktop 6.0.4-1

(In reply to Kevin Krammer from comment #24)
> > When I kill kwin_x11 or call it manually with --replace then the CPU load
That solution eliminated high CPU usage for me.

(In reply to Kevin Krammer from comment #24)
> Disabling KScreen2 also works  to avoid the issue.
This didn't helped.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-04 Thread Daniel DS
https://bugs.kde.org/show_bug.cgi?id=484323

Daniel DS  changed:

   What|Removed |Added

 CC||stoyanov.dan...@gmail.com

--- Comment #30 from Daniel DS  ---
Same issue here with me with plasma 6.0.4 on Fedora 40.  Disabling KScreen2 did
the trick for me as well.

Before somebody stat commenting that F40 KDE cannot run on X - actually this is
not the truth. F40 KDE is capable of running "the hidden" X11 session option
via manually installing package plasma-workspace-x11 and sddm-x11. These 
packages are  part of the official repos.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Barry
https://bugs.kde.org/show_bug.cgi?id=484323

Barry  changed:

   What|Removed |Added

 CC||brr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Francisco
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #29 from Francisco  ---
(In reply to Kevin Krammer from comment #24)
> Disabling KScreen2 also works  to avoid the issue.

Confirmed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #28 from Kevin Krammer  ---
(In reply to Zamundaaa from comment #27)
> KScreen being stopped preventing this isn't too surprising, as it can
> trigger output changes and that seems to be what's using so much CPU, but
> > or call it manually with --replace then the CPU load does no longer exceed 
> > normal levels
> very much is. I don't really have an explanation for that one

If only "kwin_x11 --replace" had worked my guess would have been a difference
in environment due to being launched from an interactive shell rather than some
session manager.

But since killing it and having it restarted (by systemd?) also works as a
"solution" that's probably not it.

Could it be the order in which different components are started?
Like trying to detect a D-Bus service, but failing, and falling back to some
alternative code path, while succeeding when being restarted?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=484323

Zamundaaa  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED

--- Comment #27 from Zamundaaa  ---
KScreen being stopped preventing this isn't too surprising, as it can trigger
output changes and that seems to be what's using so much CPU, but
> or call it manually with --replace then the CPU load does no longer exceed 
> normal levels
very much is. I don't really have an explanation for that one

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #26 from Kevin Krammer  ---
(In reply to Petr Tesařík from comment #25)
> (In reply to Kevin Krammer from comment #24)
> > Disabling KScreen2 also works  to avoid the issue.
> 
> Did you disable the service, log out and log in? Because I stopped the
> KScreen2 service (without a new login), and that was not sufficient to fix
> the issue for me.

Yes, indeed.
I disabled KScreen2 and logged out and back in.
Locking that session did not cause the CPU load to go up (verified by being
logged in via SSH from a second computer)

But in that session the order of monitors was not as expected, so I am back to
having KScreen2 enabled and killing kwin_x11 once after login

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Petr Tesařík
https://bugs.kde.org/show_bug.cgi?id=484323

Petr Tesařík  changed:

   What|Removed |Added

 CC||p...@tesarici.cz

--- Comment #25 from Petr Tesařík  ---
(In reply to Kevin Krammer from comment #24)
> Disabling KScreen2 also works  to avoid the issue.

Did you disable the service, log out and log in? Because I stopped the KScreen2
service (without a new login), and that was not sufficient to fix the issue for
me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #24 from Kevin Krammer  ---
(In reply to Kevin Krammer from comment #22)
> (In reply to Zamundaaa from comment #21)
> > Does this still happen if you
> > 1. kill kwin_x11 before locking the screen?
> 
> When I kill kwin_x11 or call it manually with --replace then the CPU load
> does no longer exceed normal levels.
> 
> > 2. or disable KScreen2 in the background services settings page?
> 
> Will try next time I re-login

Disabling KScreen2 also works  to avoid the issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #23 from hc6...@pm.me ---
(In reply to Zamundaaa from comment #21)
> Does this still happen if you

Just tested without changing tty or any settings.
The excessive cpu use is gone here.
There must have been an update that removed the bug

System:
  Kernel: 6.8.8-arch1-1 arch: x86_64
  Desktop: KDE Plasma v: 6.0.4 Distro: EndeavourOS

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-02 Thread outloudvi
https://bugs.kde.org/show_bug.cgi?id=484323

outloudvi  changed:

   What|Removed |Added

 CC||i...@outv.im

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-02 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=484323

--- Comment #22 from Kevin Krammer  ---
(In reply to Zamundaaa from comment #21)
> Does this still happen if you
> 1. kill kwin_x11 before locking the screen?

When I kill kwin_x11 or call it manually with --replace then the CPU load does
no longer exceed normal levels.

> 2. or disable KScreen2 in the background services settings page?

Will try next time I re-login

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-02 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=484323

Zamundaaa  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|CONFIRMED   |NEEDSINFO

--- Comment #21 from Zamundaaa  ---
Does this still happen if you
1. kill kwin_x11 before locking the screen?
2. or disable KScreen2 in the background services settings page?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 484323] High CPU load of kwin_x11 when locking or turning off the screen

2024-05-02 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=484323

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com
Summary|High CPU load of kwin_x11   |High CPU load of kwin_x11
   |when locking the screen |when locking or turning off
   ||the screen

-- 
You are receiving this mail because:
You are watching all bug changes.