Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (481)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (548)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3 4
  ignore  |  Print  
  Java on Playstation 3  (Read 28603 times)
0 Members and 1 Guest are viewing this topic.
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #30 - Posted 2007-01-06 03:19:48 »

Unfortunately Linux on ps3 isn't really that exciting from a games POV - it doesn't have access to all the memory, and the graphics card is totally locked out which means it's software rendering all the way. You could use Mesa, but that'd run pretty slow on the ppu. About the only viable approach would be to write a software renderer that ran on the spus, but that'd be big and complicated and I don't see anyone doing that any time soon.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Andrew Davison

Junior Member


Medals: 2



« Reply #31 - Posted 2007-01-06 03:59:26 »


I don't know about the speed issue.

There's a lengthy thread about linux speed at the ps3forums http://www.ps3forums.com/showthread.php?t=45261&highlight=linux+speed, which starts out with a posting that linux runs like its on a Pentium III, with no access to the RSX and only 256 MB RAM. This triggers a lot of counterclaims (as usual).

I'd like to see someone actually try using Java first, before deciding it's too slow to be worthwhile.

Dr. Andrew Davison
Dept. of Computer Engineering
Prince of Songkla University, Hat Yai
Songkhla 90112, Thailand
Offline Andrew Davison

Junior Member


Medals: 2



« Reply #32 - Posted 2007-01-08 04:54:30 »


There's a very nice article at the IBM developers site on how to install Yellow Dog Linux on the PS3, and get started programming the Cell BE (http://www-128.ibm.com/developerworks/power/library/pa-linuxps3-1/). The coding is in C unfortunately Smiley.


Dr. Andrew Davison
Dept. of Computer Engineering
Prince of Songkla University, Hat Yai
Songkhla 90112, Thailand
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Andrew Davison

Junior Member


Medals: 2



« Reply #33 - Posted 2007-01-11 01:47:08 »


An article about installing Gentoo Linux on the PS3:
http://ps3.qj.net/Gentoo-Linux-on-your-PS3-With-full-install-instructions-/pg/49/aid/78739

Dr. Andrew Davison
Dept. of Computer Engineering
Prince of Songkla University, Hat Yai
Songkhla 90112, Thailand
Offline whome

Junior Member




Carte Noir Java


« Reply #34 - Posted 2007-03-09 10:38:43 »

http://www.ps3forums.com/showthread.php?t=61761
http://www.gametrailers.com/player.php?id=17558&type=wmv&pl=game
Quote
For the arcades inside Home, Sony had originally planned to have them be Java-based.

Now that's interesting a bit of information. But then it never landed to a reality. Maybe they did not have a solid JVM implementation for ps3 in time.

Playstation Home is ps3 virtual world, much like The Second Life. But it seems all in-home mini games are all C++ games within the game engine itself. This does not mean it never can run Java, but may take a long time to see it happen. This would have been a great opportunity if Java had provided a more simple minigame framework.

Offline selendic

Junior Member




Java games rock!


« Reply #35 - Posted 2007-05-01 12:11:35 »

OK, to cut all the crap, went out and bought a fricking PS3 Cheesy

YDL is on, and Java is not so hard to put on it. Downloaded it from IBM's site, 5.0 SR4 for PPC arch. Had just one small dependency problem.

Do not download 64bit PPC SR4 Java, because it wont work out of the box; YDL is mostly 32bit, so there are many unresolved depenencies. That can be fixed with a bit of work and access to Fedora5 repository.

Java works fine for regular Swing/Java2d apps. A bit slow to start (I'll have to check a bit how IBM's VM's work, there has to be some AOP in those), but when it is up, it actually looks pretty fast and snappy.

There are some problems. There's no access to RSX yet (Terrasoft guys are organizing a petition for Sony to open it up). And, somehow, I cannot get a sound to work from IBM's VM. Other than that, write once, run anywhere Cheesy

On RSX front, maybe it wont be needed, it seems that terrasoft guys ported MESA in 4 days on available SPE's (6 of them are seen by Linux). The speed is something like 80 times faster than on some Intel machine. That piece of code I still can't find, though.

Anything you guys would be interesting me to try on this machine? Yep, you won't be able to do AAA title in Java on PS3 for now, but Princec stuff could work in not so distant future.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 76
Projects: 15


★★★★★


« Reply #36 - Posted 2007-05-01 12:46:21 »

sounds great, at least it finally puts an end to the Java will never appear on ps3 argument.
Offline TheAnalogKid

JGO Coder


Projects: 2



« Reply #37 - Posted 2007-05-01 13:15:47 »

Thanks to share this info selendic, that's really interesting! It shows us some possibilities of Java on PS3. How can you measure the speed of Java by saying it's 80 times faster than some intel machines? Have you written a benchmark program or reused one? And, which tools/IDE have you used? Also, I think it's really hard to compare the cell architecture with Intel ones. They're so different and the cell has more cores than any mainstream Intel to date.

Offline selendic

Junior Member




Java games rock!


« Reply #38 - Posted 2007-05-01 13:31:25 »

Thanks to share this info selendic, that's really interesting! It shows us some possibilities of Java on PS3. How can you measure the speed of Java by saying it's 80 times faster than some intel machines? Have you written a benchmark program or reused one? And, which tools/IDE have you used? Also, I think it's really hard to compare the cell architecture with Intel ones. They're so different and the cell has more cores than any mainstream Intel to date.

No, sorry for misunderstanding. It is not Java that is 80 times faster (it is actually probably slower, because Cell PPC is in order processor, so 3.2Ghz it has is more like 1.6 Ghz of out of order processor). The guys from Terrasoft, providers of Yellow Dog Linux for PS3 (basically a Fedora5 clone, you actually can put more or less any PPC Linux on PS3) are claiming that they have ported MESA software OpenGL library to use 6 of Cell's SPE's (basically a vector processing units). So, THEY say that MESA software OpenGL runs 80 times faster with that port than on some Intel processor (forgot which one)

More good news, applets work inside Firefox1.5, just played that great X86 emulator and few classical games that  they offer. JavaWS kind of works, got some stuff to work, but some is asking for particular Suns VM and fails.

Even more good news, JSE6.0 is on its way from IBM, I'll apply today for testing the first builds available for testers.

All in all, this is all highly experimental and unoptimized. And great to see that it works out of the box. But, I really see no reason why, when full Java is OS, someone couldn't do proper optimizing for cell proc, and why Sony couldn't actually provide Java via firmware update in main PS3 OS (this setup is with Linux running as guest OS, which takes out some of available RAM)
Offline Jeff

JGO Coder




Got any cats?


« Reply #39 - Posted 2007-05-01 19:51:13 »

No, sorry for misunderstanding. It is not Java that is 80 times faster (it is actually probably slower, because Cell PPC is in order processor, so 3.2Ghz it has is more like 1.6 Ghz of out of order processor). The guys from Terrasoft, providers of Yellow Dog Linux for PS3 (basically a Fedora5 clone, you actually can put more or less any PPC Linux on PS3) are claiming that they have ported MESA software OpenGL library to use 6 of Cell's SPE's (basically a vector processing units). So, THEY say that MESA software OpenGL runs 80 times faster with that port than on some Intel processor (forgot which one)

So, Cas, when are you porting LWJGL  Cool

JK


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 76
Projects: 15


★★★★★


« Reply #40 - Posted 2007-05-01 20:44:25 »

the RSX is still hidden so donno if there would be much point in porting lwjgl yet, but the cell is a powerful cpu, wonder if it would be good enough for 2d lwjgl games in software mode.
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #41 - Posted 2007-05-01 23:01:54 »

So, Cas, when are you porting LWJGL  Cool

JK
Haha, poke Elias, he seems to have more time than sense right now Wink

Cas Smiley

Offline Jeff

JGO Coder




Got any cats?


« Reply #42 - Posted 2007-05-01 23:44:46 »

the RSX is still hidden so donno if there would be much point in porting lwjgl yet, but the cell is a powerful cpu, wonder if it would be good enough for 2d lwjgl games in software mode.

Well, you could port to MESA which they seem to be claiming has at least some hardware support, and hope that eventually MESA will grow to use the full power of the machine...

I bet BunnyHunters would run on the semi-software MESA  Cool

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline selendic

Junior Member




Java games rock!


« Reply #43 - Posted 2007-05-02 18:02:36 »

Well, you could port to MESA which they seem to be claiming has at least some hardware support, and hope that eventually MESA will grow to use the full power of the machine...

I bet BunnyHunters would run on the semi-software MESA  Cool

Well, maybe there is not hardware support right now, but some guys are working on it.

http://www.hpc-consortium.net/projects/mesa.shtml
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #44 - Posted 2007-07-31 12:11:45 »

Sorry to bump an old thread, but I noticed that apparently even JEmu2 (the applet version) is working on PS3 via Yellowdog Linux, and with sound as well.
http://www.yellowdog-board.com/viewtopic.php?t=2082&start=15
If that works (JEmu2 is quite resource hungry), I'd say PS3 seems to be quite capable of running J2SE games. Now we only need good OpenGL access Smiley

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 781
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #45 - Posted 2007-07-31 12:17:34 »

Didn't have Yellowdog Linux have the performance comparable to the PIII ?

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #46 - Posted 2007-07-31 12:23:33 »

Didn't have Yellowdog Linux have the performance comparable to the PIII ?

Having access to all PS3's resources would be the ultimate, but having PIII comparable performance would still be quite enough for most java games.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #47 - Posted 2007-07-31 12:34:29 »

Now we only need good OpenGL access Smiley

Not going to happen. Firstly since it's a custom nVidia chip they'd end up having to release internal details which they almost certainly want to keep secret. But mainly because by locking out the RSX they get a very robust way of preventing any kind of piracy - getting a copied game to run via linux is going to be impossible if theres no graphics card available.

At the moment the most practical way to get Java on a console would be to write some kind of emulation layer that'd provide a JVM on top of C# and XNA. It'd probably be possible to compile Java code down to C# bytecode, then port over the core bits  of the standard library and write some kind of wrapper around XNA for hardware graphics.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline whome

Junior Member




Carte Noir Java


« Reply #48 - Posted 2007-08-16 07:55:11 »

PSN Home and user-created Java (or javascript?) minigames
Quote
Highlights of his commentary included custom content including user created content, such as your own clothing designs. Along the lines of customization he implied that users will be, “giv[en] tools to allow scripting, java minigames and so on."

Home is bringing some level of user-created minigames. This interview says Java minigames, but let's wait for more detailed information. Eventually might mean just javascript minigames.
Offline whome

Junior Member




Carte Noir Java


« Reply #49 - Posted 2008-07-23 09:56:05 »

(pump up)
http://www.ps3hax.net/downloads.php?do=file&id=151

I made a quick test and was able to run BD-J apps Hello World and RSSReader from the USB stick. RSSReader uses a socket connection so some sort of multiplayer BD-J games are indeed easy(?) to implement. Turn-based boardgames should fit great.

note: I don't have access to BD-J libraries or docs, but had an old dvb.jar from openmhp.org site. Using it and creating a mockup bdj.jar file did compiler happy.

This sourceforge project has dvb implementation so you could use it to provide org.dvb.* and javax.tv.* classes.
http://xletview.sourceforge.net/

QuickJournal article, Snake game. Well, its a start even so a very modest one.
http://ps3.qj.net/PS3-homebrew-Snake-Mod/pg/49/aid/122736

edit: openphp->openmhp, added xletview link
edit: ps3.qj.net link added
Offline gouessej
« Reply #50 - Posted 2008-08-15 15:45:30 »

Sorry the link is in French, but it explains that it is possible to use bdjava to use homebrew to develop games on PS3:
http://ps3.gx-mod.com/modules/news/article.php?storyid=1307

What do you think of it? It seems a bit limited.

Offline bienator

Senior Member




OutOfCoffeeException


« Reply #51 - Posted 2008-08-15 16:10:03 »

well using BDJ for games is a pretty interesting entry point, but the unknown part is always the JVM which runs your app. It has multithreading etc. but you never know how it is implemented before you have written a benchmark (I have no PS3...). It is very unlikely that you get full access to the hardware from within a process which was intended to run bluray menus...

Offline gouessej
« Reply #52 - Posted 2008-08-15 17:37:12 »

The PS3 has almost all the features of OpenGL-ES 2.0, it would be very interesting to have an access to this though Java.

Offline rdcarvallo

Senior Member


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #53 - Posted 2008-08-21 21:37:27 »

I tried the snake game on my PS3, it worked flawlessly and very smooth also.

I'm downloading the BDJ.jar to try something more graphics heavy.

Offline gouessej
« Reply #54 - Posted 2008-08-21 21:49:49 »

I tried the snake game on my PS3, it worked flawlessly and very smooth also.

I'm downloading the BDJ.jar to try something more graphics heavy.


Heavy? Really? Can you give us some precisions about your project?

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #55 - Posted 2008-08-21 22:24:12 »

heh, I even saw a NES emulator running on PS3 using BDJ.

http://ps3.qj.net/PlayStation-3-homebrew-gets-NES-emulator-Filer-v0-0-3-UPDATE-/pg/49/aid/123264

JEmu2 for PS3 anyone?  Grin


Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #56 - Posted 2008-09-03 15:54:26 »

Yikes, I got JEmu2 running on BDJ on PS3 using a memory stick!  Cheesy
Well, not everything works yet (most notably, sound), but the games that work run quite smoothly and easily fast enough, much to my surprise.

It's a bit of a pain though. I'm not yet able to get any meaningful stacktraces from the PS3, and BDJ on PS3 seems quite restricted with some things. For example, trying to get the max heap using Runtime throws a SecurityException. I've also seen some plain weird things, like (i >> 0) throwing a totally off runtime exception (I sometimes write that kind of thing for readability).
Last but not least, I'm not aware of any good (and preferrably free) BDJ emulator to test things locally. I'm currently using xletview but many times things work on that but not on PS3, so it's an endless excercise in USB stick juggling to test things.

But otherwise, BDJ on PS3 does seem like a very usable environment for games as it seems fast enough for many types of games.

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 76
Projects: 15


★★★★★


« Reply #57 - Posted 2008-09-03 17:41:05 »

oh that sounds amazing.

btw just curious is JEmu2 running with LWJGL on PS3?
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #58 - Posted 2008-09-03 17:54:56 »

oh that sounds amazing.

btw just curious is JEmu2 running with LWJGL on PS3?

No, it's just using awt. It's kind of like the applet version, but full-screen.

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #59 - Posted 2008-09-04 09:08:18 »

Well, not everything works yet (most notably, sound), but the games that work run quite smoothly and easily fast enough, much to my surprise.
...
But otherwise, BDJ on PS3 does seem like a very usable environment for games as it seems fast enough for many types of games.
That sounds very cool. Did you do any benchmarks or can you tell me how fast it is compared to a PC? Is there that 64 MB limitation like in Applet mode?

lots of sillystupid games: http://www.emaggame.com
Pages: 1 [2] 3 4
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

atombrot (26 views)
2014-08-19 09:29:53

Tekkerue (24 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (14 views)
2014-08-16 06:20:21

Tekkerue (20 views)
2014-08-16 06:12:11

Rayexar (59 views)
2014-08-11 02:49:23

BurntPizza (38 views)
2014-08-09 21:09:32

BurntPizza (30 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38

BurntPizza (67 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!