webOS Nation Forums
> webOS smartphones (Pre, Pixi, Veer)
> Palm Pre and Pre Plus
>
GPU support and much more
First
...
3 8 9 10 11 12 13
14 15 16 17 18
Homebrew Developer:
enormous
at: 06:02 PM 11/29/2009
Originally Posted by dudestatus:
3. ways of launching the native apps. I have scripts that auto launch all my native apps from within the terminal app shown in the video. I'm sure there are other ways to run the necessary scripts though, maybe even from a launcher shortcut.
Could you check out this page, and possibly share your scripts for launching the apps? That would be great!
Nintendo - WebOS Internals
Thanks!
I checked it out and added a few things. All I do to run nintendo games from webos is use the preware terminal app. Then from there I mount debian from a script, and then launch the nintendo emulator with a script. the nintendo script has a few lines. The first sets up directfb as shown in the wiki, and the second launches the game with the $1 parameter for the rom, so I can do ./nintendo.sh <rom.nes>, and it will load up <rom.nes> into $1, which can be used in the script.
The gameboy emulator gnuboy is much better though. I was messing around getting mario to work on the nes emu, but the gameboy color version of it, super mario deluxe, plays much better on gnuboy. smooth full frames, and there's even sound.
Member:
Leathal
at: 10:54 AM 11/30/2009
Originally Posted by dudestatus:
The gameboy emulator gnuboy is much better though. I was messing around getting mario to work on the nes emu, but the gameboy color version of it, super mario deluxe, plays much better on gnuboy. smooth full frames, and there's even sound.
Does killing Luna to run DirectFB apps also kill the phone? I'd hate to miss calls and such and have to explain to my boss that I was fighting a gym leader in Pokemon haha.
You cannot recieve calls with luna diabled. Fortunately, the emulator can also be played with luna enabled so you can receive your calls. To play with luna enabled you basically follow the same steps except don't disable luna. You can also launch from the preware terminal app, see the gnuboy page at the webos internals wiki for details. I just tested this while playing pokemon and sent a call to my phone. It rang even though I didn't see a popup, but once I exited the game I saw the popup with the answer button since it returned to normal webos gui, and I was able to take the call with no problems.
Originally Posted by dudestatus:
You cannot recieve calls with luna diabled. Fortunately, the emulator can also be played with luna enabled so you can receive your calls. To play with luna enabled you basically follow the same steps except don't disable luna. You can also launch from the preware terminal app, see the gnuboy page at the webos internals wiki for details. I just tested this while playing pokemon and sent a call to my phone. It rang even though I didn't see a popup, but once I exited the game I saw the popup with the answer button since it returned to normal webos gui, and I was able to take the call with no problems.
going of track here, but is the emu using the GPU when luna is enabled? you had posted earlier that without luna enabled you were using gpu (first i had heard of anyone accessing GPU) and am wondering if it is currently possible to use gpu in the emulator while luna runs.
perhaps this is better suited for discussion on the webOS internals arena.
I am using the gpu with luna enabled, but not through the mojo sdk luna functions. Think of it as multitasking within the backend linux. Luna is a program in the backend linux, and so is this emulator. The emulator was launched by accessing the backend linux, and was not launched through luna, thus the gpu functionality could be used since i installed packages on my backend linux to use the gpu. This was running alongside luna, but was not part of its bubble that is software rendered webos since it was launched by backend linux.
You can use a terminal program in webos to access this backend linux in order to launch these kinds of apps from within webos, but they will not go through it and have the nice push center button and flick up to quit capability. Instead to exit the gameboy emu I just have to press the orange button and it segfaults out so I can go back to webos.
Forum Moderator:
Achill3s
at: 02:24 PM 11/30/2009
How was GPU functionality/access attained? WebOS Internals is probably the better arena for this.
Member:
TIWizard
at: 11:32 PM 11/30/2009
Originally Posted by dudestatus:
I am using the gpu with luna enabled, but not through the mojo sdk luna functions. Think of it as multitasking within the backend linux. Luna is a program in the backend linux, and so is this emulator. The emulator was launched by accessing the backend linux, and was not launched through luna, thus the gpu functionality could be used since i installed packages on my backend linux to use the gpu. This was running alongside luna, but was not part of its bubble that is software rendered webos since it was launched by backend linux.
Originally Posted by Achill3s:
How was GPU functionality/access attained? WebOS Internals is probably the better arena for this.
Correct me if I am wrong, but isn't there no driver for the GPU?
Member:
jhoff80
at: 11:41 PM 11/30/2009
Originally Posted by TIWizard:
Correct me if I am wrong, but isn't there no driver for the GPU?
From
directfb.org | Main :
Originally Posted by :
DirectFB
DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers, not only on top of the Linux Framebuffer Device. It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux.
Member:
hparsons
at: 12:16 AM 12/01/2009
JHoff80,
Frankly, I don't know some of the newer posts on here, so I have no particular reason to trust them (by the same token, I have no particular reason to
doubt them either).
You though, I trust. You have a track record here, and what I read from you is typically spot on.
That said, speak to me in plain English (I'm getting on in years, and my geek is getting rustier...)
Are you saying that this might indeed be possible, and that there's a good chance that this hasn't been a fake?
Originally Posted by hparsons:
JHoff80,
Frankly, I don't know some of the newer posts on here, so I have no particular reason to trust them (by the same token, I have no particular reason to doubt them either).
You though, I trust. You have a track record here, and what I read from you is typically spot on.
That said, speak to me in plain English (I'm getting on in years, and my geek is getting rustier...)
Are you saying that this might indeed be possible, and that there's a good chance that this hasn't been a fake?
No. DirectFB has to run alone, without Luna. In other words, you have to kill Luna to use DirectFB. The person running NFS would have to basically make his own version of the game, made to run in a Linux framebuffer, which a native app is not meant to do.
Member:
hparsons
at: 12:53 AM 12/01/2009
Originally Posted by Elysian893:
No. DirectFB has to run alone, without Luna. In other words, you have to kill Luna to use DirectFB. The person running NFS would have to basically make his own version of the game, made to run in a Linux framebuffer, which a native app is not meant to do.
None of which makes the video shown fake.
I
do still hope to hear from JHoff80. I suspect your "evidence" is just a bit biased...
Originally Posted by hparsons:
None of which makes the video shown fake.
I do still hope to hear from JHoff80. I suspect your "evidence" is just a bit biased...
Hilarious. I suspect your disbelief is more biased than anything I said. I'm not wrong, it's not my fault you don't understand what I said.
Member:
jhoff80
at: 01:21 AM 12/01/2009
Elysian has it right, DirectFB can't be running at the same time Luna is. The emulators are definitely real though.
As for the Need for Speed video, I have no idea about that being real or not, I'm about 65/35 on it, leaning towards being fake, but it's honestly not really a big deal to me at this point. Games aren't the reason I bought the phone, and Solitaire, Word/Card Ace, and Topple Ball, among others, are enough for me for now.
Don't get me wrong, I'll be happy when 3D acceleration is officially put into the OS, but I've always expected it to be out more along the lines of a year from release, so it really doesn't bother me yet.
Member:
hparsons
at: 01:46 AM 12/01/2009
Originally Posted by Elysian893:
Hilarious. I suspect your disbelief is more biased than anything I said. I'm not wrong, it's not my fault you don't understand what I said.
Disbelief? My "disbelief" is based
completely on what you said, and continue to say. I understand completely what you said (believe it or not, I understand a thing or two about IT, after being in the field professionally for about 25 years). However, the video, unless you saw something I didn't, never showed them running anything under Luna.
Frankly, your enthusiasm to "prove" the guy wrong is a bit overreaching, and your proclamations that xy and z are "proof", are just incorrect. You're still expressing opinion, not proof.
Originally Posted by jhoff80:
Elysian has it right, DirectFB can't be running at the same time Luna is. The emulators are definitely real though.
Not sure about the need for speed game, but in my experience, DirectFB while running luna is possible if you use a terminal app to access the backend. I posted a video demonstrating this, where I run the gnuboy gameboy emu with directfb while luna is in background. I even receive a call in the vid while playing pokemon in the gameboy emu and exit the game to answer. The call came from luna.
shown in youtube vid
watch?v=XtFEf6a0ZWQ
maybe if there was a way to launch linux apps from a webos application shortcut while disabling the luna screen timer, then gpu apps could be made with c and directfb instead of the mojo sdk.
what i would like to see them do is take advantage of full support of the accelerometer and put an app that measures g-force. that would be a sweet app
Formerly Shadow-360:
Adam Carr
at: 07:03 AM 12/01/2009
Originally Posted by jonathanlc2005:
what i would like to see them do is take advantage of full support of the accelerometer and put an app that measures g-force. that would be a sweet app
Theres an App for that!
@DudeStatus: As others have said, you should check out WebOS Internals, and possibly a calaboration between the the folks there and yourself could bring something like you said a reality
Module has states "this is the real deal" and where most have been wrong, hes usually right. Whatvers down the pipeline at palm, id bet GPU Acceleration and game testing is too.
Member:
jhoff80
at: 01:22 PM 12/01/2009
Originally Posted by dudestatus:
Not sure about the need for speed game, but in my experience, DirectFB while running luna is possible if you use a terminal app to access the backend. I posted a video demonstrating this, where I run the gnuboy gameboy emu with directfb while luna is in background. I even receive a call in the vid while playing pokemon in the gameboy emu and exit the game to answer. The call came from luna.
shown in youtube vid
watch?v=XtFEf6a0ZWQ
maybe if there was a way to launch linux apps from a webos application shortcut while disabling the luna screen timer, then gpu apps could be made with c and directfb instead of the mojo sdk.
Interesting. I hadn't tried it myself, so was just going by the old info on webOS Internals. Glad to hear I was wrong on that, honestly.
First
...
3 8 9 10 11 12 13
14 15 16 17 18
webOS Nation Forums
> webOS smartphones (Pre, Pixi, Veer)
> Palm Pre and Pre Plus
>
GPU support and much more