Quantcast
Destructoid - Funnydale's Community Blog




About Me
Gamer Profile
3DS friend code:
Steam:
Battle:
PSN:
Mii:
Gamertag: Funnydale
Following (1)
Loserly
Turn Your PlayStation 3 into Something Useful - A Computer!
Funnydale | 9:09 AM on 08.12.2007 18 comments


Last month, I decided that I had way too much money on my hands, and decided to rectify that by purchasing a PlayStation 3! Well, three weeks later, I still can't bring myself to actually shell out 60 dollars for any PS3 game that's currently available. I was thinking about buying Motorstorm, but that game isn't worth 60 bucks IMO. I almost bought Ninja Gaiden -- until I remembered that I already played the game three years ago on the original Xbox.

So, with a PlayStation 3 sitting on my shelf with no games to play, I decided that I needed to make my shiny new console useful. So what did I decide to do? I turned my PlayStation 3 into a full-fledged computer!



Yep, that screenshot above you shows Linux (Ubuntu) running on my PlayStation 3. So, how did I turn my 600 dollar game console into a computer? Well here's a quick run-down on how you can get some use out of your 600 dollar game system!

First of all, you need to reformat your PS3 Hard Drive, so unless you have a USB Hard Drive to back-up your data, or you just bought a new PS3, then you'll probably want to skip this mini-tutorial.

When reformatting your Hard Drive, you'll be given the option to use 10 GB for the "Other OS" and use the other 50 GB for the PS3 console, or vice-versa. Unfortunately, you can't select any other option, and unless you want to limit you PS3 game console to 10 GB of data, your Linux partition will only have 10 GB of space. I guess you can theoretically buy another Hard Drive and switch them out whenever you want to either use your PS3 or Linux, but that's not really a practical option.

Once you decide to properly reformat your PS3's Hard Drive, you'll need to download a PS3 compatible version of Linux -- in my case, I downloaded the Ubuntu version -- and burn the ISO to a CD-Rom disk. Once finished, pop the disk into the PS3, and chose "Install Other OS." Once it's done installing, plug in a USB Keyboard and Mouse then select " Settings > System Settings > Default System, and select Other OS." Select yes and reboot the system.

Once it's rebooted, press enter at the prompt screen to boot off the Live CD. After a few minutes, you'll be at the Ubuntu desktop screen (since it's running off of the Live CD, the desktop will be excruciatingly slow). From the Live CD, click on the Install Icon and follow the on-screen instructions.

Note: There are a couple of quirks that you should know about: First of all, if you're installing Ubuntu from the regular PS3 install CD, then you'll need to do this before clicking on the install icon...

1) Open System > Administration > Services and uncheck (disable) everything but: CPU frequency manager, GDM, and System communication bus.

2) System > Administration > System Monitor, selected the "Processes" tab, and killed any process that is would let me with: right click > kill process.

Also, you'll notice that the resolution is a bit "off". Basically, you'll need to hold down the Alt key and scroll the screen in order to see all your options to installing the OS. Once you manage to install the OS and reboot, click Applications > Accessories > Terminal and type: sudo gedit /etc/kboot.conf , you will then be prompted for your password so enter it and hit enter. Once the file loads look for an entry like this "linux='/dev/hda1 ...etc. at the end of that line before the " ' " add "video=ps3fb:mode:#" where "#" is the correct number from the table at this site.

So, how well does Linux run on the PS3? Well... surprisingly well, considering that the OS only detects half of the system RAM (256 meg). Right now, I haven't had too much time to delve deep into the OS, but I did get a chance to install IRC chat, some codecs for video playback, and a NES emulator (lol!)




Right now, most of the programs run pretty well, with the exception of video playback, which is a little choppy. One thing that pisses me off is the fact that the RSX -- the PS3's GPU -- is inaccessible, thus rendering any 3D acceleration useless. While this doesn't affect any run of the mill programs like an Internet browser, the lack of access to the RSX does prevent you from playing 3D games and running other 3D apps like Beryl. Now obviously, the reason why Sony won't allow access to the GPU has to do with Blu-Ray copyright protection and the prevention of playing pirated games, but still, it would be nice to have access to the RSX.

As for the Cell processor, it seems to detect three out of the seven available SPE's, judging by the screenshots, but I'm not totally sure (keep in mind that Ubuntu wasn't designed for the PS3 in mind). One thing I would like to see is how well the Cell CPU is at encoding video in Linux -- but that will probably have to wait until someone makes a dedicated app that takes advantage of the Cell processor.




I'm going to play around with this a little more over the weekend to see what other interesting bits I can figure out about running Linux on the PS3. Honestly though, with less than 10 gigs of Hard Drive space to play around with, not to mention having less than 200 megs of ram and lack of access to the GPU; running Linux on the PS3 is more of an odd curiosity than a real useful application. Sure, this will make a great "Back-Up OS" if my regular PC was to blow up, but for now, it's not worth going thru the hassle unless you like tinkering with your new gadgets.



Is this post awesome? Vote it up!

0



Post a comment! You can also post a photo below:

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

14 comments | showing # 1 to 14
prev next

Morrius's Avatar - Comment posted on 08/12/2007 09:43
Morrius
Excellent!

Now all you need is a windows emulator, and then you can run some decent games on it!

Someone, somewhere at Sony HQ, is seething with demonic rage right now.
Maurice Tan's Avatar - Comment posted on 08/12/2007 10:07
Maurice Tan
@Morrius, you'll still need access to the RSX to play decent windows games on it..

Funnydale, how do things like xvid/x264 run on it? I've been looking at the PS3 as something that can replace my xbox1 as a mediacenter. If the price drops a bit, that is. The Cell should suffice for normal video playback without the RSX, right?
Morrius's Avatar - Comment posted on 08/12/2007 10:22
Morrius
Seems like overkill prof, unless you plan on gaming with it too of course. I'm in the UK where PS3's are probably more expensive than most territories, but wouldn't you be better of physically building a media center? I'm sure it would be less hassle.

(hey... minesweeper is quite good...)
Funnydale's Avatar - Comment posted on 08/12/2007 10:32
Funnydale
Well, the default media player actually didn't work very well with the PS3, as the video playback was kind-of choppy. But to be fair, that may just because of software conflicts between the media player and the Cell processor.

I'm going to log on to Linux later tonight and find some more programs to try out.
Dale North's Avatar - Comment posted on 08/12/2007 10:59
Dale North
Prof Pew asked my questions.

Great writeup, BTW
BluDesign's Avatar - Comment posted on 08/12/2007 11:26
BluDesign
@Pew

The PS3 has decent media playback right out of the box. If you'll spend a bit of extra time converting things to MPEG-4, everything plays back just fine off of it. I convert all my stuff to MPEG4 anyway (for my ipod and my 360) so it isn't that much of a hassle to get working right out of the box.
Demios's Avatar - Comment posted on 08/12/2007 11:36
Demios
Somebody bump this to the front page, awesome blog post.
Highly informative.
linuxguy's Avatar - Comment posted on 08/12/2007 11:48
linuxguy
this needs front page
AWESOME writing
linuxguy's Avatar - Comment posted on 08/12/2007 12:06
linuxguy
you should try the xfce desktop cuz it doesn't take much memory
LostCrichton's Avatar - Comment posted on 08/12/2007 13:06
LostCrichton
I too vote this for front page. Excellent information and well written. Thanks for sharing this How-to with us Funnydale.
Maurice Tan's Avatar - Comment posted on 08/12/2007 15:39
Maurice Tan
@dvddesign: mpeg4 works on my xbox1, I need something that runs x264 (not h264) to remote-control from the couch. I'd also like it if it has all the stuff from XBMC in it, so: ftp, customizable everything, on the fly download/install of plugins, quicktime trailers etc. PS3linux seems like a good solution for it. You could run MythTV and all that stuff on it as well without.
If I wanted to re-encode or transcode stuff, I'd be running TVersity on the 360. But I'm not patient enough for that.

@Morrius: I'm in euro territory too btw, so 600 euro's ($900+) is way to expensive for me at the moment. A 20 euro remote control for the PC would work as well, but I just love switching between gaming and xbmc. Even if I only use the xbox1 to watch tv-shows now :/

Also nice writeup, forgot to mention that.
nightmareci's Avatar - Comment posted on 08/12/2007 18:18
nightmareci
The worst thing about the RSX block is that it's held off at the hypervisor level, so there isn't ANY way to get access to it, unless you do a hypervisor hack (which would make Sony go as insane as the buffer-overload hack older PS2's were vulnerable to, allowing a no mod option to run homebrew, dunno about pirated games). I believe I saw a screenshot showing a special Linux configuration (maybe Gentoo, dunno) that showed you can get access to all 6 available cores, because the seventh one is used by the hypervisor, and this is the same case with retail games (hypervisor is ALWAYS running), so your Ubuntu setup isn't using all the cores the Cell has. And a major reason for the RSX block, I think, is so Sony can have a hold on people making their own games for PS3 without Sony being involved (think about it, a livecd Linux disc booting up a game like a regular PS3 disc, Sony wouldn't like that), plus the possible pirated software issue.

And linuxguy is right about Xfce, it is more lightweight, and you can still run specific Gnome programs, if you must have them. Plus, if you're good at messing with Linux, there's even more lightweight desktops, but Gnome/KDE programs wouldn't look like the desktop.
Maurice Tan's Avatar - Comment posted on 08/12/2007 19:19
Maurice Tan
@nightmareci: Apparently, some people have found a way to use a new TIFF file exploit (even younger than our sweet editor!) to run PSX backups.
No idea if it will lead to anything, but I doubt Sony will really allow any kind of homebrew-booting exploit thing without patching it through new firmwares. So even if they one day bypass the hypervisor or access the RSX directly, we'll be likely stuck with 1 firmware. Unless I'm missing something?

Also: youtube of PS3 running PSX... Sony will not be pleased.
Natali Alinskaya's Avatar - Comment posted on 06/22/2011 03:20
Natali Alinskaya
Hello friends,this is a nice site and I wanted to post a note to let you know, good job! Thanks
Best regards, Natali, CEO of mp3
prev next

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

Comments policy

Destructoid is an open discussion community. You don't need to "audition" to post a comment - just speak your mind. We respect differing opinions on the site, so have at it. Be smart, funny, insightful, clueless, or cute -- but back it up with substance. Keep your cool, keep it fun. We only ask that you act respectfully and above all: don't be a troll and ruin it for everyone else. Don't bring down gamers or we'll, you know, gently shoot you in the face and stuff you into a flaming mailbox. Each comment is your opportuntity to make this community awesomer. Is that even a word?

Avoiding the banhammer only requires common sense: spamming, trolling, racism, NSFW stuff, and other forms of sucking will not be tolerated. If anyone is griefing please report abuse. Be good. Don't suck!