(PS5 via Avermedia LGX2) Dropped Frames in Recording that do not show up in Statistics

jacenat

New Member
Setup (Details in screenshots at the end)
* Core i5 8600K @4.3Ghz
* 32GB RAM @4GHz
* RTX 3060
* 960gb Samsung Evo Nvme M.2
* Primary Monitor: LG 2560x1080 144Hz
* Secondary Monitor: Iiyama 1080x1920 (portrait) 60Hz
* PS5
* Avermedia LGX2
* OBS 27.1.3 64bit (newest stable as time of release)
* OBS started on secondary monitor

Recording settings:
* Canvas 1080p60
* NvEnc (new)
* CQP 15
* Keyframes 2
* Quality
* Lookahead and PsyVis Tuning on
* B-Frames 2

When I record with this (or stream, same issue happens there), sometimes frames get dropped. However, these drops do not show up in the OBS statistics.
I have a concrete example.
At second 10 you can see a handful of dropped frames. These are the OBS stats for this recording (text is in German, but it should be obvious):
1634369053968.png

No dropped frames on render or encoding.
The log for the session I recorded the video in is attached as 2021-10-16 08-40-06.txt
Curiously, when I set the canvas FPS to 59.97, the behavior changes a little. The recording goes on for a while perfectly, but then has a period of about 10 seconds, dropping straight to 29.985. With canvas FPS at 60, these drops happen more frequently, but are just intermittent as in the video.

The thing is: Recodring in Avermedia ReCentral works perfectly!
It does record in 59.97, but otherwise there are no dropped frames at all there.
So I truly though this is render or encoding in OBS acting up. But evidently, it's not.
I am stumped by this.

Why would this happen?
How can I debug and get rid of this?

Here a few screenshots about my system details:

1634369490064.png

1634369516241.png

1634369528701.png

1634369535959.png
 

Attachments

jacenat

New Member
I have done some more testing. Turns out that this issue also appears on PC gameplay captured through game capture, not only through the LGX2. The following things did not influence the presence of stuttering:

* obs preview on or off
* obs started on the VRR or the 1080p60 (secondary) screen
* encoder settings (nvenc, nvenc new, cbr, cqp, bit rate, lookahead, ...)
* streaming or local recording
* changing the max refresh rate of the VRR display from 144Hz to 120Hz
* starting OBS with administrator privileges or not

I am at my wits end here. Is this even fixable? Or do I have to expect OBS to not be able to be debuggable in this case?
 

OoRacket

New Member
I haven't been able to fix the issue with capturing my PC games, but my capture card problem was similar to yours. Mine became butter smooth after enabling the "Buffering" option under my capture card's properties inside OBS, if you haven't tried that.
 

jacenat

New Member
I haven't been able to fix the issue with capturing my PC games, but my capture card problem was similar to yours. Mine became butter smooth after enabling the "Buffering" option under my capture card's properties inside OBS, if you haven't tried that.
Buffering was always on for my capture card. I checked and it's still on.
Just to be sure, I deactivated it, and it did not change the behaviour.
So buffering doesn't seem to influence the problem.
 

cyclemat

Active Member
mache das mal hier gerade in deutsch haste ne webcam mit angeschlossen die du gleichzeitig nutzt ?
check sonst mal ob die auf dem gleichen USB roothub sind
poste mal nen screenshot des programms hier !

stell mal deine audio bitrate höher 128 sind nen bissl wenig

und schnapp dir mal den windows update assistenten und bring mal dein windows auf den neusten stand ab 14.12.21 bekommste keine updates mehr

 

jacenat

New Member
check sonst mal ob die auf dem gleichen USB roothub sind
poste mal nen screenshot des programms hier !
Das kann tatsächlich sein. Ich hab eine kleine logitec Webcam laufen. Sind zwar auf unterschiedlichen USB Slots, aber kann sein, dass beide am gleichen USB controller hängen. Ich schau mir das am Abend an.

und schnapp dir mal den windows update assistenten und bring mal dein windows auf den neusten stand ab 14.12.21 bekommste keine updates mehr
Hmmm .. ich dachte ich hab win10 auf 21H1 upgegraded schon. Hab ich vielleicht mit dem Laptop verwechselt. Seh grad dass im Log 2004 steht. Klär ich auch heute Abend.

Danke auf jeden Fall mal!
 

jacenat

New Member
Okay, continuing in English:
First of all, my Windows is indeed on 21H1. No idea why the OBS log shows 2004.
1636656400985.png

About the USB Webcam interfering with the LGX2 capture or the OBS render. Neither is the case. I tested it with the webcam plugged in and plugged out. OBS drops frames (even in preview, as discussed before) either way. Avermedia ReCentral does not drop frames in both cases.

Nevertheless, here the UBS Tree:
1636656525862.png

The Webcam and the LGX2 are on different ports that, according to USB Tree View, do not even share the same lanes. Port 8 (webcam) shares lanes with port 22 (unoccupied) and port 18 (LGX2) shares lanes with port 12 (unoccupied).

Anyone else has ideas what I can check next?
 

jacenat

New Member
Been trying to debug this for a while now.
The frame drops also show up on capturing from the same machine directly, of course (monitor capture, windows capture and game capture are all similarly affected).

What I tried in the meantime:

* Switch up encoder settings from NVENC new to NVENC and back
* Switching encoder settings
* Trying GPU-light games (Quake 3) to rule out bottlenecks on the card
* Made sure neither GPU nor CPU is thermal throttling
* Completely re-installed OBS and tried completely empty scenes with just game capture

None of which did change the appearing frame drops.
I am at my wits end now since the OBS logs as posted above do not show anything.

I will resort to record locally via Shadowplay for PC and Recentral for HDMI capture, and just live with the fact that streaming drops frames.
I do think there is somethoing wrong with OBS, probably when running 2 displays with different resolutions and/or dpi scaling and/or refresh rates and/or different vrf capabilities. But without deep debuggin (which I do not have the time for), I can't conclusively confirm that.


:/
 
Top