Jump to content
The Dark Mod Forums

OBS + Ambient occlusion = low framerate recording


V-Man339

Recommended Posts

After thoroughly trial and error testing the possible cause of low FPS in recordings I can safely warn everyone else that despite having a strong graphics card ambient occlusion absolutely tanks output.

This doesn't show while playing the game, just in the finalized video. Not sure whether this is to be filed as a bug or a sad side effect, either way I hope this helps out in the coding process!

About a minute in the framerate takes a drastic drip. I am not sure what areas in particular cause this, what angles or why.

Equal amounts of drop in framerate are present in low to high. The only differential is turning it off altogether.

 

Edited by V-Man339

I like to record difficult stealth games, and right now you wonderful people are the only ones delivering on that front.

Click here for the crappy channel where that happens.

Link to comment
Share on other sites

Are you using SSAO high? ( r_ssao 3 )?

If so, you might squeeze some more performance by setting r_ssao 1 ( Low ) then adjusting the cvars

r_ssao_radius 64 or 128

(etc)

There will be more motion and resolution artifacts but it might be more playable with OBS.

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

13 minutes ago, stgatilov said:
  • Do you say it does not happen without OBS?
  • Is it well-reproducible (slows down on same location)?
  • Did you try different recording mode (e.g. screen capture) ?
  • Is it on Linux or Windows?

 

This doesn't even happen in-game with OBS. It only shows in recordings, not in live gameplay. I found this out hours after finishing the videos.

It is reproducible.

No.

Windows.

I like to record difficult stealth games, and right now you wonderful people are the only ones delivering on that front.

Click here for the crappy channel where that happens.

Link to comment
Share on other sites

3 hours ago, V-Man339 said:

This doesn't even happen in-game with OBS. It only shows in recordings, not in live gameplay. I found this out hours after finishing the videos.

How many physical cores do you have?

TDM fully uses two threads, plus some minor time is taken by async thread and OpenAL mixing.
If you have two cores, then it is not surprising that OBS cannot find processing time.
Also there is "Frontend Acceleration", which assigns some job for more threads, probably you should disable it.

Did you try setting high priority to OBS in Process Explorer ?

Link to comment
Share on other sites

2 hours ago, stgatilov said:

How many physical cores do you have?

TDM fully uses two threads, plus some minor time is taken by async thread and OpenAL mixing.
If you have two cores, then it is not surprising that OBS cannot find processing time.
Also there is "Frontend Acceleration", which assigns some job for more threads, probably you should disable it.

Did you try setting high priority to OBS in Process Explorer ?

I tried disabling frontend acceleration and the differential was negligible.

I have not tried setting OBS to high priority.

My specs:

Computer Information:
    Manufacturer:  System manufacturer
    Model:  System Product Name
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD Ryzen 7 3700X 8-Core Processor             
    CPU Family:  0x17
    CPU Model:  0x71
    CPU Stepping:  0x0
    CPU Type:  0x0
    Speed:  3593 Mhz
    16 logical processors
    8 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    AVX2:  Supported
    AVX512F:  Unsupported
    AVX512PF:  Unsupported
    AVX512ER:  Unsupported
    AVX512CD:  Unsupported
    AVX512VNNI:  Unsupported
    SHA:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Windows 10 (64 bit)
    NTFS:  Supported
    Crypto Provider Codes:  Supported 311 0x0 0x0 0x0

Video Card:
    Driver:  AMD Radeon RX 5600 XT
    DirectX Driver Name:  aticfx32.dll
    Driver Version:  27.20.14501.18003
    DirectX Driver Version:  27.20.14501.18003
    Driver Date: 11 13 2020
    OpenGL Version: 4.6
    Desktop Color Depth: 32 bits per pixel
    Monitor Refresh Rate: 59 Hz
    DirectX Card: AMD Radeon RX 5600 XT
    VendorID:  0x1002
    DeviceID:  0x731f
    Revision:  0xca
    Number of Monitors:  2
    Number of Logical Video Cards:  2
    No SLI or Crossfire Detected
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 23.54" x 13.23" (26.97" diag)
                                            59.8cm x 33.6cm (68.5cm diag)
    Primary Bus Type Not Detected
    Primary VRAM Not Detected
    Supported MSAA Modes:  2x 4x 8x

Sound card:
    Audio device: Headset Earphone (HyperX Virtua

Memory:
    RAM:  16292 Mb

VR Hardware:
    VR Headset: None detected

Miscellaneous:
    UI Language:  English
    Media Type:  Undetermined
    Total Hard Disk Space Available:  4971959 Mb
    Largest Free Hard Disk Block:  1441269 Mb
    OS Install Date: Dec 31 1969
    Game Controller: None detected
    MAC Address hash: 8b107809a01d2e770ffb3f2004155681399fbf2d
    Disk serial number hash: 295423e0

I like to record difficult stealth games, and right now you wonderful people are the only ones delivering on that front.

Click here for the crappy channel where that happens.

Link to comment
Share on other sites

What version of OBS are you using, is it the latest (26.1.1)? Also is OBS encoding using whatever AMD's GPU encoder is called or is it using raw CPU?

Might be worth logging CPU and GPU utilization when recording, maybe when the slowdown occurs something obvious will crop up on the logs. Maybe RAM as well, in case there's a leak somewhere.

Also:

Quote

    OS Install Date: Dec 31 1969

I know some people don't like reinstalling Windows that often but damn!

  • Haha 1

A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
    • Ansome

      Well then, it's been about a week since I released my first FM and I must say that I was very pleasantly surprised by its reception. I had expected half as much interest in my short little FM as I received and even less when it came to positive feedback, but I am glad that the aspects of my mission that I put the most heart into were often the most appreciated. It was also delightful to read plenty of honest criticism and helpful feedback, as I've already been given plenty of useful pointers on improving my brushwork, level design, and gameplay difficulty.
      I've gotten back into the groove of chipping away at my reading and game list, as well as the endless FM catalogue here, but I may very well try my hand at the 15th anniversary contest should it materialize. That is assuming my eyes are ready for a few more months of Dark Radiant's bright interface while burning the midnight oil, of course!
      · 4 replies
×
×
  • Create New...