DOOM Ported To Palm Pre, Is Hardware-Accelerated
My oh my. There have been many hints and clues in these closing weeks of 2009 that GPU support for the Palm Pre is much, much closer than expected, but until now there's been nothing in the way of concrete proof. That all changed with the recent release of webOS 1.3.5, which zsoc (of Precorder fame) and destinal (who made the webOS Terminal) from WebOS Internals have been poring over today. And what they've discovered is starting to give us a pretty good idea of what Palm has planned for their upcoming 2010 CES appearance: hardware-accelerated graphics for webOS, via SDL.
What's SDL? It stands for Simple Directmedia Layer, and as the website will tell you, it's a cross-platform software library that enables low-level hardware access - which as of version 1.3.5 appears to have been baked into webOS's Luna framework. And what better way to test this new functionality than with a port of iD's seminal shooter, the legendary DOOM? zsoc was able to throw together a webOS port of the game today, and although it currently requires a bit of Terminal trickery to get it running, the proof is in the pud: behold the screenshot after the break! DOOM, running within a webOS Mojo-ized card and fully controllable via the keyboard. Brings a tear to the eye, it does.
Updated with video after the break!
Special kudos are also due to our good friend and benefactor Rod Whitby, who packaged the app for installation. Interested folks can download it for yourself (so long as you have webOS 1.3.5) via Preware. You'll also need a copy of the original doom.wad file actually, it's included in the download.
Article Comments
(28 comments)
The following comments are owned by whoever posted them. PalmInfocenter is not responsible for them in any way.
Please Login or register here to add your comments.
RE: Does it have sound?
RE: Does it have sound?
Things are getting fast, huh?
RE: Does it have sound?
http://phandroid.com/2009/03/31/android-is-doomd/
[that was just the first of N I found]
Pardon the stupid questions, but...
2) Where does the WAD file go? In the same directory as the game?
RE: Pardon the stupid questions, but...
RE: Pardon the stupid questions, but...
RE: Pardon the stupid questions, but...
SV: Google is how I found the HR.WAD and HRMUS.WAD files. The original Doom WAD files took a little bit more searching on my part. The problem was I wasn't being specific about which WAD files I wanted, and apparently (not surprisingly, though) the newer WAD files are more highly ranked on Google. :)
Incidentally, I found out too late that you don't actually need the WAD file to play. It's included in the Preware download, according to someone on the PreCentral boards. I tried it w/o installing a new one, and it worked fine. (At first I thought it didn't work because the monsters didn't come right up to you and try to kill you, but it turns out they're a little further away on the map than I thought they'd be.
RE: Pardon the stupid questions, but...
Way fun stuff.
Used a joystick as well as keyboard, however, so it was a lot easier to do certain movements.
Maybe I'll try to download a version for my Ubuntu box that runs native and see if the speed is up to snuff (600MHz PIII).
RE: Pardon the stupid questions, but...
Incidentally, I found out too late that you don't actually need the WAD file to play
(facepalm) Typical. thanks. i'll update the post... I thought they didn't want to include it in the download because of potential licensing issues.
Questions are being raised about the 'hardware acceleration'
Doom could use some bit blitting, perhaps, but it is REAL unlikely it is using a GPU to do, for example, 3D transforms or texture transforms, etc.
Which brings us to the question, does the GPU in the Pre even DO bit blittlng? (that is, does the GPU have direct access to the display memory?)
But in any case, the question is "What does this title REALLY mean?".
RE: Whatta Spoil Sport!
It doesn't open its _own_ card so much as it starts it's own surface, and when luna realizes it has to share the fb after the initialized virtual surface, it creates a hardware accelerated surface in a new card and shoves it in there.
There's lots more, though, including telling comments from Palm themselves in the code that indicate yes, this is all for real and probably how they're going to handle gaming themselves - like, say, with Need For Speed.
Speaking of which, I need to hunt down some PR people from EA. I'm guessing we'll be wanting to talk with them post-CES...
RE: Whatta Spoil Sport!
well; its classic PR crud - in its current context.
the original game uses a framebuffer based rendering engine; so all the drawing et al is done in a memory chunk that represents the display. if this is still the case - the only "hardware acceleration" is the fact that there is a surface used for displaying it. this is no different than using an open GL texture and letting the operating system do the blitting to the actual screen. you will find it would be much faster to draw direct to the framebuffer of the device - so, in fact, its slower now.
the biggest advantage of this is that it plays nicely with everything else on the device; meaning it can be pushed to the side and you can switch in/out of applications easier. it is how it should be; but it surely isn't hardware acelerated. if the game was re-written to use open gl; and utilize the open gl directly - like what has been done on the iphone; then its hardware accelerated.
from the quote; it doesn't seem to be the case tho.
--
Aaron Ardiri
PalmOS Certified Developer
RE: Whatta Spoil Sport!
[zsoc] freakout: sdl apps are run on a surface using a framebuffer device driver which is only available when the powervr (gpu) module is installed in the kernel.
So in other words, they're using the GPU to render it, even if the game engine itself doesn't support hardware acceleration. They can also now launch multiple instances of the game in multiple cards - 5 sessions of Doom running simultaneously without much of a performance hit would seem to indicated there's hardware acceleration going on here...
The question is whether or not OpenGL is also accessible via SDL via its current webOS implementation. zsoc is currently working on porting sdlgears, which will be the test.
Sometime PIC blogger
Treo 270 --> Treo 650 --> Treo 680 --> Centro --> Pre
I apologise for any and all emoticons in my posts. You may shoot them on sight.
Wow!
OMG!
RE: OMG!
RE: OMG!
But Rod was able to cook up a front-end to launch the game in Project Ares in less than an hour, and a proper launcher is already en route so there's no Terminal fussing. The sticking point is whether to make Preware the launcher - something which it's not really meant for - or whether to build a seperate SDL game launcher, because DOOM is only one of many games that can run on it. (Descent, for instance, has also been ported to SDL....)
RE: OMG!
RE: OMG!
NotTellingYou wrote:
Again..things liek "home brew" "it's not official" this sort of wild west crap is ok on my LinuX PC but NOT on a consumer phone. I call it my "mom test" if something can confuse my mom it doesn't belong on a mass market device. Why can't people get it in their heads that THIS is why Apple has found success on the phone that they didn't on the PC. People are ok with, and expect, complexity and issues like crashes and all, on their computer but they WILL NOT tolerate it on their phone. Apple, like it or not, with the locked ecosystem puts a firewall up. This would never be allowed on the iTunes store at this stage and unless Palm gets their $@%! together they will be like my Linux PC, loved by a few, but destined to be a niche player.
First of all, why would your mom want to play Doom on her cell phone?
Secondly, are you suggesting that the phone should be locked down so that people can't customize it and install what they want? Because that is what you are suggesting. Homebrew apps are not part of the Palm App Catalog and the typical user never sees them or is aware that they even exist. You might as well demand that in the interest of simplicity that Apple do everything possible to prevent people from Jailbreaking their iPhone -- oh wait, they already do that.
Palm Apologist
Shouting down the PIC Faithful Since 2009
Screw convergence
Palm III->Visor Deluxe->Visor Platinum->Visor Prism->Tungsten E->Palm LifeDrive->Palm TX->Palm Pre
Visor Pro+VisorPhone->Treo 180g->Treo 270->Treo 600->Treo 680->T-Mobile G1->Palm Pre
http://mind-grapes.blogspot.com/
RE: OMG!
NotTellingYou wrote:
Look at the directions to install! What? THIS PEOPLE is a great example of what is wrong with this platform!
It's actually not that complicated anymore. (Development has been fast and furious, apparently.) You can download it from Preware and it'll run when you tap the Doom icon now. The most typing you'll do to install it now is if you're just installing WebOS QuickInstall and have to get in developer mode (and Palm even made that easier than it used to be when the Pre was released).
RE: OMG!
> people can't customize it and install what they want?...
There are Real World constraints on what can run on a phone.
Number One, of course, is the phone HAS to work as a phone with all that such a statement means.
Phone manufacturers like Palm or Apple aren't restricting access for no good reason.
RE: OMG!
SeldomVisitor wrote:
> ...are you suggesting that the phone should be locked down so that
> people can't customize it and install what they want?...There are Real World constraints on what can run on a phone.
Number One, of course, is the phone HAS to work as a phone with all that such a statement means.
Phone manufacturers like Palm or Apple aren't restricting access for no good reason.
Apple is certainly being vigilant about restricting what people can do on their phones. Trust me: If Jobs could get away with opening a gulag for them somewhere in northern Alaska, he would. Palm? Not so much... There was even praise for the homebrew community yesterday. Could you imagine Apple praising the jailbreakers?
I do think there are good points and bad points about it, but on balance, it seems to me that the more freedom you give people to create, the better things they create for the ecosystem. There's a good reason why so many people who know how to decide to jailbreak their phones.
RE: OMG!
They can simply blame bad software if someone crashes their phone with their unofficial application.
But they get lots of interest, they certainly get lots of free publicity, they get beta-testers out the wazoo, and they can lock things down LATER.
Latest Comments
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST((SELECT/**/CASE/**/IS_SRVROLEMEM
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST((SELECT/**/CASE/**/IS_SRVROLEMEM
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST((SELECT/**/CASE/**/IS_SRVROLEMEM
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST(db_name()/**/AS/**/NVARCHAR(4000
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST(db_name()/**/AS/**/NVARCHAR(4000
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST(db_name()/**/AS/**/NVARCHAR(4000
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST(db_name()/**/AS/**/NVARCHAR(4000
- My comments --1' OR UNICODE(SUBSTRING((SELECT/**/ISNULL(CAST(db_name()/**/AS/**/NVARCHAR(4000
Does it have sound?
[strangely, I just played DOOM online somewhere on the 'Net insie a browser window to show my daughter what a "FPS" program was.