LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Taking full advantage from a playstation 3 under Linux (https://www.linuxquestions.org/questions/linux-hardware-18/taking-full-advantage-from-a-playstation-3-under-linux-515446/)

Linux.tar.gz 01-01-2007 07:44 PM

Taking full advantage from a playstation 3 under Linux
 
Well i have no PS3, but the idea of owning a Cell processor @home sounds interesting.

Here's some links (look down inside articles). Feel free to add your own links filled with useful informations, i'll copy them here:

Installation of Fedora core 5 is explained here:
http://www.linuxgames.com/?dataloc=n...2023%3A59%3A59

More Fedora:
http://www.ibm.com/developerworks/li...GX59&S_CMP=dGR

About Yellow dog:
http://www.terrasoftsolutions.com/support/installation/
http://www.linuxgames.com/?dataloc=n...2023%3A59%3A59
http://www-128.ibm.com/developerwork...pa-linuxps3-1/
http://www.rapidmind.net/News-Jan11-Terrasoft.php

Gentoo installation:
http://whitesanjuro.googlepages.com/
http://ps3.qj.net/Gentoo-Linux-on-yo...g/49/aid/78739
http://overlays.gentoo.org/proj/cell
http://www.gentoo.org/proj/en/base/ppc64/ps3/

Debian:
http://www.keshi.org/moin/moin.cgi/PS3/Debian/Live

Ubuntu:
http://www.popularmechanics.com/tech...o/4263321.html

Technicals about the Cell processor:
http://www-128.ibm.com/developerwork...y/pa-cellperf/
http://www.blachford.info/computer/Cell/Cell0_v2.html
http://www-128.ibm.com/developerwork...layStation%203
http://www-128.ibm.com/developerwork...&Search=Search
http://www-128.ibm.com/developerworks/power/cell/

Misc.:
http://www.gametrailers.com/umwatcher.php?id=48980

Seems that the cell can run any PPC binary.
As explained: the vast majority of Linux apps will not take advantage of the SPEs.

- So which app can we recompile just now (with >=gcc 4.0) in order to go in full throttle mode? MPlayer/MEncoder, VLC, the kernel...?
- Is it a good idea to recompile gcc first (if it's possible of course)?
- Fedora or Yellow dog? Or? Slackintosh?
- Is distcc possible as server on the PS3?
- PS3 as server: What can be best handled? Quake 3 ;)?

puntjuh 01-02-2007 06:44 PM

i hate beeing a europian sometimes.. I want a playstation 3.. and since Gentoo now has released a beta-PS3 version, it sounds better and better!

You can also use ur PS3 as a Webserver.

Linux.tar.gz 01-06-2007 09:06 PM

A friend of mine just get it.
We installed Yellow dog, as it's officially supported by sony.

First thoughs: too much packages, and not enough icons. Noobs who wants to try Linux on their PS3 will be disappointed.
No divx support, pathetic.
No ifconfig, PATHETIC. (Shame on all distros which don't include ifconfig)
No wireless, support on the way.
Sendmail enabled by default!!!

The rest is good. Very easy install, removable stuff well handled, sound works.

I compiled mplayer using -j4 switch, and it compiled at a "normal" speed. Not the thunder i expected. Seems SPU were not used.
I put the ppc codecs into /usr/lib/codecs and the divx worked. I forgot to try sdl video output, but gl and xv didn't work. So the video wasn't in fullscreen.

I'll try to install xmame or sdlmame next.

Questions:
- Do you think it's simple to install Slackintosh on it?
- Can Gentoo be a lot more fast than Yellow dog?

puntjuh 01-06-2007 10:02 PM

Every PPC supporting distro should be able to be installed on it. That's what i've heard. More information is that from kernel 2.6.20 PS3 things will be included in it. In that release the CELL architecture should be supported even better, meaning that all of the CORES will be working and performance should radicly be increased.. I have a source on this, which is :

ps3 core

however it is dutch.. But perhaps with something u can translate it :).

Further more about ur question relating to gentoo.. take a look at this site:

http://whitesanjuro.googlepages.com/

Damn, i can't wait untill it's 30-03-07 .. Then we'll have that damn PS3 !!!

Linux.tar.gz 01-10-2007 03:05 PM

I updated the links above.

The PS3 have 256M ram, so intensive file server is not a good idea, except if you want to crush the seagate inside.

Is it possible to run a x86 compatible distcc on it?

Seems that one core is "deactivated". I wonder why. Another sony's rootkit to spy our lifes?

puntjuh 01-10-2007 09:47 PM

I have heard a story about one SPE beeing disabled by default. It has nothing to do with rootkits. I think you can find an explanation in here:

http://www-128.ibm.com/developerwork...y/pa-cellperf/

A benchmark has been done with a PS3, and with the current kernel, ur ps3 runs only @ the speed of a P3 800mhz.

I don't know if it's possible to run a x86 distro on it, since the cell arch is based on PPC by IBM. Perhaps you should try with virtualization ? (Xen? / VMware?)

Linux.tar.gz 01-11-2007 05:32 PM

Well i hope i don't need a x86 distro to run a x86 distcc compiler.

Indeed, a P3 800 isn't a thunder, even if it's very useful :)... A 600$ P3 (for now), ^^'.

I never heard of a virtualizer on PPC. Maybe xen can do it...

qanopus 01-11-2007 05:41 PM

Quote:

But perhaps with something u can translate it
I speak Dutch. Will translate tomorrow. Going to bed first :)

Emerson 01-11-2007 05:42 PM

Quote:

Originally Posted by Linux.tar.gz
Is it possible to run a x86 compatible distcc on it?

You may get started here.

puntjuh 01-15-2007 06:39 AM

I thought it might be fun to give another update..
There's now also a Debian Live CD for PS3. And with this CD you can also install Debian on your PS3.

here's the link:

http://www.keshi.org/moin/moin.cgi/PS3/Debian/Live

V!NCENT 01-15-2007 02:20 PM

Quote:

Originally Posted by puntjuh
[...]
ps3 core

however it is dutch.. But perhaps with something u can translate it :).
[...]

I'll do a ugly translations:
Quote:

On december the 4th, Sony added a few patches to the 2.6.20 version of the Linux kernel wich enabled Linux support for the PlayStation 3. This made the development for PS3-Linux-distributions a lot easyer.

The first Cell-processor support for the PlayStation 3 was allready added to the 2.6.13 version of the Linux kernel around the year 2005. This code however was very basic and only added support for one of all eight available cores. The by Sony donated code also added support for the memory architecture, the dma model and the smp model of the PS3. Basicly, this should also mean that all eight Cell-processor cores should be recognised. Because of that it's asumable that the true performance would be a lot better compared to the Pentium 3 800mHz, as mentioned earlyer this week, if all Cell cores are used.

Ever sinds oktober Yellow Dog Linux is, in co-operation with Sony, offering support for the PlayStation 3 in her distributions. It should, however, not take long before other distro-builders follow this example. They no longer have to add patches to the kernel code themselves to make their distributions work with Sony's latest game console. It is expected that version 2.6.20 of the Linux kernel will be released early next year. Those who rather want to bake the modified kernel themselves can download the patches from the git-repository of the Linux kernel


All times are GMT -5. The time now is 01:59 AM.