Discovery Gaming Community
[Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37)
+---- Forum: Discovery Mod Bug Reports (https://discoverygc.com/forums/forumdisplay.php?fid=573)
+----- Forum: Can't reproduce (https://discoverygc.com/forums/forumdisplay.php?fid=691)
+----- Thread: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) (/showthread.php?tid=209487)



[Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Loophole - 09-17-2025

Type: Render
Bug: Switching between window modes seems to be broken on dx9 (dxwrapper)

Reproduction Steps:
  • On DSLauncher: click "Render Mode" and select DirectX 9 (dxwrapper); Use Desktop Resolution ON; Windowed Mode OFF (i.e. exclusive fullscreen on)
  • Launch Game, wait for it to load
  • On any scene, press Alt+Enter
  • Wait up to 5 to 7 seconds. The monitor should flash once or twice. On a multi-monitor setup, all displays will flash.
  • Your display mode is still fullscreen.

Expected behaviour: Don't flash the monitors and go to windowed mode. Allow the user to go back to fullscreen when hitting Alt+Enter on windowed mode.
Everything works OK on DirectX 8 (native).

Additional information:
- Vsync forced OFF on Freelancer.exe, but this is reproducible even when letting the 3D application manage the option.
- Windows 11 (unfortunately)
- Do NOT disable full-screen optimisations on Freelancer.exe (I must admit I haven't tried this, it's known to cause issues) <- that did no difference.
- Alt-tabbing also caused the screen-flashing phenomenon. However, it only flashed my 1st and 2nd monitors (my 3rd monitor didn't care).


RE: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Aingar - 09-21-2025

Pushed a launcher update just now that should resolve the issue, please confirm.


RE: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Loophole - 09-21-2025

Hello. After updating, I can say that the bug is *partially* fixed. The window mode switch is now consistent. i.e., switching from fullscreen to windowed makes the game stay on windowed, and going from windowed to fullscreen makes the game stay on fullscreen.

However, all of my screens still flash for a couple of seconds when I hit Alt+Enter, which doesn't happen on DX8.


RE: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Aingar - 09-22-2025

Unfortunately I am unable to reproduce the flashing part on my machine. Best I can suggest is fiddling with dxwrapper.ini configuration in the game's EXE folder. If you break it beyond repair, delete it and launcher will recreate it.


RE: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Loophole - 09-22-2025

I'll try to do that tomorrow and then I'll let you know if I find anything.
Are all of dxwrapper.ini's options available straight in the file? If not, where can I find a list of all the configs?


RE: [Render] Switching between window modes seems to be broken on dx9 (dxwrapper) - Aingar - 09-22-2025

Config file contains a link to documentation.