posted by Joe Drago on Wed 7th Jul 2004 19:12 UTC

"Cedega, Page 2/2"
Click for a larger viewI remove the "Desktop" setting in the config, and attempt to run the game using its builtin Windowed mode. It worked perfectly! I could move the window from screen to screen, hide it, put it on another desktop, and my machine seemed to be as snappy as normal. This might be more of a credit to the NVidia XFree driver team, but either way, it was impressive. I could focus the Cedega/CoH window and use the game, then click away and have complete control of other windows. It felt just as native as my UT2004 window.

But how does it play? The first thing I noticed was a gentle feeling of lag. Not in the rendering speed (the frames per second seemed solid), but in the server/client updates. I can tap on the strafe keys (A and D), and my avatar will hop to the left or right, only to pop back into the original place a split second later. The only time this doesn't happen is if its consistent movement, such as running across a long distance, or strafing a while. To better explain, it seems like the last update of a series of updates just gets ... ignored by the server. The server disagrees with the client and my avatar jumps back into the place it was a second ago.

Normally this is attributed to severe network lag, so I checked my DSL (1.5Mbit) connection. This machine was the only one turned on the house, and I had absolutely nothing else running on it. I then blamed the CoH servers for it, but I rebooted into Windows to test. In Windows, there is no lag! I rebooted back and forth a few times, just to be absolutely sure, and I'm convinced it has to do with something on my machine.

Click for a larger viewAnother downside is that the menus are somewhat finicky with where you click them. Sometimes clicking on a menu will result in the floating window jumping to the dead center of the screen, instead of actually just opening the pulldown menu. Being a keyboard fan, I just started using things like "/quit" instead of choosing Quit in the menu. It doesn't really affect gameplay at all.

As far as sound goes, it sounds perfectly normal using both OSS and ALSA drivers (I rolled to ALSA in a failed attempt to remove the lag), with the only exception being a static noice when typing fast in the chat console. I assume this has something to do with the typing sound effect being stopped and started so abruptly. Turning down the volume in the CoH settings a bit seemed to stop this effect from being so obvious.

I went to the Transgaming forums and found out that I wasn't the only one that bought Cedega with City of Heroes in mind, but that I was having more luck than others. Others seemed to be having a few problems with cedega bailing out with some DirectX sounding "PMakeCurrent" error, but at least one other in there was up and running and sharing my lag issue. Gavriel States himself replied to my support question about it (very quickly!) and informed me about a potential CDROM polling issue that might be lagging out my machine. The quickfix (until they really correct it) was to comment out all of my CDROM fstab entries. I didn't think this was going to be the solution (I had removed all discs before playing), but I did it anyway to no avail.

I played anyway, and after a bit I think I just got used to the lagging feel. This game isn't about reflexes in the degree of milliseconds, but more in the range of "half-a-seconds", so its not like Quake3 where the game is completely unplayable due to a little lag. I fired up Teamspeak2 next to this window and started playing with some friends. I got a good two hours into the game, no hiccups, no crashes, everything nice and smooth.

Click for a larger view So other than this lagging issue (which I'm sure they're checking into due to the quick response I received) and a few minor glitches (the static sound), it was really, really nice. Perhaps I was still in awe from a programming perspective, but Cedega is truely a feat to have something as complicated as an MMO game to run even half as well as this did in a foreign environment.

Next, I just decided to choose a random older game and install it to see how it'd work. I chose Grim Fandango. This is one that had already been given a decent rating back in WineX, but I wanted to see how well it ran in my dual monitor environment.

Grim Fandango

I popped the first disc in, mounted it and ran the installer with Cedega. I'm not sure what was with the CoH installer, but this one ran so flawlessly one could confuse it with being in Windows, if it wasn't for the silly BeOS5 theme I use in XFCE4. The installer completed, and I ran "grimfandango.exe" with cedega. The game started up perfectly (no crashes or bugs), but It changed the resolution on my right monitor to 800x600 and took up the upper left 640x480 of the screen, as well as stealing/hiding my cursor!

Not to let this get to me, I closed the app using my trusty Alt+F4 (thanks, XFCE4, for making a Win32 programmer feel at home) and perused the config file. Again, this step would have probably been easier using Point2Play, but I didn't feel like having an intermediate step to play these games. I quickly caught onto the Wine configuration technique ([AppDefaults/EXENAME/SUPSECTION]) and added two lines to the grimfandango.exe section I created:


The first line tells Cedega to lie to Grim Fandango and tell it that the desktop is already in 640x480, and secretly just runs it in a Window anyway. The second line denies DirectX from taking the cursor away from me (nice job, Wine/Cedega developers!) I reran the game, and those two settings magically transformed a very fun but machine-stealing program into a friendly windowed application to intermingle with my other Linux apps. Full speed, full sound, no issues to be found.


Click for a larger view Cedega 4.0 is a dream come true for PC gamers turned Linux fans. The hype that Transgaming puts out there makes it sound like it will bring Linux into a new era for playing games, and I agree 100%. Of course, this new release has a few issues to iron out, but City of Heroes is a very actively updated and advanced game, and I've heard that Star Wars Galaxies and others play with similar results. I want to thank Transgaming for allowing me have my cake and eat it too, running my Linux apps cooperatively with my favorite PC game. With the future games coming up that aren't native (read: not from iD or Epic), this release of Cedega will fill the gap nicely. I'm certainly going to stick around in the Transgaming community and see how things progress.

If you are a Linux user that is tired of rebooting for those Windows games, this is definitely for you, but you can't be afraid to help coax Cedega into playing your favorite games just right. I think that it's going to get better with each release. Thanks, Cedega team!

About the Author:
A little background. I'm a relatively new user of Linux, having only used it for the past two years or so. I am a Win32 network programmer by day, so it wasn't until recently that I decided to give it a shot at home and fell in love with it. I think that Linux is a great deal of fun for a programmer, and I've since been wincing every time I have to sit down at my XP machine at work. I just miss my Debian at home. I don't claim to be an expert at all, but I feel very comfortable in Debian and at the terminal, and I'm not afraid to get involved with the kernel details and such.

If you would like to see your thoughts or experiences with technology published, please consider writing an article for OSNews.
Table of contents
  1. "Cedega, Page 1/2"
  2. "Cedega, Page 2/2"
e p (0)    62 Comment(s)

Technology White Papers

See More