8

I'm having a very noticeable mouse lag when my CPU usage spikes up to %100 or between %90 and %100, this happens when I open a project in visual studio, or when building a project, or when rendering a gif, so different operations, same problem. The weird thing is it doesn't happen when I'm doing stress test with AIDA64. My specs are:

  • OS: Windows 10 64 bit, build 1703
  • CPU: Intel i7 7700k @4.8 GHZ
  • Ram: Corsair 2x16 3000 MHZ
  • GPU: Nvidia 1080TI

My cpu is overclocked but I don't think it causes this, because I had the same issue when I didn't overclock the CPU. All of my drivers are up to date and there is no unknown device in device manager, so how can I find what is causing this lag and fix it ?

7
  • In my experience, this is normal behaviour. I came to conclude that CPU is needed to make the mouse cursor move. Maybe your test only stresses parts of the CPU that are not involved in controlling mouse movement.
    – simlev
    Commented Jul 20, 2017 at 13:48
  • open cmd.exe as admin and run wpr.exe -start CPU -start ReferenceSet -filemode && timeout -1 && wpr.exe -stop C:\HighCPUUsage.etl now try to capture the mouse hangs while the CPU is at 100%. Zip the ETL + NGENPDB folder, share the zip on OneDrive. Commented Jul 20, 2017 at 14:55
  • This smells vaguely like "24 Cores and the Mouse Won't Move: Engineer Diagnoses Windows 10 Bug" that was just published last week. Commented Jul 21, 2017 at 17:57
  • @magicandre1981 I did but the generated ETL file is so large, I recorded for like 1 minute and it's 6GB. Commented Jul 23, 2017 at 14:41
  • compress it as 7z and only try to capture 30s to have smaller files Commented Jul 23, 2017 at 15:36

3 Answers 3

4

To capture the CPU usage in Windows 10, open cmd.exe as admin and run wpr.exe -start CPU -start ReferenceSet -filemode && timeout -1 && wpr.exe -stop C:\HighCPUUsage.etl and when you captured 30-60s of the lags press a key to stop the logging.

Now load the generated C:\HighCPUUsage.etl in WPA.exe (You need to install the Windows Performance Toolkit from the Windows 10 SDK) by doing a double click on it.

Drag & drop the graph CPU Usage (Sampled) from the left side under Computation to the Analysis pane

enter image description here

and change the view to DPC and ISR Usage

enter image description here

Configure and load debug symbols in WPA.exe and extand the stack of ntoskrnl.exe and under ntoskrnl.exe!KiExecuteAllDpcs I see calls of sshid.sys and other Microsoft Mouse/keyboard drivers. sshid.sys also seams to be a mouse/keyboard driver. so update the driver or use the default MS drivers which provide only basic features.

While executing DPCs the whole system is blocked and this could cause your lags.

4

just sharing my experience as I searched multiple forums about this topic.

For me, this definitively solved the issue : deactivating startup load of every instance of "RtkAudUService64.exe", until there is no more any instance of it in the Task Manager after reboot.

1
  • 2
    The same solution worked for me
    – EugZol
    Commented Aug 31, 2021 at 23:25
1

I just found out yesterday that Logitech G-Hub caused all my problems with laggy mouse, and stuttering mouse when running specific programs.

And according to the internet, Logitech Gaming Software is likely to cause the same problems.

I tried different polling rates and DPI's without fixing the problem. but as soon as i closed G-Hub the problems went away.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .