protonscr

Broken texture quality - METAL GEAR SOLID V: GROUND ZEROES

dxvkclosed
doitsujin/dxvk#2367 · opened 2021-11-15 by AlfredoRodda · updated 2022-08-26 · 10 comments · github
AAlfredoRodda 2021-11-15 github

Description

If the texture preset setting is set to anything above Medium, for example "High & Extra High", the quality actually drops to the Low preset.

Screenshots

Medium
m1
Extra High
ex1
Medium
m2
Extra High
ex2
Medium
m3
Extra High
ex3

Software information

METAL GEAR SOLID V: GROUND ZEROES (1.005)

Steps to reproduce

  1. Start the game.
  2. Go to Options -> Graphics Settings -> Textures
  3. Compare the Texture quality preset setting between Medium and Extra High in the main menu and in game.

System information

  • GPU: (Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7))
  • Driver: Mesa/RADV(OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.2.5)
  • Wine/Proton version: Wine 6.20, Wine TkG 6.21, and Proton 6.3-7
  • DXVK version: 1.9.2

Apitrace file(s)

Log files

Ddoitsujin maintainer 2021-11-15 github

Probably just the game doing some broken shit to query available VRAM and getting an incorrect value for some reason, this is probably not our bug. I can try this on my system in a bit.

You should be able to get an apitrace by dropping dxgi.dll, d3d11.dll and dxgitrace.dll from the apitrace/lib/wrappers directory next to the game's executable. I don't know if the game is 32-bit or 64-bit, you'll need to use the appropriate ones. The resulting trace file will be in the destop directory of your wine prefix (probably $HOME/Desktop since you're not using Proton).

AAlfredoRodda 2021-11-15 github

Thanks, managed to get it to create something but the game did not launch still.

EDIT - Removed empty trace

AAlfredoRodda 2021-11-19 github

I noticed the trace uploaded was empty. This one has some content, but the came still crashes while launching.
MgsGroundZeroes.trace.zip

This issue has also been created over at the Mesa repo.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/5554

BBlisto91 2022-07-26 github

@AlfredoRodda Friendly ping. Could i get you to check if this is still an issue with latest dxvk and driver?

AAlfredoRodda 2022-08-10 github

Hi @Blisto91, I went back and tested this out and the issue is present still with the following setup:

Wine 7.14
DXVK 1.10.3
Mesa 22.1.4

BBlisto91 2022-08-10 github

Thanks for checking 👍
I also have the game now so will try to reproduce when i have time

BBlisto91 2022-08-25 github

So i am seeing some weirdness where the texture quality seems to go back and forth in quality depending on setting. But i see similar with wined3d.
Here are some screenshots with wined3d (without dxvk) where you'll notice the high setting takes a dip in quality.

Textures low

Screenshot_20220825_211429

Textures medium

Screenshot_20220825_211818

Textures high

Screenshot_20220825_211534

Textures extra high

Screenshot_20220825_211618

BBlisto91 2022-08-25 github

Actually with some more testing we found that it breaks when it sees a vram value of 4096 or above. Probably a integer overflow in some internal game logic.
So we are going to work around it by capping our maximum reported vram at 4095. dxgi.maxDeviceMemory = 4095

BBlisto91 2022-08-26 github

You can check with latest master build. It should be working now.
You can grab it here https://github.com/doitsujin/dxvk/actions/runs/2931047801

AAlfredoRodda 2022-08-26 github

I can confirm that this issue is resolved, Thank you @Blisto91.

Proton versions

DLLs