Improve Game Performance on Linux with Steam - 6 Tips

Steam for Linux: Optimizing Your Gaming Experience
The Linux version of Steam has now been released. This is beneficial for both seasoned Linux users and those new to gaming on the platform.
Achieving optimal gaming performance involves considering several factors. These range from the installed graphics drivers to the desktop environment and the specific Ubuntu installation method.
Key Performance Influencers
Numerous elements can affect how well your games run. Understanding these is crucial for a smooth gaming experience.
- Graphics Drivers: The version of your graphics drivers plays a significant role.
- Desktop Environment: Your chosen desktop environment can impact resource usage.
- Ubuntu Installation: The way Ubuntu was installed can influence overall system performance.
Proper configuration of these components is essential. It ensures that your games operate at their full potential.
Getting Started with Linux Gaming
For those beginning their Linux gaming journey, a few initial steps can be taken. These will help establish a solid foundation for performance.
Ensure you have the latest graphics drivers installed. Selecting a lightweight desktop environment can also free up valuable system resources.
Finally, consider the installation options available during Ubuntu setup. Choosing an optimized configuration can contribute to a better gaming experience.
Optimizing Graphics Drivers for Peak Performance
Gamers utilizing an Ubuntu operating system that is a year old, and still running on the default graphics drivers, may not be experiencing optimal gaming capabilities. The introduction of Steam for Linux prompted NVIDIA to prioritize driver enhancements.
NVIDIA reports that their R310 drivers can potentially double performance and significantly decrease game loading durations. Valve has also collaborated with Intel to achieve improvements in their respective driver offerings.
Ensuring Driver Currency
To guarantee you are leveraging the most effective graphics drivers, it is recommended to utilize Ubuntu 12.04, which receives official support from Valve, or the newer Ubuntu 12.10 version.
- For Ubuntu 12.04 users: Access the Additional Drivers application via the System Settings window or the application launcher (dash).
- For Ubuntu 12.10 and subsequent versions: Launch the Software Sources application from System Settings or the dash, then navigate to the Additional Drivers tab.
From within these applications, select and install the NVIDIA driver designated as experimental. If no NVIDIA drivers are displayed, it is probable that your system is equipped with integrated Intel graphics and is currently utilizing the open-source driver.
No further driver installation is necessary when using Intel graphics; however, maintaining an updated operating system through the Update Manager application is crucial.

Leveraging NVIDIA Graphics Over Intel on Optimus Laptops
For laptop users equipped with both NVIDIA and Intel graphics cards, a degree of additional configuration is necessary. Currently, Ubuntu does not natively support switchable graphics configurations. To enable functionality, the installation of Bumblebee is required.
Detailed guidance on configuring NVIDIA's Optimus technology for Linux operation can be found in existing resources. The Ubuntu wiki also provides current, step-by-step instructions for this process.
Optimizing with NVIDIA Drivers
For those undertaking this setup, WebUpd8 offers instructions for utilizing the experimental NVIDIA R310 drivers in conjunction with Bumblebee. These drivers are highly recommended for optimal performance.
Consider these resources when setting up your system for the best possible experience.

Image source: Jemimus on Flickr
Accessing Steam's Big Picture Mode Directly From Ubuntu Login
Typically, Steam operates as a standard desktop application. However, for an uninterrupted gaming experience, it's possible to bypass the desktop environment and launch directly into Steam's Big Picture Mode from the Ubuntu login screen.
This method ensures optimal performance by preventing background applications from consuming system resources, resulting in a smoother, full-screen gaming session.
Utilizing a Dedicated Package
A package, maintained by OMG! Ubuntu!, facilitates the addition of this functionality to your login screen. This requires that Steam is already installed on your Ubuntu system.
The package provides a convenient option, streamlining the process of entering Big Picture Mode without navigating through the usual desktop interface.
By logging in directly to Big Picture Mode, users can enjoy a more focused and efficient gaming setup.
This approach is particularly beneficial for systems with limited resources or when prioritizing gaming performance above all else.
Optimizing Game Performance with Full-Screen Mode in Ubuntu
The Unity desktop environment in Ubuntu leverages desktop compositing. This process involves applications rendering their visuals off-screen, with the compositing manager then responsible for displaying them. Consequently, desktops like Unity, GNOME Shell, and KDE 4, when utilizing compositing, are capable of delivering visually appealing, 3D effects.
For the majority of applications, this process introduces no perceptible performance degradation. However, when running graphically demanding games, this additional layer of processing can create overhead, leading to reduced frame rates.
Performance reductions of up to 20% have been documented due to this redirection. This impact is particularly noticeable in gaming scenarios.
Recent updates to both Ubuntu 12.10 and 12.04 have introduced the "Unredirect Fullscreen Windows" feature, enabled by default. This setting allows full-screen games to bypass the compositing manager, resulting in maximized performance and eliminating associated slowdowns.
To benefit from this enhancement, it is crucial to ensure your Ubuntu system is up-to-date. Utilize Ubuntu’s Update Manager to install the latest packages and activate this optimization.
How Full-Screen Redirection Impacts Gaming
- Desktop Compositing: Ubuntu’s Unity desktop utilizes a compositing manager for visual effects.
- Performance Overhead: This can introduce performance overhead, especially in games.
- Unredirect Option: The "Unredirect Fullscreen Windows" feature bypasses the compositing manager.
- Improved Frame Rates: Bypassing the manager leads to increased game speed and smoother gameplay.
By keeping your system updated and utilizing the "Unredirect Fullscreen Windows" option, you can significantly improve the gaming experience on Ubuntu. This ensures full-screen games run with optimal efficiency.
Optimizing Desktop Environment for Gaming
For optimal 3D gaming performance in windowed mode, utilizing a desktop environment that doesn't employ compositing is crucial.
Gamers using Ubuntu 12.04 can achieve this by selecting the Unity 2D option available at the login screen.
However, Ubuntu 12.10 users will need to explore alternative desktop environments, as Unity 2D has been discontinued in later versions.
Both Unity and GNOME Shell inherently prevent the disabling of compositing features. Therefore, consideration should be given to other options.
Desktop environments like Xfce and KDE offer the flexibility to disable compositing. Ensure this feature is deactivated within your chosen desktop’s settings. A quick online search will provide specific instructions for your environment.
Disabling compositing will result in the loss of certain visual effects, but it will significantly enhance the speed of 3D rendering when playing games in a window.
Avoiding Wubi for Optimal Ubuntu PerformanceWubi provides a straightforward method for installing Ubuntu. However, utilizing Wubi results in a considerable reduction in the speed of disk read and write operations. Gamers using Steam within a Wubi environment will experience noticeably extended loading durations compared to a standard Linux partition.
While Wubi serves as an excellent means of initially testing Ubuntu, establishing a dual-boot configuration with Ubuntu residing on a dedicated partition is recommended for achieving peak performance. It's worth noting that activating encryption will also lead to a slight decrease in input/output speed, though the impact is less severe than that caused by Wubi.
Previous benchmarks conducted by Phoronix have demonstrated the detrimental effects of Wubi on system performance.
Performance Considerations
The performance impact of Wubi is substantial. This is due to the way Wubi emulates a partition within a Windows file system.
For optimal gaming, especially with demanding titles, a native Linux partition is strongly advised. This ensures direct access to hardware resources and minimizes overhead.
Consider the trade-offs between ease of installation and performance. Wubi is convenient for initial exploration, but a dedicated installation is crucial for serious use.
While encryption adds a layer of security, it does introduce a minor performance cost. Weigh the benefits of encryption against the potential impact on game performance.
Do you possess any further Linux-specific strategies for maximizing game performance? Please share your insights in the comments below!