Question / Help Encoder is Overloaded but CPU is only used maximum 36%

dennisw100

New Member

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    3 KB · Views: 24

carlmmii

Active Member
What Process Priority do you have OBS set to? (Settings -> Advanced)

Nothing really stands out from the logs that anything should be causing encoder overload... but I do have to wonder why you're going with the medium encoder preset when you're throwing 250Mbit/s of bitrate at it? Also wondering why you're using VBR instead of just using CRF for a specific quality target?
 

carlmmii

Active Member
Change your Process Priority to High.

Something to keep in mind with EposVox, his own personal settings are specific for his own workflow. Throwing 250Mb/s at a video is fairly ridiculous for anything other than literal near-lossless video archiving, and at that level I can understand not really caring about really needing to target a quality, just that it's "good enough" even in the high-demanding portions.

I doubt it's factoring into your encoding lag though, unless the storage device isn't able to keep up with actually being able to write to the disk fast enough for the 250Mb/s output OBS has to store. If the process priority shift doesn't work, I would definitely see what lowering the output bitrate down to 50Mb/s does, and work from there.
 

Narcogen

Active Member
I thought I read another thread which suggested that if the storage volume is unable to keep up with the bitrate, this gets reported as encoding lag. I haven't seen this myself, though, and originally I thought it would not be so.
 

dennisw100

New Member
changing priority didn't do anything and from what my task manager is telling me non of the components in my pc is overwhelmed and I did also try to save the video on my m.2 nvme ssd so the write speed should not be the problem also should the recording not first fill up my 32 gb of memorie before it would complain?

Changing to 50Mb/s did not made any difference
 

Harold

Active Member
Ryzen chips have historically had problems with some of the functions used in the slower-tier presets of x264.
 

BluePeer

Member
there is an issue with a CPU exploit and the x264 maxthread
if i understand that issue corretly (or somthing similary with the in 2 part splitted core of the "cpu" if game runs chip 1 and obs in chip 2 it works)
the x264 in 16/18 threads triggers a security feature in the CPU core (like the multithread bug from intel) then its clocked down or something
in combination with other task on the same core it crashs down
but it can works
you need the newest bios update for your board the newst chipset driver

Then split with a tool obs to the last 12 Threads and the game to the first 12

there is a tutorial in german
https://streamtalk.de/index.php/Thread/2352-Guide-Optimales-Streaming-mit-der-Ryzen-3900x-3950x/
interesting is that look stream in browser makes then trouble too ^^
 

Sukiyucky

Member
04:24:06.093: [x264 encoder: 'recording_h264'] preset: medium
04:24:06.093: [x264 encoder: 'recording_h264'] profile: high
04:24:06.093: [x264 encoder: 'recording_h264'] settings:
04:24:06.093: rate_control: VBR
04:24:06.093: bitrate: 250000
04:24:06.093: buffer size: 250000
04:24:06.093: crf: 0
04:24:06.093: fps_num: 60
04:24:06.093: fps_den: 1
04:24:06.093: width: 1920
04:24:06.093: height: 1080
04:24:06.093: keyint: 120
04:24:06.093:
04:24:06.093: [x264 encoder: 'recording_h264'] Failed to set x264 profile 'high'
04:24:06.093: [x264 encoder: 'recording_h264'] VBV is incompatible with constant QP, ignored.


The last two lines say you set things up wrong. Who knows what OBS replaced it with but realize it continued onward to give you a run that resulted in a possible bogus encoder lag calculation (i.e. garbage in, garbage out)

R1CH wrote up a guide on how to setup high quality recordings. I suggest following his advice here:
https://obsproject.com/forum/resources/obs-classic-how-to-make-high-quality-local-recordings.16/
 

dennisw100

New Member
there is an issue with a CPU exploit and the x264 maxthread
if i understand that issue corretly (or somthing similary with the in 2 part splitted core of the "cpu" if game runs chip 1 and obs in chip 2 it works)
the x264 in 16/18 threads triggers a security feature in the CPU core (like the multithread bug from intel) then its clocked down or something
in combination with other task on the same core it crashs down
but it can works
you need the newest bios update for your board the newst chipset driver

Then split with a tool obs to the last 12 Threads and the game to the first 12

there is a tutorial in german
https://streamtalk.de/index.php/Thread/2352-Guide-Optimales-Streaming-mit-der-Ryzen-3900x-3950x/
interesting is that look stream in browser makes then trouble too ^^
I can get obs to use more % of my cpu with this guied but I only get it to run without lags when I use his config but with his configuration I have compression artifacts when I move fast and I don't really want to have any of this artifacts
 

BluePeer

Member
nice that one step near to your target ^^
now try to adjust the encode settings one by one little more to your old and see how far you come (small steps and only one after another)
 

dennisw100

New Member
I punted it now to easy mode and sayed lossless quality with big file size and it looks that does work and look good
 
Top