Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: propheticus on November 23, 2013, 02:46:38 AM

Title: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on November 23, 2013, 02:46:38 AM
After an uptime of several hours my pc's audio would become choppy and started crackling whenever I would load a webpage. Listening to music while surfing became very annoying. After running the LatencyMon app I found the main culprit to be the NDIS.SYS driver which is responsible for the on-board Realtek GBe PCIe NIC. The DPC latencies would spike each time network traffic was active.
While googling I found some people pointing to the BFE as a possible culprit. Disabling and re-enabling the base filtering engine service did cause the same stuttering as the network traffic did, but it did not (temporarily) solve the crackle like it did for some others. The only remedy was rebooting the pc.
Using a torrent client seemed to make the effect occur sooner. So I then wondered if Avast's web shield could be the source of the issue (knowing BFE is used for filtering/safety features) and uninstalled Avast to test this. Lo and behold; No more sound crackle!

Long story short: uninstalling Avast solved my sound stutter/crackling with network traffic after a long system up-time.

Until this is fixed I'll use Windows 8.1's built in Defender as my virus scanner and Windows firewall as my firewall so that I'm able to enjoy my music.

Win 8.1 pro N x64
Avast internet security 2014.9.0.2008
Realtek RTL 8168 NIC (on gigabyte ga-p35c-ds3r)

p.s.: Before you ask. Yes all my drivers were up to date. I cleaned all drivers residues and tried the latest realtek drivers as well as window's own drivers (device manager: remove hardware -> then add new hardware driver download dialogue). Neither solved the issue.


EDIT: Removing the firewall (http://forum.avast.com/index.php?topic=141407.0) from avast solved the issue for now. Consider this option if you are faced with the same issue and nothing else helps!
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on November 24, 2013, 07:28:49 PM
Still no crackling sound after 17 hours of uptime, several sleep/wake cycles, torrenting, browsing and http downloads etc, etc.... I'm pretty sure uninstalling Avast IS 2014 is what finally solved the problem I could not fix by uninstalling->cleaning->reinstalling Avast and/or network+audio drivers.

To Users with audio issues: Beware, Avast could be the cause
To the Developers: Heads up, Windows 8.1 + Avast IS 2014 causes issues (High DPC routine execution time in NDIS.sys driver which causes sound stuttering/crackling and choppy video/games. Possibly related to Base filtering engine -> firewall?)

*edit: to be more precise, I suspect the Firewall function. I've reinstalled Avast! IS without the firewall and so far no issues...
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: lexus232 on December 06, 2013, 12:18:56 AM
are devs aware of this bug?
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 06, 2013, 12:56:41 AM
Honestly, I'm not getting the impression they are...
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: Alikhan on December 06, 2013, 12:58:56 AM
Honestly, I'm not getting the impression they are...

Have you tried checking if there are any "corrupt" Avast NDIS drivers in Device Manager... You'll need to see the hidden plug'n'play folder IIRC.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 06, 2013, 01:26:32 AM
Nope, no corrupt drivers/devices. Not one question mark or exclamation point (with view ->  "show hidden devices" ticked on)

I've submitted a ticket drawing their attention to the firewall issues.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: Zdenek on December 06, 2013, 08:47:26 AM
Please, can you check if your NIC driver (Realtek) is latest available for your OS? If not, please try to upgrade the driver and check results.

Thanx
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: Andrey,pro on December 06, 2013, 08:59:48 AM
Hi Zdenek,
 
User tried to update all drivers on his PC but still no luck. Removing firewall will solve sound problem, we have already tried to use the latest beta but still no luck. And both users in Russian subforum with this issue have windows 8.1 installed. Users said that sound crackling appears only after 2-3 hours after turning PC on.
You can watch video with this issue here: http://youtu.be/1JkdnSrZqRI

We have already reported about this issue here: http://forum.avast.com/index.php?topic=141407.0
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 06, 2013, 10:58:19 AM
Please, can you check if your NIC driver (Realtek) is latest available for your OS? If not, please try to upgrade the driver and check results.

Thanx

Yes, I've installed (after removing old drivers and cleaning remnants with driver fusion) the latest drivers from their site (http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false). The newest drivers for win 8.1 are from 26 november, I've installed the latest drivers last Sunday. The reported driver version in device manager: 8.20.815.2013.
p.s.: Before you ask. Yes all my drivers were up to date. I cleaned all drivers residues and tried the latest realtek drivers as well as window's own drivers (device manager: remove hardware -> then add new hardware driver download dialogue). Neither solved the issue.
This did not solve anything. Only removing the firewall does.

I understand you need to trouble-shoot this and eliminate all possible causes, but I'm an ICT expert that normally fixes problems like these for clients... You can expect me to have updated every driver/program before even posting about the problem here. I've even tried disabling ipv6 in the adapter settings, disabling CPU-throttling and core parking*, disabling all power saving features*, using Microsoft update supplied default NIC drivers, etc, etc.
*: known to be possible causes of DPC spikes.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: dqdb on December 06, 2013, 08:12:44 PM
Problem confirmed on Windows 8 x64 in 2014.9.0.2008 and on Windows 8.1 x64 (it was a clean reinstall, not an upgrade) in 2014.9.0.2008 and 2014.9.0.2009. The network adapter is a Marvell Yukon 88E8056 with latest drivers installed, so it is not a Realtek-only issue.

Without using hibernation the problem occurs after 7-8 hours uptime, and after resuming from a hibernation audio glitches appear almost immediately and over time, more and more often occurs. On-board sound card behaves a bit better than a USB audio device.

Today morning I uninstalled the firewall part of Avast (Control Panel > Add/Remove Programs > Change > unchecked the feature > restart) and it seems everything is ok  (or only for now?).
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: Andrey,pro on December 07, 2013, 03:23:26 PM
We found a solution, disabling port scan detection in firewall settings will solve sound problems. Hope, it'll be fixed soon.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 07, 2013, 03:41:56 PM
Not needed anyway, my router already has port attack detection (anti DDOS & portscan) features. I've been free of problems after >2 days uptime without the Avast firewall now. I'll try your suggestion, install the firewall again and disable the port scanning. I'll monitor my DPC latency and sound problems the next couple of days to see if the problems don't return.

Thanks for sharing the info!


edit: too bad, installing the Avast firewall with port scan detection disabled still resulted in issues. See screenshots for the situation when I'm downloading via torrent + browsing in Chrome. Problems are in ndis.sys & aswNdisFlt.sys and to a lesser extent tcip.sys and NETIO.SYS. These problems don't go away with the AOS browser extension disabled. I'm removing the Avast firewall again....

edit2: see third picture for same situation, all the same programs opened but without Avast firewall (Windows firewall is ON). All is okay again and DPC stays low.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: dqdb on December 08, 2013, 06:16:02 PM
We found a solution, disabling port scan detection in firewall settings will solve sound problems.
No, it doesn't.

I have similar LatencyMon results like propheticus. DPC is much higher immediately after boot with Avast firewall (3-4x than without it).
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: Andrey,pro on December 10, 2013, 01:03:04 PM
Hi guys,

it's working only for one user which had similar problem (but he had sound crackling only after 2-3 hours after turning PC on, disabling port scan detection in firewall settings solved his sound problem), but it's not working for other users. So, I don't know any way how to fix this bug except it'll be fixed by avast! team.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: dqdb on December 14, 2013, 03:08:40 PM
2014.9.0.2010: same issue after only 3 hours.

My trial period ends Tuesday so I remove Avast and end up hoping testing. I'm trying to replace a very buggy KIS on all family computers after that license expires in January, but ironically the competitors seem to be buggy on the same level (Avast is not the first entry on the failed list).
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 14, 2013, 04:58:31 PM
I can reproduce this issue almost immediately after rebooting by starting a Torrent client (qBittorrent) and browse the web (Chrome) at the same time. The new beta version 9.0.2010 did not chance this.
Title: Re: DPC latency issue (ndis.sys driver?) with network traffic
Post by: propheticus on December 24, 2013, 01:24:41 AM
Just an update that version 9.0.2011 did not solve this issue. The Avast firewall is still b0rked and causes massive DPC spikes while the standard windows 8.1 pro firewall does not.


What kind of info would you need from me to be able to identify the problem within the AIS 2014 firewall? A processdump, logfiles, etc? I'd gladly provide info.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Magnik on February 13, 2014, 04:51:16 PM
Bump
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on February 13, 2014, 09:02:26 PM
What Magnik is probably trying to say is that this issue is still present in the latest version (9.0.2013), and I concur.
This problem hasn't been solved!
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: PaulRym on February 25, 2014, 01:24:41 AM
I have just installed Avast Internet Security today and I also encountered this issue. It doesnt matter with what I play audio, the crackling always appears while browsing web pages or mostly any other what nots like that.

Disabling the firewall or the port scan detection did not help.
This needs to be addressed, meanwhile I will have to revert to Avast Free Antivirus which I have been using for a long time without any issues.
It will probably be a while, which makes my license useless in the meantime.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: AdrianH on February 25, 2014, 09:22:35 AM
Is this specific to certain audio drivers?

I have Realtek Audio on several machines, and my laptop . Both Win7 and Win8 , audio/video from disc or streamed via browser/YouTube are fine. I never get any issues with sound.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: PaulRym on February 25, 2014, 01:09:36 PM
I have Realtek Audio also. After uninstalling the firewall component in Avast everything works normal. I have Internet Security installed but without the Firewall component.
The wireless adapter is Atheros AR9485. I have not tried using an Ethernet cable to see if the problem occurs while using it and not the wireless adapter. The sound problem appears on streamed audio (youtube or online radio) more than on audio played from the disk.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: dprout69 on February 25, 2014, 01:14:08 PM
Win 7 64 bit Realtek audio,  free avast version so no firewall and I get a similar issue with audio after a certain amount of time
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: AdrianH on February 25, 2014, 02:35:15 PM
Win 7 64 bit Realtek audio,  free avast version so no firewall and I get a similar issue with audio after a certain amount of time

Which indicates it is not the firewall , I noted that other people with Avast Pro said they had this problem.

I have tested with both wireless and ethernet on my systems, and today my sons Win7 AIS system has been running YouTube music videos for 4 hours straight and no hint of a problem.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: PaulRym on February 25, 2014, 05:50:57 PM
There has to be a common item amongst all of us. Is there any kind of report that would be useful? A Belarc report maybe? I will make one of myself and host it online when I get home, of course erasing the sensitive bits of info :), maybe just the system specs. I dunno, I'm just saying if someone from Avast answers and says we are too few to matter, I will drop it and that's that.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: dqdb on February 25, 2014, 07:36:39 PM
Avast IS (with Outpost-based firewall): audio problems
Avast Pro AV + Outpost Pro 9.0 FW: audio problems
Avast Pro AV + Windows built-in FW: everyting is ok
MSE + Outpost Pro 9.0 FW: everything is ok

Next round will be Avast Free + Outpost Pro 9.1 FW.

Tested audio configurations:
1. integrated Realtek ALC1200 + AV receiver via TOSLink
2. integrated Realtek ALC1200 + high-end DAC/headamp via TOSLink
3. entry-level DAC/headamp via USB
4. high-end DAC/headamp via async USB
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on February 27, 2014, 03:12:45 PM
Win 7 64 bit Realtek audio,  free avast version so no firewall and I get a similar issue with audio after a certain amount of time

Which indicates it is not the firewall , ...


No it does not. That many people have realtek audio is caused by the fact 80% of motherboards with onboard audio use Realtek chips.
I'm using a dedicated soundcard (asus xonar dg) and have these problems. So it's not limited to Realtek soundcards.
That a person without the firewall has the same issue, does not automatically mean the problem therefore is never caused by it for others. There might be more possible causes of the same symptom.


DPC spikes and the associated audio stuttering can be caused by:
I have tested with both wireless and ethernet on my systems, and today my sons Win7 AIS system has been running YouTube music videos for 4 hours straight and no hint of a problem.
Congratulations! Again your reasoning fails, one case of someone not having a problem does not dismiss the problem others are having. You're making very fundamental logical fallacies (http://en.wikipedia.org/wiki/List_of_fallacies).


For me it's simple:
If I install the Avast firewall -> Issues (related to the ndis.sys & aswNdisFlt.sys, the latter being Avast's filter)
If I remove the Avast firewall and use the win 8.1 firewall -> No issues (ndis.sys behaves normally)


The only thing that changed was the firewall...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: AdrianH on February 27, 2014, 04:26:57 PM
You miss the point that you clearly state this issue is caused by the avast firewall.

1) very few people report the problem , for the majority there is no such issue . Hardly a case of one person not having an issue.

2) the problem manifests itself on systems not using avast firewall , there are more reports on systems using avast free and Pro .

3) I have installed avast9 on over 100 systems in the workshop and seen no problem. At home I have 3 systems Win7 and Win8 that do not have the problem  and I asked about drivers etc, to see if there was something common causing this for the people that report a problem.

4) " For me it's simple:
If I install the Avast firewall -> Issues (related to the ndis.sys & aswNdisFlt.sys, the latter being Avast's filter)
If I remove the Avast firewall and use the win 8.1 firewall -> No issues (ndis.sys behaves normally)  "

So that makes you right, and everyone else wrong .......... I was trying to help these guys, you always just whine and pout.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on February 27, 2014, 09:45:44 PM
Twas not about right or wrong. The "for me it's simple" was meant as an "in my case", and I used to counter the statements about you not having the problem on a couple of pcs.
The fact that many people do not encounter issues (or notice them) doesn't have to mean there is no problem at all, does it? There's more people reporting this issue. The strange thing is other firewalls do not cause issue. Changing only 1 parameter, installing the avast firewall, makes the issues re-appear. So either other firewalls don't trigger an issue that already exists with my/our pc(s) and avast's firewall does, or the avast firewall has a flaw that only manifests on some combinations of hard- and or software.

You always just whine and pout.... always? really?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: PaulRym on February 27, 2014, 10:14:09 PM
There are actually two choices here:
Either we report the issue and hope it gets fixed, or we stop using the product causing the problem, obviously not paying for it anymore.
It's not like I'm gonna start fixing avast.
And this is not such a small matter.  Media becomes unplayable. Either it is from online sources or offline ones. Kind of a big deal in my opinion.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: coolsilver on March 01, 2014, 05:05:08 PM
I've seen this issue as far back as Avast 5. It hasn't gotten any attention. At times they have patched it enough to solve most of the occurrences for people. Most just deal with it or have little idea what is causing the issue. Probably blame their internet provider or games or whatever else as being the issue.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on March 01, 2014, 10:53:39 PM
I've created a support ticket on december 6th to which I still have had no reply. I've updated the ticket today in the hope they are/become aware of this issue and maybe to get an official reply on the matter.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on March 02, 2014, 08:39:00 AM
Eh, I have the same problems with my AIS 2014.9.0.2013 (why is so big version number ?  :o) (Thread  (http://forum.avast.com/index.php?topic=144018.msg1060248#msg1060248) at this forum)
In my case Avast support can't resolve my problem with high dpc.
But I have some idea about this issue...
Please, answer on my question, are you disabled the windows firewall service or switched it on automatically load (delayed) service state or something like this?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on March 02, 2014, 04:55:24 PM
When I had Avast Firewall installed I disabled the Windows firewall but did not touch the firewall service (so it still auto started). I've also tried disabling the firewall service from starting earlier, but this did not solve the DPC latency. 
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Monchesco on March 03, 2014, 09:50:49 PM
It seems is a windows 8.1 problem,  my sound card is Creative X-Fi Audio, and have the same problem.  Diactivate the firewall didn´t work for me.  Very sad, I just subscribe two machines for two years...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on March 03, 2014, 11:26:56 PM
I've had these issues since Windows 7 and there's other users on Win 7 reporting the same problems with the firewall and sound stuttering as well. I don't think it's limited to Win 8.1.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: zerotox on March 04, 2014, 12:39:21 PM
I think Avast is well aware of the problem but unfortunately I think they simply can't resolve it. Their firewall is awful since the beginning, no matter how many "fixes, updates, etc." were introduced. I think it is not by chance that they bought a driver from Outpost (meaning simply that you don't have the capacity to develop your own). And then they don't use it because it is flawed - well why don't you first test and check before you buy (and then through away). It's a pity for otherwise a fine product. Avira also had problems with their firewall and I think they made the right choice abandoning their firewall in favor of the Windows build-in one. Well, that wasn't good only for XP users but with Microsoft stopping security updates and patches in April...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on March 04, 2014, 05:06:28 PM
My windows firewall service was switched off...
_
Unfortunately, I had bought licence of AIS at 3 year for 3 pc.
And now, I'm not sure that they can fix this problem.
So, I had uninstalled the AIS firewall and my problem is gone. After this I just installed comodo firewall and all is ok.
But it's not good.
For what I need AIS, if I can simple use comodo internet security for free and without bugged firewall?
_
At the screenshot you can see uptime of my pc is about a 57 hours and DPC for this uptime without AIS firewall...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: AdrianH on March 04, 2014, 07:02:54 PM
If you are having these sound problems this tool may be very interesting to you http://www.resplendence.com/latencymon there is a free download for home use.

It shows up some interesting stats which might help.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on March 05, 2014, 07:51:54 AM
Thank you very much, but I've used this utility, which shows me that the main problem with ndis.sys.
Here some screenshots with AIS firewall.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on March 11, 2014, 12:08:49 AM
Just as a FYI to fellow users with this problem: The DPC firewall issue has not been fixed in the 2014-9.0.2014 beta. Save yourself the trouble of reinstalling.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: zerotox on March 11, 2014, 10:57:14 AM
Well, it's not a surprise and I don't think it will ever be fixed as it's flawed in its core code I think. The implementation of the network driver is horrible. The only way in my opinion is to rewrite the firewall from scratch, otherwise as I mentioned above, there will be numerous fixes and updates as there are until now, providing no solution.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: RejZoR on March 20, 2014, 03:23:33 PM
Hm, haven't they done so already? I remember they were rewriting firewall entirely for v2014...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on March 20, 2014, 07:31:05 PM
Which did not fix it.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: soulstace on March 22, 2014, 05:58:09 AM
Sorry your issue isn't getting addressed.  At least the Windows firewall is fairly secure on its own.  That's what I'm using at the moment, because I never could find a perfect 3rd-party firewall.  I would have recommended Comodo (free) but IMO they ruined the user interface in version 6
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on April 03, 2014, 06:07:20 AM
Anybody know, they fix this issue at 2016 version AIS?
Thank you.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: propheticus on April 03, 2014, 09:32:55 AM
No. Short and simple answer
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on April 07, 2014, 02:20:58 PM
Thank you.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on May 06, 2014, 08:54:47 AM
Any changes?
Or this problem will be ignored?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: PaulRym on May 06, 2014, 09:01:43 AM
Most likely it will be ignored.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Sa[i]reS on May 07, 2014, 06:58:18 AM
It's really bad... :-\
By the way, Now I got this bug at my other PC (windows 8.1. x64,mb: GIGABYTE GA-X58A-UD7, cpu: I7 970...)... :(
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on July 13, 2014, 10:44:46 PM
To propheticus

I love you guy

you fixed my problem

find the solution for long time

finally my sound problem is gone.........
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on July 26, 2014, 04:10:43 PM
So, Any solution for this bug or this error will never be fixed?
_
p.s. also tested on windows 8.1 pro x64 and this error appears again.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on July 30, 2014, 11:06:45 AM
This particular problem with DPC latency is the only reason why i remove my licensed Avast IS from PC, and never'll install it again.
Shame on you, Avast...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on September 29, 2014, 08:28:56 PM
Status update: Avast 2015 Beta2 (10.0.2200) - DPC issue still not fixed. Different/new pc, same issue.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: bob3160 on September 29, 2014, 10:03:11 PM
Most likely it will be ignored.
Nothing get ignored. Some things just take longer to fix than others.
I personally think this is something that need a quick resolve but I'm not a programmer and
have no clue how complicated the issue is.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on October 18, 2014, 09:33:54 AM
Status update: Avast 2015 Beta2 (10.0.2200) - DPC issue still not fixed. Different/new pc, same issue.
Agree,
Same on my PC...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on October 29, 2014, 04:59:51 PM
Just upgraded to the paid version of Avast and I'm now having exactly the same issues as others described in this thread. How disappointing to only find this out after paying for a product.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: trparky on November 01, 2014, 05:15:42 AM
This issue still exists in the 2015 version of the product.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on November 12, 2014, 05:16:04 PM
I'd like to bring this up yet again. I'm on Win7 with a Realtek integrated sound card andI've been using Avast IS for a little over two years now. Over the last year (Not sure why it didn't occur previously) I've had this ghostly issue of media stuttering. I was/am a total scrub when it comes to computers, but did some research. Used a few DPC latency monitors, latencymon and dpclat, and discovered that drivers were likely my issue. After months of trying different driver configurations and frustration with my NDIS and netIO driving latency through the roof, I'd like to believe that the problems presented in this thread are similar to my own. Avast, please do something about this. I love your product and have purchased a 3 year license. I'd hate to have my money wasted and tell people about your issues.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on November 15, 2014, 06:03:19 AM
I'd like to add that I too am getting sound crackling issues on Avast IS. Like everyone else here, LatencyMon reports ndis.sys as being the culprit, yet despite various changes to my hardware that I have tried making, the problem still persists. Considering it doesn't matter if I'm on Wi-Fi or ethernet, and the problem only manifested after updating to 2015, I'm pretty strongly believing that it's Avast at this point.

EDIT: Now certain that this problem is with Avast's Firewall. After getting major audio pops from any web activity at all, I uninstalled Avast's firewall (only) and without restarting all my latencies returned to normal and the popping ceased. Not good, Avast! I've never had latency problems with your firewall before, so this is quite unexpected. Since reinstalled to see if the problems return, but not optimistic.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on November 25, 2014, 08:31:26 AM
I can confirm severe audio crackling, random audio delays and sync issues, running avast free 2014/2015 on both Windows 8 and 8.1 the past few months up until about two weeks ago. My soundcard is an external firewire card, Focusrite Saffire Pro 24 DSP. Using latest drivers for it, all windows updates fully installed, all drivers on my system up to date constantly. Have had the problem after fresh installs of both Windows 8 and 8.1, and also after Windows has been installed for more than a month.

High DPC latency (both GPU related drivers, ndis.sys and something else Nvidia related). Not running avast firewall, only windows firewall.

However, I haven't had any issues the past two weeks or so. Maybe it is fixed?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on December 02, 2014, 10:41:55 AM
Hello... Hola, cierto que el firewall de Avast internet seguridad provoca latencias, audio interrumpido, micro-congelamiento de imagen, flecha del raton erratica, etc., desinstale el firewall y se soluciono completamente, vuelta a la normalidad. ¿Sabeis si se estan buscando soluciones?, me gusta Avast y quiero seguir usando la suite completa. Un saludo.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Asyn on December 02, 2014, 10:47:05 AM
Hello... Hola, cierto que el firewall de Avast internet seguridad provoca latencias, audio interrumpido, micro-congelamiento de imagen, flecha del raton erratica, etc., desinstale el firewall y se soluciono completamente, vuelta a la normalidad. ¿Sabeis si se estan buscando soluciones?, me gusta Avast y quiero seguir usando la suite completa. Un saludo.
Please post English here, else use the forum section for your language.
-> https://forum.avast.com/index.php?board=21.0
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on December 04, 2014, 05:03:41 PM
Use google translate, non worry. Bye. 8)
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on January 01, 2015, 01:56:02 PM
Also have problem with DPC Latency. Uninstalled Avast Internet Security and problem is gone, wiped away.

Avast guys please resolve this issue..

Happy New Year!
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on January 01, 2015, 07:18:49 PM
In my mind, they can't fix it.  :(
Looking like they just ignore it.  :-\
Mb I'll refund my money for this bugged software...
I have this bug on all my PC, include notebook msi ge70.
Just let your PC work around 20 hours, then try to listen any music and use your web-browser simultaneously...
_
Happy New Year!
_
p.s. this bug appeared on Windows 8.1 x64
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on February 20, 2015, 04:56:19 AM
I've also had this issue for about a year. I would have to reboot every day or two because it would get progressively worse to the point that the video would just freeze while the audio stuttered for 1-3 seconds. About 6 months ago upgraded my PC. To my surprise the problem followed. I've updated drivers, disabled hardware, uninstalled programs -- but never really thought about Avast. Well 3 days ago I removed Avast and I've been problem free ever sense. Not a hint of any DPC latency.

Avast Premier
Operating system:    Windows 7 64-bit
Program Version:    Avast 2015 (10.0.2208)
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: trparky on March 22, 2015, 09:09:02 PM
Has anyone had success in simply removing the firewall component of Avast by using the Avast entry in Programs and Features?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on April 03, 2015, 08:38:45 PM
THANK YOU ANYONE IN HERE !!! I finally resolve all my latency problems !! On Win7/64bits. Definitively it was the Avast Firewall that created it, I've tried so many other options without success.

For the record you can remove the Avast Firewall only by choosing to modify Avast in the Add/Remove Software section.

I will be forever thankful on this one. This problem poped up without no reason (maybe an Avast upgrade? but I read that the problem was older then that and barely unfixable. Anyway. It worked for me.

THANK YOU SO MUCH.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on April 29, 2015, 10:54:13 PM
Same issue. I'm using Avast 2015.10.2.2218. I was using Avast Free Antivirus. A few days ago, the program offered to give me a 21-day trial of Internet Security. I enabled it, and immediately the problems started. Tons of DPC Latency, audio and video skipping. I have an SSD with 32gb of memory on an AMD A8 so there's really no reason this should be happening. At first I thought maybe it was a Windows Update or a Chrome update, so I used Window Performance Analyzer to chase down the problem. The latency was being caused by the network drivers, WPA listed ndis.sys, tcip.sys and netio.sys as the culprits. I am using the latest driver available from the manufacturer for my Qualcomm Atheros 8151 NIC.

So I did some digging and found this thread. I ended the Internet Security trial, rebooted, and immediately the problems went away. I'm back to playing 24/192 audio with dozens of 64-bit Chrome tabs open - no problems at all, as before.

This is a real shame as Avast Free AV is a great product. I'm a freelance IT consultant, so I definitely won't be recommending my customers pay for Avast. Eset is the best paid option anyway, but of course it's much more than $20 a year.

It's really sad that this thread has been open for nearly two years, and no response from Avast, nor apparently any attempts to fix the issue either. Fail!
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on May 05, 2015, 06:56:53 PM
Boy am I glad I found this thread. I was going crazy because of the constant audio stuttering. I ended up uninstalling the firewall from the Internet Security package and only kept the antivirus.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: pavelk on May 06, 2015, 08:54:09 AM
Thanks for your description of the problem. We moved the problematic parts of code from DPC to passive level. Our tests looks right. The fix will be in the next version.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: bob3160 on May 06, 2015, 03:52:22 PM
Thanks for your description of the problem. We moved the problematic parts of code from DPC to passive level. Our tests looks right. The fix will be in the next version.
Any projected date when this will happen ???
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on May 26, 2015, 10:01:16 AM
Seriously. I remember reporting and debugging this issue with Comodo a few years' back. They fixed it ages ago and never had this problem since.

Just recently thought "hey, I've been using free Avast for years, might as well give them a little cash", uninstalled Comodo, bought Avast IS with the firewall. The long-forgotten DPC issue is back. Seriously, fix this thing. My sound stutters like crazy, even chopping the video.

Confirmed using dpclat. It does not look good at all.
(http://i.imgur.com/nm1pAqb.png)

EDIT: Here's what happens if Avast tried to do something in background after PC has been running for over one day. Mouse cursor stuttering. Unusable PC. Had to reboot.
(http://i.imgur.com/bqd8ib5.jpg)
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on May 28, 2015, 07:52:57 AM
I've been trying to solve this problem for weeks before I finally decided to try removing some non-essential clients/services from my network adaptors.  Soon as I disabled the "Avast Firewall driver" for my each adapter, my audio stuttering disappeared.

I disabled the firewall (from within Avast's settings) shortly after switching to Premier, so I've never actually had the shield running and still experienced the audio stutter, until I disabled the "avast firewall driver" network service.

Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on June 02, 2015, 11:53:12 AM
It's been a month since someone from Avast answered here. Therefore bump.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on June 30, 2015, 11:15:14 AM
bamp
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on August 20, 2015, 12:24:52 AM
I got same issue after updating to Win10 - audio shutters etc.

Disabled firewall and everything is fine now.

Fix it guys.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Dwarden on August 20, 2015, 10:26:35 AM
Thanks for your description of the problem. We moved the problematic parts of code from DPC to passive level. Our tests looks right. The fix will be in the next version.

when will be that introduced into public build?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Andrey,pro on September 13, 2015, 07:45:15 PM
Is any news when it'll be fixed?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on September 16, 2015, 10:33:04 PM
10.4.2232 ~ 8 hours - looking good. Without DPC latency issue ... :o
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Rastarn on April 11, 2016, 09:46:58 AM
I've had the same issue appear in Windows 10 64-bit on one PC but not on the other.

I've been a paid user of Avast Pro for some time and sure enough, a test uninstall resolved all my DPC latency problems.

Interesting that after so much time, this issue still occurs and a pity too because up until now, I had been very happy with Avast.

Will test again with only Antivirus installed and report if any improvement.

Thanks to the original poster for helping me resolve an issue that has been driving me nuts for weeks!
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: bob3160 on April 11, 2016, 02:29:03 PM
I just ran a test and here's what it revealed:
Last Result:Download Speed: 18987 kbps (2373.4 KB/sec transfer rate)
Upload Speed: 3628 kbps (453.5 KB/sec transfer rate)
Latency: 44 ms
Jitter: 37 ms
4/11/2016, 6:26:16 AM
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on April 12, 2016, 11:47:25 AM
Just wanted to drop by and say THANK YOU!

I have been having this DPC latency issue for almost 2 years now!!! I didn't find out about it being DPC latency until last thanksgiving when i finally got fed up with restarting my computer before each session (and about every 2 or 3 hours to keep it stutter-free)

Played around for awhile with LatencyMon and DPC Checker, and have been researching my top culprit (ndis.sys) for the last 2 weeks. Just came across this thread after searching for a possible relation to avast and ndis.sys, and modified my installation to exclude the firewall. Had DPC Checker running the entire time and watched my red bars completely vanish!!! Haven't restarted yet, but will do so soon and leave it running for awhile.

So far, my top highest executions on LatencyMon are dxgkrnl.sys, USBPORT.SYS, and nvlddmkm.sys, so 2 graphics related drivers and a USB driver. but nothing has broken the 1.0(ms) mark yet, which is a MAJOR improvement, and even with small spikes (still in the green on checker) I've had smooth audio/video playback while browsing the web and using utorrent.

By the way, I went as far as to disable my onboard NIC (realtek) and bought a TP-LINK ethernet adaptar, brand new with most recent drivers, and nothing changed prior to uninstalling avast's firewall.

OS is Windows 7 here, so the issue is not just isolated to a specific windows version. I've seen complaints with ndis.sys on 7, 8, 8.1, and 10 so far. Wondering if everyone was running avast...
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: bob3160 on April 12, 2016, 12:16:34 PM
@ Daniel790,
For your information I'm using Avast free and the firewall within windows 10.
I've reported this topic to Avast. Let's see if they have an answer.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on April 13, 2016, 04:20:30 AM
I'm actually using Avast Premier, and have been a paid subscriber for 2 years now (how I didn't put two and two together long ago baffles me now that I've ironed out this issue). While I don't really need the use of avast's firewall, since I also have windows firewall active and my router also has it's own firewall functions built in, I still feel as though I'm paying for a program with a feature I can't use.

Does this mean I will uninstall and leave avast behind? Never, not unless the AV core program itself ever causes issues. But so far avast has saved me from malicious websites, infected files, and has been the best AV I've tried over the years.

This is likely one reason this issue hasn't been given the attention it deserves... But alas... I will keep on chugging along without avast firewall and enjoy my system stability once again. I was on the verge of just building a whole new rig....
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on May 23, 2016, 06:45:54 AM
I can't believe this was it! I was about to roll-back to windows 8.1 because of this but I thought, after searching for solutions for HOURS, "hmm, yesterday I upgraded to avast premium which has a firewall". Googled "avast+DPC" and the thread was here. I was also using LatencyMon to monitor this and I though the culprit were the nvidia drivers, but no, it's avast! Jesus... and this thread is 6 pages long! I feel like I should get a refund just for this crap!
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on May 28, 2016, 09:05:05 PM
I'm just here to say that I've had this DCP issue and media stutter for months, and I just managed to solve it by uninstalling Avast.
Xonar DG audio, and an integrated and BIOS disabled Realtek in my system.
I can't confirm if the normal non-firewall avast causes this problem too or not, since i was using the trial with the firewall. Simply clicking disable firewall didn't solve the problem for me.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: REDACTED on June 29, 2016, 02:52:49 AM
This issue still exists in the current version of Avast premium. After uninstalling the firewall component of the software (and switching to another simple third party firewall) the issues went away completely.

Most users restart their machine about once a day so won't notice the issue, and those who don't will probably only notice it as an "audio stutter" problem, as that is the most obvious and exaggerated symptom; however these 'latency spikes' caused by Avast actually affect all usage on the PC, not only applications with audio. It's a little more obvious to the eye when you're accustomed using a beefy high end gaming rig that has no problem with almost any software or game thrown at it.

Even though it might be missing some features for a premium application, I liked the Avast firewall, and will probably return to using it in the future sometime after they squish the bugs.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: bob3160 on June 29, 2016, 02:59:07 PM
I've reported this to Avast. Let's see if that gets us a reply and hopefully a resolution. :)
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Gyöngyi on September 01, 2016, 03:45:31 PM
If I'm remove the avast firewall the DPC Latency problem is still exists for me just than lesser extent.
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Alikhan on September 02, 2016, 02:43:06 PM
This issue still exists and should have been fixed a lot earlier - it's a paid user feature too.

Can the Avast team give an update?
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: Alikhan on September 08, 2016, 03:52:59 PM
Bump
Title: Re: DPC latency issue with network traffic - Firewall bugged
Post by: trparky on October 25, 2016, 08:01:55 PM
Any updates on this? I've reverted to the free version over this issue. There's no sense in buying the software if Avast won't fix this issue.