Weird stutter issue in CSGO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Corvax
    PCHF Member
    • Jun 2022
    • 4

    #1

    Weird stutter issue in CSGO

    I have this weird stutter issue only in CSGO.
    The fps is stable and high 300+. but I get these microstutters every few seconds.

    I have tried basically everything that I could find on stutter issues for CSGO.
    By running afterburner, I found something very interesting. The frametime stutters appear whenever any input to USB devices are sent. Frametimes are perfect when standing completely still, and even turning around only with the mouse. However if i click a button on the mouse, keyboard or even change volume on the wireless headset, I get a stutter (from 5ms stable to a short 25ms stutter). If I move in one direction, I instantly get a stutter when pressing the button, then a stutter occurs every 4 seconds until I stop moving. The stutter also happens when clicking buttons that are not binded or in any form used by CSGO.

    I was thinking it could be a foulty USB driver or port. BUT, the “funny” part is that it is only CS that stutters. No issue in other games.
    At this point, I dont know what to do. Maybe someone can help?

    Frametimes



    Kaspersky GetSystemInfo (GSI) Parser allows you to check and fix PC compatibility issues between Kaspersky products and other software. Troubleshoot with Kaspersky GSI Parser!
  • Malnutrition
    PCHF Moderator
    • Jul 2016
    • 7041

    #2
    Uninstall the following with Geekuninstaller

    Driver Booster 9 - 9.3.0
    Mozilla Maintenance Service - 94.0.2
    NVIDIA Telemetry Client - 16.15.2.0
    NVIDIA TelemetryApi helper for NvContainer - 1.37

    Also, do you use one drive? Here is a link on how to completely remove it if not.


    Clean install your Nvidia driver with DDU.

    Grab a fresh copy from here.



    Disable windows 10 spyware with O&O software, this can chew up bandwidth while you game as microsoft is constantly uploading various data from your machine.

    [COLOR=rgb(184, 49, 47)]Use the recommended and somewhat recommended setting, for O&O shutup 10.

    Disable windows update, and only enable it once a week to update on your terms not whenever microsoft feels you need an update.

    Uninstall Useless to you windows apps with O&O App buster.




    Open a notepad and copy the content of the code box below, paste into open notepad and save it to your desktop as clean.bat then right click on clean.bat and run as admin.

    [COLOR=rgb(184, 49, 47)]Note: This batch will reboot your machine so close anything you are working on and save it.

    [COLOR=rgb(184, 49, 47)]Do not copy the word code!!
    Code:
    @echo off
    WMIC /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "PCHFRestorePoint", 100, 10
    fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:
    powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
    powercfg -hibernate off
    netsh advfirewall reset
    netsh advfirewall set allprofiles state On
    wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
    %WINDIR%\SYSTEM32\lodctr.exe /R
    %WINDIR%\SysWOW64\lodctr.exe /R
    C:\Windows\SYSTEM32\lodctr.exe /R
    C:\Windows\SysWOW64\lodctr.exe /R
    Dism.exe /online /Cleanup-Image /StartComponentCleanup
    pause
    DISM.exe /Online /Cleanup-image /Restorehealth
    pause
    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    pause
    del /s /q C:\Windows\SoftwareDistribution\download\*.*
    del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
    del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
    del /s /q "%userprofile%\AppData\Local\temp\*.*"
    del /f /s /q %systemdrive%\*.tmp
    del /f /s /q %systemdrive%\*.log
    del /f /s /q %systemdrive%\*.chk
    del /f /s /q %systemdrive%\recycled\*.*
    del /f /s /q %windir%\*.bak
    del /f /s /q %windir%\prefetch\*.*
    ipconfig /flushdns
    sc stop sysmain
    sc config sysmain start= disabled
    sc stop DiagTrack
    sc config DiagTrack start= disabled
    sc stop dmwappushservice
    sc config dmwappushservice start= disabled
    sc stop WSearch
    sc config WSearch start= disabled
    sc stop lfsvc
    sc config lfsvc start= disabled
    del /s /q %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
    reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
    reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
    sfc /scannow
    pause
    cd %windir%\SystemApps
    taskkill /f /im SearchApp.exe
    move Microsoft.Windows.Search_cw5n1h2txyewy Microsoft.Windows.Search_cw5n1h2txyewy.old
    shutdown -r
    Exit /B
    [/COLOR][/COLOR][/COLOR]

    Comment

    • Pyro
      PCHF Member
      • Jan 2019
      • 1189

      #3
      I would tackle the monitors first, unplug the 240Hz screen and try with only the 60Hz. Often times screens of varying refresh rates can cause the other to have issues when motion is present on both. Note anything you notice when doing this while trying each screen with the other unplugged.

      If that is not your issue, please proceed with the following steps (you could do them even if that is the issue, these are basic “housekeeping” for computers).
      1. Run Disk Cleanup (check all the boxes) this will delete things such as your recycling bin, so make sure you don’t have any files you want to keep.

      Run Defragment and Optimize Drives, run this on your drives.
      1. Disable any overclocking or changes to power/performance settings

      Turn off XMP/any overclocking you may have done (if any)

      Settings > System > Power and sleep > Additional power settings
      Make sure your power plan is set to balanced, anything else could tamper with the wrong settings and cause issues.
      1. Check for Operating System Corruption

      Right click on the Windows logo in the bottom left and select Windows Powershell (Admin)
      Run these three commands separately:

      [COLOR=rgb(184, 49, 47)]sfc /scannow

      Dism /Online /Cleanup-Image /CheckHealth

      Dism /Online /Cleanup-Image /RestoreHealth

      These will take a while to run, do not close out of Powershell while they are running, if one fails then move onto the next and then loop back around.

      Note: It doesn’t hurt to make a system backup before you make all these changes, save any important files of folders. While these changes shouldn’t cause any issues, better to be safe than sorry.
      1. Unplug unnecessary devices.

      If you have a gamepad, extra monitor, external hard drive/flash drive, or anything that is not essential to using the computer plugged in, unplug it. You should be left with your monitor, mouse and keyboard.

      Once you have completed all of these tasks, restart it (using the restart option in the power menu) and re-test.
      Note: When you re-test, unplug everything that is not essential, a single monitor, your keyboard and mouse. Unplug everything else so it cannot cause issues.

      Please list the make and model of power supply you have in your computer.

      Is there a reason you have MalwareBytes installed? Windows Defender is more than adequate and doesn’t suck up as many resources as other antivirus programs tend to.[/COLOR]

      Comment

      • Corvax
        PCHF Member
        • Jun 2022
        • 4

        #4
        Originally posted by Malnutrition
        Uninstall the following with Geekuninstaller

        Driver Booster 9 - 9.3.0
        Mozilla Maintenance Service - 94.0.2
        NVIDIA Telemetry Client - 16.15.2.0
        NVIDIA TelemetryApi helper for NvContainer - 1.37

        Also, do you use one drive? Here is a link on how to completely remove it if not.


        Clean install your Nvidia driver with DDU.

        Grab a fresh copy from here.



        Disable windows 10 spyware with O&O software, this can chew up bandwidth while you game as microsoft is constantly uploading various data from your machine.

        [COLOR=rgb(184, 49, 47)]Use the recommended and somewhat recommended setting, for O&O shutup 10.

        Disable windows update, and only enable it once a week to update on your terms not whenever microsoft feels you need an update.

        Uninstall Useless to you windows apps with O&O App buster.




        Open a notepad and copy the content of the code box below, paste into open notepad and save it to your desktop as clean.bat then right click on clean.bat and run as admin.

        [COLOR=rgb(184, 49, 47)]Note: This batch will reboot your machine so close anything you are working on and save it.

        [COLOR=rgb(184, 49, 47)]Do not copy the word code!!
        Code:
        @echo off
        WMIC /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "PCHFRestorePoint", 100, 10
        fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:
        powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
        powercfg -hibernate off
        netsh advfirewall reset
        netsh advfirewall set allprofiles state On
        wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
        %WINDIR%\SYSTEM32\lodctr.exe /R
        %WINDIR%\SysWOW64\lodctr.exe /R
        C:\Windows\SYSTEM32\lodctr.exe /R
        C:\Windows\SysWOW64\lodctr.exe /R
        Dism.exe /online /Cleanup-Image /StartComponentCleanup
        pause
        DISM.exe /Online /Cleanup-image /Restorehealth
        pause
        Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
        pause
        del /s /q C:\Windows\SoftwareDistribution\download\*.*
        del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
        del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
        del /s /q "%userprofile%\AppData\Local\temp\*.*"
        del /f /s /q %systemdrive%\*.tmp
        del /f /s /q %systemdrive%\*.log
        del /f /s /q %systemdrive%\*.chk
        del /f /s /q %systemdrive%\recycled\*.*
        del /f /s /q %windir%\*.bak
        del /f /s /q %windir%\prefetch\*.*
        ipconfig /flushdns
        sc stop sysmain
        sc config sysmain start= disabled
        sc stop DiagTrack
        sc config DiagTrack start= disabled
        sc stop dmwappushservice
        sc config dmwappushservice start= disabled
        sc stop WSearch
        sc config WSearch start= disabled
        sc stop lfsvc
        sc config lfsvc start= disabled
        del /s /q %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
        reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
        reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
        sfc /scannow
        pause
        cd %windir%\SystemApps
        taskkill /f /im SearchApp.exe
        move Microsoft.Windows.Search_cw5n1h2txyewy Microsoft.Windows.Search_cw5n1h2txyewy.old
        shutdown -r
        Exit /B
        [/COLOR][/COLOR][/COLOR]
        [COLOR=rgb(184, 49, 47)][COLOR=rgb(184, 49, 47)][COLOR=rgb(184, 49, 47)]
        Originally posted by Malnutrition
        Uninstall the following with Geekuninstaller

        Driver Booster 9 - 9.3.0
        Mozilla Maintenance Service - 94.0.2
        NVIDIA Telemetry Client - 16.15.2.0
        NVIDIA TelemetryApi helper for NvContainer - 1.37

        Also, do you use one drive? Here is a link on how to completely remove it if not.


        Clean install your Nvidia driver with DDU.

        Grab a fresh copy from here.



        Disable windows 10 spyware with O&O software, this can chew up bandwidth while you game as microsoft is constantly uploading various data from your machine.

        [COLOR=rgb(184, 49, 47)]Use the recommended and somewhat recommended setting, for O&O shutup 10.

        Disable windows update, and only enable it once a week to update on your terms not whenever microsoft feels you need an update.

        Uninstall Useless to you windows apps with O&O App buster.




        Open a notepad and copy the content of the code box below, paste into open notepad and save it to your desktop as clean.bat then right click on clean.bat and run as admin.

        [COLOR=rgb(184, 49, 47)]Note: This batch will reboot your machine so close anything you are working on and save it.

        [COLOR=rgb(184, 49, 47)]Do not copy the word code!!
        Code:
        @echo off
        WMIC /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "PCHFRestorePoint", 100, 10
        fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:
        powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
        powercfg -hibernate off
        netsh advfirewall reset
        netsh advfirewall set allprofiles state On
        wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
        %WINDIR%\SYSTEM32\lodctr.exe /R
        %WINDIR%\SysWOW64\lodctr.exe /R
        C:\Windows\SYSTEM32\lodctr.exe /R
        C:\Windows\SysWOW64\lodctr.exe /R
        Dism.exe /online /Cleanup-Image /StartComponentCleanup
        pause
        DISM.exe /Online /Cleanup-image /Restorehealth
        pause
        Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
        pause
        del /s /q C:\Windows\SoftwareDistribution\download\*.*
        del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
        del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
        del /s /q "%userprofile%\AppData\Local\temp\*.*"
        del /f /s /q %systemdrive%\*.tmp
        del /f /s /q %systemdrive%\*.log
        del /f /s /q %systemdrive%\*.chk
        del /f /s /q %systemdrive%\recycled\*.*
        del /f /s /q %windir%\*.bak
        del /f /s /q %windir%\prefetch\*.*
        ipconfig /flushdns
        sc stop sysmain
        sc config sysmain start= disabled
        sc stop DiagTrack
        sc config DiagTrack start= disabled
        sc stop dmwappushservice
        sc config dmwappushservice start= disabled
        sc stop WSearch
        sc config WSearch start= disabled
        sc stop lfsvc
        sc config lfsvc start= disabled
        del /s /q %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
        reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
        reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
        sfc /scannow
        pause
        cd %windir%\SystemApps
        taskkill /f /im SearchApp.exe
        move Microsoft.Windows.Search_cw5n1h2txyewy Microsoft.Windows.Search_cw5n1h2txyewy.old
        shutdown -r
        Exit /B
        [/COLOR][/COLOR][/COLOR]
        [COLOR=rgb(184, 49, 47)][COLOR=rgb(184, 49, 47)][COLOR=rgb(184, 49, 47)]
        Thanks for the quick reply
        I did all the steps except for uninstalling these two:
        NVIDIA Telemetry Client - 16.15.2.0
        NVIDIA TelemetryApi helper for NvContainer - 1.37

        I was not able to see them in geekuninstaller.
        For Nvidia, I first ran DDU, and afterwards installed “clean” and only the graphicsdriver none of the optionals.

        No changes for the stuttering.[/color][/color][/color][/color][/color][/color]

        Comment

        • Corvax
          PCHF Member
          • Jun 2022
          • 4

          #5
          Originally posted by Pyro
          I would tackle the monitors first, unplug the 240Hz screen and try with only the 60Hz. Often times screens of varying refresh rates can cause the other to have issues when motion is present on both. Note anything you notice when doing this while trying each screen with the other unplugged.

          If that is not your issue, please proceed with the following steps (you could do them even if that is the issue, these are basic “housekeeping” for computers).
          1. Run Disk Cleanup (check all the boxes) this will delete things such as your recycling bin, so make sure you don’t have any files you want to keep.

          Run Defragment and Optimize Drives, run this on your drives.
          1. Disable any overclocking or changes to power/performance settings

          Turn off XMP/any overclocking you may have done (if any)

          Settings > System > Power and sleep > Additional power settings
          Make sure your power plan is set to balanced, anything else could tamper with the wrong settings and cause issues.
          1. Check for Operating System Corruption

          Right click on the Windows logo in the bottom left and select Windows Powershell (Admin)
          Run these three commands separately:

          [COLOR=rgb(184, 49, 47)]sfc /scannow

          Dism /Online /Cleanup-Image /CheckHealth

          Dism /Online /Cleanup-Image /RestoreHealth

          These will take a while to run, do not close out of Powershell while they are running, if one fails then move onto the next and then loop back around.

          Note: It doesn’t hurt to make a system backup before you make all these changes, save any important files of folders. While these changes shouldn’t cause any issues, better to be safe than sorry.
          1. Unplug unnecessary devices.

          If you have a gamepad, extra monitor, external hard drive/flash drive, or anything that is not essential to using the computer plugged in, unplug it. You should be left with your monitor, mouse and keyboard.

          Once you have completed all of these tasks, restart it (using the restart option in the power menu) and re-test.
          Note: When you re-test, unplug everything that is not essential, a single monitor, your keyboard and mouse. Unplug everything else so it cannot cause issues.

          Please list the make and model of power supply you have in your computer.

          Is there a reason you have MalwareBytes installed? Windows Defender is more than adequate and doesn’t suck up as many resources as other antivirus programs tend to.
          [/COLOR]
          [COLOR=rgb(184, 49, 47)]
          Thanks for your time
          Tried each monitor separately, on different hz settings. Same results.

          Performed all the changes, tweaks and scans listed, and removed any external devices. Run with one screen.
          The stuttering still occurs.

          PSU:
          [HEADING=2]Corsair RM650i, 650W PSU[/HEADING]

          Malwarebytes:
          Installed to run a scan as part of this investigation. (Same with driverbooster). Uninstalled both now.[/color]

          Comment

          • Pyro
            PCHF Member
            • Jan 2019
            • 1189

            #6
            Did you play CS:GO before your installation of Windows 11?

            Did you ever experience something similar?

            Where are your peripherals plugged in?

            If they are in the front, plug them into the back, and vice-versa. This should help us rule out any problematic ports.

            Comment

            • Corvax
              PCHF Member
              • Jun 2022
              • 4

              #7
              Originally posted by Pyro
              Did you play CS:GO before your installation of Windows 11?

              Did you ever experience something similar?

              Where are your peripherals plugged in?

              If they are in the front, plug them into the back, and vice-versa. This should help us rule out any problematic ports.
              Yes, afterthought that I should have mentioned that… sry about that.
              I did have the stutters on win10 first, then still had stutters after a clean install of win11.

              I did not do any thorough analysis at that time, just pretty quickly decided to format. Didnt help.

              Tried the front USB port (cabinet port), same issue.

              Comment

              • Pyro
                PCHF Member
                • Jan 2019
                • 1189

                #8
                Lets get some other input, a new speccy scan might help to get the help in on where exactly you’re at.

                @Bruce @Malnutrition

                Comment

                • Bruce
                  PCHF Member
                  • Oct 2017
                  • 10697

                  #9
                  you all have covered the areas I would have suggested.
                  I’m thinking the issue may simply be with the game itself, and how they have coded the input from peripherals.
                  or at least, your specific keyboard/mouse/headset.
                  as a quick test, have you tried another USB wired, cheap mouse?
                  have you tried playing without the headset?

                  Comment

                  • Malnutrition
                    PCHF Moderator
                    • Jul 2016
                    • 7041

                    #10
                    Could also try running KillEmAll before you game. This program will stop all non essential programs from running on your computer, it will close everything including your browser, so save anything you are working on prior to running it.

                    Save it to your desktop, then right click and run as admin prior to launching your game. It will close everything, and then launch and play your game.



                    Also, could try Easy Service Optimizer.

                    Download unzip to desktop, then select Tweaked mode and then hit the little rocket icon from within the program. If you connect via wireless then you will need to enter the following commands in command prompt.

                    So you will need to enter these commands in Elevated Command prompt after running Easy Service Optimizer, if you so choose to run it.

                    Copy and paste each command one at a time and hit enter after.
                    sc start WlanSvc
                    sc config WlanSvc start= auto



                    Could also try a clean boot.
                    As well you could try and disconnnect your secondary Drive just to test if it is causing the issue, doubt it but worth a shot.

                    Comment

                    • Bruce
                      PCHF Member
                      • Oct 2017
                      • 10697

                      #11
                      @Corvax - you have revisited but not responded, do you still need help?

                      Comment

                      • Bruce
                        PCHF Member
                        • Oct 2017
                        • 10697

                        #12
                        abandoned

                        Comment

                        Working...