protonscr

Jan Zeleny's Mashinky - menus and windows are missing background and fonts

dxvkclosed bugd3d9
doitsujin/dxvk#2541 · opened 2022-03-14 by kubapet · updated 2022-03-15 · 12 comments · github
1 matching comments, n / p to jump
Kkubapet 2022-03-14 github

Broken rendering of game UI - menus and windows are missing background (and fonts in some cases). It works well with Proton 7.0-1 and 6.8-3 and it used to work on Experimental as well, but the last couple of weeks it is broken (it stated with the main menu and later it started to appear even in the game). Tried even the Proton bleeding edge branch and it is broken there as well. The game uses DX9 only and it seems to be some recent regression.

See the attached picture for details.

Name of the game with compatibility issues: Jan Zeleny's Mashinky
Steam AppID of the game: 598960
System Information
GPU: RTX 2060
Driver/LLVM version: nvidia 510.54-9.1
Kernel version: 5.16.11-1-default (OpenSuSE Tumbleweed)
Link to full system information report as Gist:
Proton version: Experimental

I currently do not want to spend more time on investigating how to generate the different api traces, but it can be reproduced by installing the game in steam and changing the Proton Experimental as compatibility layer.

See the report I recently created in Proton GitHub repo: https://github.com/ValveSoftware/Proton/issues/5679
Let me know if you still need more information, in that case I will try to allocate some time to investigate more during the upcomming few weeks..

mashinky

KK0bin maintainer 2022-03-14 github

I fixed a similar bug in another game recently, try a build of DXVK master.
https://github.com/doitsujin/dxvk/actions/runs/1976990024

KK0bin maintainer 2022-03-14 github

If that does not fix it, then please provide the apitrace and logs. I don't own that game.

Kkubapet 2022-03-14 github

I assume, the fix you made is already available on the proton experimental bleeding edge branch.. It is probably related to https://github.com/doitsujin/dxvk/issues/2535 right?

The thing is that I do not know how to build dxvk, which I would probably figure out but then I also need to let Proton use it somehow, which I don't know either and it seems like it would take me a lot of time - I d probably also need to install some dev packages and I don't know if it is possilbe to generate the trace from the Game's Proton's wine prefix or if I have to create new one and install the game from scratch and then use WineD3D and then replace the libs as described in the how to?

KK0bin maintainer 2022-03-14 github

The thing is that I do not know how to build dxvk

That's why I linked the CI page. Just download the zip from there, grab the 32bit d3d9.dll and put that into the game folder right next to the .exe file.

Or better yet, do that with the apitrace d3d9.dll file and upload the created apitrace.

EDIT: Bleeding edge should already have the fix I wanted you to try. So I do need that apitrace.

Kkubapet 2022-03-14 github

That's why I linked the CI page. Just download the zip from there, grab the 32bit d3d9.dll and put that into the game folder right next to the .exe file.

It is 64bit it seems, but either way, I tried to download the pre-build apitrace files and when I access the link (https://ci.appveyor.com/api/projects/jrfonseca/apitrace/artifacts/build/apitrace-latest-win64.7z?branch=master&job=msvc64) I get: {"message":"Artifact not found or access denied."}

BBlisto91 2022-03-14 github

@kubapet
Try 10.0 found here https://github.com/apitrace/apitrace/releases :)

Kkubapet 2022-03-14 github
KK0bin maintainer 2022-03-14 github

That file hoster appears to be blocked in Germany for whatever reason so I can't access it.

Kkubapet 2022-03-14 github
KK0bin maintainer 2022-03-14 github

Thanks for the apitrace. That PR should fix it.

Kkubapet 2022-03-15 github

Woho! that was fast :) thanks a lot! I wish I could contribute more, but I have no experience with directx and vulkan so far 😐

Kkubapet 2022-03-15 github

I confirm the bug has been fixed
image

Proton versions

Upstream links

DLLs