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.
|In the lab: FLIR's One thermal camera||41|
|Black Friday deals: Dell's U3415 curved monitor for $650 and more||32|
|Abu Dhabi government fund may be shopping GlobalFoundries||63|
|Asus goes for the gold with its 20th Anniversary GTX 980 Ti||8|
|MSI's Eco motherboards let owners fine-tune power consumption||10|
|Gigabyte's Z170X-Gaming G1 motherboard reviewed||18|
|Star Wars Battlefront video review||40|
|Club 3D active adapters convert DisplayPort 1.2 to HDMI 2.0||23|
|Phanteks' Power Splitter lets two systems run on one PSU||45|