Mafia III DE Crashes when loading game

So, this post is a follow up from my previous post. I'm not sure if my savegame was loaded or not as now my problem is getting the game to run. The log is attached. The game boots up and you can even get to main menu and start a game, but crashes as fast as the loading screen pops up. I suspect that there is an architecture incompatibility with proton's gstream lib files. I tried: - Doing 2 new wineprefixes: both 32 and 64 arch - Using older versions of proton But none have worked, the solution might be under my nose, Could you help me please?
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
21 Replies
other-emerald
other-emerald•15mo ago
proton is not recommended outside steam (unless you have a reason to use it), you should share logs using wine-ge (those are more helpful) have you installed the wine dependencies from https://discord.com/channels/812703221789097985/1044301598018515105 ? I think it includes gstreamer packages
absent-sapphire
absent-sapphireOP•15mo ago
Oh great to know! I didn't know that at all, hold on, I'll bring that here. It seems it didn't even detect my graphics, and I might've not installed it. Hold on while I get them
absent-sapphire
absent-sapphireOP•15mo ago
Launching "Mafia III: Definitive Edition" (gog)
Native? No
Installed in: /media/wolf/SSD2/GOG/MIIIDE

System Info:
CPU: 16x AMD Ryzen 7 5800H with Radeon Graphics
Memory: 33.49 GB (used: 5.51 GB)
GPUs:
GPU 0:
Name: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q]
IDs: D=2560 V=10de SD=0a6e SV=1028
Driver: nvidia
OS: Linux Mint 21.3 (Virginia) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.13.0 Dorry & Broggy
Legendary: 0.20.34 Direct Intervention
gogdl: 1.0.0
Nile: 1.0.1 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallDxvkNvapi": true,
"autoInstallVkd3d": true,
"preferSystemLibs": false,
"autoSyncSaves": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": true,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"battlEyeRuntime": false,
"eacRuntime": false,
"language": "",
"wineVersion": {
"bin": "/usr/bin/wine",
"name": "Wine Default - wine-6.0.3 (Ubuntu 6.0.3~repack-1)",
"type": "wine",
"wineserver": "/usr/bin/wineserver"
},
"winePrefix": "/home/wolf/.local/share/wineprefixes/games",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": "/home/wolf/Games/Heroic/Prefixes/default/Mafia III Definitive Edition/pfx/dosdevices/c:/users/steamuser/AppData/Local/2K Games/Mafia III"
}
]
}

Game launched at: Sun Mar 17 2024 21:02:29 GMT-0400 (Venezuela Time)

Launch Command: HEROIC_APP_NAME=1578751750 HEROIC_APP_RUNNER=gog HEROIC_APP_SOURCE=gog DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_INSTALL_PATH=/media/wolf/SSD2/GOG/MIIIDE LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= DOTNET_ROOT= WINEPREFIX=/home/wolf/.local/share/wineprefixes/games WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 ORIG_LD_LIBRARY_PATH= /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch /media/wolf/SSD2/GOG/MIIIDE 1578751750 --wine /usr/bin/wine --platform windows

Game Log:
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
006c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000135
00c8:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0024:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Launch command: ['/usr/bin/wine', '/media/wolf/SSD2/GOG/MIIIDE/Launcher.exe']
All processes exited
============= End of log =============
Launching "Mafia III: Definitive Edition" (gog)
Native? No
Installed in: /media/wolf/SSD2/GOG/MIIIDE

System Info:
CPU: 16x AMD Ryzen 7 5800H with Radeon Graphics
Memory: 33.49 GB (used: 5.51 GB)
GPUs:
GPU 0:
Name: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q]
IDs: D=2560 V=10de SD=0a6e SV=1028
Driver: nvidia
OS: Linux Mint 21.3 (Virginia) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.13.0 Dorry & Broggy
Legendary: 0.20.34 Direct Intervention
gogdl: 1.0.0
Nile: 1.0.1 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallDxvkNvapi": true,
"autoInstallVkd3d": true,
"preferSystemLibs": false,
"autoSyncSaves": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": true,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": false,
"useGameMode": false,
"battlEyeRuntime": false,
"eacRuntime": false,
"language": "",
"wineVersion": {
"bin": "/usr/bin/wine",
"name": "Wine Default - wine-6.0.3 (Ubuntu 6.0.3~repack-1)",
"type": "wine",
"wineserver": "/usr/bin/wineserver"
},
"winePrefix": "/home/wolf/.local/share/wineprefixes/games",
"wineCrossoverBottle": "",
"gogSaves": [
{
"name": "saves",
"location": "/home/wolf/Games/Heroic/Prefixes/default/Mafia III Definitive Edition/pfx/dosdevices/c:/users/steamuser/AppData/Local/2K Games/Mafia III"
}
]
}

Game launched at: Sun Mar 17 2024 21:02:29 GMT-0400 (Venezuela Time)

Launch Command: HEROIC_APP_NAME=1578751750 HEROIC_APP_RUNNER=gog HEROIC_APP_SOURCE=gog DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_INSTALL_PATH=/media/wolf/SSD2/GOG/MIIIDE LD_PRELOAD= DOTNET_BUNDLE_EXTRACT_BASE_DIR= DOTNET_ROOT= WINEPREFIX=/home/wolf/.local/share/wineprefixes/games WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 DXVK_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 ORIG_LD_LIBRARY_PATH= /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch /media/wolf/SSD2/GOG/MIIIDE 1578751750 --wine /usr/bin/wine --platform windows

Game Log:
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
006c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000135
00c8:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0024:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Launch command: ['/usr/bin/wine', '/media/wolf/SSD2/GOG/MIIIDE/Launcher.exe']
All processes exited
============= End of log =============
No description
absent-sapphire
absent-sapphireOP•15mo ago
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
I might be lacking some dependencies if so, would you please link me to a guide I could use to fix it, please? 🙂
absent-sapphire
absent-sapphireOP•15mo ago
(Extra pic with color code on the error)
No description
other-emerald
other-emerald•15mo ago
install wine-ge-latest (or wine-ge-proton8-26) using the Wine Manager section of heroic, Wine Default - wine-6.0.3 (Ubuntu 6.0.3~repack-1) is super old
absent-sapphire
absent-sapphireOP•15mo ago
On it! Will come with some results asap. Thanks @arieljuod 🙂
absent-sapphire
absent-sapphireOP•15mo ago
Ok did all of this, the launcher popped up but it was all black. Buttons were clickable (I had to play shoot an arrow in the dark) and the game would launch to a black screen, no sound. I created a new prefix, clean, then ran the Launch button and same result. Here's the log, I couldn't pinpoint the issue sadly.
absent-sapphire
absent-sapphireOP•15mo ago
Update: It ran after disabling multi-gpu on settings (and also prefer system libs) either one of those did the trick. Game runs up until main menu, then crashes a second after loading screen pops up Log:
other-emerald
other-emerald•15mo ago
not sure how this got like this /home/wolf/.local/share/wineprefixes/g64, but change this to be /home/wolf/Games/Heroic/Prefixes/Mafia III Definitive Edition (it's the wine prefix setting)
absent-sapphire
absent-sapphireOP•15mo ago
Oh, that's the clean prefix I was telling you earlier about. I've attached current settings as they are now. Both the "Prefixes" folder and "wineprefixes" gave the same result. Crash on Loading Screen.
No description
No description
No description
other-emerald
other-emerald•15mo ago
(no need to upload images of the settings, all that info is at the beginning of each log) delete the prefix and share a new log after trying to run the game, I don't know if the prefix is messed up from using different wines for the gstreamer stuff you can probably install different gstreamer plugins using your system's package manager
absent-sapphire
absent-sapphireOP•15mo ago
Will do, lemme try that one first
other-emerald
other-emerald•15mo ago
this doesn't look good though Syscall stack overrun, I don't know what to do with that error that seems to be the real error, not the gstreamer stuff
absent-sapphire
absent-sapphireOP•15mo ago
Same issue, deleted all previous prefixes, and ran it with latest Wine-GE.
other-emerald
other-emerald•15mo ago
just to be sure, make sure you have all the wine dependencies for your OS, check the wine dependencies link mentioned in this thread https://discord.com/channels/812703221789097985/1044301598018515105
absent-sapphire
absent-sapphireOP•15mo ago
This could probably be doable too, let me check on the package manager will do
absent-sapphire
absent-sapphireOP•15mo ago
Did check, and ran the cmd to install them, but it seems I already had them all.
No description
absent-sapphire
absent-sapphireOP•15mo ago
Tried running the game again, but still crashed at loading screen Same Stack overrun error, and the tail for it is this:
0214:fixme:seh:EnumProcessModulesEx (0000000000000538, 000000000011D9D0, 8192, 000000000011FA28, 3) semi-stub

011c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented

011c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented

011c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 0000000000BCDD90, 10002, 0000000001D9ECC0: stub

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEA98, 0000000001D9FAB0: stub!

0214:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E40, 00000000013E97F0, 10, 0, (null), 3, 3, 0000000000000000, 0

0214:fixme:wbemprox:client_security_Release 000000006E7A0E40

0214:fixme:wbemprox:enum_class_object_Next timeout not supported

0214:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E40, 00000000013E97F0, 10, 0, (null), 3, 3, 0000000000000000, 0

0214:fixme:wbemprox:client_security_Release 000000006E7A0E40

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEB18, 0000000001D9FAB0: stub!

0214:err:ole:com_get_class_object class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:err:ole:com_get_class_object class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:err:ole:create_server class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported

0214:err:ole:com_get_class_object no class object {8b082b18-a6e1-4298-930a-0fcae616d1aa} could be created for context 0x17

info: Setting display mode: 1600x900@60

info: Setting display mode: 1600x900@60

0214:fixme:x11drv:window_update_fshack Enabling fshack for hwnd 0x20078, mapping virt window (0,0)-(1600,900), client (0,0)-(1600,900) to host window (0,0)-(1920,1080), client (0,0)-(1920,1080).

warn: DxgiSwapChain::GetFrameStatistics: Frame statistics may be inaccurate

info: Presenter: Actual swap chain properties:

info: Format: VK_FORMAT_B8G8R8A8_UNORM

info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR

info: Present mode: VK_PRESENT_MODE_FIFO_KHR (dynamic: no)

info: Buffer size: 1600x900

info: Image count: 3

info: Exclusive FS: 1

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEB98, 0000000001D9FAB0: stub!

0214:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!

Launch command: ['/home/wolf/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine', '/media/wolf/SSD2/GOG/MIIIDE/Launcher.exe']

All processes exited

============= End of log =============
0214:fixme:seh:EnumProcessModulesEx (0000000000000538, 000000000011D9D0, 8192, 000000000011FA28, 3) semi-stub

011c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented

011c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented

011c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 0000000000BCDD90, 10002, 0000000001D9ECC0: stub

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEA98, 0000000001D9FAB0: stub!

0214:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E40, 00000000013E97F0, 10, 0, (null), 3, 3, 0000000000000000, 0

0214:fixme:wbemprox:client_security_Release 000000006E7A0E40

0214:fixme:wbemprox:enum_class_object_Next timeout not supported

0214:fixme:wbemprox:client_security_SetBlanket 000000006E7A0E40, 00000000013E97F0, 10, 0, (null), 3, 3, 0000000000000000, 0

0214:fixme:wbemprox:client_security_Release 000000006E7A0E40

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEB18, 0000000001D9FAB0: stub!

0214:err:ole:com_get_class_object class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:err:ole:com_get_class_object class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:err:ole:create_server class {8b082b18-a6e1-4298-930a-0fcae616d1aa} not registered

0214:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported

0214:err:ole:com_get_class_object no class object {8b082b18-a6e1-4298-930a-0fcae616d1aa} could be created for context 0x17

info: Setting display mode: 1600x900@60

info: Setting display mode: 1600x900@60

0214:fixme:x11drv:window_update_fshack Enabling fshack for hwnd 0x20078, mapping virt window (0,0)-(1600,900), client (0,0)-(1600,900) to host window (0,0)-(1920,1080), client (0,0)-(1920,1080).

warn: DxgiSwapChain::GetFrameStatistics: Frame statistics may be inaccurate

info: Presenter: Actual swap chain properties:

info: Format: VK_FORMAT_B8G8R8A8_UNORM

info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR

info: Present mode: VK_PRESENT_MODE_FIFO_KHR (dynamic: no)

info: Buffer size: 1600x900

info: Image count: 3

info: Exclusive FS: 1

011c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

011c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

011c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000BDEB98, 0000000001D9FAB0: stub!

0214:fixme:thread:NtSetInformationThread ThreadIdealProcessor stub!

Launch command: ['/home/wolf/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine', '/media/wolf/SSD2/GOG/MIIIDE/Launcher.exe']

All processes exited

============= End of log =============
other-emerald
other-emerald•15mo ago
honestly I don't know what to do with that stack overrun error, maybe someone else know but I can't help much
absent-sapphire
absent-sapphireOP•15mo ago
Hey, you did amazing @arieljuod 🙂 I appreciate the help, maybe someone here could throw us a bone on this one. I'll see if I can debug on my side, if I find anything I'll let ya'll know! Update # 2: - The game seemed to freeze while loading, I thought it was a crash, but the logs were showing nothing. I let it go for 3 to 4 more minutes and it loaded up without issue. I believe that on loading scenarios it just looks like its frozen but its loading. I'm using Wine GE and the rest is as is. So if you think your game froze, chances are... Unless you see something sus in the logs, it didn't. I'm setting this as solved. @arieljuod Thank you for your support!

Did you find this page helpful?