protonscr

Super Mecha Champions

dxvkclosed
doitsujin/dxvk#2205 · opened 2021-08-02 by kodatarule · updated 2022-07-18 · 8 comments · github
1 matching comments, n / p to jump
Kkodatarule 2021-08-02 github

The game either works one time with DXVK absolutely fine or it takes 50 tries or more to get into it, while it works every single time with WINED3D(but the performance isn't the best). I tried doing apitrace both of DXVK and WineD3D, but WineD3D simply doesn't run the game and the apitrace is like 2kb which probably won't be useful, but I'll leave it anyways. I have tried using latest Proton-GE, I have tried using older Proton-GE, still the same issue and the last working Proton with the game is 5.13-6 and requires to be ran through terminal konsole -e %command%. Trying to use a dxvk.conf file with dxgi.deferSurface or d3d9.deferSurface doesn't help either.

Software information

Name of the game, settings used etc.
Super Mecha Champions - Steam Game (AppID: 1368910)

System information

  • GPU:RTX 3070
  • Driver:470.57.02
  • Wine version: 5.13(for valve's Proton), 6.9/6.12/6.13/6.14(all of Proton GE's versions that I've tried)
  • DXVK version: v1.7-8-g51531e4a7 (for valve's Proton), latest for Proton GE

Apitrace file(s)

Log files

I also found some rendering logs, which I'll upload as well:
render_d3d11.log
render_dxgi.log

Ddoitsujin maintainer 2021-08-02 github

what was the apitrace recorded with? It contains an incomplete CreateSwapChain call at the end which obviously fails to replay, but up to that point there are no issues.

FWIW, I don't know what "render.exe" is, but that part of the game might require shared resources:

D3D11DXGIResource::GetSharedHandle: Stub

Ddoitsujin maintainer 2021-08-02 github

How do I run the game? It instantly closes on my end even with wined3d using Proton 6.3-5.

Kkodatarule 2021-08-02 github

How do I run the game? It instantly closes on my end even with wined3d.

For Proton 5.0-10/5.13-6 you can use this command - PROTON_USE_WINED3D=1 konsole -e %command%.
For 6.3-5 sadly the launcher doesn't work. The Apitrace was recorded with Proton GE 6.14, because it was the only one able to record apitrace everything else instantly crashed for whatever reason.

Ddoitsujin maintainer 2021-08-02 github

Ok, got it to work, but yeah, it randomly hangs. Unfortunately I do not know how to debug such issues further since tools like gdb don't really work, so I am unable to figure out where it hangs.

?ghost 2021-08-02 github

If this requires Shared Resources, it probably won't work, since support for Shared Resources isn't there yet.

Ddoitsujin maintainer 2021-08-02 github

i think that's just a helper process that runs a CEF instance or something. wined3d doesn't fully support those either afaik.

Kkodatarule 2021-08-03 github

It could be, because from what I've seen the game starts with the Client.exe and then transitions to Render.exe which most of the time fails while the launcher works. Might try to get another log in a bit of both client and render.
EDIT: So render.exe log comes up only if I try to run it with Proton Experimental/6.3-5 and a debug DXVK log for Proton GE shows nothing wrong.
For reference here are logs of Experimental/6.3-5:
client_d3d9.log
client_d3d11.log
client_dxgi.log
render_d3d11.log
render_dxgi.log
And here are logs of Proton 6.14 GE 2:
client_d3d9.log
client_d3d11.log
client_dxgi.log
They're done using DXVK_LOG_LEVEL=debug %command%
EDIT2: Forgot to put render logs for GE:
render_dxgi.log

render_d3d11.log

Kkodatarule 2021-08-26 github

The game got a rough 3.6GB update that seems to have fixed the hanging at least I tried with Proton 6.15 GE 2 and seems to work flawlessly with DXVK now

Proton versions

Launch options

Launch lines