"DXGI Swapchain" halves framerate

I wanted to play Minecraft in borderless windowed while keeping G-Sync active, one trick I'm aware of is using the "DXGI Swapchain" feature in Nvidia Control Panel. For some reason when I do this in Minecraft, it nearly halves my fps - from about 220 fps with Iris and Complementary Reimagined to about 130-140. Is this a known issue? Any known workarounds for this? For the record, I do this in a few other games too, and Minecraft is the only one experiencing this. Testing on NeoForge 1.21.1, Iris 1.8.6. Windows 11 24H2, latest Nvidia drivers.
7 Replies
Rain
Rain3d ago
I have a suggestion and a few answers and then a few questions Could you try the same configuration without iris and sodium to see if it still halves your FPS? As far as I know this is just the natural side affects of doing it with this method, although I actually haven't tested it myself, I'm assuming it just wraps around Minecraft and makes it a DX window instead of an opengl one? In which case there's probably some overhead involved. This is likely to be just how the method works. And also, going from 220 FPS to 140 might seem like a huge amount but I'd be surprised if you had a monitor that supports that high of an FPS in the first place, so I'm wondering if it's a noticeable issue or something else, I'll do a little bit of reading to see what I can found about this method and I'll let you know 😊
kamild_【=◈︿◈=】
I'll try this without Iris on a vanilla game in a moment and will come back with results. I'm not sure about the usual overhead of this feature, but it's not normal. I use it in other games, and the performance overhead in those games is zero. I have a 240 Hz monitor, so going from 220 to 140 is a very noticeable drop, even if it's far away from unplayable.
kamild_【=◈︿◈=】
Ok so it is a vanilla issue. Which makes this thread technically off-topic, but I'd still like to receive some assistance from someone who knows more about this.
No description
No description
Carbon
Carbon2d ago
I'm not aware of any instances of Nvidia directly supporting or working with Minecraft Java Edition so I think you may be out of luck here My practical suggestion is just to set your max FPS to like 150 or whatever your monitor hz is to remove screen tearing — which would be a bad solution in a lot of other games, but shouldn't have any real gameplay impact in Minecraft
kamild_【=◈︿◈=】
Thank you, but I'm very perceptive to tearing. Simply capping the framerate to the value of monitor refresh rate does not remove it. For the time being I'll just play in normal fullscreen instead of borderless so G-Sync works as expected, but I'm still open to suggestions.
Carbon
Carbon2d ago
Full screen generally seems to work better for Minecraft in general I actually wonder if this is why I had major performance issues in windowed mode in the past
kamild_【=◈︿◈=】
OpenGL and Vulkan in windowed mode seem to be problematic in Windows, yeah. For other games also running on those APIs, this DXGI Swapchain feature is a godsend, because it pretty much bypasses those problems, so they work in windowed mode just as well as they do in modern games running DX. Ok, I completely forgot about a tool I used to use to play Minecraft with called Special K, and it works perfectly. It works similarly to how Nvidia's feature does, but does not halve my FPS. Borderless mode, G-Sync engaged, I'm happy :smilefig:

Did you find this page helpful?