Scrap Mechanic (387990)
Compatibility Report
- Name of the game with compatibility issues: Scrap Mechanic
- Steam AppID of the game: 387990
System Information
- GPU: GTX 1060 6GB
- Driver/LLVM version: nvidia 415.25
- Kernel version: 4.19.12-zen1-1-zen
- Link to full system information report as Gist: https://gist.github.com/Scrumplex/5f37aeae37ecd876952b4f11e7742d15
- Proton version: 3.16-6 Beta
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 does not start. It only shows a black screen. It used to work before one of the latest updates of the game with the WINED3D flag enabled.
Reproduction
Just open the game.
Game runs fine with kernel 4.20, driver 418.56, proton 4.2.5 and WINED3D flag.
Wish it worked with DXVK though. With DXVK fails to create graphics device.
If I run it without WINED3D it crashes and produces logs under ScrapMechanic/Logs. The game log shows this:
13:11:56 (1) [Default] Initializing Logger
13:11:56 (1) [System] Operating system: XP Service pack 3
13:11:56 (1) [System] Permissions for C:/users/steamuser/Application Data - Others write | Others read | Group write | Group read | Owner write | Owner read
13:11:56 (1) [System] Permissions for C:/users/steamuser/Local Settings/Application Data - Others write | Others read | Group write | Group read | Owner write | Owner read
13:11:56 (1) [System] Permissions for .. - Others write | Others read | Group write | Group read | Owner write | Owner read
13:11:56 (1) [Default] Initializing ResourceManager
13:11:56 (1) ERROR: d:\jenkinsworkspace\scrapmechanic\contraptioncommon\resources\resourcemanager.cpp:89 $GAME_DATA/Objects/Mesh/fittings/obj_fittings_fusebox.mesh is marked for upgrade, but the file exists. Ignoring upgrade pair
13:11:56 (1) [System] GPU: GeForce GTX 1050
13:11:56 (1) [System] Dedicated Video Memory: 3072 Mb
13:11:56 (1) [System] Shared System Memory: 3072 Mb
13:11:56 (1) [System] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
13:11:56 (1) [System] Total RAM: 15921 Mb
13:11:56 (1) [System] Available RAM: 12463 Mb
13:11:57 (1) [System] Supported feature level: 11.0
13:11:57 (1) [Render] Dx11 device created
13:11:58 (1) [Default] Initializing GUI
13:11:58 (1) [Default] Creating MyGUI DX11 platform
13:11:59 (1) ERROR: d:\jenkinsworkspace\scrapmechanic\scrapmechanic\contraption.cpp:802 Bugsplat!
Which confirms DXVK is the issue. There is a second log for MyGUI:
13:11:58 | Platform | Info | * Initialise: RenderManager | z:\deps\vc141\mygui\platforms\directx11\directx11platform\src\mygui_directx11rendermanager.cpp | 85
13:11:58 | Platform | Critical | RenderManager 0 viewport sets | z:\deps\vc141\mygui\platforms\directx11\directx11platform\src\mygui_directx11rendermanager.cpp | 130
It looks like it fails to create a Graphics device because it is using VC141.
Edit: forgot to change Windows version back to 7 with winecfg. Output remains the same with 7 though.
DXVK receives a fix for the blackscreen / crash on startup.. You can built DXVK from source or use the following link to get it before it get's updated in a future Proton version. The archive contains setup instructions if needed. https://drive.google.com/open?id=1Q8ymLwk2tB2zWQOh5_RDVllMeC_duJ5N
I will wait for proton to be updated and then I'll try. I'm assuming this will probably be in proton 5.0. Just read the issue on the DXVK git. That looks very promising. I'm excited to try it out.
Scrap Mechanic is still broken for AMD/Intel Mesa users because of another bug where the game crashes with this error:
This is the log that gets created:
13:34:12 (1) [Default] Initializing Logger
13:34:12 (1) [System] Operating system: Win 7 Service pack 1
13:34:12 (1) [System] Permissions for C:/users/steamuser/Application Data - Others write | Others read | Group write | Group read | Owner write | Owner read
13:34:12 (1) [System] Permissions for C:/users/steamuser/Local Settings/Application Data - Others write | Others read | Group write | Group read | Owner write | Owner read
13:34:12 (1) [System] Permissions for .. - Others write | Others read | Group write | Group read | Owner write | Owner read
13:34:12 (1) [Default] Initializing ResourceManager
13:34:12 (1) ERROR: d:\jenkinsworkspace\scrapmechanic\contraptioncommon\resources\resourcemanager.cpp:89 $GAME_DATA/Objects/Mesh/fittings/obj_fittings_fusebox.mesh is marked for upgrade, but the file exists. Ignoring upgrade pair
13:34:12 (1) ERROR: d:\jenkinsworkspace\scrapmechanic\contraptioncommon\renderer\dx11\d3d11_device.cpp:127 DirectX Error "CreateDXGIFactory" failed. Error code: 0x80004005
13:34:12 (1) [Render] ERROR: d:\jenkinsworkspace\scrapmechanic\contraptioncommon\renderer\dx11\d3d11_renderer.cpp:59 Adapter search failed
Shutting down...
This has been confirmed by a few AMD/Intel Mesa users on protondb.
I have opened an DXVK issue for this. https://github.com/doitsujin/dxvk/issues/1129
Update: This patch also works just fine using AMD/Intel Mesa, it just requires the 32-bit vulkan drivers to be installed.
Hi, there is a new issue with Scrap Mechanic using Proton 5.0-6. The game starts fine but the cursor disappears when it goes into the game window and nothing is selectable/clickable, i cant even use TAB to navigate. The steam overlay is functional. I'm using amd cpu and amd gpu on Zorin OS 15 (Ubuntu 18.04) Here is more GPU info:
Graphics: Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X]
Display Server: wayland (X.Org 1.19.6 )
drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
Resolution: [email protected], [email protected]
OpenGL: renderer: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.0-050500-generic, LLVM 10.0.0)
version: 4.6 Mesa 20.0.5 - kisak-mesa PPA
Hello @Mhowser, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box. Also, what's the most recent version of Proton which doesn't show the regression?
Hi, sorry for taking so long to respond, that bug was fixed by switching over to Xorg instead of using Wayland.
There is now a new bug with BETA 0.4.0 that was just released, the game crashes everytime I try to create or load a world, be it survival or creative. I dont see anything of interest in the game log but here it is; game-20200507-103025.log
Please let me know if you need more info just tell me how to get it.
20:03:03 (1) [Default] Opening save file: 'C:/users/steamuser/Application Data/Axolot Games/Scrap Mechanic/User/User_76561198242564406/Save/Survival/test1.db'
20:03:07 (1) ERROR: Z:\Jenkins\workspace\sm\ScrapMechanic\Contraption.cpp:856 Bugsplat!
Same here, this doesn't look very fixable for the end user unfortunately. The best thing to do now is to contact the developers and hope that they try to fix the issue. I have already sent them a tweet.
~~It look like they switched Scrap Mechanic to DX12 so it's running on VKD3D now.~~
My framerate limiters don't work anymore. Game doesn't run in openGL anymore (with PROTON_USE_WINED3D=1)
Haven't tried launching a game yet since I'm trying to disable DX12.
It look like they switched Scrap Mechanic to DX12 so it's running on VKD3D now. My framerate limiters don't work anymore. Game doesn't run in openGL anymore (with PROTON_USE_WINED3D=1) Haven't tried launching a game yet since I'm trying to disable DX12.
Where did you get that idea from? For me it still seems like it's running on DX11.
20:02:02 (1) [Render] Dx11 device created
It look like they switched Scrap Mechanic to DX12 so it's running on VKD3D now. My framerate limiters don't work anymore. Game doesn't run in openGL anymore (with PROTON_USE_WINED3D=1) Haven't tried launching a game yet since I'm trying to disable DX12.
Where did you get that idea from? For me it still seems like it's running on DX11.
20:02:02 (1) [Render] Dx11 device created
Ok my bad. It was an assumption because VKGHL was not working and because I couldn't get it to run on WINED3D. Checked the logs and you are right. It's DX11.
Bunch of fishy stuff going on though:
14458.162:00bc:00c0:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\dxvk_config.dll" at 0x69240000: native
warn: D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info: Game: ScrapMechanic.exe
info: DXVK: v1.6-69-g5f4f92002
14463.404:00bc:00fc:err:ntdll:RtlpWaitForCriticalSection section 0x1672208 "?" wait timed out in thread 00fc, blocked by 00f8, retrying (60 sec)
14463.404:00bc:0104:err:ntdll:RtlpWaitForCriticalSection section 0x1672208 "?" wait timed out in thread 0104, blocked by 00f8, retrying (60 sec)
14463.404:00bc:00f8:err:ntdll:RtlpWaitForCriticalSection section 0x7bebf780 "../../../../proton/wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f8, blocked by 0104, retrying (60 sec)
14463.404:00bc:0108:err:ntdll:RtlpWaitForCriticalSection section 0x7bebf780 "../../../../proton/wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0108, blocked by 0104, retrying (60 sec)
14463.404:00bc:010c:err:ntdll:RtlpWaitForCriticalSection section 0x7bebf780 "../../../../proton/wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 010c, blocked by 0104, retrying (60 sec)
Half the time, game doesn't even startup. steam-387990.log
@TaiTair what are your launch options?
I don't know much about Proton internals but i don't think they are actually the problem. The real reason of the crash seems to be some kind of assertion in Scrap Mechanic or something, not anything we can control i think.
On WINED3D
14849.034:00bc:00c0:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
steam-387990.log
@TaiTair what are your launch options?
I tried a few: wined3d, nod3d12, nod3d11, nod3d10, noesync, nofsync, seccomp
Seems to be on Scrap Mechanic end.
Do u guys that are having that problem have an AMD Graphics card? this may actually be he problem since all the people with the lauch problems have them.
Do u guys that are having that problem have an AMD Graphics card? this may actually be he problem since all the people with the lauch problems have them.
I have the Radeon RX 580
I have a Radeon RX 580 too, but i don't think it's the cause.