Jump to content


Source Engine Faster On Linux


7 replies to this topic

#1 alphadog

    DevMaster Staff

  • Moderators
  • 1716 posts

Posted 04 August 2012 - 02:14 PM

As Microsoft begins to wall-garden itself, Apple-style, with Win8, this seems to be another step down that road:
http://www.extremete...even-on-windows

Linux/OpenGL/L4D2: 315 fps
Windows 7/OpenGL/L4D2: 303.4 fps
Windows 7/DirectX/L4D2: 270.6 fps

Discuss... :)
Hyperbole is, like, the absolute best, most wonderful thing ever! However, you'd be an idiot to not think dogmatism is always bad.

#2 TheNut

    Senior Member

  • Moderators
  • 1699 posts
  • LocationThornhill, ON

Posted 04 August 2012 - 03:02 PM

I read Gabe's opinion about Win8 and Linux, but I didn't think he was in the works to port the source engine. Good on them. As for the benchmarks, meh ;p I think the important thing is that Valve is adopting OpenGL and other platforms. Whether or not people will adopt it solely on the presence of more games is debatable. I love developing for Linux and using it for some things, but it has a lot of hurdles to overcome if it is to become a viable alternative to the average Joe. It's a question of whether to improve Linux or improve the technical literacy of the general public :) Novell tried to pull that stunt back in 2K and it backfired.

Still, this will be interesting to see where it goes. I'm not crazy for Win 8 since I'm quite content with 7, but it will be interesting in the next couple of years where things go. With C++ and OpenGL, you open up PC Windows, Linux, Mac OS, iOS, and Android. With C++ DX you have Windows, XBox, and Win Phone, the later which hasn't shown a lot of promise yet (sadly). If Android and iOS secure their future as market leaders, pushing Windows mobile out, then that too will be a factor, I think, when people decide which APIs to use. The game is afoot. Let the GL vs DX wars commence :)
http://www.nutty.ca - Being a nut has its advantages.

#3 fireside

    Senior Member

  • Members
  • PipPipPipPip
  • 1587 posts

Posted 05 August 2012 - 08:05 PM

I'm thinking about getting a Raspberry Pi. Looks pretty cool. I might go back to 2d with html5. Linux will probably always be a niche for the desktop. People will grumble but stick with Windows. Many will probably skip Windows 8 like they did Vista. It will make it harder for OEM's to make a profit.
Valve's engine should be a shot in the arm for Linux anyway.
Currently using Blender and Unity.

#4 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 05 August 2012 - 08:38 PM

View Postfireside, on 05 August 2012 - 08:05 PM, said:

shot in the arm

Like a shotgun or an injection?

#5 fireside

    Senior Member

  • Members
  • PipPipPipPip
  • 1587 posts

Posted 06 August 2012 - 12:08 AM

Maybe that phrase isn't used much anymore. It's an injection:
http://idioms.thefre...shot+in+the+arm
Currently using Blender and Unity.

#6 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1227 posts
  • LocationOttawa, Ontario, Canada

Posted 07 August 2012 - 12:05 AM

View Postalphadog, on 04 August 2012 - 02:14 PM, said:

http://www.extremete...even-on-windows

Linux/OpenGL/L4D2: 315 fps
Windows 7/OpenGL/L4D2: 303.4 fps
Windows 7/DirectX/L4D2: 270.6 fps

Seems kinda pointless and insignificant to me. I mean, as mentioned in the article, their initial version ran at just 6 FPS, and so obviously it required lots of optimization. But they could easily overshoot the Windows results that way, by chance (or intentionally). This old engine was never optimized to run at 300 FPS on Windows a killer system like that. It was optimized to run at 30 FPS on a GMA 950 or something like that. I'm fairly confident that optimizing it on Windows, again, would result in similar or higher framerates (if they really wanted to).

So I'd be a little skeptical about attributing these different results solely to the operating systems. I certainly don't want to exclude the possibility that Linux is indeed more efficient, but the above data is anecdotal at best and not good science.

#7 Reedbeta

    DevMaster Staff

  • Administrators
  • 5307 posts
  • LocationBellevue, WA

Posted 07 August 2012 - 12:42 AM

Also, keep in mind how high all of these framerates are...we're talking about a 0.5 ms difference between the slowest and fastest cases, or about 3% of a 60Hz frame. It's nothing to sneer at, but it's a pretty small difference in real terms.

(Hey, Nick! Good to see you again. :))
reedbeta.com - developer blog, OpenGL demos, and other projects

#8 alphadog

    DevMaster Staff

  • Moderators
  • 1716 posts

Posted 07 August 2012 - 07:25 PM

View PostNick, on 07 August 2012 - 12:05 AM, said:

So I'd be a little skeptical about attributing these different results solely to the operating systems.

Agreed. Another general issue that has always bothered me about many systems websites that review hardware is the lack of "error bars" in their benchmarks, a.k.a. standard deviation. You don't know if there's a 3-5fps swing in their data, or a 30-50fps swing.

OTOH, I don't think you have to totally dismiss it because "it's not good science". It has its own value. It does demonstrate something possible, rather than falsehoods. For example, do you think L4D2 is not optimized for Win7/DirectX and that those score are not representative of that platform?
Hyperbole is, like, the absolute best, most wonderful thing ever! However, you'd be an idiot to not think dogmatism is always bad.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users