Is It Time For an OpenGL Gaming Revolution?
MrSeb writes "In a twist that reinforces Valve's distaste for Windows 8, it turns out that the Source engine — the 3D engine that powers Half Life 2, Left 4 Dead, and Dota 2 — runs faster on Ubuntu 12.04 and OpenGL (315 fps) than Windows 7 and DirectX/Direct3D (270.6 fps); almost a 20% speed-up. These figures are remarkable, considering Valve has been refining the Source engine's performance under Windows for almost 10 years, while the Valve Linux team has only been working on the Linux port of Source for a few months. Valve attributes the speed-up to the 'underlying efficiency of the [Linux] kernel and OpenGL.' But here's the best bit: Using these new OpenGL optimizations to the Source engine, the OpenGL version of L4D2 on Windows is now faster than the DirectX version (303.4 fps vs. 270.6 fps). If OpenGL is faster, and it has a comparable feature set, and hardware support is excellent... why is Direct3D still the de facto API? With Windows losing its gaming crown and smartphones (OpenGL ES!) gaining in popularity, is it time for an OpenGL revolution?"
Major software companies will put more effort in the tablet and more portable touch displays.
That's already starting to happen. Tablet sales are 24% of the market in 2012, but are increasing 100% year over year. If that continues for 18 more months, tablets will be outselling "traditional form factor" PCs, including laptops and desktops, within a few years. Of course, the installed base of traditional PCs is still larger so it will be several years after that before the tablet form factor has a larger install base, but the writing is on the wall.
I followed a few links and found my way here:
http://www.paranormal-entertainment.com/idr/blog/posts/2012-07-19T18%3A54%3A37Z-The_zombies_cometh/
It's a blog about an experience intel driver developers had working with the Valve Linux team. What I found interesting is that the Valve developers prefer working with open drivers for an obvious reason - It's hard to find out what went wrong when you're dealing with a black box. What I gathered from the discussion is that this openness was a huge boost to development of both the game and the driver. This gives me hope that there may be a bright future for open source graphics drivers and even gaming on Linux.
From the blog:
Haswell will have 40 execution units in it’s best bin. It’s 2,5 faster even if they not gonna change anything in shaders, which is unlikely. Plus 64 MB of on-package memory to deal with bandwidth problem.
With that performance and official open-source driver Intel will be the best choice for gaming in Linux next year, at least in notebooks.
A pretty good GPU + an open driver + an open kernel coupled with a working relations ship between the 3 groups should result in a super graphics and games on Linux. I'm not a gamer, but I'll buy their games just to support this. Typing this on a Sandy Bridge machine pulling from xorg-edgers.
> On the PS3 this is PSGL
Technically the PS3 supports _2_ graphics API: CGM and PSGL. I don't know of any games that have actually shipped with PSGL. (Almost?) Everyone uses the lower level CGM for performance reasons, even though it is more work.
> On the Wii this is another proprietary API that is similar to fixed function OpenGL but is again not OpenGL.
Correct. The native API on the Wii is GX.
I implemented OpenGL on the Wii a years back and shipped a couple of games with it. (We also had a shipping OpenGL implementation on the PS2!) The design of the GX is very, very, similar to OpenGL.
The biggest PITA is that the Wii only has 1/2 pixel shaders. You have multi-texture support via TEVs and can do some pixel math but it is very tedious, say for shadow mapping.
On the plus side the biggest hack is you can get 32-bit palettized (8-bit) textures if you burn through 2 TEVs ;-)