GPU Overloading Despite Low Utilization

onedrummer02

New Member
Hello, I'm currently trying to record gameplay with OBS but I'm having lag issues show up in the recorded video that aren't showing up while playing the game. I've used the log analyzer but it hasn't been helpful, I know that my Rendering Lag is high and it's showing Eoncoder Overload, but when I try to make the recomended adjustments, nothing helps. I've looked at my task manager while OBS is recording with all GPU engines visible and the total peak utilization is only at about 25% so I feel like I should have more headroom before overloading. My game has a frame cap around 60 and is displayed at ~1080p, however I'm recording at 640x480 24fps so I feel like I shouldn't be having as many issues as I am. I've been losing my mind for the past three and a half hours so any help would be greatly appreciated!

Other notes:
*Yes, OBS is running in administrator mode
*Yes, my base and output resolution are the same
*I do have a text element and a background image present in the scene, but I can't imagine those causing a lot of lag?
*The game I'm trying to record is Minecraft and I've noticed recording lag is especially bad when generating new terrain, but is generally present.
*I'm using Optifine on this version of Minecraft, maybe there's a setting somewhere that's eating up GPU power, but as previously mentioned, I'm not hitting 100% GPU use so I'm not sure this could be the cause?
*I know that recording in 24fps will generally make things choppier when compared to the 60fps I'm playing at, but what I'm seeing isn't just choppiness, it's definitely lag.

Relevant log is attached.
 

Attachments

  • 2024-01-17 21-06-14.txt
    22.3 KB · Views: 10

rockbottom

Active Member
Looks like you have devices that are failing &/or your system is overloaded. You're going to need to start troubleshooting & fix the issues or remove the bad devices.

After getting the above taken care of I would create a new Profile with 1 Scene/1 Source & test @ 1080p/60. Your GPU should be able to do that with no problem.

21:06:21.696: [WASAPISource::TryInitialize]:[{0.0.1.00000000}.{847b8f8b-fe8e-4f3b-962a-bee23095c059}] Failed to enumerate device: 80070490
21:06:21.696: WASAPI: Device '{0.0.1.00000000}.{847b8f8b-fe8e-4f3b-962a-bee23095c059}' failed to start (source: Audio Input Capture)
21:06:21.704: [win-wasapi: 'Audio Input Capture 2'] update settings:
21:06:21.704: device id: {0.0.1.00000000}.{d95e0648-13ee-471d-9060-2bd72de2f78e}
21:06:21.704: use device timing: 0
21:06:21.704: [WASAPISource::TryInitialize]:[{0.0.1.00000000}.{d95e0648-13ee-471d-9060-2bd72de2f78e}] Failed to enumerate device: 80070490
21:06:21.704: WASAPI: Device '{0.0.1.00000000}.{d95e0648-13ee-471d-9060-2bd72de2f78e}' failed to start (source: Audio Input Capture 2)

21:06:46.812: [DShow Device: 'Video Capture Device 2'] settings updated:
21:06:46.812: video device: FHD Webcam
21:06:46.812: video path: \\?\usb#vid_1d6c&pid_1278&mi_00#6&2b0fc597&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
21:06:46.812: resolution: 1920x1080
21:06:46.812: flip: 0
21:06:46.812: fps: 30.00 (interval: 333333)
21:06:46.812: format: MJPEG
21:06:46.812: buffering: disabled
21:06:46.812: hardware decode: disabled
21:06:46.815: DShow: HDevice::ConnectPins: failed to connect pins (0x800705AA): Insufficient system resources exist to complete the requested service.
21:06:46.815:
21:06:46.816: ---------------------------------
21:06:46.816: [DShow Device: 'Video Capture Device 3'] settings updated:
21:06:46.816: video device: FHD Webcam
21:06:46.816: video path: \\?\usb#vid_1d6c&pid_1278&mi_00#6&2b0fc597&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
21:06:46.816: resolution: 1920x1080
21:06:46.816: flip: 0
21:06:46.816: fps: 30.00 (interval: 333333)
21:06:46.816: format: MJPEG
21:06:46.816: buffering: disabled
21:06:46.816: hardware decode: disabled
21:06:46.819: DShow: HDevice::ConnectPins: failed to connect pins (0x800705AA): Insufficient system resources exist to complete the requested service.
21:06:46.819:
21:06:46.822: DShow: HDevice::ConnectPins: failed to connect pins (0x800705AA): Insufficient system resources exist to complete the requested service.
21:06:46.822:
21:06:47.355: DShow: HDevice::ConnectFilters: RenderStream failed (0x80070057): The parameter is incorrect.
21:06:47.355:
21:06:47.379: DShow: HDevice::ConnectFilters: RenderStream failed (0x80070057): The parameter is incorrect.
21:06:47.379:
21:06:47.391: DShow: HDevice::ConnectFilters: RenderStream failed (0x80070057): The parameter is incorrect.
 

koala

Active Member
You added your webcam 3 times, resulting in black images in all except one, and in many of your error messages.
Remove all webcam sources except one. Re-add the ones you deleted, but with the "add existing" option. This way you have 3 working instances of the same webcam source instead of 3 sources pointing to the same webcam device, with only 1 working.

The same with your game capture sources. You have 2 of them. If they should show the same thing, just in different scenes, remove one and re-add it with the "add existing" option.

Finally, your audio sources. The same. Make sure you add additional sources of the same device with the "add existing" option, or consider adding audio sources as global audio sources in Settings > Audio.

You identify unnecessarily duplicated sources by looking at their names. If you have sources for the same thing, one with a regular name and one with a "2" appended, you duplicated instead of adding an existing source. With the "add existing" option, the corresponding sources have the same name and are just links to the same device, so they're using up resources only once.

Again the webcam. You set it to 1920x1080. Since you're streaming/recording only with 640x480, it makes no sense to read the webcam with a resolution that high. Just uses up resources for nothing. Change your webcam settings so the webcam is read with a lower resolution - ideally with a resolution it is actually displayed in your video. If it is only a tiny portrait in the corner of your video, consider a small resolution of 240x240 or something like that.
 

onedrummer02

New Member
You added your webcam 3 times, resulting in black images in all except one, and in many of your error messages.
Remove all webcam sources except one. Re-add the ones you deleted, but with the "add existing" option. This way you have 3 working instances of the same webcam source instead of 3 sources pointing to the same webcam device, with only 1 working.

The same with your game capture sources. You have 2 of them. If they should show the same thing, just in different scenes, remove one and re-add it with the "add existing" option.

Finally, your audio sources. The same. Make sure you add additional sources of the same device with the "add existing" option, or consider adding audio sources as global audio sources in Settings > Audio.

You identify unnecessarily duplicated sources by looking at their names. If you have sources for the same thing, one with a regular name and one with a "2" appended, you duplicated instead of adding an existing source. With the "add existing" option, the corresponding sources have the same name and are just links to the same device, so they're using up resources only once.

Again the webcam. You set it to 1920x1080. Since you're streaming/recording only with 640x480, it makes no sense to read the webcam with a resolution that high. Just uses up resources for nothing. Change your webcam settings so the webcam is read with a lower resolution - ideally with a resolution it is actually displayed in your video. If it is only a tiny portrait in the corner of your video, consider a small resolution of 240x240 or something like that.
Thank you so much! Getting rid of the redundant sources helped a lot. I'm still showing 5% encoder lag and 5% rendering lag in the analyzer but the video overall looks way better so I'm not too worried about it. Thanks again!
 
Top