Stuttering with OBS Studio in Old Game Warhammer 40k Inquisitor Matyr

spacesource

New Member
I wanted to stream the new DLC in 40k Inquisitor Matyr (release was 20218) today but it stutters so badly that it is unplayable.

Without OBS it runs smoothly but I only have stuttering problems with this game. They come almost every second.

What I've already tried:

- Checked the game files for errors in Steam twice.
- I started the game in admin mode
- I started the game with Windows 8 compatibility mode
- Geforce Expierend finished

I've tried a lot of things in the game:

- The resolution changed (currently 4k)
- All window mode tested
- FPS limited
- FPS to 60
- Vsync enabled
- Temporary AA disabled
- High shader disabled
- Frame blending enabled
- Synchronize CPU with GPU activated

These are my OBS stream settings. OBS is up to date:

Encoder: NVIDIA NVENC H.264
Rescale Output: Disabled
Resolution: 1920x1080
Quality regulation method: CBR
Bit rate: 6000
Keyframe: 0s
Default: P7
Tuning: High quality
Multiple passes: Full resolution
Profile: high
Lookahead: No
Psycho Visual Tuning: Yes
GPU: 0
Max B frames: 2

My PC:

Case: CORSAIR Crystal 280X RGB Black Tempered Glass
Gigabyte Z690 AORUS Elite DDR4
Processor: Intel Core i9 12900K 12th generation (base clock: 3.2GHz Turboboost: 5.2GHz, 6 cores]
Water cooling: Cooler Master MasterLiquid ML240L RGB
Graphics card: RTX 4090 24Gb
RAM: DDR4 64GB CORSAIR KIT 4x16GB
Drive: Asus Blu-ray RW EXT USB3
SSD: 2x 1TB Samsung 870 EVO SATA III 2.5 inch SSD, 1TB
Power supply: Be quiet! Dark Power Pro 11 850W 80+ Platinum
WLAN + Bluetooth: ASUS PCE-AC55BT
Operating system: Windows 10 Home 64
Monitor: BENQ EL2870U 4k
Monitor 2: BENQ XL 24II
Monitor 3: G-Master GE 27

My Log Data: https://obsproject.com/logs/Qg4SAo8VT4JHBHt4
 

rockbottom

Active Member
Your log is truncated & doesn't contain an encoding session but you should start checking all of your plugins. Nvidia Audio FX is way stale. Current version is 1.3.22.0

17:20:33.144: NVENC supported
17:20:33.284: [noise suppress]: NVIDIA AUDIO FX version: 1.2.0.13
17:20:33.284: [noise suppress]: NVIDIA AUDIO Effects SDK is outdated. Please update both audio & video SDK.
17:20:33.405: [noise suppress]: NVIDIA AUDIO FX enabled
 

rockbottom

Active Member
Good. I don't need or use any of it so only install what you need.

I need a new log with an encoding session.

The multi-rtmp wasn't in the last log but there are newer releases available. 0.6.0.1 works fine for me but it does cause memory leaks. 9 per multi-out stream to be precise.

 

spacesource

New Member

I activated Game Mode and it didn't work any better.

I also created a new scene and tested it with just the game source.

Neither worked, it still stutters.

I have very few sources and only the ones I need. I can't install the RTMP 0.6.0.1 plugin because I don't understand how to install it. As I said, it only stutters in this old 40k game.
 

rockbottom

Active Member
I found videos of this game captured with OBS on YT, most seem OK but there was no mention of the set-up used. Since I don't own the game, no way to troubleshoot any further on my end.
 

rockbottom

Active Member
Not the exact game but most likely runs on the same engine.

Perhaps it could be your v-sync setting or even these failed SE/Java Script errors causing your pain.

19:40:00.125: [obs-browser: 'Chatten'] Error: Uncaught SecurityError: Failed to set the 'cookie' property on 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag. (https://streamlabs.com/mixed/assets/widgets/js/chatbox.custom.js?id=e5a2c253fb8c8db506cb:2)
19:40:00.649: [obs-browser: 'Alert Box'] Error: Uncaught (in promise) Something went wrong. (https://streamlabs.com/mixed/assets/widgets/js/alertbox.js?id=1ca84fdec1043227ac25:2)
1

Scene in play during capture. No overlays can be used with that game.....
19:39:58.899: - scene 'Browser':
19:39:58.899: - source: 'Bildschirmaufnahme 3' (monitor_capture)
19:39:58.899: - source: 'cam' (dshow_input)
19:39:58.899: - filter: 'Noise Gate' (noise_gate_filter)
19:39:58.899: - source: 'Overlay' (image_source)
19:39:58.899: - source: 'Chatten' (browser_source)
19:39:58.899: - source: 'Alert Box' (browser_source)

19:39:58.899: - monitoring: monitor and output
19:39:58.899: - source: 'Werbung' (text_gdiplus_v2)
19:39:58.899: - source: 'tip Alert Box' (browser_source)
19:39:58.899: - source: 'Twitch Werbung' (image_source)
19:39:58.899: - show: 'Twitch Werbung Zeige-Übergang' (slide_transition)
19:39:58.899: - hide: 'Twitch Werbung Verstecke-Übergang' (slide_transition)
 
Last edited:

rockbottom

Active Member
I didn't bother to read all of this but read enough.

 

spacesource

New Member
Java is now up to date.

The tips in this forum didn't help. Unfortunately, deactivating the processors didn't help either. The engine just seems to have been poorly programmed.

I tested the game with Streamlabs OBS and only had my screen active as the source (not the Game Source) and then it ran smoothly.

Unfortunately you can't start multistream via Streamlabs OBS and I would have to start it with Restream because I stream on YouTube and Twitch.

I don't know if it would be worth all the work... if the game keeps crashing then all the work would be in vain. I need some time for tests.
 

rockbottom

Active Member
The game dev was in that thread I posted. You may be SOL...


oeregharcos [developer] Jun 6 @ 5:58am





A couple more things worth trying:
  • uncheck the Steam Option : Steam > Settings > In-Game > Second Option "Use the Big Picture Overlay when using a steam input...
  • put 'physics detail' and 'character detail' as well as 'persistent bodies' down to zero in the graphics settings.
  • this Reddit thread may hold the solution for you also
  • try playing in Borderless Mode
  • as mundane as it sounds, check to see if the game uses your designated graphics card at all
  • limit the number of CPU cores responsible for running the game as shown in this article[www.itechtics.com]


Last edited by oeregharcos; Jun 6 @ 5:58am
 

spacesource

New Member
The game dev was in that thread I posted. You may be SOL...


oeregharcos [developer] Jun 6 @ 5:58am





A couple more things worth trying:
  • uncheck the Steam Option : Steam > Settings > In-Game > Second Option "Use the Big Picture Overlay when using a steam input...
  • put 'physics detail' and 'character detail' as well as 'persistent bodies' down to zero in the graphics settings.
  • this Reddit thread may hold the solution for you also
  • try playing in Borderless Mode
  • as mundane as it sounds, check to see if the game uses your designated graphics card at all
  • limit the number of CPU cores responsible for running the game as shown in this article[www.itechtics.com]


Last edited by oeregharcos; Jun 6 @ 5:58am
Everything already tested. Unfortunately it didn't help
 

rockbottom

Active Member
I think your best bet is to get the game to run without crashing. If that can be accomplished, then try to to use OBS. Many people having issues with it & if it is a frame pacing issue, there's not much you can do.
 

spacesource

New Member
I have now decided to move Inquisitor Matyr because it is too much effort and I have no guarantee that it will run reliably with Streamlabs OBS. There are also said to be some problems with Restream and I started with Restream in 2020 and there were rarely problems, but they did exist. Chat messages were sometimes displayed twice and if you don't pay for restream you get bad servers.

Supposedly the nvidia Studio driver would be better for me but the current one works very well and I don't want to uninstall it. As soon as I have installed a studio driver I will use 40k inq. Test Matyr again.

There are 2 new games coming out this week that I'm concentrating on now. Thanks for the help.
 

rockbottom

Active Member
FWIW, I only use studio drivers. They generally don't have the latest game optimizations, but they tend to be vetted better & stability/upgrade issues rarely happen.
 
Top