System Interrupts 100% CPU when trying to stream with OBS + freeze

Page 1 of 2 12 LastLast

  1. Posts : 148
    Windows 10 32 bit
       #1

    System Interrupts 100% CPU when trying to stream with OBS + freeze


    This problem started in early February. Before then, I could stream to Facebook Gaming to my heart's content. However, now I am unable to stream on the very same PC that I used to be able to.

    Problem is, about two minutes into the stream, a process named "System Interrupts" starts using 100% CPU and about another 30 seconds, my entire system freezes. The only way I can unfreeze my system is by holding the power button to force shut off my PC.

    I have NOT made any changes to my PC since OBS was working even for six hour streams other than the normal Windows updates.

    A bit of Googling around suggests that it is almost always a driver problem. Basically every website said that. So, I tried installing literally every driver that was listed in Windows Update yet the problem persists. I still get System Interrupts spiking to 100% CPU followed by a system freeze just a couple minutes into the stream. The only thing that I have not updated are my Nvidia drivers but I am 100% sure that it is not the fault of the Nvidia drivers as it is the same version of Nvidia drivers when I was streaming with no issues in January.

    I can game with no issues as long as I am NOT streaming them. This includes resource heavy games like Need for Speed: Heat. Now I cannot even throw on an SNES emulator and stream that without System Interrupts spiking to 100% CPU and freezing my PC. I used to be able to stream Final Fantasy XIV which is a fairly resource intensive game without issues and only utilizing 20% CPU.

    I already asked the guys over at OBS support and all that they could tell me is that while OBS can trigger these system freezes, the system freeze itself is outside OBS, thus they cannot provide any help in resolving the issue. So I am asking here.

    I am using the latest version of OBS Studio and I already ran sfc /scannow and check disk and both pass with flying colors.

    I checked the event viewer but I did not see anything out of the ordinary other than the forced shut off attempt

    My PC is an HP Envy 17 j177nr with 16 GB ram.


    Does anybody know how I can remedy this so I can stream again


    Edit: Output of LatencyMon while trying to stream:


    Code:
    _________________________________________________________________________________________________________
    CONCLUSION
    _________________________________________________________________________________________________________
    Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates. 
    LatencyMon has been analyzing your system for  0:21:22  (h:mm:ss) on all processors.
    
    
    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        SWG-STREAMING
    OS version:                                           Windows 10, 10.0, version 2009, build: 19042 (x64)
    Hardware:                                             HP ENVY 17 Notebook PC, Hewlett-Packard
    CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
    Logical processors:                                   8
    Processor groups:                                     1
    RAM:                                                  16316 MB total
    
    
    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   2494 MHz
    
    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.
    
    
    _________________________________________________________________________________________________________
    MEASURED INTERRUPT TO USER PROCESS LATENCIES
    _________________________________________________________________________________________________________
    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
    
    Highest measured interrupt to process latency (µs):   2143.30
    Average measured interrupt to process latency (µs):   8.958971
    
    Highest measured interrupt to DPC latency (µs):       2126.10
    Average measured interrupt to DPC latency (µs):       2.732665
    
    
    _________________________________________________________________________________________________________
     REPORTED ISRs
    _________________________________________________________________________________________________________
    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
    
    Highest ISR routine execution time (µs):              180.708901
    Driver with highest ISR routine execution time:       HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation
    
    Highest reported total ISR routine time (%):          0.000439
    Driver with highest ISR total time:                   HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation
    
    Total time spent in ISRs (%)                          0.000918
    
    ISR count (execution time <250 µs):                   20643
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-1000 µs):               0
    ISR count (execution time 1000-2000 µs):              0
    ISR count (execution time 2000-4000 µs):              0
    ISR count (execution time >=4000 µs):                 0
    
    
    _________________________________________________________________________________________________________
    REPORTED DPCs
    _________________________________________________________________________________________________________
    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
    
    Highest DPC routine execution time (µs):              2140.962310
    Driver with highest DPC routine execution time:       nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 461.09 , NVIDIA Corporation
    
    Highest reported total DPC routine time (%):          0.011229
    Driver with highest DPC total execution time:         dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
    
    Total time spent in DPCs (%)                          0.041123
    
    DPC count (execution time <250 µs):                   544105
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-10000 µs):              186
    DPC count (execution time 1000-2000 µs):              4
    DPC count (execution time 2000-4000 µs):              1
    DPC count (execution time >=4000 µs):                 0
    
    
    _________________________________________________________________________________________________________
     REPORTED HARD PAGEFAULTS
    _________________________________________________________________________________________________________
    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.
    
    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
    
    Process with highest pagefault count:                 latmon.exe
    
    Total number of hard pagefaults                       791
    Hard pagefault count of hardest hit process:          265
    Number of processes hit:                              17
    
    
    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       15.444808
    CPU 0 ISR highest execution time (µs):                180.708901
    CPU 0 ISR total execution time (s):                   0.087613
    CPU 0 ISR count:                                      16762
    CPU 0 DPC highest execution time (µs):                2140.962310
    CPU 0 DPC total execution time (s):                   3.052049
    CPU 0 DPC count:                                      430557
    _________________________________________________________________________________________________________
    CPU 1 Interrupt cycle time (s):                       3.234847
    CPU 1 ISR highest execution time (µs):                11.445469
    CPU 1 ISR total execution time (s):                   0.000447
    CPU 1 ISR count:                                      352
    CPU 1 DPC highest execution time (µs):                285.510425
    CPU 1 DPC total execution time (s):                   0.016327
    CPU 1 DPC count:                                      2739
    _________________________________________________________________________________________________________
    CPU 2 Interrupt cycle time (s):                       6.811451
    CPU 2 ISR highest execution time (µs):                14.986768
    CPU 2 ISR total execution time (s):                   0.002581
    CPU 2 ISR count:                                      1196
    CPU 2 DPC highest execution time (µs):                1531.976744
    CPU 2 DPC total execution time (s):                   0.753913
    CPU 2 DPC count:                                      64491
    _________________________________________________________________________________________________________
    CPU 3 Interrupt cycle time (s):                       4.003406
    CPU 3 ISR highest execution time (µs):                13.783079
    CPU 3 ISR total execution time (s):                   0.000694
    CPU 3 ISR count:                                      562
    CPU 3 DPC highest execution time (µs):                350.465918
    CPU 3 DPC total execution time (s):                   0.019147
    CPU 3 DPC count:                                      3143
    _________________________________________________________________________________________________________
    CPU 4 Interrupt cycle time (s):                       3.653480
    CPU 4 ISR highest execution time (µs):                16.478749
    CPU 4 ISR total execution time (s):                   0.000956
    CPU 4 ISR count:                                      562
    CPU 4 DPC highest execution time (µs):                206.621893
    CPU 4 DPC total execution time (s):                   0.074995
    CPU 4 DPC count:                                      10533
    _________________________________________________________________________________________________________
    CPU 5 Interrupt cycle time (s):                       4.491526
    CPU 5 ISR highest execution time (µs):                14.144346
    CPU 5 ISR total execution time (s):                   0.001050
    CPU 5 ISR count:                                      731
    CPU 5 DPC highest execution time (µs):                418.188853
    CPU 5 DPC total execution time (s):                   0.171451
    CPU 5 DPC count:                                      16449
    _________________________________________________________________________________________________________
    CPU 6 Interrupt cycle time (s):                       3.432129
    CPU 6 ISR highest execution time (µs):                14.006816
    CPU 6 ISR total execution time (s):                   0.000561
    CPU 6 ISR count:                                      328
    CPU 6 DPC highest execution time (µs):                416.880513
    CPU 6 DPC total execution time (s):                   0.095382
    CPU 6 DPC count:                                      12131
    _________________________________________________________________________________________________________
    CPU 7 Interrupt cycle time (s):                       3.799651
    CPU 7 ISR highest execution time (µs):                14.519647
    CPU 7 ISR total execution time (s):                   0.000241
    CPU 7 ISR count:                                      150
    CPU 7 DPC highest execution time (µs):                366.068565
    CPU 7 DPC total execution time (s):                   0.035833
    CPU 7 DPC count:                                      4253
    _________________________________________________________________________________________________________
    Last edited by Ornithophilia; 23 Feb 2021 at 18:03.
      My Computer


  2. Posts : 494
    Win 10 Pro x64 versions
       #2

    Well, latency monitor suggests that your HD Audio driver is having issues, have you updated that driver? Bst place to get drivers is from the manufacturer support pages for relatively current hardware. If your system has a dedicated audio card you might try pulling it out of the PC and then installing it back. Sometimes connections become flaky over time and re-seating can fix lots of problems. If your audio is embedded than update the driver. You might look into upgrading the bios to the latest version available as well.
      My Computer


  3. Posts : 148
    Windows 10 32 bit
    Thread Starter
       #3

    I have the latest driver for my audio. I cannot pull the card out and back in. It is a laptop
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #4

    Hello @Ornithophilia,

    Ornithophilia said:
    A bit of Googling around suggests that it is almost always a driver problem.

    Just a thought, can you please perform the following . . .

     Check for ANY Problem Device Errors

    [1] Click on this TenForums link => Batch Scripts / Programs.
    [2] Click the direct download link Problem_Devices.bat in the MENU.
    [3] Run the .bat file.

    • If you want detailed information about the .bat file then scroll down the thread until you get to the relevant section.

    If there are NO ERRORS:

    You will receive the message NO PROBLEM DEVICES WERE FOUND!, and NO log file is created on the Desktop.

    If there are ERRORS:

    There will be a Prob_Devices.log file created on the Desktop.

    EITHER:

    Copy & Paste the results into your post using the [CODE] tags . . .

    [1] Open the Prob_Devices.log file in Notepad.
    [2] Press the Ctrl + A keys together.
    [3] Press the Ctrl + C keys together.
    [4] In your post, click the Hashtag icon #.
    [5] Click INSIDE the [CODE]Here[CODE] tags and press the Ctrl + V keys together.

    • In your post it will look like this . . .

    Code:
    
    <<< Results Here >>>
    

    OR:

    UPLOAD the file => How to Upload and Post Screenshots and Files at Ten Forums.

    I hope this helps.
    Last edited by Paul Black; 25 Feb 2021 at 15:02.
      My Computer


  5. Posts : 148
    Windows 10 32 bit
    Thread Starter
       #5

    There is no .bat file by that name on the page you linked to.
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    Hello @Ornithophilia,

    Ornithophilia said:
    There is no .bat file by that name on the page you linked to.

    My apologies, I have updated those over the last couple of days and forgot to change my post reply file. It is actually called Problem_Devices.bat.
      My Computer


  7. Posts : 148
    Windows 10 32 bit
    Thread Starter
       #7

    There are no problems according to the log other than the one driver missing and that is for the finger print scanner which I do not use. The disabled device was for troubleshooting the issue since LatencyMon did say network related.

    Other than that, it does not find anything yet my PC STILL freezes with System Interrupts at 100%. I just ran a test stream an hour ago and froze within 30 seconds


    Code:
    Title   : Problem Devices
    Author  : Paul Black
    Filename: Problem_Devices.bat
    Created : Thursday the 25-02-2021 at 15:01:44
    User    : Arceus
    
    ======== ============== ====================================================================================================================== 
    Device	PNP Device ID	Error Code 
    ======== ============== ======================================================================================================================
    Not Available	USB\VID_138A&PID_0050\0F15DFB0F0ED	The drivers for this device are not installed.	
    Realtek PCIe GBE Family Controller	PCI\VEN_10EC&DEV_8168&SUBSYS_1968103C&REV_0C\4&1391FF76&0&00E6	This device is disabled.	
    ======== ============== ======================================================================================================================
      My Computer


  8. Posts : 5,452
    Windows 11 Home
       #8

    Ornithophilia said:
    I am using the latest version of OBS Studio
    Have you tried some alternatives to see, if the problem persists there as well?

    Free Live Streaming Software on Windows and Mac | Streamlabs OBS
      My Computer


  9. Posts : 898
    windows 10
       #9

    if there is any dump file under c:\Windows\Minidump upload it.
      My Computer


  10. Posts : 148
    Windows 10 32 bit
    Thread Starter
       #10

    There is a file from the 23rd in there
    System Interrupts 100% CPU when trying to stream with OBS + freeze Attached Files
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:39.
Find Us




Windows 10 Forums