Borderlands GOTY Enhanced can't set resolution higher than 1920x1080
It seems like I can't set a resolution higher than 1920x1080 on my 2560x1440 monitor with DXVK. Without DXVK, I can set my in-game resolution to 2560x1440 60Hz, but with DXVK, the resolution always switch to 1920x1080 50Hz when I launch the game and there's no way to set it higher afterwards.
I don't know if it's related, but I use two monitors with different resolutions:
- 2560x1440 144Hz (Primary)
- 1920x1080 60Hz
Also, using d3d9.forceAspectRatio = "16:9" doesn't change anything.
Software information
- Game: Borderlands GOTY Enhanced
- Settings: Everything set to max
System information
- GPU: NVIDIA GeForce RTX 4070 Ti SUPER
- Driver: 572.60
- OS: Windows 11 24H2
- DXVK version: 2.6
Apitrace file(s)
I don't know how to make an apitrace with DXVK for D3D11 games.
Log files
Hi there. Is this the same with older versions of dxvk?
Edit: ~~The game renders using d3d9 not 11 so we'll a d3d9 log~~
Edit 2: nevermind it isn't the original
Hi, I've tried at least 3 different versions (2.6, 2.5.3, 1.10.3) and it doesn't seem to work either.
It probably gets the mode list for the second monitor for some reason. We've gotten a lot of issues from people with multiple monitors or multiple GPUs where DXVK ends up using the wrong one for some reason. It only happens on Windows and there's no obvious reason why it would happen. We've also not been able to reproduce it.
Is your secondary monitor connected to your AMD iGPU perhaps?
Is your secondary monitor connected to your AMD iGPU perhaps?
Both are connected to my GPU. DisplayPort for primary + HDMI for secondary.
What's weird is that this only seems to happen with this game. Slime Rancher 2, which is another D3D11 game I use, works just fine with DXVK. Same thing with D3D9 games, all other Borderlands games : Borderlands 1 (original), Borderlands 2 and Borderlands: The Pre-Sequel all have correct screen resolution.
This has been a known issue for years at this point, the win32 apis we use to query display modes sometimes just don't seem to report available resolutions. There are also reports about DXVK not reporting any display modes at all on some Windows setups, which should be impossible.
No idea why, can't reproduce, and probably won't be fixed until someone figures out what's going on here.
Known issue for Windows multimonitor, especially for 24H2, seems Microsoft changed some logic for dxgi related api, which improved speed for resolution switching but sometimes buggy. Based on my experience there are two hacky workaround that can "solve" the issue on my configuration but both non-standard solution so use at your own risk. Warning again, use at your own risk.. One is that using Nvidia DSR to "align" resolution, 1920x1080 can be configured to DSR 2560x1440 which may allow this resolution also work on main monitor. The disadvantage is that it will use more VRAM. This method is not applicable if you connect the monitor through another GPU or DisplayLink docks. Another is EDID editing which adds unsupported resolution to another monitor to make the game think it's supported. This is somehow risky since you may accidentally choose unsupported signal output to the monitor. If you want to try this, I would suggest you to backup current EDID and ensure you have remote desktop enabled and tested in case you need RDP to recover EDID. (I have used RDP to recover EDID for several times, but the EDID editing is the most powerful trick once it works, dangerous but powerful)
And for why Slime Rancher 2 works: Unity uses borderless window to "simulate" fullscreen by default and it even won't change monitor resolution, so of course it should work. If you want to use FSE for it, you need "-window-mode exclusive" to launch.
If you create a dxvk.conf file next to the game's executable and add
dxvk.allowFse = True
does it help?
That option interacts with the Vulkan swap chain, not with any of the APIs involved in querying display modes.
Hey, sorry to drop in this two-week post, I can clear this issue. This is a bug in the game, you have to reconfigure the settings file in order to fix this. It was known to people using multi-monitors. and players who have tried to fix the hz issue. (the hz issue is the game giving the wrong info about which hz are you using in the game setting) Also it appears to be reading the wrong monitor's info.
Any member who has tried to see if this is the issue can correct me if need. Please and thank you.