-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrap Mechanic: Game fails to launch with DXVK but works with WineD3D11 #1116
Comments
I can confirm that the game doesn't crash anymore with the fix (commit #1117 by K0bin). |
For AMD GPU looks this issue still not fixed. |
Your logs say 1.3-2 which doesn't contain the fix. |
Oh my bad, I think I swapped the numbers in my head. Either way, please post the game log that the guy who made the original issue had. Also make an apitrace. |
|
@NTMan that is not an apitrace, those are DXVK log files. Also, please test whether the game works for you without ACO and test |
Also please post the game's own log file. Maybe @MadByteDE can tell you where those are stored. |
The game logs can be found in /path_to_steam_apps/common/Scrap Mechanic/Logs/ |
I used your instruction file
My launch option is
|
There are a lot of erros about missing shader files in there. (It ships it's own D3DCompiler though so that should work). Try validating the game files with Steam. |
For me, it is not at all obvious that after adding the Why it is not written anywhere? |
You made your trace with DXVK, right? Looks like I also need a WineD3D trace to compare. |
@NTMan Have you tried to delete/rename the "Shaders" folder from "/Scrap Mechanic/Cache/" ? I tried deleting the whole Cache folder myself & it has been re-generated by the game it seems. |
yep.
Here: https://mega.nz/#!5142TSaT!SHMq8TYQHzsqLlXpGjX-O8vNdH8Hgun-Gh46OhE35rk
Very very interesting the game was launched successfully after removing "Shaders" folder, but after the second run without removing "Shaders" folder always crashes again. So for working "Shaders" folder should be removed every time before the next launch. I don't think that this is normal. |
Yay, partly successfull 👍 Then you should look at the game log file again and see what fails. Maybe you need to delete the whole cache folder for it to work? Maybe the shaders need some other cache files to be re-generated too. |
Finally, I removed the whole folder "Cache", but this helps again only one time (only on the next run) The second attempt running the game without removing "Shaders" folder leads to 100% crash. |
Unfortunately reinstalling the game with completely removing prefix didn't help. |
Software information
Name:
Scrap Mechanic
Rendering API:
DirectX 11
Steam page:
https://store.steampowered.com/app/387990/Scrap_Mechanic/
What should happen:
Game launches as normal.
Note: The game does launch when using WineD3D11 via proton setting! But it's flawed with minor graphical glitches like missing transparency in glass etc or broken dynamic lights and bad performance.
What actually happen:
Game launches, shows black screen & crashes seconds later.
Additional notes:
It looks like the problem exists between the mygui library and dxvk, so I looked up the source code the game log refers to and found this on github:
Line from the mygui.log:
00:39:29 | Platform | Critical | RenderManager 0 viewport sets | z:\deps\vc141\mygui\platforms\directx11\directx11platform\src\mygui_directx11rendermanager.cpp | 130
Github link with the cpp:
https://github.com/MyGUI/mygui/blob/master/Platforms/DirectX11/DirectX11Platform/src/MyGUI_DirectX11RenderManager.cpp
Maybe this helps to determine the problem.
Also this issue is reported by almost everyone on ProtonDB:
https://www.protondb.com/app/387990
Log files
d3d11 log:
https://gist.github.com/MadByteDE/49d07ba90fdd6189b25eb5580d6043b0
dxgi.log:
https://gist.github.com/MadByteDE/ca161ff7d09c257e62ebccc7677922d8
Proton log:
https://gist.github.com/MadByteDE/7670a761b41fb53ec3d817c0231ab922
Log created by the game itself:
https://gist.github.com/MadByteDE/f393bb5f24e2cdd0996412b8dcc28847
System information
Proton version: 4.2-9
DXVK version: 1.2.1 (But 1.2.3 doesn't work as well - I tested it)
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor
Operating System Version:
"Manjaro Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 4.19.56-1-MANJARO
X Server Vendor: The X.Org Foundation
X Server Release: 12005000
X Window Manager: GNOME Shell
Steam Runtime Version: jenkins-steam-runtime-beta-release_0.20190320.2
Video Card:
Driver: NVIDIA Corporation GeForce GTX 1060 6GB/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 430.26
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1c03
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.91" x 11.73" (23.94" diag)
53.1cm x 29.8cm (60.8cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 6144 MB
Supported MSAA Modes: 2x 4x 8x 16x
Memory:
RAM: 16036 Mb
The text was updated successfully, but these errors were encountered: