doitsujin / dxvk

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
zlib License
12.25k stars 784 forks source link

[d3d11] Vindictus: Wrong Aspect Ratio in Multiple Screens Setup #3975

Open kin-patsu opened 2 months ago

kin-patsu commented 2 months ago

When playing Vindictus in DirecX 11 mode in a setup with more than one screen, if one of those is connected through DisplayPort and the second one through HDMI then the aspect ratio of only the DisplayPort screen will be used, regardless of which screen is being used as the main one.

In my case, my main screen is 16:9 connected through HDMI, with another side monitor, also 16:9, used vertically and connected through DisplayPort. This causes Vindictus to default its resolution to windowed 1024x768 when started with dxvk, and to only show vertical resolutions when choosing a custom one, as shown here: image It's worth noting that this doesn't happen when playing in DirectX 9 mode.

Software information

System information

Apitrace file(s)

Log files

No Proton or Wine log, being on Windows, however I can provide the dxvk log:

doitsujin commented 2 months ago

We currently don't really support rotated displays, in part because I have no idea how DXGI reports display modes for them and whether or not apps have to be aware of the rotation.

I'm also not sure what the expectation here is though, the game is not aware of multi-monitor setups and only queries display 0, and I don't know if changing the "main" display at an OS level has any effect at all on the way EnumDisplayMonitors / EnumDisplaySettings report things.