Question Video playback stutters after a few minutes

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
Strange issues i'm having for the last month or so, when watching youtube or a movie through vlc player the video starts to stutter after a few minutes. If i move the mouse or pause the video it fixes itself but a few minutes later the issue comes back. Any thoughts? 5600x + r9 380 gpu + win10, no new drivers for the video card available.
 
Last edited:

mindless1

Diamond Member
Aug 11, 2001
8,722
1,735
126
Look in task mgr (processes tab) at cpu utilization when it happens, sorted by process to see if any are the cause.

I can only assume that with VLC you are watching content already on your own network so it's not a buffering issue, unless it's over wifi and that's the weak link? I doubt it since you reported the mousing and pausing fixes it. You wouldn't happen to be using Chrome browser (or even not using since it by default does this even after it is closed) and it's doing background scanning? I had to do a half dozen different things to stop chrome from that.
 

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
Ok so after 90 seconds of not moving the mouse the Antimalware Service Executable process hits 10% cpu usage and then disappears after a few seconds and Shell Infrastructure Host process goes up to 20% cpu usage and 3-4 gigs of memory usage, moving the mouse makes it disappear. This happens with no browsers/vlc running either so the stuttering video i get just seems to be a side effect of the cpu/memory usage.
Googled the issue but can't find any concrete solution other than reset windows.
 

Steltek

Diamond Member
Mar 29, 2001
3,309
1,046
136
You might try to remove your antimalware software, rebooting, then reinstalling it. It also wouldn't be bad idea to run a check for file system corruption as well.
 

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
You might try to remove your antimalware software, rebooting, then reinstalling it. It also wouldn't be bad idea to run a check for file system corruption as well.
Can't remove windows defender, i disabled real time protection but the shell infrastructure process still popped up. I ran sfc and dism and it found some issues and fixed them but the sihost issue still persists.
 

mindless1

Diamond Member
Aug 11, 2001
8,722
1,735
126
I might think about a google search for disable defender sihost, or something. ;)

Then again Defender is good for being free... depends on your risk level, personally I don't need it because my only real point of entry/infection is browser and I've hardened mine, plus partition backups so if the theoretical Bad Thing happened, can just nuke it from orbit.
 

OlyAR15

Senior member
Oct 23, 2014
982
242
116
Have you tried opening Task Manager and seeing how much your GPU is working? Maybe that is the issue. Can you try disabling the GPU's video decoding and just use CPU?
 
Jul 27, 2020
25,996
17,938
146
Google says a temporary fix is to open resmon (search and it will appear in start menu), then suspend sihost.exe.

You could also try:

SFC /scannow
Repair-WindowsImage -Online -RestoreHealth
 
Last edited:

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
Have you tried opening Task Manager and seeing how much your GPU is working? Maybe that is the issue. Can you try disabling the GPU's video decoding and just use CPU?

Good idea, look at the memory usage its pegged full. And as soon as i move the mouse it drops to almost nothing, and i'm not even doing or watching anything. Where do i disable video decoding?

gpu1.jpggpu2.jpg



Google says a temporary fix is to open resmon (search and it will appear in start menu), then suspend sihost.exe.

You could also try:

SFC /scannow
Repair-WindowsImage -Online -RestoreHealth
I tried resmon and it shows smhost.exe as the culprit not sihost, but the description is correct as shell infrastructure host. But when the cpu usage goes up and i hover over it i cant right click and suspend the process because it gets terminated.
I tried sfc yesterday and it fixed some thing, but not this issue.
 

OlyAR15

Senior member
Oct 23, 2014
982
242
116
That's odd that it is using so much VRAM. Not sure what is going on there. For VLC, go to Preferences, then Input/Codecs, then at the top, set Hardware-accelerated decoding to Disabled. Not sure how to disable it in Youtube, probably have to go into the browser settings.
 

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
Nope no mining with this old gpu lol, task manager shows 25% gpu usage by shell infrastructure host and its constantly copying rather than decoding. Started a scan now for malware.
 
  • Like
Reactions: igor_kavinski
Jul 27, 2020
25,996
17,938
146
Some powershell script is probably running in the background. Not sure why Microsoft would let powershell have the ability to do work on the gpu.


There's a command there to stop all powershell processes:
while ($true) {Get-Process PowerShell | Where-Object {$_.ID -notcontains $PID} | Stop-Process -Force}
 

shabby

Diamond Member
Oct 9, 1999
5,782
45
91
Tried that, didn't help.
Deleted my gpu drivers and that solved the problem, but you can probably guess what new problem that caused...