Linked by Jordan Spencer Cunningham on Fri 3rd Jul 2009 20:56 UTC, submitted by Michael
Games The folks over at Phoronix had an interesting interview with Linux game porter, Frank Earl. Despite the apparent decline in PC gaming, Earl has worked for Linux Game Publishing for several years and was seeking input from the community at large for game suggestions at Phoronix. He's also done work independently on porting various software over from Windows. The interview covers work that Earl has done, difficulties that arise in porting commercial games to Linux, successes they've had, his views on Linux in general, and his thoughts on the future of gaming in Linux.
Order by: Score:

Interesting article
by Wrawrat on Sat 4th Jul 2009 00:30 UTC
Wrawrat
Member since:
2005-06-30

Quite an interesting read. I didn't expected that sound and network would be harder to port than the 3D engine or platform-specific code. I guess that even indie developers don't code as badly as some of my student I had to grade... Then again, I just can't believe that some developers are still using DirectPlay when it has been *removed* from the DX SDK almost two years ago!

Talking of games, this article reminded me of libSDL. It's quite a shame that development of this library seem to be on an halt. It always looked like a decent cross-platform alternative to DirectX. Perhaps I am missing something?

RE: Interesting article
by moondevil on Sat 4th Jul 2009 10:52 UTC in reply to "Interesting article"
moondevil Member since:
2005-07-08

SDL is being quite actively developed.

If you check the mailing lists, you will see that lots of work is being put into the 1.3 release. This is going to be a major rewrite of SDL's internals, hence the slow development.

With the new backends, it will be possible to use 3D acceleration for 2D. Something which is not easily done nowadays.

The support for multiple windows is also part of the upcoming 1.3 release.

RE[2]: Interesting article
by Rugxulo on Sat 4th Jul 2009 20:48 UTC in reply to "RE: Interesting article"
Rugxulo Member since:
2007-10-09

SDL is being quite actively developed. If you check the mailing lists, you will see that lots of work is being put into the 1.3 release. With the new backends, it will be possible to use 3D acceleration for 2D. Something which is not easily done nowadays.


In particular, I think (hope?) that 1.3 will fix the slowdown issue with Windows (e.g. Dungeon Crawl: Stone Soup, whose latest 0.5 Tiles sometimes works much better on Linux!!).

RE[2]: Interesting article
by Wrawrat on Sun 5th Jul 2009 05:28 UTC in reply to "RE: Interesting article"
Wrawrat Member since:
2005-06-30

SDL is being quite actively developed.

If you check the mailing lists, you will see that lots of work is being put into the 1.3 release. This is going to be a major rewrite of SDL's internals, hence the slow development.


That's great to know. I was considering it for a demo, but I didn't want to cope with a dead project. However, 18 months since the last release is a lot of time in software; perhaps they should give more news, as few people are reading mailing lists...

With the new backends, it will be possible to use 3D acceleration for 2D. Something which is not easily done nowadays.


What do you mean? Unless mistaken, most 2D operations can be made in 3D. Therefore, they should be already accelerated? The only unaccelerated operation that comes to my mind is direct pixel update, like playing a movie. Still, you could use textures and PBO/FBO to make it faster than, say, a glDrawPixel() call.

RE[3]: Interesting article
by cb_osn on Sun 5th Jul 2009 08:11 UTC in reply to "RE[2]: Interesting article"
cb_osn Member since:
2006-02-26


What do you mean? Unless mistaken, most 2D operations can be made in 3D. Therefore, they should be already accelerated? The only unaccelerated operation that comes to my mind is direct pixel update, like playing a movie. Still, you could use textures and PBO/FBO to make it faster than, say, a glDrawPixel() call.

I was also surprised to read this. In the game industry, all UIs are done with the same primitives that are used for rendering the 3D scene.

In fact, for my current hobby project, I wrote a fully hardware accelerated path shape (fully compatible with the SVG path element) that uses pixel shaders for applying solid colors, images and linear/radial gradients with an arbitrary number of stops. It also supports using a Theora movie for the fill or stroke brush and does the YUV->RGB conversion in a pixel shader. The resulting images are identical to the SVG output of Firefox (which uses Cairo) assuming that the graphics hardware offers at least 4x MSAA.

The advantages of 3D hardware acceleration for 2D elements are tremendous. My implementation is written in C# and absolutely blows Cairo away when it comes to speed.

RE[3]: Interesting article
by Ford Prefect on Sun 5th Jul 2009 13:25 UTC in reply to "RE[2]: Interesting article"
Ford Prefect Member since:
2006-01-16

That's great to know. I was considering it for a demo, but I didn't want to cope with a dead project. However, 18 months since the last release is a lot of time in software; perhaps they should give more news, as few people are reading mailing lists...


Well, in the case of SDL you have a library that is stable and somewhat feature complete for years now.
So it never came to a surprise for me that there are mostly bugfix releases happening, and those quite rarely.

It is very nice to know however, that great efforts are still put into SDL. We have a very stable, simple and convenient API here that is still getting improved under the hood -- great.

Difficult
by Amiga64 on Sat 4th Jul 2009 06:59 UTC
Amiga64
Member since:
2009-06-30

I bought Majesty from LGP a few years ago. I believe I was on a 2005 Ubuntu at the time. The game worked perfectly and I was delighted with my purchase.

However, I wanted to play through it again about a year ago, and it wouldn't work on any distro I had to hand. I wrote to LGP and they said they were working on it.

I think this highlights the difficulty of using any proprietary software on Linux. Linux changes, the proprietary software doesn't, so it stops working.

RE: Difficult
by joeprusa on Sun 5th Jul 2009 06:08 UTC in reply to "Difficult"
joeprusa Member since:
2006-05-25

Yeah, I bought the same game. Stopped working with Hardy which was very unfortunate. Had something to do with Xorg updates, I guess.
Just to cheer you up - it started working again with Jaunty. You just have to download a new installer from LGP's web site otherwise you won't be able to install it...

Good interview
by Bobthearch on Sat 4th Jul 2009 14:04 UTC
Bobthearch
Member since:
2006-01-27

Overall a very good interview - knowledgeable questions and insightful answers.

One subject I wish had been covered, the state of original gaming on Linux. Even though it's not Mr. Earl's area of expertise, I expect he could have provided some predictive insight.

Comment by diego
by diego on Sat 4th Jul 2009 20:24 UTC
diego
Member since:
2006-08-15

I lost faith a long time ago on game developers releasing their games for Linux and just got a PS3 for my gaming needs.

If developers in general still think that we (Linux users) don't pay for software they are still smoking crack and living under a rock.

RE: Comment by diego
by Luminair on Mon 6th Jul 2009 00:34 UTC in reply to "Comment by diego"
Luminair Member since:
2007-03-30

> If developers in general still think that we (Linux users) don't pay for software[...]

Whether they think that or not is irrelevant when there are so few linux desktops in total that the financial calculations never made it past the "are there enough linux desktops in existence to pay for this game" stage.

RE[2]: Comment by diego
by Brendan on Mon 6th Jul 2009 07:50 UTC in reply to "RE: Comment by diego"
Brendan Member since:
2005-11-16

Whether they think that or not is irrelevant when there are so few linux desktops in total that the financial calculations never made it past the "are there enough linux desktops in existence to pay for this game" stage.


I wouldn't want to confuse writing a game specifically for Linux and Linux alone, with writing a game and porting it to everything (including games machines, Windows, OS X and Linux).

The question is whether or not there's enough users of a certain platform to pay for porting the game (and the additional support costs)...

-Brendan