Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#956976 17/04/25 02:42 AM
Joined: Oct 2023
L
l0st Offline OP
stranger
OP Offline
stranger
L
Joined: Oct 2023
Now I have a rather unconventional setup, but it would be very helpful if devs mention anything related to 10 FPS cap. Does the game itself force it under any conditions?

I am running GOG version of DOS2 - Definitive Edition in Windows Sandbox on Win11 24H2 with Nvidia GPUs (the issue happens with Titan V and 3090 with a range of recent driver versions). I am streaming the game using OBS Game Capture that works by hooking IDXGISwapChain::Present method.

Googling around the only thing that comes up is Hardware-accelerated GPU scheduling setting, however: 1. it is only settable on host, not in Sandbox, and changing it on the host does not seem to fix the issue; 2. setting registry value for that setting manually in Sandbox does not seem to change anything; 3. when running on the host with the setting either on or off the problem does not seem to reproduce.

P.S. the setup is because I am bootstrapping a p2p cloud gaming service: https://alpha.borg.games/

Last edited by l0st; 17/04/25 07:34 PM.

Founder @ Borg.games
Joined: Oct 2023
L
l0st Offline OP
stranger
OP Offline
stranger
L
Joined: Oct 2023
Some more info: I tried running it in the Sandbox without the streaming parts (and therefore no D3D hooks), and the issue visually still seems to be present (but because the game has no built-in FPS counter it is impossible to be sure).

Basically, repro steps would be:
1. Enable Windows Sandbox
2. Install DOS2-DE from GOG on the host
3. Launch Sandbox with a custom config file that mounts DOS folder as read-only (default settings imply GPU support is on)
4. In the sandbox install VC Redist 2013 x64 and VC Redist Latest x64
5. In the sandbox run DefEd\bin\EoCApp.exe

Last edited by l0st; 17/04/25 02:55 AM.

Founder @ Borg.games
Joined: Oct 2023
L
l0st Offline OP
stranger
OP Offline
stranger
L
Joined: Oct 2023
Extra update: this issue (10 FPS in Sandbox) only reproduces on my Nvidia machines. On AMD-powered machines I get the full FPS. Hell, it is well over 10FPS on very low settings on my integrated AMD GPU inside Sandbox, but still 10 FPS on 3090.

Last edited by l0st; 17/04/25 07:34 PM.

Founder @ Borg.games
Joined: Oct 2023
L
l0st Offline OP
stranger
OP Offline
stranger
L
Joined: Oct 2023
I think I was able to work around this by setting `CUDA_VISIBLE_DEVICES=-1`.

Attached the Visual Studio diagnostic session data "before": https://1drv.ms/u/s!AioR7aFFo_FK1Y8tcK1G4FaDD7BQiQ?e=FNTMXo

Last edited by l0st; 05/05/25 01:15 PM.

Founder @ Borg.games

Moderated by  gbnf, Monodon 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5