protonscr

Mafia / The Old Country - Crash on startup

protonclosed
ValveSoftware/Proton#8999 · opened 2025-08-23 by OrigamiPaperCrane · updated 2025-08-23 · 1 comments · github
OOrigamiPaperCrane 2025-08-23 github

Compatibility Report

  • Name of the game with compatibility issues: Mafia: The Old Country
  • Steam AppID of the game: 1941540

System Information

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.

-- no logs were recorded using logging launch options

Symptoms

The game causes a complete system freeze and crash when running on Linux. This is caused by the game attempting to execute privileged CPU instructions
(SMSW, SGDT) which are intercepted by the kernel's User Mode Instruction Prevention (UMIP) feature. The emulation of these instructions is extremely
resource-intensive, leading to a CPU spike of over 80% and subsequent system crash. This is a software issue within the game itself.

The kernel log (dmesg) shows the following errors repeatedly before the crash:

1 umip: MafiaTheOldCoun[9440] ip:15caf8ef0 sp:c9fe10: SMSW instruction cannot be used by applications.
2 umip: MafiaTheOldCoun[9440] ip:15caf8ef0 sp:c9fe10: For now, expensive software emulation returns the result.
3 umip: MafiaTheOldCoun[9440] ip:155594c35 sp:c986e8: SGDT instruction cannot be used by applications.
4 umip: MafiaTheOldCoun[9440] ip:155594c35 sp:c986e8: For now, expensive software emulation returns the result.

Reproduction

  1. Launch "Mafia: The Old Country" on a Linux system with a UMIP-enabled kernel (standard in modern kernels) using Steam/Proton.
  2. Play the game for a short period of time.
  3. The system will reliably freeze and crash, requiring a hard reboot.

iostat_crash.log
dmesg_crash.log

Kkisak-valve maintainer 2025-08-23 github

Hello @OrigamiPaperCrane, we're using one issue report per unofficially supported game title, so I've gone ahead and transferred this issue report to https://github.com/ValveSoftware/Proton/issues/8959#issuecomment-3216919623.

Proton versions

Upstream links