protonscr

DXVK treats fullscreen borderless and fullscreen the same under Windows

dxvkclosed windows
doitsujin/dxvk#3331 · opened 2023-04-04 by jackie1218 · updated 2025-09-29 · 15 comments · github
Jjackie1218 2023-04-04 github

DXVK has no issues with windowed borderless mode, but fullscreen borderless is incorrectly treated as if it's fullscreen in DXVK. I have read the windows page and understand this might have been done to avoid issues with exclusive fullscreen, but this behavior is very annoying to deal with because you get a blackscreen when you switch from game to screen and vice versa.

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Any games that use fullscreen borderless mode

System information

  • GPU: Intel ARC A770 LE
  • Driver: 31.0.101.4257
  • Wine version: N/A
  • DXVK version: Tested 2.0/2.1, likely affects other versions as well

Apitrace file(s)

N/A
For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

N/A

Mmisyltoad 2023-04-04 github

This is a driver implementation detail as Intel implement it using legacy full screen exclusive rather than the modern DXGI flip path (at least this is how it was explained to me)

Nothing we can do as Intel don't expose VK_EXT_fullscreen_exclusive which, honestly, is a bit of a meme crutch ext for a lazy implementation.

Mmirh 2023-07-23 github

To be extremely fair FSE is the actual legit "no strings attached fullscreen", while the other (while certainly legit, "functionally" equivalent and overall preferable) is more of a long-winded complex workaround to play nice with the DWM.
And of course borderless fullscreen is treated the same, when for the longest time there was no other way to clue the driver about the mode you wanted (and even today I guess you should still support legacy programs?).
Also, it seems like at least Arc cards do support the new extension.
The diagnosis is nonetheless correct.

Anyhow I believe you could possibly tamper the automatic exclusive fullscreen promotion by tinkering with the window styles (or at least this used to work once upon a time with opengl): https://www.catch22.net/projects/winspy/

AAnnihil 2023-09-29 github

It is also the case with windows and an nvidia dgpu (for example on wow 3.3.5a dx9).
How can it work fine with dx9 but not vulkan?
Any way to force windowed borderless in dxvk (even hardcoding it in the source code directly and recompiling would be fine by me).

Mmirh 2023-09-29 github

Directx games are handled by windows
Nvidia has the DISABLE_FULLSCREEN_OPT bit in OGL_DX_PRESENT_DEBUG to toggle whatever behavior you want.
Or another alternative could be enabling DXGI presentation for vulkan and opengl

AAnnihil 2023-10-02 github

Thanks for the reply @mirh
I tried all of your suggestions
Screenshot 2023-10-02 195336
Screenshot 2023-10-02 195404
Screenshot 2023-10-02 195518
Yet the game is still running in exclusive fullscreen, not windowed borderless fullscreen :/
Any idea what am I doing wrong here?

By the way my game is d3d9 not opengl

Ah and I see it's a known issue already

Vvlad54rus 2023-10-02 github

@mirh

DISABLE_FULLSCREEN_OPT

Doesn't seem to do anything on my side either.

@Annihil
Set present method back to Auto and instead try setting Buffer-flipping mode = 0x00000001 OGL_FORCE_BLIT_ON

AAnnihil 2023-10-02 github

@vlad54rus worked, ifly man

For anyone also interested:
image

Mmirh 2023-10-02 github

Did you try d3d9.enableDialogMode = True?
Also, could you check if dxvk older than 2.0 makes any difference?

AAnnihil 2023-10-03 github

Did you try d3d9.enableDialogMode = True?

That works too, idk how I didn't see that option, thanks

AAnnihil 2023-10-26 github

@mirh yes in my case I have g-sync on as well that's right

Mmirh 2023-10-26 github

Do you have non-standard scaling factors too? If yes this might be similar to https://github.com/RPCS3/rpcs3/issues/14180

AAnnihil 2023-10-27 github

@mirh I have a 4k 27" display so running at 150% scaling, is that a non-standard factor thought?

Jjackie1218 2023-12-15 github

ok updating this: this is now causing severe issues in Cities Skylines II: game is unplayable because every time it freezes it causes the display to go black for 5-10seconds before returning.

AAirChandler 2025-09-29 github

Thanks for the reply @mirh I tried all of your suggestions Screenshot 2023-10-02 195336 Screenshot 2023-10-02 195404 Screenshot 2023-10-02 195518 Yet the game is still running in exclusive fullscreen, not windowed borderless fullscreen :/ Any idea what am I doing wrong here?

By the way my game is d3d9 not opengl

Ah and I see it's a known issue already

In case anyone is coming across this now, this setting has moved to

Image

and i used this setting to fix fullscreen windowed mode with old WoW clients

Image

Upstream links