
Ariurn
Published
Use proton experimental insted of native linux. Start game with custom launch parameters.
LD_PRELOAD=/usr/lib32/libtcmalloc.so %command% -force_vendor_id 0x10DE -force_device_id 0x1180 -oldgameui
Sometimes a tunnel effect appears (including after saving sound settings) - loading a save helps.
Minor performance issues appear over time - can be resolved by restarting the game. Perhaps open locations bring additional impact.
Occasional crashes appear once per 3 hours without any prerequisites.
Install lib32-gperftools
from the aur
and lib32-nvidia-utils
from multilib
so launch parameters would work.
Don't minimize game or Alt+Tab - details below. Sometimes launches successfully only the second time (crashes in menu on the first launch).
eval $(echo "%command%" | sed "s/2KLauncher\/LauncherPatcher.exe'.*/mafiadefinitiveedition.exe'/")
On some desktop environments (at least GNOME) minimizing the game (or Alt+Tab, what is the same) makes it impossible to play further. In that case, you need to change the fifth digit in file ~/.steam/steam/steamapps/compatdata/1030840/pfx/drive_c/users/steamuser/My Documents/My Games/Mafia Definitive Edition/Saves/videoconfig.cfg
from 0 to 1. The following bash command would help: sed -i -E 's/[[:digit:]]+/1/5' "~/.steam/steam/steamapps/compatdata/1030840/pfx/drive_c/users/steamuser/My Documents/My Games/Mafia Definitive Edition/Saves/videoconfig.cfg"
.
Minimizing the game makes it impossible to play further.
PULSE_LATENCY_MSEC=60 %command%
Sound periodically disappears for 0.5-1 seconds. Solved by changing launch parameters.
Rare sound disappearances for 0.5 seconds - probably because of my setup + Xorg. Switching to Wayland helped. Most likely, this will not affect you.