protonscr

Assassin's Creed Odyssey: wrong aspect ratio and incorrect rendering

dxvkclosed
doitsujin/dxvk#688 · opened 2018-10-06 by Oschowa · updated 2019-06-15 · 12 comments · github
OOschowa 2018-10-06 github

Assassin's Creed Odyssey seems to incorrectly assume that the display has an 4:3 aspect ratio and will display black bar at the top and bottom of the screen, no matter how much i fiddle with the settings.
Also there are rendering issues when running the benchmark mode on lowest settings like distorted npc's.
The apitrace i recorded goes only up until the main menu, where the game crashes, and thus will likely only be useful to debug the aspect ratio issue. I will also attach screenshots of the rendering issues, however useless they may be. Sadly i had to record the apitrace under dxvk as the game would not load with wined3d and i have no access to windows at the moment.
Another thing to note is that the performance is pretty poor, on lowest settings it struggles to even hold 30 fps; esync on/off doesn't seem to make a difference.

Software information

Assassin's Creed Odyssey all settings low.

System information

  • GPU: RX580
  • Driver: 18.2.1 (LLVM 7)
  • Wine version: 3.17 / 3.15-esync
  • DXVK version: v0.81-1-g87f1cd2

Apitrace file(s)

apitrace.xz
screenshots of incorrect rendering

Log files

d3d11.log
dxgi.log

Ddoitsujin maintainer 2018-10-07 github

Does this work correctly on Windows with DXVK? Since AC:Origin renders fine on AMD's proprietary Vulkan driver, Odyssey should be fine too (the Linux version of the driver is too old though).

I can't debug anything when the apitrace doesn't show the rendering issues. It's not even useful to debug the aspect ratio issue, simply because D3D has no concept of aspect ratio and there's no indication in the trace as to why the game might think it's running on a 4:3 monitor. There is no obvious bug.

Edit: Actually it doesn't even replay for some reason. Thanks, apitrace, for being such an excellent and reliable tool. /rant

Another thing to note is that the performance is pretty poor, on lowest settings it struggles to even hold 30 fps; esync on/off doesn't seem to make a difference.

I think that is pretty much to be expected with your hardware in this game.

OOschowa 2018-10-07 github

Can't test on windows; I just got the game with my GPU and thought i might as well test it out.
FWIW i also tried spoofing an nvidia card, as the game seems to use amd_ags, but it has no effect.

Actually it doesn't even replay for some reason

Don't know what's wrong there, i just redownloaded the trace and it replays fine on my end.

Ddoitsujin maintainer 2018-10-07 github

Update:

  • The aspect ratio issue is a wine bug, not a DXVK bug. This doesn't happen on Windows.
  • The rendering issues are exclusive to Mesa 18.2, it renders fine with Mesa 18.3-git and LLVM 8.0.
    bildschirmfoto-339

You might be able to work around the aspect ratio thing by using windowed mode and forcing the window into fullscreen mode using your window manager.

OOschowa 2018-10-07 github

I just compiled radv-git and llvm-svn and can confirm that the rendering issues are fixed. Sorry for not trying that earlier.

Ddoitsujin maintainer 2018-10-07 github

Thanks for the feedback. I guess for the aspect ratio / resolution issue it might be worth filing a wine bug.

For me, the game first started with 640x480 resolution, and while it allows me to change the resolution correctly, it has the same black bars as it does on your end. On Windows with DXVK, it detects 1920x1080 correctly and has no black bars.

Aah- 2018-10-07 github

How did you get it to start? My installation seems to crash after the intro videos have played, any hints?

Ddoitsujin maintainer 2018-10-07 github

What's your wine version?

It's working for me pretty much out of the box with wine-staging 3.16 (+esync) and a fresh prefix that has only Uplay and DXVK in it.

Aah- 2018-10-07 github

Pretty much the same, tried a bunch of different versions, including 3.16 staging. Installed via lutris winesteam.

Would you mind sharing your ACOdyssey.ini from drive_c/users/you/My\ Documents/?

Ddoitsujin maintainer 2018-10-07 github

Here you go (thank Github for being annoying and blocking certain file extensions):
ACOdyssey.ini.txt

FWIW I'm running the Uplay version of the game, not the Steam one. Maybe there are issues with that.

Aah- 2018-10-07 github

Great, thanks! With a few tweaks to my resolution settings it runs now :)

FullscreenWidth=1920                                                                            
FullscreenHeight=1080                                                                           
WindowedWidth=1920                                                                              
WindowedHeight=955                                                                              
WindowMaximised=0                                                                               
RefreshRate=60                                                                                  
WindowMode=2

It seems like something around resolution detection is broken, i had a wonky refresh rate in there, and way to small widths/heights. Still have some rendering issues, but I that seems to be expected since I'm running mesa 18.2 and llvm 7. I've got the steam version, so at least DRM doesn't seem to be an issue.

Ddoitsujin maintainer 2018-10-07 github

Yes, resolution detection is broken, the only way to fix it currently is to run the game (but not uplay) in an appropriately-sized virtual desktop. But as mentioned in this thread, this is not a DXVK bug.

AAhmedAbdullahFahim 2019-06-15 github

Great, thanks! With a few tweaks to my resolution settings it runs now :)

FullscreenWidth=1920                                                                            
FullscreenHeight=1080                                                                           
WindowedWidth=1920                                                                              
WindowedHeight=955                                                                              
WindowMaximised=0                                                                               
RefreshRate=60                                                                                  
WindowMode=2

It seems like something around resolution detection is broken, i had a wonky refresh rate in there, and way to small widths/heights. Still have some rendering issues, but I that seems to be expected since I'm running mesa 18.2 and llvm 7. I've got the steam version, so at least DRM doesn't seem to be an issue.

hey, didn't that cause your FPS to decrease?

Nothing extracted yet.