Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Tutorial: How to play Crysis on Linux in DirectX 10 with DVXK

Note: This tutorial was made for Manjaro and exact steps may differ slightly depending on your distribution.

 

Requirements: Latest graphics driver

 

Installing Lutris

 

Step 1: Open terminal and type sudo pacman -S lutris

 

Installing Crysis

 

Step 1: Run Lutris.

Step 2: Search for Crysis using the search box in Lutris (Don't forget to click Search Lutris.net).

Step 3: Click install and select the GOG version of the game.

Step 4: Sign into your GOG account and continue with the installation until finished. You may get an error after the installation has completed but you can ignore it and click finish in the GOG installer.

 

Alternatively you can run the setup.exe for the GOG installer manually if you don't want to use the scripted install however I recommend this only to more experienced users.

 

Post Crysis Installation

 

Now it's time to configure crysis to run correctly. There are a few things we need to do to have the optimal experience.

 

Step 1: Configure Crysis via Lutris by clicking on the gear under play on the right hand side.

Step 2: Under "Game options" make sure the executable is Crysis.exe in the Bin64 folder.

Step 3: In "Game options" add the line -dx10 to the arguments box to force the game to run in DX10 mode.

Step 4: Under "Runner options" make sure you are using a compatible version of wine. I used lutris-4.13-x86_64.

Step 5: Enable DXVK by ticking the "Enable DXVK" option under "Runner options" and select the latest version of DXVK.

Step 6: With Crysis selected in your Lutris library scroll down on the right side and click "Winetricks".

Step 7:  When the Winetricks window pops up select "Select the default wineprefix" and click ok.

Step 8: Select "Install a Windows DLL or component" and click ok.

Step 9: When the list of components shows up look for "d3dcompiler_43" and "d3dx10_43".

Step 10: Click ok and close Winetricks.

 

Profit

 

Assuming you didn't change anything else and have a properly installed game the game should now run perfectly in DX10 mode with no graphical issues such as broken shadows and water.

 

Notes

 

You absolutely need to check "d3dx10_43" or Crysis will not render correctly regardless of the version of Wine or DXVK you use. Many guides online don't have this information making DX10 mode not work. Also when launching the game you should change the launcher executable from the GOG launcher to the 64-Bit binary to ensure the game launches correctly into 64-Bit mode as it's more stable than 32-Bit. You should also be using the proprietary driver for your GPU. I have an Nvidia GPU and I'm using driver version 430.xx. To install the latest Nvidia driver under Manjaro simply run the following command sudo mhwd -a pci nonfree 0300.

 

Bonus Tip

 

If you add a shader cache location you can bypass the hard set Nvidia GL cache limit of 128MB. This will help the game run smoother without as much hitching and stuttering. The reason why you might want to do this is because Nvidia removes previously compiled shaders when the 128MB cache becomes full. To add a shader cache simply add  __GL_SHADER_DISK_CACHE to the environment variables section under system options and set the value to 1. You also need to add __GL_SHADER_DISK_CACHE_PATH and set a path to where the shader cache will be located. I recommend the fastest storage you have for a shader cache as this will ensure you benefit the most from having a separate shader cache. 

 

In addition to a shader cache you can also enable esync to gain a few extra FPS. Keep in mind you will need a compatible version of wine and things may not always work.

 

Example Path: /mnt/nvmessd/lutris/shadercache/crysis


Correctly rendered graphics

139549409_Screenshotfrom2019-09-0214-29-44.thumb.png.a2e8c4a5b363437cedd441c60c4d8059.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×