Proton: Marvel's Avengers (997070)

Created on 3 Sep 2020  路  13Comments  路  Source: ValveSoftware/Proton

Compatibility Report

  • Name of the game with compatibility issues: Marvel's Avengers
  • Steam AppID of the game: 997070

System Information

  • GPU: AMD Radeon VII
  • Driver/LLVM version: Mesa 20.3-devel/11.0.0-rc2
  • Kernel version: 5.8
  • Link to full system information report as Gist
  • Proton version: 5.0-10-rc4

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.


steam-997070.log

Symptoms

The game immediately crashes after launch.

Reproduction

Just launch the game.

AMD RADV Game compatibility - Unofficial Mesa drivers

Most helpful comment

I've tested the game. Attached patches fix the crashes regularly encountered on start (I tested that with mainstream Wine, that should probably work with Proton 5.0.x too but I didn't try). The game was playable for me on Nvidia with the following additional workarounds:

  • Fake AMD video card through dxgi (that is doable by putting dxvk.conf with dxgi.nvapiHack = True to the game directory and using dxvk's or Proton's dxgi.
  • Use native d3dcompiler_47 override.

On AMD the game I was hitting Mesa issues (with the current git Mesa and 20.3.0), so no luck yet (maybe it will work with some other Mesa version or GPU, I tested with RX 580) :
SPIR-V parsing FAILED:
In file ../src/compiler/spirv/vtn_cfg.c:261
b->block && b->block->branch == NULL
39824 bytes into the SPIR-V binary

patches.zip

All 13 comments

This looks like it might be the offending part:

23386.338:00c0:00c4:trace:seh:call_teb_handler handler at 0x7b475d00 returned 1
23386.338:00c0:00c4:warn:seh:virtual_unwind exception data not found in L"avengers.exe"
Unhandled exception: page fault on read access to 0x15ce08000 in 64-bit code (0x00000001416147c0).

Followed by a dump

So it's interesting that the game doesn't load d3d*.dll or dxgi but vulkan-1.dll gets loaded. Can somebody make a log with WINEDEBUG=+vulkan?

So it's interesting that the game doesn't load d3d*.dll or dxgi but vulkan-1.dll gets loaded. Can somebody make a log with WINEDEBUG=+vulkan?

steam-997070.zip

Screenshot from 2020-09-06 17-56-42

I've tested the game. Attached patches fix the crashes regularly encountered on start (I tested that with mainstream Wine, that should probably work with Proton 5.0.x too but I didn't try). The game was playable for me on Nvidia with the following additional workarounds:

  • Fake AMD video card through dxgi (that is doable by putting dxvk.conf with dxgi.nvapiHack = True to the game directory and using dxvk's or Proton's dxgi.
  • Use native d3dcompiler_47 override.

On AMD the game I was hitting Mesa issues (with the current git Mesa and 20.3.0), so no luck yet (maybe it will work with some other Mesa version or GPU, I tested with RX 580) :
SPIR-V parsing FAILED:
In file ../src/compiler/spirv/vtn_cfg.c:261
b->block && b->block->branch == NULL
39824 bytes into the SPIR-V binary

patches.zip

Hi,

here the game doesn't start. I compiled proton with your patches, run protonricks and installed d3dcompiler_47 and set it to native, i also put the dxvk.conf with dxgi.nvapiHack = True in the game dir.

I attached the proton log ( last time i tried it got denuvo kick in).

https://gist.github.com/fsyy/2d271e49817a3ad7cd59620e626f46b4

EDIT: i see winedxgi in the top of the log, maybe that is the wrong one.

here's the log with PROTON_USE_WINEDXGI=0, but still denuvo could now be the issue. i guess i have to wait to try it again.

https://gist.github.com/fsyy/e67594be24bfc34a6390f00273789f14

today i tried it again, no denuvo this time, but still crashing:

https://gist.github.com/fsyy/6b8799bcea21d866ec88a0b1e5bc4ee8

if i use PROTON_USE_SECCOMP=1 i get to the launcher, which tells me i have no gpu installed, gpu is shown in the settings, but after i hit play it still crashes.

I am able to launch the game with proton-5.9-GE-7-ST but when I launch the campaign, after loading (splash screen with heroes) the game crashes

or if the game did not crash I have time to run a hundred meters with stutters before the game hanged or crashed again.

So which logs could be useful?

I use Mesa from git and AMDVLK from git

I use Mesa from git and AMDVLK from git

Which one are you using? You can't use both at the same time, I mean you can have both installed, but when you run the game, you're either using mesa, or AMDVLK. Which one is it?

Disappeared face texture on Abu, and hairs on Kamala.
Demonstration: https://youtu.be/qakardXQ2-g
Proton log: steam-997070-proton-5.9-GE-7-ST-amdvlk-05-crashed.zip

This is happening with both AMDVLK and Mesa drivers. It a driver issue or Wine/Proton?
@hakzsam ^^^

@NTMan the DirectX11 implementation in the game is not meant to be used and is incomplete. There are no options to select it anywhere in the game or the launcher, and happened to be found existing only by chance. Therefore we cannot validate if it is a game bug or graphics bug. If this is happening on both amdvlk and mesa it's even more so likely to be a game bug. As mentioned in my release notes the game is still very broken, and you should wait until DX12 support works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

shaphanpena1 picture shaphanpena1  路  3Comments

Elkasitu picture Elkasitu  路  3Comments

leifmetcalf picture leifmetcalf  路  3Comments

juppso picture juppso  路  3Comments