Recommended Posts

Valve cranks up Linux gaming, makes it faster than Windows

Valve's distaste for Windows 8 has led the company to take on an increasing interest in Linux, and the new Valve Linux blog shows that, with some work, the Source Engine actually runs faster on it than it does on Windows. The company used a testbed with an Intel i7 3930k, Nvidia GeForce GTX 680, and 32GB of RAM to pit Left 4 Dead 2 on Windows 7 against Ubuntu 12, and the results are rather interesting.

At first, Valve's Linux port of Left 4 Dead 2 ran at only 6 FPS on the i7 machine, but after tweaking the game to make effective use of the efficient characteristics of the Linux kernel and OpenGL, the Valve Linux team was able to eke out a much higher 315 FPS. Using the same machine running Windows 7 and Direct3D, the same game ran at 270.6 FPS, or roughly 14 percent slower.

After optimizing the Source Engine for the Linux platform, Valve wondered why OpenGL was outperforming Direct3D at a technical level. Their research found that, on the same hardware, there are "a few additional microseconds [of] overhead per batch in Direct3D which does not affect OpenGL," indicating that Direct3D may not be as efficient as Microsoft would like developers to believe. There are still challenges ahead for the Valve Linux team, however, as the state of Linux graphics card drivers is still a tumultuous affair. The team has yet to work with AMD and Nvidia, but collaboration with Intel's engineers took place just last month.

Source: The Verge

Even though gaming on linux would be nice, not every company feels the same way about linux developing just because there isn't moolah$$ to be made there, compared to windows.

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

not really... you CAN run non-opensource programs in linux. There are plenty and games are among them. Piracy in Windows is as easy as in Linux, it comes with the demand.

  • Like 1

This would be more interesting if they did this with a modern engine. But since this is valve we'll only get to see this "it's faster than windows" thing with the hideously outdated source engine.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

This would be more interesting if they did this with a modern engine. But since this is valve we'll only get to see this "it's faster than windows" thing with the hideously outdated source engine.

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

  • Like 2

If companies jump on board with this like Valve is hoping and port their games over, could OS X and Linux really be the next gaming platform? I'll switch when all my games are supported, and Windows 7 is at end of life.

No, there are people who will NEVER use anything but Windows, just look at any thread involving Linux or OS X, it always devolves to Windows fanboys bashing everything and anything not Windows, performance enhancements like mentioned here are of no concern to them.

Even though gaming on linux would be nice, not every company feels the same way about linux developing just because there isn't moolah$$ to be made there, compared to windows.

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

1. Companies should be looking linux as an opportunity to make money in the future. Sure windows has marketshare now, and is obviously the best for immediate profits, but linux has a lot of potential to make them money in the future. If more companies do what valve is doing, linux has a very real chance to take off. Its the only way to get past this chicken and egg scenerio of "We don't support linux because it doesn't have marketshare" and "Linux has low marketshare because companies don't support it"

2. I doubt linux would have any effect on the prevalence of piracy, windows games area already cracked day 1, and drm has proven to be ineffective in the first place. The real way to combat piracy is to provide a convenient service to your customers and make high quality games. If you don't treat customers like criminals, they will be more likely to buy the games.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

You aren't forced to buy new games because it's incompatible with older versions, while Source is constantly updated without the forced upgrade or forcing you to purchase your games all over again

source engine is pretty amazing... even amazing for the year that was created. it still looks pretty good and they can optimize it if they want to... but anyway, linux is capable of running unreal engine games for example, that's a most up-to-date base for comparing. osx is also capable of running such games and afterall, osx and linux are both derivated from the same thing, so they're more equal than it seems

I'd like to see what "thenetavenger" has to say about this. He always claims on the front pages that Direct3D is superior to OpenGL. I guess this goes to show he couldn't be more wrong.

Linux and OpenGL are more than capable at competing against Microsoft's Direct3D. In fact, from every test I've seen, Doom3 also runs faster using OpenGL too. Not only that, but developers can target a much broader set of platforms with OpenGL (Linux, OS X, Android, iOS, and more).

  • Like 1

I like some actual evidence of this. as all my experience shows that the linux kernel is not more efficient than the NT kernel(the NT kernel is newer tech with some stuff that the linux kernel should have had but doesn't). and OpenGL I've never on any system see perform better than D3D. I've seen it perform more stable with illegal meshes(basically handling more error before crashing and burning) but not outperforming.

Technically using Linux doesn't make it faster, OpenGL does.

It is good Valve are pushing Steam to Linux but i don't see many developers porting their games over to Linux, unless it is easy and cost effective for them.

It's Linux and the Linux OpenGL implementation that is faster.

Technically using Linux doesn't make it faster, OpenGL does.

It is good Valve are pushing Steam to Linux but i don't see many developers porting their games over to Linux, unless it is easy and cost effective for them.

Except the blog post specifically mentions that the Linux version ran faster than the Windows OpenGL version. They then improved the Windows OpenGL code and sped that up as well, but it's still not quite as fast as Linux .

After this work, Left 4 Dead 2 is running at 315 FPS on Linux. That the Linux version runs faster than the Windows version (270.6) seems a little counter-intuitive, given the greater amount of time we have spent on the Windows version. However, it does speak to the underlying efficiency of the kernel and OpenGL. Interestingly, in the process of working with hardware vendors we also sped up the OpenGL implementation on Windows. Left 4 Dead 2 is now running at 303.4 FPS with that configuration

Is the visual quality identical?

I have a sneaky suspicion that for more advanced engines, like Frostbite 2.0, D3D will win. I am all for linux gaming, but right now Windows dominates that.

it's not easy to tell.. i'm pretty sure that the game studio can "choose" in which API the game will be smoother.. depends on the work for each one upon the game dev...

In general, Direct3D is designed to virtualize 3D hardware interfaces. Direct3D frees the game programmer from accommodating the graphics hardware. OpenGL, on the other hand, is designed to be a 3D hardware-accelerated rendering system that may be emulated in software. These two APIs are fundamentally designed under two separate modes of thought.

As such, there are functional differences in how the two APIs work. Direct3D expects the application to manage hardware resources; OpenGL makes the implementation do it. This tradeoff for OpenGL decreases difficulty in developing for the API, while at the same time increasing the complexity of creating an implementation (or driver) that performs well. With Direct3D, the developer must manage hardware resources independently; however, the implementation is simpler, and developers have the flexibility to allocate resources in the most efficient way possible for their application.

Until about 2005, another functional difference between the APIs was the way they handled rendering to textures. The Direct3D method (SetRenderTarget()) is convenient, while prior versions of OpenGL required manipulating pixel buffers (P-buffers). This was cumbersome and risky: if the programmer's codepath was different from that anticipated by the driver maker, the code would have fallen back to software rendering, causing a substantial performance drop. However, widespread support for the "frame buffer objects" extension, which provided an OpenGL equivalent of the Direct3D method, successfully addressed this shortcoming, and the "render target" feature of OpenGL brought OpenGL up to par with Direct3D in this respect.

Outside of a few minor functional differences which have mostly been addressed over the years, the two APIs provide nearly the same level of function. Hardware and software makers generally respond rapidly to changes in DirectX, e.g. pixel processor and shader requirements in DirectX 9 to stream processors in DirectX 10, while new features in OpenGL are mainly implemented first by vendors and afterward retroactively applied to the standard.

http://en.wikipedia.org/wiki/Comparison_of_OpenGL_and_Direct3D

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

Of course it performs great. It's something like 8 years old and relatively simplistic on the visuals front(from what i've seen) compared to games of other, more modern engines. It'd be kind of hard for it not to perform well on everything including your toaster.

Is the visual quality identical?

I have a sneaky suspicion that for more advanced engines, like Frostbite 2.0, D3D will win. I am all for linux gaming, but right now Windows dominates that.

OpenGL isn't any less powerful than D3D, its just that D3D is easier to develop for.

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

That's just because ID has been a joke lately, not because of opengl :rolleyes:

If companies jump on board with this like Valve is hoping and port their games over, could OS X and Linux really be the next gaming platform? I'll switch when all my games are supported, and Windows 7 is at end of life.

I don't think OSX and Linux will become the "next" gaming OSes, I just think that PC gaming will shift from Windows only to true multi platform (which is good for everyone...except MS)

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

If large companies like Valve get behind OpenGL, development will speed up and OpenGL will become more competitive with DirectX
This topic is now closed to further replies.
  • Posts

    • "Revelation?" I was hoping for this episode to be called "Reunion". Oh, well... In a related note, the Final Fantasy VII compilation has received an EC entry, short for Ever Crisis. For those who don't know, it already had AC, BC, CC, and DC entries, short for Advent Children, Before Crisis, Crisis Core, and Dirge of Cerberus. I hope it doesn't get an FC entry becaude that would be a freakin' crisis.
    • Uh, after intense testing now, 'Samsung Browser' is not the best one outside of 'Microsoft Edge' after all. Opera Air is that. It has "some" bloat, but it's far less than what both Microsoft Edge and Brave browser have.
    • Weekend PC Game Deals: Resident Evil, Mafia, Like a Dragon, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic concluded its mystery giveaways this week with another double freebie promotion. As a part of this, you can now grab Rogue Waters and Songs of Conquest to keep. Songs of Conquest is a turn-based 4X strategy game where you'll be managing a kingdom, making tough decisions, and taking down enemy forces in tactical combat. Meanwhile, Rogue Waters is a roguelike where, as a pirate captain, you command a ship and crew through procedurally generated encounters. The double giveaway is coming to an end on June 11. On the same day, Warhammer 40K Speed Freeks will join in as the next freebie. Another Humble Choice offer was revealed earlier this week, bringing a refreshed eight-game selection to jump into. The June selection is Octopath Traveler 2, The Riftbreaker, Life is Strange: Double Exposure, INDIKA, Citizen Sleeper 2: Starward Vector, Construction Simulator, Hell Clock, and Overlooting to keep as Steam keys. The $15 bundle gives you all eight games from this month's Choice selection. The month-long promotion will come to an end on July 6, giving you ample time to decide on whether you want the titles. The Humble Store also brought in standard gaming collections this week. The IGN Live Bundle kicked things off with games like Control, Shadow Gambit: The Cursed Crew, Blair Witch, Rollerdrome, and The Last Campfire for $10. At the same time, the We Will Always be Here bundle carried in titles like Bad End Theater, Thirsty Suitors, Vampire Therapist, and Tavern Talk for $12. Next, the 2K Sports Champions Bundle comes touting games like NBA 2K26, PGA TOUR 2K25, OlliOlli World Rad Edition, and TopSpin 2K25 with a hefty $25 price tag. Lastly, the Redline Racing Bundle is touting games like Art of Rally, Descenders, Mudrunner, and Assetto Corsa Competizione with a $10 price tag. Big Deals The biggest promotions of this weekend come from franchise discounts for hits like Mafia, Like a Dragon, Resident Evil, and more. With all those and more, here's our hand-picked big deals list for the weekend: Mafia: The Old Country – $34.99 on Steam ARC Raiders – $31.99 on Steam Forza Horizon 5 – $29.99 on Steam Monster Hunter Wilds – $29.39 on Steam Satisfactory – $27.99 on Steam No Rest for the Wicked – $27.99 on Steam Satisfactory – $27.99 on Steam Esoteric Ebb – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Cloudheim – $19.79 on Steam Pacific Drive – $17.99 on Steam Like a Dragon: Infinite Wealth – $17.49 on Steam ACE COMBAT 7: SKIES UNKNOWN – $14.99 on Steam Yakuza 0 Director's Cut – $14.99 on Steam Like a Dragon Gaiden: The Man Who Erased His Name – $14.99 on Steam Like a Dragon: Pirate Yakuza in Hawaii – $14.99 on Steam Grand Theft Auto V Enhanced – $14.99 on Steam Lost Judgment – $13.99 on Steam The Crew Motorfest – $13.99 on Steam Stronghold Crusader: Definitive Edition – $12.59 on Steam The Stanley Parable: Ultra Deluxe – $12.49 on Steam Blood West – $12.49 on Steam Yakuza Kiwami 2 – $11.99 on Steam Judgment – $11.99 on Steam Like a Dragon: Ishin! – $11.99 on Steam Alien: Isolation – $11.99 on Steam Goat Simulator: Remastered – $10.19 on Steam Resident Evil Village – $9.99 on Steam Yakuza 4 Remastered – $9.99 on Steam Yakuza 5 Remastered – $9.99 on Steam Yakuza 6: The Song of Life – $9.99 on Steam Caravan SandWitch – $9.99 on Steam Spyro Reignited Trilogy – $9.99 on Steam Assassin's Creed III Remastered – $9.99 on Steam The Expanse: A Telltale Series – $9.99 on Steam Sons Of The Forest – $8.99 on Steam Untitled Goose Game – $7.99 on Steam Resident Evil 2 – $7.99 on Steam Resident Evil 3 – $7.99 on Steam Resident Evil 7 Biohazard – $7.99 on Steam Yakuza: Like a Dragon – $7.99 on Steam Airborne Kingdom – $7.49 on Steam Assassin's Creed Syndicate – $7.49 on Steam The Wolf Among Us – $7.49 on Steam Amnesia: The Bunker – $7.49 on Steam Mini Motorways – $6.99 on Steam Age of History 3 – $6.99 on Steam Fabledom – $6.29 on Steam Trine 4: The Nightmare Prince – $5.99 on Steam Mafia: Definitive Edition – $5.99 on Steam Mafia II: Definitive Edition – $5.99 on Steam Resident Evil 6 – $4.99 on Steam Resident Evil 5 – $4.99 on Steam Resident Evil Revelations 2 – $4.99 on Steam Resident Evil 3 Nemesis (1999) – $4.99 on Steam Terra Memoria – $4.99 on Steam FOR HONOR – $4.49 on Steam Metro Exodus – $4.49 on Steam The Forest – $4.39 on Steam Mini Metro – $3.99 on Steam Songs of Conquest – $0 on Epic Store Rogue Waters – $0 on Epic Store Gravity Circuit – $0 on Steam DRM-free Specials The DRM-free store GOG has plenty of discounts to look over this weekend too. Here are some highlights: Trials of Mana - $14.99 on GOG SPORE Collection - $14.99 on GOG Stellaris - $12.49 on GOG FINAL FANTASY VIII - REMASTERED - $7.99 on GOG Final Fantasy IV (3D Remake) - $7.99 on GOG Final Fantasy III (3D Remake) - $7.99 on GOG FINAL FANTASY IX - $6.29 on GOG The Forgotten City - $6.25 on GOG Warlords Battlecry 3 - $5.99 on GOG Heroes of Might and Magic 3: Complete - $4.99 on GOG Heroes of Might and Magic 4: Complete - $4.99 on GOG SimCity 4 Deluxe Edition - $4.99 on GOG FINAL FANTASY VII - $4.79 on GOG Cultures 1+2 - $3.99 on GOG Outlast - $3.75 on GOG Dungeon Keeper 2 - $2.99 on GOG Theme Hospital - $2.99 on GOG Sid Meier's Alpha Centauri Planetary Pack - $2.99 on GOG Dungeon Keeper Gold - $2.99 on GOG Alba: A Wildlife Adventure - $2.55 on GOG Disciples 2 Gold - $1.99 on GOG Outcast - Second Contact - $1.49 on GOG Disciples: Sacred Lands Gold - $1.49 on GOG Port Royale 2 - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • Exciting! It’s amazing how hearing Japanese can naturally enhance the perceived quality of any experience or product.
  • Recent Achievements

    • Week One Done
      pestcontrol46 earned a badge
      Week One Done
    • One Month Later
      pestcontrol46 earned a badge
      One Month Later
    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
  • Popular Contributors

    1. 1
      +primortal
      490
    2. 2
      PsYcHoKiLLa
      271
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      64
  • Tell a friend

    Love Neowin? Tell a friend!