Open Source Challenge part 9: Gaming

Send to a friend Print

Help more people find out about this story

Del.icio.us
StumbleUpon

Ashton Mills17 September 2007, 12:51 AM

We all know what computers arereallygood for -- games, and lots of them. Linux has never really been a gaming platform, so can Ashton Mills survive without Windows here?


Well, I've left the realm of games towards the end our experiment because, frankly, Linux has never really been a gaming platform. In all the areas where Linux has excelled and even surpassed Windows, gaming is not one of them.

So why not?

Pure market penetration aside, Microsoft wisely invested in the development of DirectX many years ago. While the initial implementations of DirectX were horrid, it quickly matured and has -- quite literally -- enabled a whole new age of gaming, and all because it simplified the development of games for the Windows platform.

Linux can't run DirectX, obviously, and while there are various inroads for providing Linux with a similar set of APIs for developers to use (such as SDL -- Simple Directmedia Layer), it simply hasn't attracted the attention warranted to make this a priority in the open source community.

That's not to say Linux can't play games, however. They just might not be what you expect.

The Ratings

In this project we're making the assumption that Windows does all that we need, and we're seeing if Linux and open source software measures up. Perhaps that's not an entirely fair place to sit, however as the de-facto in operating systems for which everyone is familiar, it's our best basis for comparison. So here's how we'll rate the experience of going Windows-free:

Optimal -- Passes with flying colours. The task could not only be completed, but better or easier than under Windows.

Pass -- No problems. The task can be completed exactly as under Windows.

Iffy -- When a task could only be partially completed, or completed but not without issue.

Flop -- Not possible to complete at all. Probably not a good thing.

Native games

There are, in fact, loads of games made specifically for the Linux platform, aka 'native' games. They are, for the most part, not the blockbusters you'd expect.

Above and beyond the usual pre-installed puzzle games, there are various shoot-em-ups, platform games, racing games and even FPS games for Linux (see Free Games below).

But what about the big commercial releases we see under Windows?

There are, actually, quite a few that were and are released with Linux binaries -- though usually not in the box. You have to download them.

These include mainstream titles like:

Largely, whether a game gets a native Linux version is at the whim of the developers -- afterall, there so far hasn't exactly been a strong economic case to build them. Here, iD and Epic are the most supportive (as the above list shows), and there's no doubt this has endeared the Linux community to them.

And how do these titles play? Exactly the same as under Windows. In fact, in some cases, these native games are a tad faster under Linux, probably more reflective of the kernel and OpenGL layer than anything else. This is actually the key -- OpenGL is supported as equally well under Windows as Linux, but DirectX is Windows only. Native games have, generally, been OpenGL.

While I haven't played any native Linux ports recently, I don't plan to buy any for this experiment -- I'm better off saving my money for the next Windows based game release (Crysis, anyone?). That said blockbuster, native, Linux games do exist. They're just few and far between and, unfortunately, as the entertainment world moves to DirectX10 any legacies of OpenGL support will dry up, and with it Linux's best native graphics support.

I'm scoring this in the middle -- native ports work beautifully, but there just aren't enough of them.

Native games: Pass -- No problems. The task can be completed exactly as under Windows.

Enter Cedega

Never one to be stumped, the Linux community gave birth to a company many years ago called Transgaming which have, over time, continually developed a product now known as Cedega. Cedega is essentially a highly developed branch of WINE with DirectX support thrown in. It can, quite literally, allow you to play native Windows games on the Linux desktop. However, it's a commercial product with a subscription fee, which also includes the ability to cast 'votes' on which games you want the company to focus on running well under Linux next.

Cedega makes it possible to play not only some of most popular titles ever made under Linux -- such as Half Life 2 and World of Warcraft -- but it frequently allows you to play current releases as well. Sometimes they work out of the box, other times Transgaming needs to update Cedega to get the games running, and usually they do.

On Ubuntu, installing Cedega is a matter of running the supplied .deb package that adds a new 'Transgaming Cedega' menu, which launches the Cedega browser. The browser is basically an interface to make it easier to manage your games, but note games must be installed afresh from here not simply run from a Windows partition.

As I’m a picky gamer and don’t like forking out cash for games that won’t hold my interest, which means I haven’t bought a game for a while, I grabbed some recent game demos including Supreme Commander and Command and Conquer 3 to test Cedega out. According to the Transgaming web site, both are 'approved' and thus should work.

Unfortunately, they didn't. Supreme Commander bombed out at the Setup screen, and Command and Conquer 3 wouldn't even launch the installer (even with 'Big exe' ticked in Cedega). So I tried to grab a not so new game that wasn't a demo -- the full free version of F.E.A.R Combat. The Setup appeared to work until it came to the license agreement, which the installer unrealistically expected to be read and checks by seeing if the document has been scrolled to the bottom -- something it seems Cedega couldn't pick up, and so the install couldn't continue. Surely, it can't be this hard just to handle setup routines?

Finally I tried Steam, which I know should work as I have actually played games like Half Life with Cedega a while back in earlier versions, but for some reason now it kept reporting that it couldn’t find glob files, despite having the working directory correctly set. It could be something specific to my system or my Ubuntu install, but I was disappointed that four out of four programs wouldn’t work.

Cedega has a popular following and a large game database of games that it can run to various levels of success. And given I have used it in the past (though not on an Ubuntu install at the time) it wouldn’t be fair to score it too low, but it certainly would have fared better if it worked for me now.

Transgaming: Iffy -- When a task could only be partially completed, or completed but not without issue.

The Cedega browser, good for managing games, when you install them.The Cedega browser, good for managing games, when you install them.

Free Games

Thanks to open source, there are actually quite a few fun and free games to download and for which the Ubuntu repositories have a fine selection. From the Applications > Add/Remove menu there's a whole range of games from the basic classics like Nethack and Frozen Bubble through to 3D accelerated gems like Chromium and Neverball. I played all of these. And then I played some more. And then some more. How do they make these so damn addictive?

They're not blockbusters, but they beat the pants off the free games bundled in Windows, and will keep you occupied for many hours longer. Good deal for the price point.

Free games: Optimal -- Passes with flying colours. The task could not only be completed, but better or easier than under Windows.

Frozen Bubble.Frozen Bubble.

Neverball.Neverball.

Nvidia support

In the process of installing some of the Free games I needed to update to the official Nvidia drivers, replacing the free 'nv' driver that comes with X11 (and which is designed for 2D acceleration only). This was easier said than done.

While these appear to be listed as installed in Ubuntu's Synaptic package manager, there's no where to enable these through Ubuntu's configuration options. In fact, rather than fuss around with Forums to get yet another feature that should just work in Ubuntu, I turned to Automatix, which also has an 'Nvidia' option under Drivers.

This worked beautifully. Automatix downloaded, installed and -- the most important step -- configured the drivers. When I re-booted I had full 3D acceleration support.

Unfortunately, given these were official drivers, they also reset my screen resolution. No problem, right? I'll just run System > Preferences > Screen Resolution and reset it.

Or not -- my screen resolution wasn't listed. Only 4:3 modes are present, and I have a widescreen monitor. This has nothing to do with Nvidia: the Screen Resolution tool is a front-end to the X11 configuration file, which will happily run the 1,920 x 1,200 resolution my monitor supports, it's just the tool doesn't know how to do it. Is it Gnome, or Ubuntu responsible? It doesn't matter, as a user I just need things to work, how can anyone expect to take the distribution seriously as an alternative to Windows when it can't even properly set display resolutions? This isn't rocket science or genetics -- setting one line in a text -based ini file from a selection of options could be programmed in minutes.

So, off to the command prompt I go to fix yet another glaring oversight, and something which anyone new to Linux would simply have no recourse to fix.

I would really love to love Ubuntu here -- Nvidia make great drivers for Linux -- but I just can't when something so simple is omitted. Not impressed.

Driver and display support: Flop -- Not possible to complete at all. Probably not a good thing.

Once installed, the Nvidia drivers for Linux are excellent.Once installed, the Nvidia drivers for Linux are excellent.

Conclusion

Well we know the Linux forte' isn't games, so it's not much of a surprise to score it low for native games, but I'm disappointed by Cedega and Ubuntu's handling of drivers and display -- two areas which could have redeemed it, but didn't. At least there were the Free games, many of which take advantage of full 3D acceleration.

In the next section, the conclusion of our foray into a Linux only world. From business and working to games and entertainment, what's the verdict on surviving with nothing but Ubuntu for your desktop OS?

 

In the next part: The verdict! >>>

Open Source Challenge

Post your comment



Comments

RSS feed Email alert

Arkangath:

This is a OpenSource challange. Cedega is NOT opensource. If you wanted to try transgammin, you would have to go for the Wine program. It's compatibility is also known to be broader than Cedega's.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

gaming:

Has anyone tried this open source game development software, http://www.scirra.com/

29 February 2008, 8:48 PM (1 year ago)report abuse Send to a friend reply

Ubuntu user:

Did you try to let nvidia-settings rewrite your xorg file?

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

ppyo:

You forgot Battle of Wesnoth. This is one of the best turn based strategy games I've ever played, bar none. This game is proof that open source can truly deliver. And it is available for Windoze, too.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

rpg game:

Many free open source rpgs are available on the net. You are right Battle of Wesnoth actually a pretty good open source rpg. We can think of free open source roguelike games too, there are many like NetHack and Moria.

29 February 2008, 8:48 PM (1 year ago)report abuse Send to a friend reply

Tyante:

The problem with the resolution is not because of Linux. It is a problem with the LCD manufacturer. NVidia's drivers use the monitors EDID to figure out what resolutions are compatible. Since your monitors, and most LCD monitors, don't give the correct EDID info, it must be turned off. This may not be trivial, but it is an option in the NVidia driver and documented in their README. Look under X Config Options.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

David Gerard:

The current WineHQ version of Wine - which is open source - has increasingly good Direct3D support. Every two weeks its gaming support gets better. Worth a try on Windows games you've already bought.

Frozen Bubble is actually what got me into Ubuntu - my wife played it at a friend's house and insisted I install Ubuntu on a spare laptop so she could play it at home ;-)

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

Daniel H:

I don't know how recent this article is, but two points of contention are obvious.

Firstly, when one installs Ubuntu 7.04 or higher, there will be a tray icon that will allow you to install and activate the Nvidia drivers, quickly and easily. And yes, I do believe that Ubuntu's support for monitors is below par, at best. Also, the latest Nvidia control panel has a variety of resolutions and refresh rates that Ubuntu/Gnome, whatever that mess is, doesn't have.

Secondly, you say you couldn't get steam to work under cedega. Odd, because it works completely out of the box for me under Wine, and it is strange that Wine didn't get a mention here. Also, yes, lots of new games like Supreme Commander don't yet work.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

Rapu:

"That's not to say Linux can't play games, however. They just might not be what you expect". You can make games using OpenGL instead of Direct3D, which is the most important part in today's gaming. Just like in Doom3, Quake4 and the recent Unreal Tournament 3. There's no inherent bad quality in games that don't use DX, heh.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

Linux Lover:

While not stricly OpenSource, don't forget the 1000's of flash games available on the web. Many can be copied to hard drive and don't need an internet connection to play.

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

fosseth:

Here is a big list of open source games.

http://fossgamer.110mb.com/index.html

29 February 2008, 8:32 PM (1 year ago)report abuse Send to a friend reply

Thomas:

Perhaps you just have to play some more brainy games :) Like chess. Personally I find PyChess a very nice chess client for gnome.

29 February 2008, 8:33 PM (1 year ago)report abuse Send to a friend reply

Thorn:

Looks like PlayOnLinux (http://www.playonlinux.com/) is very similar to Cedega, but it's free!

29 February 2008, 8:33 PM (1 year ago)report abuse Send to a friend reply

jake (User):

i never liked linux

14 April 2008, 12:43 AM (1 year ago)report abuse Send to a friend reply

anonymous user Anonymous user

This month in APC!

Tags