Turning LM 17.1 into a lean and powerful gaming OS

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
coffeymug
Level 1
Level 1
Posts: 1
Joined: Fri Mar 17, 2017 4:54 pm

Turning LM 17.1 into a lean and powerful gaming OS

Postby coffeymug » Fri Mar 17, 2017 6:18 pm

Installation

I have a preference for Cinnamon even though MATE and Xfce are very fast desktop environments. Make sure you have completed the integrity and authenticity check when you verify the .iso file.

https://www.linuxmint.com/release.php?id=23
https://linuxmint.com/verify.php
If you need more help verifying: viewtopic.php?f=42&t=226092

Linux Mint has it's own built-in USB formatter and image writer. Otherwise these two USB image writers will work;
https://etcher.io/
https://www.pendrivelinux.com/universal ... -as-1-2-3/

I really like Etcher and the Universal USB Installer as they are extremely straightforward and they work on Windows if you're coming from that operating system.

If you need a tutorial on how to install Linux Mint 17.1: https://www.youtube.com/watch?v=XKI024wUTUw


Updates and Drivers

The very first thing that I do is to update the Update Manager and install all level 1 and 2 updates after the new Update Manager has been installed. Then I use the Driver Manager to install the latest Nvidia graphics driver. Restart your machine after that is completed.

Image
https://uploadit.us/images/b3vqR.png
Image
https://uploadit.us/images/b3j43.png


Installing Wine

Install Wine 2.3 with the following commands in the terminal;

Code: Select all

sudo add-apt-repository ppa:wine/wine-builds
sudo apt update
sudo apt install winehq-staging


If anyone is concerned that this is some third-party PPA know that it comes straight from the PPA in the WineHQ respository: https://www.winehq.org/download

To check the version of wine (it should say 2.3 staging).
On 32-Bit Systems:

Code: Select all

wine --version


On 64-Bit Systems:

Code: Select all

wine64 --version


Image
https://uploadit.us/images/b33dh.png


Latency Edit

Go to File System > etc > sysctl.conf
Edit /etc/sysctl.conf as root and append the following:

Code: Select all

net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_window_scaling = 1


Image
https://uploadit.us/images/b3Mkm.png

If you aren't sure of what this is doing to your operating system and your internet connection then please read the source these edits: http://www.tuxradar.com/content/make-li ... nd-lighter

The above tweak is effectively the Linux equivalent of Leatrix's Latency Fix: http://www.wowinterface.com/downloads/i ... cyFix.html


CompizConfig Graphics Changes

Image
https://uploadit.us/images/b3ozL.png

Install the CompizConfig Settings Manager if you don't have it already. Open up the Synaptic Package Manager and search for "compiz". Check the package "compiz" and "compizconfig-settings-manager". Click apply to install both. Go into the CompizConfig settings. Composite > uncheck Sync to VBlank and OpenGL > check Undirect Fullscreen Windows.

Image
https://uploadit.us/images/b3GFk.png


Optional: Update Kernel

Restart and optionally if you want to install the new kernel do so by enabling level 5 updates in the Update Manager. Please understand that level 5 updates are highly volatile.


Individual Game Settings

Remember that small changes in graphics settings can make all the difference between smooth performance and stuttering. Here is an example of what I mean: https://steamcommunity.com/sharedfiles/ ... =398407116

Altering the defaultengine.ini file made a significant improvement from Chivalry being slow and choppy.

Here is another guide on how to make World of Warcraft perform optimally on Linux Mint: http://www.webupd8.org/2014/09/how-to-i ... ft-in.html

If you like to play Starcraft II then you can edit the variables file that comes with the game. Also if you go to the Arcade and run the Unit Preloader this will also enhance performance.

SC2 never fully loads the game initially, but rather streams and loads required files on demand. Unit Preloader is a special map which forces SC2 to load all units, animations and effects, causing high RAM usage, but prevents loading the data (and massive framerate drops) during multiplayer matches. Open Arcade and search for Unit Preloader. There are 3 versions - start the one which corresponds to the game edition you'll want to play in multiplayer and wait for the Victory screen. All data will be preloaded until you exit the game to desktop.

https://wiki.archlinux.org/index.php/St ... _Preloader
http://www.teamliquid.net/forum/starcra ... txt-thread

User avatar
racer-x
Level 4
Level 4
Posts: 215
Joined: Sun Oct 02, 2016 9:05 am
Location: Area 51

Re: Turning LM 17.1 into a lean and powerful gaming OS

Postby racer-x » Sat Mar 18, 2017 6:12 am

Thanks for the tip on Compiz.

I don't do gaming, but the "Go into the CompizConfig settings. Composite > uncheck Sync to VBlank" helped eliminate screen taring during screen capturing in my LM 18.1 Cinnamon. Will test further, but so far, so good....


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests