Slashdot Mirror


Developing On the PS3 Under Fedora

An anonymous reader writes to point out the first in a series of articles from a while back about using the Playstation 3 as a development environment under Fedora. Here are the second and third parts of the series. Quoting: "Early on, it was a bit of a challenge to get Linux natively installed on the PS3. Time has passed, and a great deal has changed. Fedora 7 installs on the PS3 out of the box, with the most challenging installation steps eliminated. This article introduces the basic configuration knobs and widgets specific to the PS3 running Linux, shows you how to use them effectively, and suggests the kind of trickery that gets improved performance."

9 of 122 comments (clear)

  1. An interesting video but ... by ctid · · Score: 4, Insightful

    ... the article specifically states that running Linux on the PS3 is now far easier. I don't know if that is true but the article states that many of the time-consuming steps are no longer required. The PS3 is a very cheap development environment if your target platform is the CELL processor and that must be a reason for doing it if you are going to be programming one of those systems. There is no reason to assume that everyone has the same motivation for running it.

    --
    Reality is defined by the maddest person in the room
    1. Re:An interesting video but ... by Junta · · Score: 4, Informative

      A two processor Xeon 3.0 ghz quad core system would have an xhpl-relevant Rpeak of about 96 Gflops. Two cell processors (of the Poer8XCelli varaint, not the ones in PS3) has an Rpeak of 200 Gigaflops. The power consumption of those are about even. So the processor achieves over twice the aggregate performance within a comparable power envelope. *THAT* is why it's interesting.

      See the #1 Top500 system. Not significantly more power usage than Intel systems, but blows the Intel ones out of the water.

      The thing about code is, a Cell system can run the same C code other platforms can. Not blazingly fast, mind you, but it isn't like you *must* retool everything. In order to get the 2x boosts in certain code loops, yes, you would have to, but a lot of that is done already.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  2. Finally! by oodaloop · · Score: 4, Funny

    The year of the Linux game console is here!

    --
    Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
  3. nothingtoseeheremovealong by gzipped_tar · · Score: 5, Informative

    The 3-part article tells very little about PS3-specific hacks. Basically, the author was telling you how to strip the Fedora system so that it could run on the resource-limited hardware without being too slow. This includes stopping unecessary daemons, ditch GNOME for twm, and running the X server on another box (or getting rid of X altogether).

    This also apply to everything that Fedora can run on.

    I fail to see how this is related to ``developing on the PS3 under Fedora''. The article didn't say much about development. If by ``developing'' you mean compiling your code in Fedora running inside a PS3 (which is under a virtualized environment) may be you have some points. But this is not developing for the PS3 platform. This is developing for a virtualized Linux platform.

    --
    Colorless green Cthulhu waits dreaming furiously.
  4. Re:How oddly timely by hazee · · Score: 5, Informative

    I wish we could access the GPU but I understand why Sony doesn't want that.

    Well, I wish somebody would explain it to me. I presume the answer has something to do with piracy, but I don't see how that has a damn thing to do with access to the graphics chip under Linux. I mean, if they want to prevent you booting disks that haven't been officially signed, then that's fair enough (just about), but what does limiting the access to the GPU achieve?

    This whole business of running Linux is basically just a tax dodge anyhow - because, if it didn't run Linux, the EU would have classified it as a game, rather than a computer, and slapped a higher import duty on it.

    The EU should have stood firm and said "if you want to claim it's a computer, then users should be able to program the facilities of the *whole* computer".

    How happy would you be if you bought a new PC, only to find out that, no, you can't access the GPU, etc from your own programs?

  5. Re:How oddly timely by kripkenstein · · Score: 5, Informative

    I wish we could access the GPU but I understand why Sony doesn't want that.

    Well, I wish somebody would explain it to me. I presume the answer has something to do with piracy, but I don't see how that has a damn thing to do with access to the graphics chip under Linux.

    Well, I'm just guessing, but this is my theory.

    You can't just write games for consoles, you need to be a registered developer, and have a business relationship with the manufacturer, Sony/Nintendo/Microsoft. This has two goals, first, the manufacturer gets a cut out of your profits, second, the manufacturer gets to decide what runs on the console, so there aren't any subpar titles that give it a bad name.

    If Linux could access the GPU, we'd have lots of nifty games ported to the PS3 in no time (Sauerbraten, Nexuiz, Alien Arena, etc. etc.), and later on developers might write games specifically for the PS3/Linux, just to get around the cost of developing using the 'normal' procedure for consoles. Sony, according to this theory, wants to avoid such things, for the reasons I said before: no more guaranteed profit per game played on their consoles, and no control over what games are played on them either.

    I think it's crappy reasoning, personally.

  6. It's not quite about piracy by Moraelin · · Score: 4, Insightful

    Well, I wish somebody would explain it to me. I presume the answer has something to do with piracy, but I don't see how that has a damn thing to do with access to the graphics chip under Linux. I mean, if they want to prevent you booting disks that haven't been officially signed, then that's fair enough (just about), but what does limiting the access to the GPU achieve?

    Well, it's not quite about piracy. It's about the fact that their whole business model is, well, sorta like the Gillette model: give the razor for almost free, make them pay through the nose for blades. Or, in Sony's case: massively subsidize the console itself, but control the games publishing and make them pay extra for the games.

    It's not just Sony that has this model, btw. HP does the same with printers and ink, to the extent that for some it's cheaper to just chuck the old printer in the bin and buy a new one (which includes ink), than to buy a new ink cartridge. It's done by telcos, who give you a phone for 1 Euro, but saddle you with a long term contract as their real revenue. Etc, etc, etc.

    So the last thing Sony wants is that someone bypasses them and publishes their own games for the PS3, say, as Linux games. And don't think as much "homebrew" (they probably couldn't care less if you make your own buggy tetris clone for it), think some big publisher getting that idea. Like, say, EA realizing that they can bypass and undercut Sony for their sports games.

    And it's easier to play the piracy card there and forbid it completely from the start, than to go to court later and claim "but they need our permission to make games for our machine!" There are already precedents that you can't outright forbid that. Starting with the famous IBM case which created the software industry in the first place. Turned out that IBM couldn't forbid you to make software for their machines. Atari tried the same stunt and lost too. In fact, nobody won that kind of a case yet, and I'm not sure Sony wants to try to be the first.

    This whole business of running Linux is basically just a tax dodge anyhow - because, if it didn't run Linux, the EU would have classified it as a game, rather than a computer, and slapped a higher import duty on it.

    AFAIK, that tax loophole was removed _years_ ago. So, nope.

    The EU should have stood firm and said "if you want to claim it's a computer, then users should be able to program the facilities of the *whole* computer".

    AFAIK, they did, back in the PS2 times. Sorta. They essentially ruled that it's a game console anyway.

    How happy would you be if you bought a new PC, only to find out that, no, you can't access the GPU, etc from your own programs?

    Well, just to play the devil's advocate, then fucking buy a computer. Of course, then you won't have Sony subsidizing half the cost of it, and they can't impose any restriction on you.

    Same as with cell phones, printers, etc. If you don't want to be bound by some long term contract, buy your own phone. If you don't want to be gouged for ink, buy a Cannon. Etc. It's that simple. If you decided to take the subsidy, then have the decency to also accept your own part of the contract too.

    It's kinda silly to essentially demand that a company subsidizes anything for you, but is forbidden to get anything in return. If they don't get anything out of that deal, why would they? No, you don't have some sacred right that someone else buys you a lollipop.

    --
    A polar bear is a cartesian bear after a coordinate transform.
  7. Re:How oddly timely by belgian_embedded_ · · Score: 4, Interesting

    I want to play around with some Cell coding;

    A few months ago, i was part of a project writing a demo app for PS3... We wrote some cell-code to scale webcam images. The app is written in C, the project website can be found here: http://cellproject.kjeldelaey.be/documentatie/html/annotated.html The site is in dutch, but the code is documented in english.

  8. Yellow Dog Linux for the PS3 by synthespian · · Score: 4, Interesting

    Sony has payed the Yellow Dog Linux guys to port Linux to the PS3, so it's probably more optimized for it than Fedora (even though it's based on Fedora), for instance, by using the Enlightenment window manager.

    http://www.terrasoftsolutions.com/products/ydl/

    --
    Main difference between the BSD license and the GPL license: one is from California and the other is from Massachusetts