1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

L4D2 Runs Faster on Linux than Windows

Discussion in 'News' started by btarunr, Aug 2, 2012.

  1. FYFI13

    FYFI13

    Joined:
    May 4, 2012
    Messages:
    68 (0.07/day)
    Thanks Received:
    18
    Tell me the same in few years, once Microsoft drops Windows 7 support. Ballmer will destroy Microsoft, he's evil sent from Apple :fear:
     
  2. Fourstaff

    Fourstaff Moderator Staff Member

    Joined:
    Nov 29, 2009
    Messages:
    9,204 (5.04/day)
    Thanks Received:
    1,985
    Location:
    Home
    Choosing between improving the engine's graphics/physics or optimising the engine, Valve chose the latter. With a good reason too, since that a mobile HD3000 can just about play Dota 2/TF2/HL2/Portal 2, and the newly enriched masses with poor systems can hop abroad with minimal investment to game hardware. The most commonly played games are not very hardware intensive, from Starcraft 2 to Moba games (LoL, Dota 2, etc) to Counter Strike. Battlefield and a few others stand out as counterexamples though.
     
  3. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,686 (6.46/day)
    Thanks Received:
    2,340
    Location:
    Concord, NH
    Well, you have to be careful when comparing Windows to Ubuntu (linux is too generic of a term for what we're talking about.) The Linux kernel has always been better at SMP scheduling than Windows has. How efficient that the Linux kernel is could result in better performance. The two systems were also developed with two very different principles, so even where Ubuntu might lack in OpenGL performance, drivers, or application support, you will be hard pressed to find situations where Windows would make a faster and more stable server than Ubuntu or even another linux distro.

    So just keep in mind that OpenGL vs DirectX isn't the only thing that is going on here. There are differences in how the two systems work at a very low level that can impact performance and I wouldn't be surprised if it came down to scheduler efficiency. I would be interested to see how it would run with a bulldozer cpu on Linux vs Windows. If there is a sizable boost over the Intel setup, it could be attributed to how often Windows moves processes from one core to another, which takes time to do, time that your application isn't running.
     
    odameyer, Chevalr1c and okidna say thanks.
  4. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.87/day)
    Thanks Received:
    5,616
    Location:
    Cheeseland (Wisconsin, USA)
    From the Valve Linux blog ...

     
    HTC and FordGT90Concept say thanks.
  5. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,966 (6.24/day)
    Thanks Received:
    3,803
    Location:
    IA, USA
    So they're going to investigate how to make it go faster on Direct3D, good on them. I still wish they gave us version numbers. Direct3D 9 has overhead not present in Direct3D 10 and 11. L4D could probably benefit from tesselation which is also absent in Direct3D 9 and 10.
     
    Crunching for Team TPU
  6. RejZoR

    RejZoR

    Joined:
    Oct 2, 2004
    Messages:
    4,779 (1.29/day)
    Thanks Received:
    1,004
    Location:
    Europe/Slovenia
    Basically what they are saying is that old engine on Windows is rubbish and that newly written OpenGL one for Linux is so much better. And now they'll rewrite it for Windows. Probably.
     
  7. Mistral

    Mistral

    Joined:
    Feb 23, 2008
    Messages:
    411 (0.17/day)
    Thanks Received:
    58
    Location:
    Montreal
    Not that it's really needed with the framerates we already get, but if now they write a new DX rendered too and compare again, then it'll mean something.
     
  8. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    42,488 (11.47/day)
    Thanks Received:
    9,768
    that alone asys it all. 3dmark 06.


    its like complaining that your new windows 8 machine loads minesweeper too slow. the fact that a 5 year old benchmark runs slower on a new OS should mean nothing, because the benchmark was DESIGNED FOR THAT OS.
     
    Chevalr1c says thanks.
  9. Prima.Vera

    Prima.Vera

    Joined:
    Sep 15, 2011
    Messages:
    2,270 (1.94/day)
    Thanks Received:
    295
    OpenGL was ALWAYS faster than DirectX. That's why ALL professional design, rendering or animation software are using OpenGL.
     
  10. Iciclebar New Member

    Joined:
    Dec 18, 2011
    Messages:
    15 (0.01/day)
    Thanks Received:
    4
    Realistically this isn't so much about the "omg framerates!" for me as it is about barrier to entry. LfD2 runs nicely on lower end hardware like an AMD e-350 and it also ran on my asus N10J (intel atom 230 w/ nvidia 9300gs if overclocked)

    If you can squeeze more performance out of the same hardware what else can they make a gaming capable machine that previously was not thought of as such.
     
  11. Steevo

    Steevo

    Joined:
    Nov 4, 2005
    Messages:
    8,432 (2.55/day)
    Thanks Received:
    1,253
    Annnnnnddddd the LOD with windows based driver optimizations unavailable in Linux?

    reinvent the wheel, proclaim it as new. Sounds like Apple.
     
    FordGT90Concept says thanks.
    10 Million points folded for TPU
  12. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    21,194 (7.75/day)
    Thanks Received:
    7,711
    That and its not like he hasnt been hyping Linux for a month or so now......Steambox promotion? Naaaaaaaaa.
     
    FordGT90Concept says thanks.
  13. Mescalamba

    Joined:
    Jul 24, 2009
    Messages:
    201 (0.10/day)
    Thanks Received:
    17
    So many idiots writing comments.

    One of main reasons to use Windows is games. If this reason disappear, why would I use Windows?

    Means you dont need to buy OS.. Just games. This is absolutely way to go and Im glad Valve at least starts to do something with it. Now it just needs others to join. If for example Blizzard-Activision joined it could have quite interesting impact as theres quite a bit of ppl playing their games.
     
    odameyer and FYFI13 say thanks.
  14. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,966 (6.24/day)
    Thanks Received:
    3,803
    Location:
    IA, USA
    DirectX has a singular objective which is to run games. OpenGL doesn't have a singular objective in mind so it is more flexible.


    Hardware support.
     
    Crunching for Team TPU
  15. Mescalamba

    Joined:
    Jul 24, 2009
    Messages:
    201 (0.10/day)
    Thanks Received:
    17
    Really? As far as I know there are drivers from both ATi and nVidia for some time. Only issue with HW I had was long time ago when I couldnt manage to get drivers for USB modem. Tho fact is that Win drivers werent better, always shutting down, connection problems etc. Solution was obviously to switch modem. Since then I can run Linux distro, MAC OS and Win 7 without problems.
     
  16. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    21,194 (7.75/day)
    Thanks Received:
    7,711
    NVIDIA drivers suck for Linux. I mean they really, REALLY F#$KING SUCK.
     
  17. VulkanBros

    VulkanBros

    Joined:
    Jan 31, 2005
    Messages:
    1,373 (0.38/day)
    Thanks Received:
    300
    Location:
    The Pico Mundo Grill
    You are right - that´s one of the reasons I stayed with ATI/AMD - not that they did´nt have issues tho!
     
    Crunching for Team TPU
  18. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    42,488 (11.47/day)
    Thanks Received:
    9,768
    its not just video cards. its networking, mice/keyboards, audio, and game controllers (such as steering wheels, gamepads, joysticks, etc)


    and once people use it as a primary OS, then the printers, scanners, faxes, mobile phones, filthy apple products and so on all need to get working as well.


    do i support linux? sure. but its not going to be a quick fix of "yay valve games work on linux" and its suddenly a viable OS for the masses.
     
    Chevalr1c, n-ster and FordGT90Concept say thanks.
  19. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,966 (6.24/day)
    Thanks Received:
    3,803
    Location:
    IA, USA
    They already ported the game to Mac OS X (the Direct3D to OpenGL conversion). What they had to do to make the game work on Ubuntu was trivial compared to that. The same goes for Steam. Steam was probably actually harder to convert because of install/uninstall routines and file system differences.
     
    Crunching for Team TPU
  20. Red_Machine

    Red_Machine

    Joined:
    Oct 1, 2010
    Messages:
    1,741 (1.15/day)
    Thanks Received:
    384
    Location:
    Marlow, ENGLAND
    Ballmer is evil sent from Apple?

    HE HELPED BUILD THE DAMN COMPANY BEFORE APPLE RATED A BLIP ON THE RADAR!
     
  21. johnnyfiive

    johnnyfiive

    Joined:
    Apr 17, 2008
    Messages:
    3,892 (1.61/day)
    Thanks Received:
    876
    Location:
    Tucson, AZ
    • You're completely disregarding the selling points of an operating system. If form and function were the only thing that mattered in the operating system industry, we'd still be using Windows 3.1 because that did everything in its day perfectly fine. Point being, times are changing, GUIs get stale and consumers notice, so company's change the GUI and add features. They focus on whats important to consumers, not the nerdy gamer who only cares about frame rates and nothing else. If there wasn't Vista and Windows 7, we wouldn't be gaming in DX10 and DX11. You should be happy we have the aero GUI and snap windows, because along with that came DX10 and DX11. You mention you get more points in 3DMark in XP than you do in 7? Are you breaking 3DMark records for a living (lol)? Do you honestly like having to install misc. drivers after installing Windows XP (because XP doesn't have a generic driver)? The best thing about Windows 7 is that it works on basically anything. P4's can run 7, and it will install basically every driver on that archaic P4 board.

      Windows 7 is awesome. It's great that 3DMark 06 (06?!) scores higher in Windows XP, it should, its from 2006 whereas Windows 7 is from 2009.

    • The only thing keeping you from Linux as your main OS is gaming? Really?
      So you're saying your fine with changing shells, writing scripts/misc code, compiling, and making your own installs for basic applications? You'd rather do that then double click an executable or drag an icon to an applications container? (OSX). My point again, the general consumer. Linux savvy people may be fine using Linux for everything, but the general user isn't. They need MS Office, Open Office & Libre Office won't cut it. They need Visual Studio, they need XCode, they can't compile code in python or c++ and have no desire to. They want to sit down, run an installer, and click play. It's the same reason why console gaming is far surpassing PC gaming... the general consumer prefers the console. Why? It's dummy proof.
    • If you don't want a flashy GUI, want DX11+, and fast performance, you're answer is Windows 8. Like it or not, Windows 8 is where the future is for Windows. Many people hate it but really don't understand the purpose of it. It's not Windows 7, it doesn't have a Start menu, it WILL have Metro, and its Microsoft's future. Download the preview, give it a try, and in due time vendors will straggle along because they simply have to if they want to progress. Drivers will come, features will become useful, etc.
    • L4D2 runs faster in linux than Windows, yeah, in crappy OpenGL. How about some screenshot comparisons between the two? How about we max all the graphic features in the Linux version and Windows version.... you'll see exactly why it runs faster in Linux, because it looks like garbage in comparison due to OpenGL limitations.

      There is a HUGE reason why DirectX is the API developers choose to develop for. It's awesome and its native to Windows, which just happens to be THE best gaming OS.

    When Steam starts releasing more games and stats showing a significant % of Linux gamers (on Steam), only then will we really see vendor support. Nvidia will chime in and hopefully ATI will finally release a driver for Linux that doesn't seem like its from 1998. Then, and only then, will we see an increase in Linux gaming. Gaming devs follow money, pc gaming money belongs to Windows. Following that is graphics vendors, along with timely driver updates to support these new upcoming games. When Linux gets enough gaming market share, we will see some big advances. Steam is certainly the pioneer, they see a future in it. I however don't. OpenGL (even if it is a new version), is not DirectX. Game devs make most popular titles for DirectX and there is plenty of reasons why, one of them being the SDK's.

    BazookaJoe: This isn't a direct bash on your post directly (or you directly), this is just my general thoughts on some of the points you brought up.

    /end Thursday rant
     
    Last edited: Aug 2, 2012
    Ev1LrYu and FordGT90Concept say thanks.
  22. Dent1

    Joined:
    May 18, 2010
    Messages:
    3,164 (1.91/day)
    Thanks Received:
    922
    It's been 11 years since Windows XP it's still easier to use, has a bigger application library, and has more application compatibility than Linux ever has.

    ...I think I'll take the 5% performance loss.
     
    Last edited: Aug 2, 2012
  23. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.79/day)
    Thanks Received:
    304
    You mean windows 8?
     
  24. jihadjoe

    jihadjoe

    Joined:
    Oct 26, 2011
    Messages:
    392 (0.35/day)
    Thanks Received:
    100
    Bad news for you: The default Unity front-end for Ubuntu is also rather fluffy!
     
  25. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,686 (6.46/day)
    Thanks Received:
    2,340
    Location:
    Concord, NH
    Ubuntu doesn't restrict you to one window manager either. You don't have to use Unity.
     
    odameyer says thanks.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page