goatcorp / Dalamud

FFXIV plugin framework and API
GNU Affero General Public License v3.0
1.18k stars 271 forks source link

SLI is incompatible with DXGI hooks #60

Closed Drakonas closed 3 years ago

Drakonas commented 4 years ago

Describe the bug here: When streaming using the Go Live feature in Discord, if FFXIV was launched using XIVLauncher, the entire feed jitters as if it's rendering then going back 2 frames, then going forward 4 frames, then back 2 frames, etc.

I have tried disabling XIVLauncher's Discord Rich-presence, Steam Integration, and In-Game additions... still doesn't fix it.

Steps to reproduce the bug:

  1. Launch game with XIVLauncher.
  2. Start Go Live stream in a Discord server voice-chat, select the game application "Final Fantasy XIV".

Expected behavior Launches stream and the game flows normally.

Screenshots Video Link

Other information (please complete the following information): Operating System: Windows 10 1909 XIVLauncher version: 4.7.2.0 Launching as admin?: No Using Steam?: Launching XIVLauncher through Steam, but the game is not the Steam version. Addons/Plugins enabled: Reshade, various mods with TexTools, All other hooks in XIVLauncher disabled, but changing them does not change anything.

Additional information Starting game vanilla without XIVLauncher works just fine with Discord Go Live.

I am using 2x GTX 1070's in SLI.

Aida-Enna commented 4 years ago

Just tested with the latest version of the game and Discord stable - I'm not able to reproduce it. I did get a similar jitter for a second when messing with the FPS caps (which is normal and not related to XIVLauncher).

Do you have some sort of FPS limiter enabled? Try turning off "Limit frame rate when client is inactive" if it's on. It's possible that something is trying to inject into FFXIV and failing with vanilla, but then able to inject into the game when started with XIVLauncher because of the patch 5.2 workaround.

Drakonas commented 4 years ago

Alright, status update. I just tried disabling SLI with my 2x GTX 1070's (same boost and stock clock I might add), and the problem no longer exists. It would seem the problem lies with how SLI is handled and it being incompatible with your hooks maybe? If any memory dumps would aid you I'd happily oblidge.

goaaats commented 4 years ago

I have no way of testing this and I don't think @ff-meli does either, so sadly we can't do any more testing on it for now. I'll leave the issue open for now in case anyone with an SLI rig wants to take a look.

goaaats commented 3 years ago

If this still occurs, please let us know. I'll assume that it's fixed with api4.

Drakonas commented 3 years ago

I unfortunately do not have that rig anymore, so I couldn't tell you. :S Sorry.