[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-15 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #21 from Dashon  ---
Created attachment 170524
  --> https://bugs.kde.org/attachment.cgi?id=170524=edit
Video of htop taken on my phone.

Here is one more video, but taken on my phone. As mentioned before, when other
cpu intensive tasks are running. The kwin_wayland process doesn't use as much
cpu. In this video, you will see the kwin-wayland process using more cpu than
the main firefox process while I am trying to watch a video. That is despite
hardware acceleration being in use.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-15 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #20 from Dashon  ---
Created attachment 170512
  --> https://bugs.kde.org/attachment.cgi?id=170512=edit
Screen Recording of htop as I move the mosue around.

kwin seems to use less cpu when another cpu intensive process is running, but
this screen recording should still show the spike that is happening. In
general, I notice kwin using more resources cpu and gpu when moving the mouse,
windows, or watching videos that say gnome or xfce. This lead me to believe
that there may be some kind of performance issue lurking about. On the
aforementioned desktops. There respective compositors' do not use enough
resources to make it to the top of various resource monitoring utilities such
as htop or intel_gpu_top in most cases. For this reason, I am extremely
interested in debugging this issue further.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-12 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #19 from Dashon  ---
Created attachment 170415
  --> https://bugs.kde.org/attachment.cgi?id=170415=edit
hotspot flamegraph firefox playback

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-12 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #18 from Dashon  ---
Well it looks like the file generated by hotspot is too big, so for now I'll
just post screenshots of the flamegraph. If there is another way to send you
the perf.data.perfparser files then let me know and if there are any other logs
you need. Let me know too.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-12 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #17 from Dashon  ---
Created attachment 170413
  --> https://bugs.kde.org/attachment.cgi?id=170413=edit
hotspot flamegraph screenshot

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-12 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #16 from Dashon  ---
I believe I am also seeing a similar issue where moving the cursor or really
any kind of movement seems to cause spikes in cpu usage for the kwin_wayland
process. I especially notice this during video playback during firefox. I have
downloaded the appimage for hotspot and I'm not sure if I did everything
correctly, but I will try to save and submit the file it produced when I
attached to the kwin_wayland process. During the test I mostly triggered the
overview, moved the mouse, and scrolled through the desktops. I'll do another
test with video playback in firefox and then submit that later.

System Info:
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-06-12 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=480885

Dashon  changed:

   What|Removed |Added

 CC||dashonww...@pm.me

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

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

Zamundaaa  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |---
 Status|RESOLVED|REPORTED

--- Comment #15 from Zamundaaa  ---
Sorry, I don't know how to do it on Neon either; it "just works" on Fedora and
Arch

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-05-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480885

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #14 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-05-05 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #13 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-04-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #12 from feat...@engineer.com ---
Hi, I'd really like to help figure out why I'm seeing this increased CPU usage,
but I couldn't figure out how to make perf show the relevant binary name and
function name... Even when adding the debug info server, I wasn't able to see
it in hotspot. I would appreciate it if anyone could help me setup my machine
to be able to debug this properly.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-04-17 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #11 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

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

--- Comment #10 from feat...@engineer.com ---
Can you help me setting KDE Neon to have the debug symbols needed to profile
this?

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-03-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #9 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

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

--- Comment #8 from feat...@engineer.com ---
What do I need to do to have these debug symbols? I'm using Neon

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

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

--- Comment #7 from Zamundaaa  ---
Yeah, we definitely need a flamegraph with debug symbols for plasmashell and Qt
at least, this unfortunately doesn't look useful

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #6 from feat...@engineer.com ---
Created attachment 166085
  --> https://bugs.kde.org/attachment.cgi?id=166085=edit
Screenshot of hotspot

I don't really know how to make sense of this, especially with the missing
debug symbols... But here's the flame graph.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

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

Zamundaaa  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #5 from Zamundaaa  ---
Can't reproduce; I get around 5% combined CPU usage kwin_wayland + plasmashell
when moving the cursor over the desktop with a 12k DPI mouse.
If you can consistently see this high CPU usage, you could try finding out
what's causing it in kwin with hotspot (https://github.com/KDAB/hotspot). Just
record a trace of the kwin_wayland process, and check if any single function
call looks conspicuous in the flame graph.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=480885

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #4 from Nate Graham  ---
Thanks.

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #3 from feat...@engineer.com ---
With regards to the increased kwin_wayland cpu usage on my latest reply (as
compared to my first one): it stemmed from the fps desktop effect - when I
turned it off, the figures returned to the ones I have reported initially, that
is to say, the nvidia driver didn't make it worse (nor better).

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=480885

--- Comment #2 from feat...@engineer.com ---
(In reply to Nate Graham from comment #1)
> Does the issue go away if you use the proprietary drivers, rather than
> Nouveau?

No. I've installed the nvidia drivers using ubuntu-drivers, it's still using up
about the same amount of CPU.

The only difference is that now even on idle kwin_wayland uses 20% CPU, and
nv_queue uses 15% CPU.
When moving the mouse kwin_wayland now uses almost 50% CPU, the window under
the cursor still uses around 20%, and nv_queue uses about 10% CPU.

Here's the updated system details:

System:
  Kernel: 6.5.0-15-generic x86_64 bits: 64 compiler: N/A
Desktop: KDE Plasma 6.0.80 Distro: KDE neon 22.04 Unstable Edition
base: Ubuntu 22.04 LTS Jammy
Machine:
  Type: Desktop System: Dell product: Precision 3630 Tower v: N/A
serial: 
  Mobo: Dell model: 0NNNCT v: A01 serial:  UEFI: Dell
v: 2.26.0 date: 12/08/2023
CPU:
  Info: 6-core model: Intel Core i7-8700 bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 1170 high: 4354 min/max: 800/4600 cores: 1: 900 2: 900
3: 851 4: 900 5: 800 6: 800 7: 1039 8: 900 9: 832 10: 4354 11: 966 12: 800
bogomips: 76799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630]
vendor: Dell CometLake-S driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GP104 [GeForce GTX 1080] vendor: Dell driver: nvidia
v: 535.154.05 bus-ID: 01:00.0
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 23.2.3
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa gpu: i915,nvidia resolution: 1920x1080
  OpenGL: renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2
v: 4.6.0 NVIDIA 535.154.05 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA GP104 High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k6.5.0-15-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
bus-ID: 00:17.0
Drives:
  Local Storage: total: 476.94 GiB used: 9.68 GiB (2.0%)
  ID-1: /dev/sda vendor: Micron model: 1100 SATA 512GB size: 476.94 GiB
Partition:
  ID-1: / size: 19.12 GiB used: 9.59 GiB (50.2%) fs: ext4 dev: /dev/sda6
  ID-2: /boot/efi size: 646 MiB used: 90.2 MiB (14.0%) fs: vfat
dev: /dev/sda1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 39.0 C pch: 47.0 C mobo: 39.0 C
  Fan Speeds (RPM): cpu: 1569 fan-2: 859
Info:
  Processes: 279 Uptime: 2m Memory: 31.17 GiB used: 2.42 GiB (7.8%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2181 Shell: Bash
  v: 5.1.16 inxi: 3.3.13

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=480885

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO
 CC||n...@kde.org,
   ||xaver.h...@gmail.com

--- Comment #1 from Nate Graham  ---
Does the issue go away if you use the proprietary drivers, rather than Nouveau?

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

[kwin] [Bug 480885] High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor

2024-02-05 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=480885

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

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