Left 4 Dead 2 runs faster on Ubuntu than on Windows
In the recent post on the Valve's Linux Blog, the Linux team of the company, as promised, has reported about the performance optimizations they have done for the coming Linux products. In fact they already achieved a big progress getting Left 4 Dead 2 running faster on Ubuntu than on Windows 7 after performing a series of optimizations in the last time.
As Gabe Newell has reported at the Casual Connect Conference in Seattle, Valve wants to bring as many Steam games as possible to Linux. The first game is going to be Left 4 Dead 2, which is already has been tested on Ubuntu for some time now. However, the number of frames per second in the game was very low in the past. So the Linux team at Valve initially reported 6 FPS running the game on Ubuntu 12.04 32-bit when using the following hardware:
- Intel Core i7 3930k
- NVIDIA GeForce GTX 680
- 32 GB RAM
In comparison to Ubuntu, the game ran with 270.6 FPS on Windows 7 using Direct3D drivers.
To solve this problem the team has accomplished the following enhancements:
- Modifying the game to work bettter with the Linux kernel
- Improving the OpenGL performance of the game
- Optimization of the graphics drivers
After performing these modifications, the speed of the game increased to 315 FPS on Ubuntu and has even overhauled Windows 7 with DirectX. The Linux team explains such a high growth of the frames per second with the Linux kernel and the use of OpenGL.