Please also post the DXVK log files and an apitrace.
Can you please not straight-up ignore the issue template and post the DXVK logs? There's a reason why I'm asking for those in the issue template, it's getting really annoying to have to ask twice for them on every single bug report.
That said, this looks suspicious:
13:34:12 (1) ERROR: d:\jenkinsworkspace\scrapmechanic\contraptioncommon\renderer\dx11\d3d11_device.cpp:127 DirectX Error "CreateDXGIFactory" failed. Error code: 0x80004005
But again, can't tell what's wrong without at the very least having a log and ideally an apitrace.
Sorry for not providing the log files directly. I was able to create a API Trace: ScrapMechanic.trace.tar.gz
Here's a dump i did:
$ wine apitrace.exe dump ScrapMechanic.trace
// process.name = "Z:\\media\\hdd1\\SteamLibrary\\steamapps\\common\\Scrap Mechanic\\Release\\ScrapMechanic.exe"
0 CreateDXGIFactory(riid = IID_IDXGIFactory, ppFactory = ?) = E_FAIL
0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod 0xfffffffa, 0x33fe44
It seems like there was no DXVK log generated in the game directory though.
Proton disables those by default, you need to set the Steam launch options for this game to PROTON_LOG=1 %command% in order to enable it. You can also post the whole steam-387990.log file which will appear in your home directory.
info: Game: ScrapMechanic.exe
info: DXVK: v1.2.1-6-g894515f6
warn: OpenVR: Failed to initialize OpenVR
info: Required Vulkan extension VK_KHR_get_physical_device_properties2 not supported
info: Required Vulkan extension VK_KHR_surface not supported
info: Required Vulkan extension VK_KHR_win32_surface not supported
err: DxvkInstance: Failed to create instance
Error on your end. Do you have the vulkan drivers for 64 and 32 bit installed?
That's definitely a setup issue on your end then. Make sure you have a 32-bit Vulkan driver and Vulkan loader installed for your distro.
That was indeed the problem! After installing the 32-bit Vulkan Drivers (which many people don't have apparently), applying the RSGetViewports fix and removing the apitrace DirectX libraries, it starts up perfectly. Now i have 60 FPS with max settings and no graphical glitches. Thank you so much for your help.
proton 4.2-9x1 2019-07PROTON_LOG=1x1 2019-070x80004005x2 2019-07
Scrap Mechanic refuses to launch with AMD/Intel Mesa. The game crashes with this error:

This has been confirmed by a few AMD/Intel Mesa users on protondb.
System information
Log files
The game works fine on DXVK using the proprietary NVIDIA driver since this patch was introduced, but this is unrelated to this issue since the game still crashes with same error on DXVK master.