protonscr

Final Fantasy XIII - Resolution bug @1440p

dxvkclosed
doitsujin/dxvk#1854 · opened 2020-12-13 by DistantThunder · updated 2021-03-14 · 6 comments · github
DDistantThunder 2020-12-13 github

The game has a bug on Windows where 1440p is badly handled.

It appears as if the game internally renders to 720p at all the times and simply stretches the picture to whatever the resolution when above 1080p (supposedly).

Various workarounds were found, mostly through downscaling.

There also exists a particular fix for FF XIII (https://github.com/rebtd7/FF13Fix) where they worked around the issue by setting the internal resolution slightly below 1440p.

When using WINE_D3D9 with the fix, this appears to work on Linux too:

image

However, going through DX/9VK the Windows behaviour is "kind of" reproduced, as the screen is split diagonally where one half renders correctly, and the other half renders like in Windows bugged state:

image

This bug happens with and without the injected ffxiii-dll fix.

Api Trace included.

Thank you for your work, hoping a solution could be found.

Software information

Final Fantasy XIII - Steam version

System information

  • GPU: 5700 XT
  • Driver: Mesa 21.0.0-devel (git-ac0d393eb1) (ACO)
  • Wine version: Proton 5.0.10
  • DXVK version: v1.7-8-g51531e4a7
  • AMDGPU: 5.9.13 (Arch Linux)

Apitrace file(s)

Log files

Mmisyltoad 2020-12-13 github

Thanks, will take a look later today!

DDistantThunder 2020-12-13 github

Thanks, feel free to ask for details, I'll provide as best as I can.

Mmisyltoad 2020-12-14 github

Fixed with 65635b23c1e8575362722c99e6ffdf9d9df64116.

DDistantThunder 2020-12-15 github

Confirmed working on my end:

image

Thanks a lot, that was real quick!

Mmisyltoad 2020-12-16 github

Yw!

Aaxeldavy 2021-03-14 github

Hello, do you still have the trace ? I'd like to know if gallium nine is affected.

Proton versions

Launch options