It is now time to take a look at things that need to be done for IL- 2 Sturmovik to work out properly on Linux. All that will be stated was done on a
Linux Mint 17 installation with KDE desktop, while things will probably be a little bit different on other distributions. Wine will need to be installed as well as proprietary display drivers, which are known to produce higher FPS than the third party X- Org drivers. An attempt to install both Wine and proprietary display drivers for NVidia cards through the GUI of Linux's Software Manager will result in one of the two packages being uninstalled as a consequence of a compatibility problem. However, things can work out if said packages are both installed through the Bash shell. The same goes for AMD graph cards, the owners of which can find the information about the proper driver installation process for their cards on
this page. In order to install Wine from the Bash shell, the following commands need to be executed:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install -y wine1.7
After the last line has been executed, a list of packages recommended for installing alongside Wine will be displayed, which can be done by using the same syntax as in the aforementioned line:
sudo apt-get install [package names]
, wherein it's entirely possible to copy all the names of recommended packages at once by pressing CTL+SHIFT+C on the keyboard once the names have been highlited to copy them to the clipboard, and CTL+SHIFT+V to paste them at the end of the line. For the benefit of those who didn't know, sudo command at the beginning of each line requests work with elevated privileges from the system, and will require entering the administrator password the first time it is issued during a single Bash shell session. The password entered while creating a user account is meant, for instance the password entered while installing the operating system. These recommended packages will facilitate connecting successfully to online servers which run the CRT=2 check as an anti cheat measure. NVidia divers are installed by issuing the following commands:
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-352 nvidia-settings
sudo rm /etc/apt/sources.list.d/xorg-edgers-ppa-trusty.list
for NVidia 352 drivers. Those wishing to install another driver set, NVidia 340 for instance, should substitute "nvidia-352" with "nvidia-340" in the line before last.
Once everything is finally installed, a few adjustments will help prevent image tearing which could ruin one's flying experience. To achieve this, it is first necessary to append the "environment" file in the /etc folder with a single line. The file can be opened in a text editor by typing the following in the Bash shell:
sudo nano /etc/environment
or
sudo kate /etc/environment
, where "nano" and "Kate" are the names of text editors present on a Linux Mint 17 KDE installation. Then, the following line needs to be added to the end of the file:
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
and the file needs to be saved to disk. Afterwards, adjustments need to be made in Desktop Effects section of the Control Panel and OpenGL section of the NVidia Settings applet according to the following screenshot: