You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pause and Resume Recording Doubles or Triples CPU usage #3148
Operating system and version: Windows 10 1809
OBS Studio version: 25.08
Repeatable in two systems. (System1 i5-1035G1) (System2 2200G + RX 580)
Expected Behavior
CPU usage remains low at 7-12%
Current Behavior
Pausing and then resuming the recording increases cpu to 20-40%
Increased cpu usage persists until end of recording (>30min)
Steps to Reproduce
Start Recording
Pause Recording
Resume Recording
System1
Before Pausing
After Pausing
High Usage Persists for more than 5 min
System2
Before Pausing
After Pausing
High Usage Persists for more than 5 min
Additional information
Settings:
Default settings with attached page with changes. Two changes not in screen are...
Video > Output Resolution > Changed to match base resolution
Output > Audio > Track 1 > Audio Bitrate > Changed to 64
Found this bug report while having the exact same problem when playing (rather than recording) media files with 25.0.8. I've reproduced the playback issue with the current nightly build without any plugins or scripts present, my CPU usage when playing video starts at 8% with the stable release or 4% with the nightly (the difference most likely being plugins used with the stable release), and when the video is paused it jumps to 20% on stable release or 14% on nightly, approx 10-12% CPU usage increase for pausing a video.
Not sure if it is related to this recording bug, but similar symptoms so I thought I'd mention it here. Having said that, I decided to test for this recording bug also and my CPU usage does not increase on pausing a recording oddly enough. I'm using AMD Radeon hardware (HD7850) with the stock AMF hardware encoder in case that is a useful data point for this particular bug report.
Filed bug #3235 for the media playback CPU spike if I can't find one already present as the playback and recording issues could be separate issues.
Tested this recording bug on my nVidia laptop (1050Ti) using native Nvenc(new) encoder (override stream encoder), and unable to reproduce the CPU spike during pause on record so far. Could be specific encoder settings that cause it perhaps?
@Gol-D-Ace and I were trying to reproduce this recently. I was unable to reproduce on 26.0.2, but @Gol-D-Ace was able to reproduce on 26.0.2. One of the only common elements I could see between the logs was that the affected systems all had 8GB of RAM, including one or two other logs that I examined. This seems like it would be irrelevant, but it's the only thing that stood out to me.
@skeletonbow Can you still reproduce this and provide a log?
Am facing the same issue on windows. Without pausing cpu usage is around 8% whereas pausing and unpausing causes cpu usage to skyrocket to around +55% causing encoding overloads and it stays at a high usage until the recording is stopped.
Tried this in linux, didn't face this issue there.
New versions have new logging. It also helps us to see more context to what actions you took to produce the issue, what sources could possibly be related, as we have had little luck reproducing it on our end. Ideally, it would be most helpful to reproduce this with a completely empty scene collection, or one with just one source, to rule out as many factors as possible.
Understood. I deleted my appdata folder to reset obs to default settings. Only setting I changed afterwards was setting encoder to x264. Problem repeated.
I am having this issue consistently (but strangely).
It seems to be a bit of a crapshoot based entirely on when I open OBS.
Steps:
Open OBS (with admin privileges)
Start recording
pause
unpause
look at CPU usage. ITS HIGH
close OBS
open OBS (again with admin)
start recording
pause
unpause
look at CPU usage. Now it's normal?
repeat
It seems like OBS either has a good start or bad start. If it's a bad start, nothing I do (scene changes, even recording an empty blank scene, etc) will make the pause/unpause issue go away. If it's a GOOD start, then it just works, and keeps working normally, again even if I change scenes or do multiple recording start/stops etc.
Hope this is helpful. It's a super weird issue. So yes, my current workaround is to open OBS, try a 5 second recording with a pause/unpause, look at CPU, if bad, close OBS and try again, until it works. Lol.
P.S. I tried changing from NVENC H.264 to HEVC or x264 and the issue persisted. Also persisted whether I had something like CQP or CBR selected
Have you checked your CPU frequencies when the issue happens? Perhaps the CPU downclocks when OBS is paused but doesn't feel the need to go to max frequency after unpausing?
As far as I could tell, CPU didn't downclock at all (looking at resource monitor) while paused. GPU usage was about the same whether issue was happening or not.
Issue is still present in 29.0.0 for me. Please do not close this :D
I have to play OBS roulette every time I want to record. I hit record, pause/unpause real quick, and if CPU usage shoots, up, close and open OBS again until it doesn't shoot up.
Since this issue is just being used as a catch-all for generic performance issues in OBS, and the original report is very outdated and unactionable, I am closing this.
Anyone experiencing performance issues should first go through our forums or Discord for assistance. If a specific set of reproduction steps for unintended high usage can be found, please open a new issue with those steps against the latest release of OBS.
Activity
Gol-D-Ace commentedon Jul 10, 2020
I can reproduce this.
https://i.imgur.com/K3RNIVH.gif
notr1ch commentedon Jul 23, 2020
Any special tricks to reproduce this? I can't seem to trigger it in either simple or advanced mode, even with the settings above.
skeletonbow commentedon Aug 2, 2020
Found this bug report while having the exact same problem when playing (rather than recording) media files with 25.0.8. I've reproduced the playback issue with the current nightly build without any plugins or scripts present, my CPU usage when playing video starts at 8% with the stable release or 4% with the nightly (the difference most likely being plugins used with the stable release), and when the video is paused it jumps to 20% on stable release or 14% on nightly, approx 10-12% CPU usage increase for pausing a video.
Not sure if it is related to this recording bug, but similar symptoms so I thought I'd mention it here. Having said that, I decided to test for this recording bug also and my CPU usage does not increase on pausing a recording oddly enough. I'm using AMD Radeon hardware (HD7850) with the stock AMF hardware encoder in case that is a useful data point for this particular bug report.
Filed bug #3235 for the media playback CPU spike if I can't find one already present as the playback and recording issues could be separate issues.
skeletonbow commentedon Aug 2, 2020
Tested this recording bug on my nVidia laptop (1050Ti) using native Nvenc(new) encoder (override stream encoder), and unable to reproduce the CPU spike during pause on record so far. Could be specific encoder settings that cause it perhaps?
Gol-D-Ace commentedon Aug 2, 2020
@skeletonbow
The log shows the usage of x264 and I reproduced it with x264.
I honestly didn't come up with the idea to try NVENC because it isn't a CPU (software) based Encoder.
skeletonbow commentedon Aug 2, 2020
Tested with x264 and can confirm a 15% spike in CPU usage during recording pause.
RytoEX commentedon Oct 23, 2020
@Gol-D-Ace and I were trying to reproduce this recently. I was unable to reproduce on 26.0.2, but @Gol-D-Ace was able to reproduce on 26.0.2. One of the only common elements I could see between the logs was that the affected systems all had 8GB of RAM, including one or two other logs that I examined. This seems like it would be irrelevant, but it's the only thing that stood out to me.
@skeletonbow Can you still reproduce this and provide a log?
pllovervoltage commentedon Oct 24, 2020
@RytoEX I recently upgraded 2200g system from 8GB to 16Gb and on latest obs version I still experience cpu bug.
Gol-D-Ace commentedon Oct 24, 2020
In case you are trying to reproduce this.
I need multiple tries to trigger this.
Usually I close OBS after an failed attempt and open it again.
So far I was able to reproduce this with x264 in simple (recording preset) and advanced mode.
R1CH does have the feeling it might be something related to Qt.
flaeri commentedon Oct 24, 2020
Tested with both 32gb and 8gb ram, also tested using 85+% the 8gb stick , and it did not seem to matter. Cant reproduce. i7-8700, win 2004, obs 26.2
Gol-D-Ace commentedon Oct 24, 2020
Can you reproduce this every try or do you need multiple attempts as well?
@pllovervoltage
pllovervoltage commentedon Oct 24, 2020
@Gol-D-Ace I've been able to reproduce this consistently every time.
Andrefty commentedon Mar 15, 2021
I am having the same issue on a i5-8365U powered laptop, using the QuickSync H.264 encoder.
Orlean54 commentedon May 22, 2021
Am facing the same issue on windows. Without pausing cpu usage is around 8% whereas pausing and unpausing causes cpu usage to skyrocket to around +55% causing encoding overloads and it stays at a high usage until the recording is stopped.
Tried this in linux, didn't face this issue there.
11 remaining items
RytoEX commentedon Oct 14, 2022
New versions have new logging. It also helps us to see more context to what actions you took to produce the issue, what sources could possibly be related, as we have had little luck reproducing it on our end. Ideally, it would be most helpful to reproduce this with a completely empty scene collection, or one with just one source, to rule out as many factors as possible.
pllovervoltage commentedon Oct 14, 2022
Understood. I deleted my appdata folder to reset obs to default settings. Only setting I changed afterwards was setting encoder to x264. Problem repeated.
https://obsproject.com/logs/rTzHofwoZmv6rPk2
Krydax commentedon Oct 27, 2022
I am having this issue consistently (but strangely).
It seems to be a bit of a crapshoot based entirely on when I open OBS.
Steps:
It seems like OBS either has a good start or bad start. If it's a bad start, nothing I do (scene changes, even recording an empty blank scene, etc) will make the pause/unpause issue go away. If it's a GOOD start, then it just works, and keeps working normally, again even if I change scenes or do multiple recording start/stops etc.
Log from a bad start: https://obsproject.com/logs/7ft4zMT5VDF29NB8
another bad one: https://obsproject.com/logs/J-BUFccebObmqYnh
Log from a good start (no issue): https://obsproject.com/logs/0wWaSXVWgXMvnnZp
Hope this is helpful. It's a super weird issue. So yes, my current workaround is to open OBS, try a 5 second recording with a pause/unpause, look at CPU, if bad, close OBS and try again, until it works. Lol.
P.S. I tried changing from NVENC H.264 to HEVC or x264 and the issue persisted. Also persisted whether I had something like CQP or CBR selected
notr1ch commentedon Oct 27, 2022
Have you checked your CPU frequencies when the issue happens? Perhaps the CPU downclocks when OBS is paused but doesn't feel the need to go to max frequency after unpausing?
Krydax commentedon Oct 27, 2022
As far as I could tell, CPU didn't downclock at all (looking at resource monitor) while paused. GPU usage was about the same whether issue was happening or not.
pllovervoltage commentedon Jan 25, 2023
Issue no longer present in 29.0.0.
Krydax commentedon Jan 25, 2023
Issue is still present in 29.0.0 for me. Please do not close this :D
I have to play OBS roulette every time I want to record. I hit record, pause/unpause real quick, and if CPU usage shoots, up, close and open OBS again until it doesn't shoot up.
Krydax commentedon Jan 25, 2023
I even got a whole new mobo, CPU, and ram, and the issue is still present!
jcyrss commentedon Aug 2, 2023
I met the same issue here on Mac mini M1 with OBS 29.1.2
ThaiCat commentedon Feb 20, 2024
Still present in OBS 30.0.2
Fenrirthviti commentedon Oct 14, 2024
Since this issue is just being used as a catch-all for generic performance issues in OBS, and the original report is very outdated and unactionable, I am closing this.
Anyone experiencing performance issues should first go through our forums or Discord for assistance. If a specific set of reproduction steps for unintended high usage can be found, please open a new issue with those steps against the latest release of OBS.