Bug 493120 - mouse freezes for 0.5sec while moving .
Summary: mouse freezes for 0.5sec while moving .
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: performance (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-14 12:45 UTC by Elie Dadde
Modified: 2025-05-15 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elie Dadde 2024-09-14 12:45:39 UTC
Hello ,



STEPS TO REPRODUCE
1.  Install Age Of Mythology Retold , Age Of Empire 3:DE 
2.  Open A Skirmish Map , PLay, Move the mouse  it freezes for 0.5second then move again , u will notice it  easy.
3. 

OBSERVED RESULT

Specs 



EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows:  
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version:  tested in 6.1.x , 6.2- Beta
KDE Frameworks Version: 
Qt Version: 6.7

ADDITIONAL INFORMATION
my system spec , currently running gnome 
elias@WeedBox:~> inxi -S -G 
System:
  Host: WeedBox Kernel: 6.10.10-lqx1-1-liquorix arch: x86_64 bits: 64
  Desktop: GNOME v: 46.4 Distro: openSUSE Tumbleweed 20240912
Graphics:
  Device-1: NVIDIA AD102 [GeForce RTX 4090] driver: nvidia v: 560.35.03
  Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia
    resolution: 3840x2160
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland
elias@WeedBox:~> inxi -S -G  -C
System:
  Host: WeedBox Kernel: 6.10.10-lqx1-1-liquorix arch: x86_64 bits: 64
  Desktop: GNOME v: 46.4 Distro: openSUSE Tumbleweed 20240912
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
    L2: 16 MiB
  Speed (MHz): avg: 5500 min/max: 545/6070 cores: 1: 5500 2: 5500 3: 5500
    4: 5500 5: 5500 6: 5500 7: 5500 8: 5500 9: 5500 10: 5500 11: 5500 12: 5500
    13: 5500 14: 5500 15: 5500 16: 5500 17: 5500 18: 5500 19: 5500 20: 5500
    21: 5500 22: 5500 23: 5500 24: 5500 25: 5500 26: 5500 27: 5500 28: 5500
    29: 5500 30: 5500 31: 5500 32: 5500
Graphics:
  Device-1: NVIDIA AD102 [GeForce RTX 4090] driver: nvidia v: 560.35.03
  Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia
    resolution: 3840x2160
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland
elias@WeedBox:~>

Note : This was tested on different kernel , also tested with Mesa-nvidia driver and nvidia driver both from opensuse and nvidia . Works fine under X11 .
Comment 1 Vlad Zahorodnii 2024-09-17 11:30:13 UTC
If you force software cursor by setting the KWIN_FORCE_SW_CURSOR=1 envvar, is it better?
Comment 2 Elie Dadde 2024-09-22 16:58:29 UTC
(In reply to Vlad Zahorodnii from comment #1)
> If you force software cursor by setting the KWIN_FORCE_SW_CURSOR=1 envvar,
> is it better?

Updating kde 6.2 at the moment , will recheck once the DE is up again  and will update the post .
Comment 3 Elie Dadde 2024-09-22 21:38:49 UTC
(In reply to Elie Dadde from comment #2)
> (In reply to Vlad Zahorodnii from comment #1)
> > If you force software cursor by setting the KWIN_FORCE_SW_CURSOR=1 envvar,
> > is it better?
> 
> Updating kde 6.2 at the moment , will recheck once the DE is up again  and
> will update the post .

Nope , didn't help.
Comment 4 TraceyC 2025-04-15 14:25:40 UTC
i'm sorry we weren't able to get to this yet. Can you please re-test to see if this is still an issue in plasma 6.3.4?

If it is, do the stutters correspond to disk read/writes? This can be seen if you move the mouse around during system updates or when copying a lot of files, or running the game
You can also use something like iotop on command line to see if the problem happens when there's a lot of disk activity.

If the bug is seen with disk activity this is likely a duplicate of bug 495695
Comment 5 Bug Janitor Service 2025-04-30 03:47:27 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-05-15 03:46:49 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.