Styr1x / Browsingway

Dalamud plugin for rendering browser overlays in-game.
GNU General Public License v3.0
34 stars 16 forks source link

Overlays not updating when OBS is capturing the game #36

Open Orphis opened 1 year ago

Orphis commented 1 year ago

Using the "Game capture" feature from latest OBS, with or without the feature to capture game overlays, the in-game overlays won't update. It means a frozen DPS meter UI (where buttons don't do anything) that never updates when the game is focused.

But curiously, everything updates and the views refresh when the game is not in focus anymore. I'm not sure at the moment if it's a bug from OBS or from Browsingway, but since the overlays work when OBS is still capturing and the game is not focused, it seems that Browsingway might be responsible there for the conflict.

Styr1x commented 1 year ago

I'm not an OBS user, but can't reproduce the issue with nVidia's game capture. Is there a specific OBS setup required?

Orphis commented 1 year ago

Not sure if anything special is required besides using the "Game capture" feature from OBS. Note that the game was running in "Fullscreen borderless" on Windows.

I can walk you through it out of band if needed (I'll reach out on Discord).

charlesphil commented 1 year ago

Encountered this issue on a fresh install of OBS, Browsingway, and IINACT after upgrading my system. Didn't have this problem before so I wonder what changed.

charlesphil commented 1 year ago

Wait, I figured it out. My specific issue was that running the game with the framerate uncapped was causing issues on my mixed monitor set up. I currently run a 4k 60hz monitor and a 1080p 75hz monitor, with the game running on the 1080p monitor. By capping the framerate (on either fullscreen or borderless windowed), Browsingway started working as expected while OBS was running. Weirdly enough, this also fixed an issue I didn't realize I had with streaming videos while playing the game, as the video would be "frozen" when unfocused.