Start a Conversation

Solved!

Go to Solution

57635

February 7th, 2019 10:00

XPS 15-9570, mouse/keyboard lag, repeating keys

Hi,

I have a Dell XP 9570 i9 (HD) which I've only had for a couple of weeks. Apart from not waking from sleep which I've managed to cure I have terrible lag with my external USB keyboard and mouse. Initially I thought it might be the StarTech dock I was using but some testing has led me to believe it is a hardware/software issue with the Laptop.

The symptom is that as I type for a few seconds it will be fine and then it starts to lag and then it repeats keys. Eventually it settles down and then the issue starts again.

I have tried:

  • Keyboard plugged into a StarTech dock (I have 2 and have tried both).
  • Keyboard plugged into an old pluggable USB 2 hub which worked flawlessly for years with my old laptop.
  • Keyboard plugged directly into the Laptop - this seems to rule out the docks.
  • Two different keyboards - I have a wireless logitech at work and a wired QPad at home.
  • The StarTech dock is the USB3 one that allows 2 devices to share peripherals and display (KVM) and the other device I have attached is a small Dell PC and the keyboard works fine with that when plugged into the dock.
  • I have run Dell and Windows updates and updated everything including the BIOS (1.7.0).
  • I have disabled USB selective suspend in case it was that.
  • I have disabled Panel Self-Refresh in the Intel graphics control program as there some reports I found that suggested that as a possible culprit.

I'm not sure where else to go with this, but given that I know my docks work with other Laptops/PCs with the same keyboard(s) it MUST be related to the laptop software orhardware.

When you have access to important data a repeating delete key can be disasterous.

Thanks,

LJ.

June 20th, 2019 16:00

@robert p Yep same as for the others on this thread it seems disabling the c-states hides the problem. I'm not sure yet what the impact of that will be on battery life.

It would seem under low load situations, several/all? of the CPU cores are being put into lower sleep states, leaving the system unable to respond in a timely way to real-time demands - eg keystrokes on the USB bus (and Bluetooth given what @IvanBernatovic noticed). 

I guess the question becomes - are there similar complaints for all the other modern laptops with CPUs supporting these sleep states or what has dell done differently to be more affected by this and can it be fixed under firmware or driver update?

9.4K Posts

June 21st, 2019 03:00

Hi michael_wbs,

Thanks for your reply.  Yes, if it becomes prevalent that this is an issue, I'm sure the development team will provide a solution with either a driver or firmware update.  Just keep checking the BIOS updates for your computer to see if they address your issue.

June 21st, 2019 03:00

@robert pThanks, can you confirm whether or not the development team are actively looking at this?
Thanks,
LJ

June 24th, 2019 16:00

Yep, I've also previously (via reddit) sent DELL support this list of similar issues:

https://www.dell.com/community/Latitude/5591-USB-dock-keys-repeated-mouse-lags-w-BIOS-C-states/td-p/7248030
https://community.spiceworks.com/topic/1977309-repeating-keystrokes-dell-setup
https://www.dell.com/community/XPS/Dell-XPS-15-9570-mouse-keyboard-lag-and-repeating-keys/m-p/723570
https://www.dell.com/community/Latitude/Thunderbolt-TB16-Latitude-5591-USB-lag-and-freeze/td-p/61978
https://www.dell.com/community/XPS/Mouse-cursor-lagging-and-stuttering-XPS-9370/td-p/5739882/
https://www.dell.com/community/Latitude/Dell-Latitude-7490-Bios-1-8-0-causes-USB-problems/m-p/719426 
ttps://www.dell.com/community/Laptops-General-Read-Only/Mouse-keyboard-problems-with-latest-USB-drivers-on-TB16-and-5510/td-p/5085638/page/2
https://www.reddit.com/r/Dell/comments/9my2yh/xps_15_9570_external_keyboard_issues_w_tb16_or/
https://www.reddit.com/r/Dell/comments/5qydpb/keyboard_repeat_issues_wdell_xps_15_9560/
https://www.reddit.com/r/Dell/comments/a3sm94/does_anyone_else_have_tremendous_problems_with/
https://www.reddit.com/r/Dell/comments/9c7yao/very_strange_keyboard_tb16_issue_with_xps_9575/

There's an awful lot of smoke here not to be any fire

Does anyone know a way of turning off selected c-states only? I see the overclockers get down to that level but not sure if that's through options available in their bios where we dont have that sort of granularity or if there's some tools available to do it. 

These are also interesting reads:

http://www.ids-imaging.com/frontend/files/AN_AB.1.0024_USB-BandwidthCurrentCPUs.pdf  (this was dated 2010 so you'd like to think the issue would have been solved by now!)
 
What's interesting to me is why our laptop seems to be worse affected than others with the same OS and processors - eg is dell more aggressive on sleep states chasing better battery life? Or are there similar issues being reported for the others too?

July 9th, 2019 09:00

I can't replicate the issue if I run Windows in safe mode. I tried clean boot mode (basically disabled all 3rd party services) and I managed to reproduce the issue. I have a question for all of you that are experiencing this.

Did you try to install fresh Windows to fix this or you are running Dell's preinstalled Windows image?

1 Rookie

 • 

28 Posts

July 9th, 2019 10:00

If you apply this Dell USB-C patch to the system, does that help? --> https://downloads.dell.com/FOLDER03471411M/13/Dell_Dock_USB_TYPE-C_PATCH_2K0JJ_A00_SETUP_ZPE.exe  

This .EXE is a batch file that makes a small registry change for the power settings of the Intel Management Engine (Intel ME). 

Text of the batch file that the executable runs is (you can of course extract it yourself to verify):

"@echo off
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j

rem Win10 version: 10.0
rem Win8.1 version: 6.3
rem Win8 version: 6.2
if "%version%" == "10.0" goto CHECK_X64
if "%version%" == "6.3" goto CHECK_X64
if "%version%" == "6.2" goto CHECK_X64
goto NO_NEED_PATCH

:CHECK_X64
if not defined ProgramFiles(x86) goto NO_NEED_PATCH

:DISABLE_ME_PM
reg add HKLM\SYSTEM\CurrentControlSet\Services\MEIx64\Parameters\ /v PG_DISABLED /t REG_DWORD /d 1 /f
@echo Please reboot your system to make the patch take effect.
pause
goto END

rem Not Supported OS
:NO_NEED_PATCH
@echo This OS doesn't require this patch.
@echo Press the space key to exit.
pause
goto END

:END"

 

July 9th, 2019 11:00

@rboerner  Thank you very much, it seems that this works as I cannot reproduce the issue at all. Can you please elaborate what are the consequences of this (other than fixing my issue)? Quick research suggests that this disables so-called "Power Gating" which should probably slightly reduce battery life (I'm okay with that to a certain extent).

1 Message

January 3rd, 2020 14:00

USB-C patch did not work for me, but disabling C states did. It's a shame that there is no real fix for this.... Why? ...

2 Posts

January 14th, 2020 11:00

They just replaced my motherboard on my 9570 and still having issues with usb keyboard/mouse with lagging/repeating etc

 

I just had to do disable the c-state (I am also on the latest bios 1.15)

 

 

No Events found!

Top