TCPIP.sys / NDIS.sys causing my desync..?

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
Post Reply
ApexLeg
Posts: 85
Joined: 29 Nov 2023, 07:16

TCPIP.sys / NDIS.sys causing my desync..?

Post by ApexLeg » 23 Sep 2024, 09:43

I've been struggling mainly with desync for a long time in the majority of my games (I don't really suffer from floaty mouse any more), I've tried all sorts of tweaks which maybe work a little while and then just go back to normal. I recently discovered LatencyMon and been seeing what's going on there, whenever I do a speed test I'm getting either one of these literally choking out;
Image
Image

I was on a Realtek Family Ethernet Card but changed it to an Intel Gigabit CT Desktop adapter, but the same thing happens. All my drivers are up to date, Chipsets etc, any other network devices are either disabled or completely removed, moved from Win10 to Win11, I've tried all sorts of settings (Only thing that reduces it, is if I change my Speed and Duplex to something lower, but that's not good because I lose my 1gb internet speed). I've also ran this test without any USB devices connected, same thing happens still. When I'm gaming it's also the highest one possible. I've tried using Windows affinity tool and MSI Utility and set my ethernet card to another core with less stuff going on, it sort of helps but not a lot, I still get a lot of tcpip.sys happening on other cores.

At a complete loss as to what is causing it if anyone can help? I've no idea how to investigate it further.
Prime X570-P
Ryzen 5800X3D

User avatar
themagic
Posts: 470
Joined: 02 Jul 2024, 08:22

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by themagic » 23 Sep 2024, 10:26

Should dont normaly happen if everything default and fresh install windoof.

probably drivers or some other shit but idk and dont remember more how i fix that and there can probably many reasons for that spike...but fresh win install and bios default for sure should help.

get a clean ssd and just check and test again without install any driver and shit...and after you for sure figure out quick what the problem is or was. then install your network drivers and again test...

User avatar
kyube
Posts: 575
Joined: 29 Jan 2018, 12:03

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by kyube » 23 Sep 2024, 11:05

ApexLeg wrote:
23 Sep 2024, 09:43
I've been struggling mainly with desync for a long time in the majority of my games (I don't really suffer from floaty mouse any more), I've tried all sorts of tweaks which maybe work a little while and then just go back to normal. I recently discovered LatencyMon and been seeing what's going on there, whenever I do a speed test I'm getting either one of these literally choking out;
Image
Image

I was on a Realtek Family Ethernet Card but changed it to an Intel Gigabit CT Desktop adapter, but the same thing happens. All my drivers are up to date, Chipsets etc, any other network devices are either disabled or completely removed, moved from Win10 to Win11, I've tried all sorts of settings (Only thing that reduces it, is if I change my Speed and Duplex to something lower, but that's not good because I lose my 1gb internet speed). I've also ran this test without any USB devices connected, same thing happens still. When I'm gaming it's also the highest one possible. I've tried using Windows affinity tool and MSI Utility and set my ethernet card to another core with less stuff going on, it sort of helps but not a lot, I still get a lot of tcpip.sys happening on other cores.

At a complete loss as to what is causing it if anyone can help? I've no idea how to investigate it further.
Prime X570-P
Ryzen 5800X3D
You have to troubleshoot this by being more concrete, your vagueness doesn't help any troubleshooting attempts.
I'll give you a few baselines to consider:
- List your entire setup along with peripherals (CPU, GPU, Mobo, RAM, Cooling solution, SSD, PSU, Mouse, Monitor, Keyboard, anything else connected to PC)
- List your BIOS settings (and whether you've done some overclocking)
- List the driver versions for each controller you have (GPU, USB, Network, Chipset, Audio,...)
- List the settings you've applied to your networking adapter.
- Show msi_util and GoInterruptPolicy settings you've applied so we can see which controllers you've assigned to which core.
- List the environment you're using the PC in (what router you use, how many wireless devices you have around)
- Do you share your connection with someone in your household? Bufferbloat may be the cause of your desync
- Is your building older? Potential grounding issues may be an issue

Avoid using LatencyMon and use xperf for proper evaluation of driver performance.
That CT Adapter is unnecessary, just use stock Realtek onboard NIC (8111H) and use the appropriate driver (get it from Realtek site, 2023 was the last one iirc)
Last edited by kyube on 23 Sep 2024, 11:11, edited 1 time in total.

User avatar
Slender
Posts: 1657
Joined: 25 Jan 2020, 17:55

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by Slender » 23 Sep 2024, 11:08

that not, if you move ndis driver from 0st and 1st core you not see ndis anymore on main tab, haha

User avatar
themagic
Posts: 470
Joined: 02 Jul 2024, 08:22

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by themagic » 23 Sep 2024, 22:33

Okay i noticed that i have same Issue (is it rly a issue ?) and that even with Notebook. but only when doing Speedtests then the ndis.sys spikes up to 2000μs-4000μs...
Fresh new Install dont rly helps with that cause i have already one. I read that it maybe has something to do with Windows Versions or has something to do with Hardware...but dont rly know.
But even on my Notebook the same exact behavior happens and even if on Battery and all by default...


But i rly doubt that this all is the reason for desync/hitreg in online games cause while gaming online then the max ndis.sys in highest DPC spikes up to 200μs only and that is just = 0,2ms... :lol:

I understand it right ? cause μs = microseconds...

"Guidelines say that they should not spend more than 100 µs of execution time however this is often not reached due to hardware factors beyond the control of the driver developer. If execution time gets too high, the audio program may be unable to deliver audio buffers to the hardware in a timely manner."

I saw players way above that numbers and they feel much fine in online gaming without desync and constant bad hitreg and ferrari peek issues...so doubt hard that this is the problem. Most Nvdia drivers already by default has 500μs+ and more in highest DPC...

ahead
Posts: 216
Joined: 21 Jun 2023, 02:15

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by ahead » 24 Sep 2024, 03:06

ApexLeg wrote:
23 Sep 2024, 09:43
TCPIP.sys / NDIS.sys causing my desync..?
yes, delete these files, please.

ApexLeg
Posts: 85
Joined: 29 Nov 2023, 07:16

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by ApexLeg » 24 Sep 2024, 06:48

Sooooooooo anyway, I tried resetting all BIOS settings to default, still the same, amending a few, still the same issue. I decided to just plug my Realtek Ethernet back in and wow, no NDIS.SYS going crazy any more - I think it was probably one of the devices or one of the many other settings I'd changed somewhere, however I was still getting ridiculous spikes via TCPIP.SYS when speed testing, I found a really old thread on another forum from 10+ years ago stating that an AD block was causing it, so I decided to run a speedtest via Edge instead of Chrome and there you go, it wasn't spiking any more. So Chrome, or a plugin or something was causing huge TCPIP.SYS spikes when doing a speed test.

The only thing that spikes now is wdf01000.sys when opening up Apex, but during gameplay it didn't spike at all. I only played a couple of games as it was very late but will test properly, I also noticed I didn't get any audio blips at the Apex menu.
themagic wrote:
23 Sep 2024, 22:33
Okay i noticed that i have same Issue (is it rly a issue ?) and that even with Notebook. but only when doing Speedtests then the ndis.sys spikes up to 2000μs-4000μs...
Fresh new Install dont rly helps with that cause i have already one. I read that it maybe has something to do with Windows Versions or has something to do with Hardware...but dont rly know.
But even on my Notebook the same exact behavior happens and even if on Battery and all by default...
You using Chrome to do speedtest? As per my message above, if so, try using Edge. Chrome was causing it for me.

User avatar
themagic
Posts: 470
Joined: 02 Jul 2024, 08:22

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by themagic » 24 Sep 2024, 07:33

ApexLeg wrote:
24 Sep 2024, 06:48
Sooooooooo anyway, I tried resetting all BIOS settings to default, still the same, amending a few, still the same issue. I decided to just plug my Realtek Ethernet back in and wow, no NDIS.SYS going crazy any more - I think it was probably one of the devices or one of the many other settings I'd changed somewhere, however I was still getting ridiculous spikes via TCPIP.SYS when speed testing, I found a really old thread on another forum from 10+ years ago stating that an AD block was causing it, so I decided to run a speedtest via Edge instead of Chrome and there you go, it wasn't spiking any more. So Chrome, or a plugin or something was causing huge TCPIP.SYS spikes when doing a speed test.

The only thing that spikes now is wdf01000.sys when opening up Apex, but during gameplay it didn't spike at all. I only played a couple of games as it was very late but will test properly, I also noticed I didn't get any audio blips at the Apex menu.
themagic wrote:
23 Sep 2024, 22:33
Okay i noticed that i have same Issue (is it rly a issue ?) and that even with Notebook. but only when doing Speedtests then the ndis.sys spikes up to 2000μs-4000μs...
Fresh new Install dont rly helps with that cause i have already one. I read that it maybe has something to do with Windows Versions or has something to do with Hardware...but dont rly know.
But even on my Notebook the same exact behavior happens and even if on Battery and all by default...
You using Chrome to do speedtest? As per my message above, if so, try using Edge. Chrome was causing it for me.
Used Opera but will try...but yes sounds believeable that browsers or some shit in that can mess up with ndis and tcpip while speedtest.

I noticed sometimes problem with browsers here and adblocks or other addons..after fresh install everything working quick and fast but after some time even browser like Edge or Opera start to lag and becoming slow and pain to work with...especially then when many tabs are open while having 32gb ram 3200mhz and processor barerly uses usage. but still shit happens from time to time and watching or just scrolling through youtube becomes pure stutter and lag hell...

ApexLeg
Posts: 85
Joined: 29 Nov 2023, 07:16

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by ApexLeg » 26 Sep 2024, 07:55

So after some more testing and investigating, I can 100% say that the latest 2024 driver for Realtek Ethernet Family Controller causes massive ndis.sys spikes when doing a speedtest in any browser - rolling back to a 2021 driver fixes it completely.

Been playing lots of Apex and it's markedly a lot better, desync is nowhere near as bad as what it was. However after a few games something does go awry and wdf01000.sys spikes over 1000ms, which I've noticed when I'm playing Apex it feels like it's desyncing. Gonna try DDU once more and test again.

MorganHart
Posts: 3
Joined: 12 Apr 2024, 01:11

Re: TCPIP.sys / NDIS.sys causing my desync..?

Post by MorganHart » 11 Oct 2024, 02:39

Thank you @kyube, I will do it as you said and still if I want to know more, I will ask by starting my own thread. I am sorry for jumping over here.

Post Reply