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.
|We take a seat on Turris' VR Chair||13|
|HP's Chromebook 13 is dressed for success at $499||15|
|Apple and Samsung lead tablet shipments in a struggling market||18|
|MSI debuts entry-level and enthusiast C232 motherboards||11|
|Z410 SSDs bring a 480GB tier to SanDisk's entry-level drives||9|
|Galaxy S7 phones help Samsung deliver a strong first quarter||8|
|Minecraft: Gear VR Edition is available now for $6.99||7|
|Seagate begins shipping its 10TB helium-filled hard drives||34|
|Exploring Nvidia's Pascal architecture||94|
|It's about time!||+38|