Feeds

Valve: Games run FASTER on Linux than Windows

It's because Direct3D is slow

3 Big data security analytics techniques

Not only has Valve Software successfully ported the first-person shooter game Left 4 Dead 2 to Linux, but it actually runs faster on the open source OS than on Windows.

Using high-end hardware, a version of the game running on Ubuntu 12.04 renders at 315fps, Valve's Linux team reports. That's a 16 per cent improvement over the Windows version, which only clocks at 270.6fps on the same configuration.

There was no magic involved. When the Valve developers first ported the game's code base over to Linux, the game crawled along at just 6fps. Only after the code was optimized to take advantage of the Linux kernel and video drivers did it manage playable speeds.

Throughout the porting process, Valve also worked with video card makers to squash bugs and remove bottlenecks, which should help to improve performance of all games running on Linux.

But what the Valve developers didn't expect, they say, was how much of the performance gain was attributable to OpenGL, the cross-platform graphics API that they used to implement the game on Linux.

Normally, the Windows version of Left 4 Dead 2 uses Direct3D, Microsoft's own, proprietary 3D graphics API. But when Valve developers built a new Windows version of the game based on OpenGL code borrowed from the Linux version, that version also ran faster than the Direct3D version, at 305fps.

Valve says its developers are still investigating why the OpenGL version performs better on Windows, and that it will use what it learns to improve performance on the Direct3D version.

The results are bad news for Microsoft, however, which has already taken its share of knocks from Valve co-founder Gabe Newell.

The Linux port of Left 4 Dead 2 is just part of a larger plan to bring Valve's entire Steam gaming platform to the open source OS as a "hedging strategy" against Windows 8, which Newell believes could be "a catastrophe for everyone in the PC space."

In the long run, Newell says, he'd like to get all 2,500 games now available through Steam running on Linux. That's a tall order, but it may just be possible if it turns out that Microsoft's proprietary technologies make for an inferior gaming platform. ®

SANS - Survey on application security programs

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.