Slashdot Mirror


How to Turn a PlayStation 3 Into a Linux PC

MahariBalzitch writes "Popular Mechanics shows step by step guide on how to install Ubuntu Linux on a PlayStation 3 and still keep the PS3 gaming functionality. Now I just need to get my hands on a PS3." Not bad specs for the price, either, since Blu-Ray players still aren't cheap. And though the article calls the procedure "somewhat complicated," it's a lot simpler than was installing Linux from floppies not so many years ago.

42 of 276 comments (clear)

  1. On what planet is this 'news'? by iapetus · · Score: 5, Interesting

    This is a documented feature of the system and has been since day one. I installed Linux shortly after the UK launch, and it really isn't anything to write home about - no support for hardware accelerated 3D, and a processor that really isn't designed for general-purpose computing. Novelty value for a couple of minutes, sure, then back to gaming on the PS3 and Linuxing on a real PC.

    --
    ++ Say to Elrond "Hello.".
    Elrond says "No.". Elrond gives you some lunch.
    1. Re:On what planet is this 'news'? by Secret+Rabbit · · Score: 5, Informative

      You're right that this isn't news, but it actually does have a processor that is designed for general-purpose computing; it's called the PPU (64-bit PowerPC processor blah blah blah). There are 7 OTHER SPU's (6 available in Linux) that have been optimized for vector processing. *Those* aren't general-purpose. But, Linux doesn't even need to see those to work. It can just run on the PPU.

    2. Re:On what planet is this 'news'? by IsoRashi · · Score: 4, Informative

      Also no access to built-in WiFi or Bluetooth hardware (VM doesn't export it)

      Not true. Yellowdog has had wifi drivers in place for several months now, and I got wifi running on a Gentoo install on my PS3 as well. I haven't attempted it, but I've read that other people have accessed the bluetooth hardware as well and even gotten the PS3 controllers working in Linux. (Link, though I haven't tried it myself or even really read over it. ;))

      --
      This is not the greatest sig in the world, no. This is just a tribute.
    3. Re:On what planet is this 'news'? by Ethan+Allison · · Score: 4, Funny

      So if you ported it yourself would that count as masturbation?

    4. Re:On what planet is this 'news'? by Nasser · · Score: 3, Informative

      Yes, you can play movies in VLC in Linux on the PS3.... as long as they are NOT High Definition. without 3d hardware acceleration and low ram, running Linux on the PS3 is painfully slow and sluggish. I tried to play the open source, open movie Elephant's Dream in HD with VLC on the PS3 and it barely ran. it was so choppy it was unwatchable.

      I love linux and use it as my Primary Operating system, but I feel sorry for people trying out linux for the first time on the PS3 because its just frustrating. Not only is it really slow but many applications are either are not supported with the PPC processor or you have to compile them yourself.

    5. Re:On what planet is this 'news'? by philipgar · · Score: 5, Interesting

      It's actually a pretty smart way for Sony to prevent people from hacking the PS3. I'm sure part of this was at IBMs request, as IBM wants the CELL to be useful for other purposes than just gaming. By allowing Linux to easily run in a limited form, it means that people can play with the machine in Linux, but don't really have control over it. However, it also means fewer people are willing to spend the time required to hack the box and make a real linux media center machine out of it. I wouldn't doubt if this would already be available for the PS3, if not for the fact that it is so easy to get Linux installed on the device already.

      As it stands, researchers already have access to play around with the Cell SPEs, and can do enough that there's no need to break it for their own needs. The general hobbyist who wants all the other stuff tend to not have the knowledge and resources to break in, and install linux, and thus no one has done it. Not a bad tradeoff, the research community gets to use the PS3 to play with Cell processors (helping IBMs goal of encouraging Cell development), and the hacking community has far fewer resources available to break the system, and less demand for it.

      Phil

    6. Re:On what planet is this 'news'? by Anonymous Coward · · Score: 4, Insightful

      The news part of the article isn't so much that it's possible to install linux on a ps3, but that the how-to appeared in a relatively mainstream magazine. The sort of thing you might come across while waiting in a doctor's office. Never mind that a quick web search reveals the instructions - this is introducing the concepts to a wider audience who would otherwise never have even thought of the possibility, and might get some of them thinking.

      And that is the news part.

    7. Re:On what planet is this 'news'? by fuzzyfuzzyfungus · · Score: 3, Insightful

      I think you have a good point there. Giving people an (actually pretty severely) crippled version of what they want right out of the gate does seem to have rather diminished the vehemence of some of the hackers(Though, it should be noted, there are some fighting the good fight and attempting to find holes in the VM). Sony has the right to design their hardware however they want; but the whole thing kinda creeps me out. I hope it doesn't become a model of what interacting with hardware in the future will look like. A big layer-o'-omnipotent-and-uninspectable-vender-binary running between you and the hardware at all times... It isn't a pleasant thought.

    8. Re:On what planet is this 'news'? by Anonymous Coward · · Score: 5, Interesting

      Informative? You've been modded +4 Informative at this point, but a fair chunk of what you say is outright wrong. To whit:
      1) Wifi access is not only available but works out-of-the-box with Yellow Dog Linux
      2) Bluetooth access works fine and with only a tiny amount of work the Sixaxis controllers work as Bluetooth joysticks, and get picked up and used for stuff like Dosbox (old two-player dos games with Sixaxis joysticks sitting on the couch with your 47" LCD, anyone?)
      3) Full access to the six special coprocessors, only access to the RSX chip is restricted

      It runs fine at 720p and I have had Age of Empires II running just fine via the wireless connection to a Win98 harddrive image loaded up with qemu.

      It's great.

    9. Re:On what planet is this 'news'? by Doc+Ruby · · Score: 5, Interesting

      There is an X/MPlayer video driver that plays 1080p HD video on the Cell's SPUs quite nicely, while the Cell's PPC core runs the Linux kernel without distraction.

      To use PPC apps, you don't have to "compile them yourself". This is Ubuntu. All you do is apt-get install them from a source package.

      --

      --
      make install -not war

    10. Re:On what planet is this 'news'? by nawcom · · Score: 5, Funny

      Thank god I'm not the only one who finds spelling errors a complete turn off when fapping to dirty stories. That and un-needed product placement. I'm talking to you, Astroglide!

    11. Re:On what planet is this 'news'? by Doc+Ruby · · Score: 3, Informative

      Yes, the X/MPlayer video driver works now, playing 1080p HD video right out of the builtin HDMI port.

      You might find yourself leaving your PC on just to play a game once in a while.

      --

      --
      make install -not war

    12. Re:On what planet is this 'news'? by Idimmu+Xul · · Score: 3, Informative

      Wait, does the PS3 have two main processing cores? Or are you counting the same core twice: once inside the VM, and once outside?

      According to this the Playstation 3 has 1 3.2Ghz power pc core that manages 8 of the vector processors. Apparently only 7 of the vector processors are used, the 8th is redundant in case one fails?

      Free Playstation 3, XBox 360 and Nintendo Wii

      --
      The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    13. Re:On what planet is this 'news'? by kestasjk · · Score: 4, Insightful

      I think he meant the processor isn't designed for general purpose computing like a 18-wheeler isn't designed for grocery shopping; you could do it but that's not what it's designed for so it's not the best idea

      --
      // MD_Update(&m,buf,j);
    14. Re:On what planet is this 'news'? by Bootarn · · Score: 5, Interesting

      Here at Uppsala University, Sweden, we have a PS3 that is currently computing molecular dynamics. I'd say the PS3 is not perfect for desktop computing, since most desktop software is poorly written in respect to parallelisation. It is, however, quite good for scientific applications which are designed to run on a cluster. (GROMACS for instance)

    15. Re:On what planet is this 'news'? by robosmurf · · Score: 4, Interesting

      No, it really isn't.

      The cell does have a PowerPC core in it, but it's not the same as the PowerPC that was used in Macs. It's considerably stripped down, and as such isn't that great for general-purpose computing.

      I have been considering putting linux on my PS3, but only to tinker with the SPE cores. It's otherwise a really poor linux system.

    16. Re:On what planet is this 'news'? by garlicbready · · Score: 3, Informative

      A while back I setup an overlay for use on Gentoo / PS3 to try and get some of the more recent kernels / hardware working. I'm in the middle of looking to update it at the moment with 2.6.25, and to try and get some of the stuff I've posted in the forum updated onto a web-site. It looks as if the git repo tree now has tags for 2.6.25 which should make things a lot easier.

      Bluetooth is possible, but just needs a couple of patches I think for HID support, this might now already be included in the later releases of bluez-utils (I need to check)

      For the RSX / Graphics support, this appears to be a bit crappy at the moment, but it is fun to watch F-Zero / Mario Kart on a HD TV using while using the wireless controller, and there is the option to use a VGA cable for non HDMI monitors

      To use the SPU's I think 64bit is required, with gcc 4.3

      One of the main uses I could see would be the processor for rendering (e.g. yafray) if it had the support. Although at the moment there's not much that's written to take full advantage of the SPU's potential power, given that it operates under a different architecture than the ppc core (although it does heat the room quite nicely)

    17. Re:On what planet is this 'news'? by bestinshow · · Score: 4, Informative

      It's an in-order design, but it does have two threads and a full VMX128 vector processing unit.

      This means it's probably about as powerful as a 3.2GHz Intel Atom CPU (maybe a bit stronger because it doesn't have that low-power design requirement) - therefore about as powerful as a 2 GHz Intel Dothan (+/- 25% depending on task and effectiveness of the threading capability), with stronger SIMD and 6 extra very powerful but limited co-processors.

    18. Re:On what planet is this 'news'? by lord+sibn · · Score: 5, Funny

      The timing of this could not be more perfect. I work in a grocery store, which (unsurprisingly) is where I do all of my grocery shopping. I've been there for 5 years, but just yesterday, for the very first time ever, I got a ride to work (I normally walk).

      Who gave me a ride? The guy driving the truck with all the stuff that I was going to unload and stock. He saw me on the sidewalk and pulled over.

      Technically, I did not use an 18 wheeler for grocery shopping, but I *did* use one to go to the store once.

    19. Re:On what planet is this 'news'? by i_like_yogurt · · Score: 5, Funny

      You can grocery shop with an 18 wheeler just fine. You just have to put the tiny tires on.

      --
      The salmon mousse!
    20. Re:On what planet is this 'news'? by drinkypoo · · Score: 3, Interesting

      It's actually a pretty smart way for Sony to prevent people from hacking the PS3. I'm sure part of this was at IBMs request, as IBM wants the CELL to be useful for other purposes than just gaming.

      I don't think so. I think it's all Sony. They just don't want you doing other things with their baby while you could be playing games, and buying games, and providing Sony with licensing revenue.

      The PS3 is dramatically cheaper than any other Cell platform, so it's still interesting to "researchers", just not the ones at the best-funded and thus best-equipped universities. But out in the real world, without an ivory tower up one's ass, cheap supplies still spur private research.

      The point is that the PS3 is an inherently limited platform and without graphics access it's just a strange-architecture PC with horribly slow graphics and 256MB RAM, which is just barely adequate for websurfing but which for example is really not enough to run OO.o smoothly, let alone Inkscape. Arguably the Xbox is more useful - neither the PS3 running Linux nor the Xbox will help anyone view HD video, but the XDK for the Xbox is running around and if you're willing to write or port Windows software you can put whatever you want on it... which is how we run XBMC.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:On what planet is this 'news'? by t0m2001 · · Score: 3, Informative

      Surely this is a silicon yield trick. By requiring only 7 SPE's it means that chips with broken SPEs can be used in PS3s while the rarer 8 SPE version can be used in IBM Blades?

  2. But, but... by Facetious · · Score: 4, Funny

    How do you get rootkits for it if it runs Ubuntu?

    --
    Let us not become the evil that we deplore.
    1. Re:But, but... by wizardforce · · Score: 4, Funny

      compile them yourself I guess...

      --
      Sigs are too short to say anything truly profound so read the above post instead.
    2. Re:But, but... by rodgerd · · Score: 5, Funny

      Install Ubuntu's openssl build.

  3. Re:LOLWUT by brindleboar · · Score: 5, Funny

    "It's sad to see that this is what has become of PopMech." Oh come on now. What about that "How to Convert your Vacuum Cleaner into a Fully Automatic Rifle" article? That wasn't so bad was it?

  4. "Somewhat Complicated" by cp.tar · · Score: 4, Interesting

    And though the article calls the procedure "somewhat complicated," it's a lot simpler than was installing Linux from floppies not so many years ago.

    In some respects, it seems exactly like installing Linux from floppies.
    In the olden days, you swapped the boot and root floppies; here you swap the hard drives, which indeed is somewhat complicated, as in "I wouldn't trust my grandmother to do it right" (not grandfather, though!).

    As for the rest... OK, I am one of the few people in the universe who actually read documentation, but nevertheless... a page-long manual, illustrations included, makes the procedure somewhat complicated?
    Indeed, Linux has come a long way if not being able to simply pop a CD and install on anything, incuding a toaster, makes the install procedure "somewhat complicated".

    --
    Ignore this signature. By order.
    1. Re:"Somewhat Complicated" by cp.tar · · Score: 4, Funny

      Whoosh.

      --
      Ignore this signature. By order.
  5. Ubuntu Installation Instructions by Anonymous Coward · · Score: 5, Informative

    http://psubuntu.com/wiki/InstallationInstructions/

    This is a good Ubuntu installation wiki for PS3.

  6. PSUbuntu by pegasustonans · · Score: 5, Informative

    The PSUbuntu website is a good resource for anyone who wants to run Ubuntu on their PS3:

    http://psubuntu.com/

    --
    And all our yesterdays have lighted fools The way to dusty death. --Will
  7. Not bad specs, with one exception: by nobodyman · · Score: 5, Interesting

    You only have 256mb RAM. The other 256 is video RAM, and Sony prohibits direct access to it. Unfortunately that means no hardware accelerated graphics either. Kindof a shame, but I imagine it's still neat to play around with, and I doubt you'll find a cheaper Cell dev platform.

    On the 360 side, hobbyist developers have a different set of trade-offs. You can write games C# using XNA Game Studio, 512mb shared memory, and even get hardware acceleration (some of the demos are quite impressive). On the flipside, there's a $100/year membership and fat chance of ever running linux (in any official capacity at least)

    1. Re:Not bad specs, with one exception: by frieko · · Score: 3, Interesting

      Actually with a bit of coaxing you can get Linux onto the 360.

      It's kind of ironic (suspicious?) that you can pirate 360 games way easier then you can run homebrew/Linux on it.

  8. Re:Blu-Ray Players not Cheap? WTF? by Anonymous Coward · · Score: 4, Insightful

    Dude, are you on crack?

    1. There is only one sku for the ps3 currently, and it's only 399. There will be a new one soon for 100, but it's basically the same.

    2. While you can use a bluray drive for reading bluray discs, you can't actually play movies with it, as per a couple of months ago, or at the very least, not without serious time investment converting the video.

    3. Uncharted, Ratchet and Clank, Pixel Junkies Monsters, Warhawk, Folklore, Gran Turismo, Resistance: Fall of Man. All of these are exclusive to the PS3, all of these are highly rated, and there's most likely at least one game in this set that would appeal to you as a gamer, as this largely covers the spectrum of genres available today. AND I hadn't even mentioned Metal Gear, which comes out this month (IIRC).

    It's clear that either you're (a. retarded or (b. simply bashing the PS3 because it's cool to do so. But guess what? It's not really cool to do so anymore because it's starting to become a solid system.

  9. PS3 Linux Media Center by manekineko2 · · Score: 4, Interesting

    One of my dreams as soon as the PS3 was released was to install Linux on it and turn it into a media center hub without any of the DRM restrictions of pre-packaged solutions.

    I currently use an Xbox 1 with Xbox Media Center installed, but it's starting to get long in the tooth since it doesn't support HD resolutions.

    Although the GPU is restricted from access when in Linux , the CPU on the PS3 is plenty strong still as I understand it. Is there a way to install Linux easily on a PS3 so that it can be an easy to use media center comparable to XBMC?

    I've seen reference to the fact that such a thing is possible, but is there an ISO I can just burn or install and have it work? If not, why not?

  10. Some problems with the article and Ubuntu by Anonymous Coward · · Score: 4, Informative

    If you follow the instructions at PM's website you should be aware that the command to return to the PS3's native OS is not as the article has it. The correct command is "boot-game-os". Several folks made comments to that effect but for some reason PM is acting as if the error is cast in concrete and can't be corrected.

    Secondly, the wireless adapter isn't supported yet so if you want Internet, you'll need to run a cable to your PS3 or plan on doing some compiling to get wireless support. For those of you who are old hands at Linux, this may be no big deal but for someone like myself who hasn't used Linux, it's an opportunity to learn a lot of new things. It reminds me a lot of decades ago when I first read K&R's C.

  11. one of the most energy inefficient "PC's"... by marcushnk · · Score: 3, Interesting
    --
    "Consider how lucky you are that life has been good to you so far. Alternatively, if life hasn't been good to you so far
  12. PSUbuntu.com by Doc+Ruby · · Score: 3, Informative

    There is an entire community dedicated to running Ubuntu on a PS3, at PSUbuntu.com. And you don't have to upgrade your HD from whatever size your PS3 came with, although of course it's easy and you can do it. The PS3 HW works right out of the box.

    Right now is a good time to join the PSUbuntu.com community, because a new wave of developers on the ubuntu-cell maillist have just joined, and are uniting with the users at PSUbuntu.com to test and smooth out the PS3/Ubuntu distro.

    And there is also a fairly new X/MPlayer driver that will render full 1080p HD video on the PS3's Cell CPU, that also needs just a little testing and integration.

    What I really want to see is a PS3 running Ubuntu using the PlayTV PVR device that Sony is releasing this year. With Ubuntu running it, the PS3 could be quite the killer platform for all home entertainment.

    And I hear it plays games, too.

    --

    --
    make install -not war

  13. It's News That It Works Now by Doc+Ruby · · Score: 5, Informative

    What's "news" is that this isn't the release version of Linux on PS3 that you installed back then, and that now it actually works.

    There is indeed now a X/MPlayer video driver that runs full 1080p HD right on the Cell CPU.

    And I don't know why you think the Cell CPU "really isn't designed for general purpose computing". That Cell includes a 3.2GHz multithreaded PowerPC that runs all PPC distro Linux SW right out of the distro, as apt-get'able binaries. And there are drivers and apps that use the Cell's 200GFLOPS of onboard DSPs for real computing, like that driver to which I just linked. The Cell is being used by IBM as the CPU in its highest end workstations and blade servers, as well as some of the fastest supercomputers on the drawing board - all running Linux compatible with the one on the Cell.

    Look, I understand that 2 years ago the PS3's initial Linux support was more of a novelty, when the PS3 itself had been rushed to market before even the HW was really ready. But the past 2 years has seen its Linux support pass the stage where it's just a "dancing poodle" to where it's more like a husky sleighdog or a border collie. And the reason is that interested people have helped upgrade its Linux support. Linux is open-source so that users can improve it. Which people have done. It still needs a lot of help, but mainly because its potential is so huge, with the onboard supercomputer and built-in WiFi/Bluetooth/Blu-Ray/HDMI/7.1-audio/Gb-ethernet, all for $500. And that chance for volunteers to continue to shape the platform is exciting news for a lot of people, many of whom are exactly the kinds of geeks who read Slashdot.

    And I hear it plays games, too.

    --

    --
    make install -not war

    1. Re:It's News That It Works Now by Ed+Avis · · Score: 3, Insightful

      Bandying about GHz numbers and arguing about whether or not it's a real PowerPC processor doesn't get you anywhere. Let's see some results from the only benchmark that matters: the Linux kernel compile benchmark. (It can be accepted by all sides that the PS3 has some fairly monstrous floating point hardware, but sadly that doesn't speed up gcc.)

      --
      -- Ed Avis ed@membled.com
  14. Why Ubuntu? They dropped PPC support by chriseh · · Score: 5, Insightful

    I don't get it. Ubuntu officially dropped PPC support last year.

    So, why would Popular Mechanics recommend Ubuntu when you could download Yellow Dog Linux (for free as well from public mirrors), which is developed by the company hired by Sony to develop linux for the PS3. This sounds somewhat odd.

    Disclaimer: I work for Terra Soft Solutions, so I've clearly got a bias here.

  15. Does it ? by Kingston · · Score: 4, Funny
    Yes but does it run Li... Oh yes I see right, ah

    Imagine a Beow.. Oh what, they have er

    First Post, yes, no, Ok I'm off then.

  16. Actually by Smeagel · · Score: 3, Informative

    The SPU's can do integer math very fast, the problem is all software has to have SPU optimization (which is not trivial) written into it in order to utilize the SPU's. The odds of that happening to something like GCC is nonexistent...who cares enough to do that...nobody. But programs that are actually considered necessities to run fast (mplayer/mencoder, X11 driver) have already been ported and will run blazingly fast using the SPU's.