I've been venturing into ubuntu (xubuntu) for the first time in a long time and I've decided to check out if TF2 ran any better since last time i tried.
This small guide specific to linux will be complimentary to the general performance guide provided by Comanglia
First off, forget about -dxlevel since directX is propietary microsoft software and TF2 on linux will be running on OpenGL.
Graphics cards
Make sure you have the latest drivers.
For AMD and nVidia you have propietary drivers available with instructions in their respective sites, wich are generally faster than the open source counterparts.
For intel graphics, their official drivers are open source already and should be installed by default. In fact intel integrated graphics are likely to perform better in linux than in windows for TF2.
Where is the Steam folder ?
The steam folder in linux is hidden by default in /home/user/.steam
You should be able to visualize hidden folders and files by simply pressing "Ctrl + H" on your home folder.
Desktop enviroments
- Don't use Unity, Gnome or KDE4 for gaming. The 3D desktop compositing will reduce performance and could add overhead (input / display lag). Only the latter can have it fully disabled without advanced tinkering afaik.
- Recommended to use xfce or the Steam Big Picture login mode wich use very light window managers.
- You might experience a wierd windowed no-border style thing if you try a non-native resolution in Source games. Your screen resolution wont actually change and it will be like a stretched image, while still using your desktop resolution.
- Installing SteamOS is not recommended since it doesnt give partitioning options and wipes your drive without asking or giving any options
Mouse sensitivity
Disable mouse acceleration in Ubuntu 16
Vsync
If you think you may have Vsync enabled, you can quickly disable it with the following command
export vblank_mode=0
Updated: 22/07/2017