Valve's upcoming Steam box has fueled a lot of chatter about Linux as a gaming platform. John Carmack has an interesting take on the topic, and he's posted his thoughts on Reddit. Rather than developing native Linux ports, the id Software programming guru believes emulation is the best approach given the current climate.
I truly do feel that emulation of some sort is a proper technical direction for gaming on Linux. It is obviously pragmatic in the range of possible support, but it shouldn’t have the technical stigma that it does. There really isn’t much of anything special that a native port does – we still make OpenGL calls, winsock is just BSD sockets, windows threads become pthreads, and the translation of input and audio interfaces don’t make much difference (XInput and Xaudio2 are good APIs!). A good shim layer should have far less impact on performance than the variability in driver quality.
Translating from D3D to OpenGL would involve more inefficiencies, but figuring out exactly what the difficulties are and making some form of “D3D interop” extension for OpenGL to smooth it out is a lot easier than making dozens of completely refactored, high performance native ports.
Carmack goes on to say that emulation could allow developers to support Linux with "little more effort" than what would be required to get their games working with Windows XP. He does concede that Linux ports could be "up and running in a week or two," but he also points out that a lot more work is required to create an officially supported binary.
Id Software has some experience in this realm, having released Linux versions of Quake Live and Quake III Arena. In both cases, the conventional wisdom that "native Linux games are not a good market" proved true, Carmack says.
One could argue that Valve getting into the Linux gaming business could dramatically increase the size of the market, making native ports more viable. Carmack is supportive of Steam on Linux, and he actually sees it as part of the path forward for emulated games. I wonder if that means the upcoming Doom 4 will come to Linux—and Steam—in emulated form. Thanks to Phoronix for the tip.
|Samsung's 28'' display serves up single-tile 4K at 60Hz for $800||67|
|AMD posts another loss but beats Wall Street forecast||12|
|GlobalFoundries licenses Samsung process tech, grants AMD access to FinFETs||39|
|MSI shows next-gen Intel motherboards||33|
|Micro-bots are spooky cool, could be used in manufacturing||20|
|Nvidia GeForce 337.61 beta hotfix display driver released||14|
|AMD earnings previewed||31|
|Ars Technica reviews Windows Phone 8.1||51|
|Wait, we're giving away $1500 in PC hardware?||11|