Marvel's Avengers (997070)
Compatibility Report
- Name of the game with compatibility issues: Marvel's Avengers
- Steam AppID of the game: 997070
System Information
- GPU: AMD Radeon 6900XT
- Driver/LLVM version: Mesa 21.1.0/12.0.0
- Kernel version: 5.12-rc5
- Link to full system information report as Gist
- Proton version: experimental-6.3-20210401
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.
Symptoms
The game immediately crashes after launch.

Reproduction
Always.
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?

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
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.
- steam-997070-proton-5.9-GE-7-ST-aco-01-stuck.zip
- steam-997070-proton-5.9-GE-7-ST-aco-04-stuck.zip
- steam-997070-proton-5.9-GE-7-ST-aco-02-crashed.zip
So which logs could be useful?
I use Mesa from git and AMDVLK from git
- GPU: AMD Radeon VII
- CPU: AMD 3950x
- Steam system info
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?
You can't use both at the same time
I know. I installed AMDVLK and several times launched the game:
- steam-997070-proton-5.9-GE-7-ST-amdvlk-01-crashed.zip
- steam-997070-proton-5.9-GE-7-ST-amdvlk-02-crashed.zip
- steam-997070-proton-5.9-GE-7-ST-amdvlk-03-crashed.zip
then uninstalled AMDVLK and several times launch the game with RADV (ACO)
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.
For anyone else looking, the game now works out of the box using Proton-6.9-GE-1
Edit: The game always crashes when stepping out of the bus in the beginning
I could play for 3 times when I set VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command% in launcher. Proton was 6.3-4 and I have a Radeon WX4100 running GamerOS 24.
Also crasing in the same spot as @ErikReider
Arch Linux (5.15.6-zen) AMD 5700XT Mesa 21.1.5
I could play for hours on chimeraos. However, after Wakanda War update, the game shut off in disclaimer screen. I deleted the game and install it again and now I can't see disclaimer the game came back to steam screen.
I am having issues trying to launch this game at all in Linux after Wakanda update. This is also after I installed to freshly installed machine. No matter the proton build, or launch option or options I try, this game will not start.
The game crashes after "Warning read before playing" information. And does not matter which Proton is selected GE or Valve. steam-997070-experimental-6.3-20211011b.log steam-997070-6.19-GE-2.log

Replying to https://github.com/ValveSoftware/Proton/issues/4168#issuecomment-942131146
Wanted to update my report: This has been my exact experience.
After last proton experimental update, the game is running again.
I also can confirm that the game stop crashing with Proton experimental-6.3-20211020 steam-997070-experimental-6.3-20211020.log
I can also confirm that Marvel Avengers is working with Proton Experimental now!
Any RADV related issues with this game or can we drop the label?
Played around 6 hours using RADV no problems, medium settings, does require proton-GE, no other workarounds.
RX 6600XT kernel: 5.14.18 mesa: 21.2.5 proton: Proton-6.21-GE-1
Test results
Played for about 6 hours. Sometimes it freezes the whole system otherwise just some minor glitches:
- Blur effects look pixelated
- No or imperfect Volumetric lightning
- Overall graphics quality seems a bit degraded (Settings maxed out)
- Reported "No GPU" and "Outdated Drivers" warnings pop up
Workarounds
dxgi.nvapiHack = Truewas required- Needed to adjust windows version to
Windows 10(Maybe a local issue due different to attempts to get it running)
Environment
GPU: nVidia Geforce RTX 3090 nVidia Driver: 495.44 Proton: 6.3-7 (Steam)
The game crashes at the loading screen and the game is unplayable. Tested with 6.3.8 with the same results and tried to hide the NVIDIA GPU. Pop OS 20.04 Nvidia GTX 1650 i5 9400f 8GB Ram nVidia Driver: 470.86 Proton: 1641823616 experimental-6.3-2022011 steam-997070.log
Tried this out for the first time in months and I'm getting some serious graphical bugs. RX 6600XT Ryzen 1600AF 16gigs Ram Game installed on SATA SSD Latest Nobara Tested on 7.0-4, Experimental and GE 7-31
From one angle I get this, perfectly normal

Then I turn the camera slightly and this happens

https://gist.github.com/EwokExile/999ff860e37bba6e572596bfa37defce
Hello @EwokExile, please add PROTON_LOG=1 %command% to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.
Hello @EwokExile, please add
PROTON_LOG=1 %command%to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam->Help->System Information) and put it in a gist, then include a link to the gist in this issue report.
Done