Jump to content

Guide To Mw5 On Linux


No replies to this topic

#1 Gagis

    Member

  • PipPipPipPipPipPipPipPip
  • FP Veteran - Beta 1
  • FP Veteran - Beta 1
  • 1,731 posts

Posted 06 February 2020 - 06:39 AM

MW5 stopped stuttering and crashing after updating nvidia drivers to 440.59, so I can finally write up what is needed to get it to run on Linux.
  • Get Wine.

    Any flavour should work, such as vanilla wine, wine-staging, a custom blend, proton or some version paired with EGS from Lutris. I use a version of staging that has been patched to work with MWO.
  • Install egs by running

    wine msiexec /i EpicInstaller-10.7.0.msi
  • Find the install directory and start EGS with

    wine EpicGamesLauncher.exe -SkipBuildPatchPrereq
    EGS will fail if you start it without the -SkipBuildPatchPrereq flag.
  • Install MW5 trough EGS.
  • Close EGS.
  • In order to get in-game cinematics to work, you need to install Media Foundation from

    https://github.com/z0z0z/mf-install
  • In order to get DX11 to perform properly, install dxvk. This should be available with instructions for most Linux distributions. Just remember to enable it for the wineprefix MW5 is under. When dxvk is enabled, EGS storefront will have graphical glitching, so this is best done after installing the game.
  • Play MW5.
I have configured my wineprefix to pretend at being Windows 8.1, but anything other than Windows 10 should work for EGS. You can see the startup script I use to launch egs below.

#!/bin/bash
cd /home/gagis/.wine/drive_c/Epic\ Games/Launcher/Portal/Binaries/Win64
#Small performance boost from disabling debug messages
export WINEDEBUG=-all
#For testing the impact of in-game settings
export DXVK_HUD=fps
#Nvidia driver's shader cache tweaks should improve performance for most games
export __GL_SHADER_DISK_CACHE=1
export __GL_SHADER_DISK_CACHE_PATH=/home/gagis/.shadercache
export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
wine EpicGamesLauncher.exe -SkipBuildPatchPrereq

Edited by Gagis, 06 February 2020 - 06:40 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users