https://bugs.winehq.org/show_bug.cgi?id=55415
Bug ID: 55415 Summary: Spider-Man: Shattered Dimensions crashes after a few minutes of playing Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tinozzo123@tutanota.com Distribution: ---
Created attachment 74977 --> https://bugs.winehq.org/attachment.cgi?id=74977 Logs just before the game crashes
When playing Spider-Man: Shattered Dimensions for a few minutes, the game crashes.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #1 from tinozzo123@tutanota.com --- Created attachment 74978 --> https://bugs.winehq.org/attachment.cgi?id=74978 Backtrace of the crash
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Hi,
Could you attach +d3dcompiler log as well?
https://bugs.winehq.org/show_bug.cgi?id=55415
tinozzo123@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74977|0 |1 is obsolete| |
--- Comment #3 from tinozzo123@tutanota.com --- Created attachment 74979 --> https://bugs.winehq.org/attachment.cgi?id=74979 Logs with `WINEDEBUG=+d3dcompiler`
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- One potential issue is the same as bug 55182.
But there is also:
0134:err:d3d:resource_init Out of adapter memory.
not sure how bad that is.
If you can, please grab the game shaders with VKD3D_SHADER_DUMP_PATH=<existing directory path> - this will create .hlsl files in this directory. Also, adding VKD3D_SHADER_DEBUG=trace should make the log more explicit.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- By the way, is there a demo of this game? I don't see it available on Steam.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #6 from tinozzo123@tutanota.com --- Created attachment 74983 --> https://bugs.winehq.org/attachment.cgi?id=74983 Shader obtained with VKD3D_SHADER_DUMP_PATH
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #7 from tinozzo123@tutanota.com --- Attached the shader (there was only one) dumped by VKD3D_SHADER_DUMP_PATH. Sorry for the delay. Regarding `VKD3D_SHADER_DEBUG=trace`, logs don't print anything that wasn't already printed before. Unfortunately, the game isn't available digitally, as it has been delisted along with the other Spider-Man games published by Activision.
https://bugs.winehq.org/show_bug.cgi?id=55415
tinozzo123@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74979|0 |1 is obsolete| |
--- Comment #8 from tinozzo123@tutanota.com --- Created attachment 74984 --> https://bugs.winehq.org/attachment.cgi?id=74984 Logs with `WINEDEBUG=+d3dcompiler`
There was also the environment variable `VKD3D_SHADER_DEBUG=trace`, but it didn't seem to do anything. The difference from the one before is that I reproduced the crash in the main menu (instead of in-game), meaning that the logs should be cleaner.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- I submitted a couple of fixes for the compiler issue:
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/301 https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/302
With that attached shader compiles for me. Once this is merged we'll need this game retested.
https://bugs.winehq.org/show_bug.cgi?id=55415
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |hlsl Version|8.13 |1.8 Product|Wine |vkd3d
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #10 from tinozzo123@tutanota.com --- I downloaded Wine 8.13's source code, hackily applied the patches, compiled, and tested again. The good news: the game doesn't crash anymore at the main menu (I left it idle for a few minutes, before the patches it would have crashed multiple times). However, it still crashes soon after going in-game. I got logs and dumps for crashing in each of the four dimensions of the game. There are many more shaders to toy with.
(By the way, I probably should have mentioned it sooner, but the game on Wine also has an issue on rendering the Amazing and the 2099 dimensions: the screen is completely red, except for the UI. The Ultimate and Noir dimensions render fine. This is fixed by `winetricks d3dx9` (but it doesn't fix the crash). I don't know if it's related to the crashing bug, I'll report it later if fixing the crashes doesn't fix the rendering.)
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #11 from tinozzo123@tutanota.com --- Created attachment 74987 --> https://bugs.winehq.org/attachment.cgi?id=74987 Dumps and logs after I hackily applied the patches, for each of the four dimensions
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Thanks, some issues like log2 and resource load are already fixed in current vkd3d code. But there are new problems too, I opened bug 55428 for control flow attributes support.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- Const modifier fix is in, now waiting for 'inline' fix to get merged.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- Inline modifier fix is merged too now, https://source.winehq.org/git/vkd3d.git/commit/18c14774642f1b8ecb7a1011965c4....
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #15 from tinozzo123@tutanota.com --- I finally tested with vkd3d 1.9. Unfortunately, the 4 levels I tested still crash. More logs and dumps incoming.
https://bugs.winehq.org/show_bug.cgi?id=55415
--- Comment #16 from tinozzo123@tutanota.com --- Created attachment 75177 --> https://bugs.winehq.org/attachment.cgi?id=75177 Dumps and logs with vkd3d 1.9
https://bugs.winehq.org/show_bug.cgi?id=55415
tinozzo123@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=54778
https://bugs.winehq.org/show_bug.cgi?id=55415
tinozzo123@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=55080
https://bugs.winehq.org/show_bug.cgi?id=55415
tinozzo123@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #17 from tinozzo123@tutanota.com --- While the game still crashes, the main issue exclusive to it was solved. Closing, since the game now needs to support features needed by other games too.
https://bugs.winehq.org/show_bug.cgi?id=55415
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.10.
https://bugs.winehq.org/show_bug.cgi?id=55415
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Fixed by SHA1| |18c14774642f1b8ecb7a1011965 | |c4dfbe9bbec2a