Setting Up Ubuntu On a PS3 For Emulation
Gizmodo is running a guide on how to install Ubuntu on a Playstation 3 and set it up to play vintage games through emulation. Quoting:
"It still kind of surprises me (in a good way) that Sony was, from the start, very OK with PS3 owners tinkering with Linux on their PS3s. A modified release of Yellow Dog Linux was available from the very beginning, and some very handy hard drive partitioning and dual-boot utilities are baked right into the PS3's XMB; Ubuntu gets installed on an entirely separate partition of your PS3's hard disk, so your default system doesn't get touched and switching between Ubuntu and the XMB is a piece of cake. There is a flipside to this coin, however. Since the PS3's Cell Processor is PowerPC based, you won't be able to use any Linux software that's compiled for x86, which is, unfortunately, most of it. However, Ubuntu has always had a PPC distro, and most of the basic stuff will work just fine. You can even load up a PPC-compiled Super Nintendo Emulator, SNES9X, and play some classic games pretty easily on your Sixaxis controller paired via Bluetooth."
Would it be too slow to load a slim PPC kernel and replace init with an optimized PPC-compiled qemu instance (basically; it would require much more than this) and run a virtual x86 machine on that? It seems the downsize would be: two kernels and an image in non-volatile storage, (although they aren't that big, not much difference), RAM would be a premium, consider some paging (and a minimalistic hypervisor kernel running a slim custom client kernel, goodbye canonical support), and those Cell CPUs would fare just fine with it.
It seems like a long shot, but it could work with at the very least "decent" results, after a fair amount of hacking and gnu optimization (store more crap on the registers than RAM). Compiz would kill on those graphics cards, and if paging is light you could have project 64 running in WINE for the best Nintendo 64 experience since... the Nintendo 64! Gee Willigers!
That is, assuming qemu can do x86->PPC, else find an alternative (or write one, hey!)
All the software on my linux box (an ARM machine) was either compiled by me or came from the debian apt repositories (compiled for ARM). That's no different than if I was using x86. I fail to see what the issue is, unless you need to run closed source software or something tightly coupled to the x86 architecture, like WINE or virtual box.
Do you even lift?
These aren't the 'roids you're looking for.
linux on ps3 sucks balls:
no access to gpu
10 gigs of disk space
~256 megs of memory
crappy ppc processor which meant for the stuff I wanted to do with it (read: boxee), I didn't have the libs.
A roommate of mine that has unfortunately moved out has a PS3 and a big HDTV. We spent a lot of time playing PS3. Some of those new games look amazing in HD... really amazing.
Despite this, we spent a lot more time playing roms under ubuntu. I've always used ZSNES on my computers, but unfortunately some of it is written in X86 compiler. SNES9X works great on PS3 ubuntu though, and finding emulators for other systems compiled for PPC really isn't hard at all.
>Since the PS3's Cell Processor is PowerPC based, you won't be
>able to use any Linux software that's compiled for x86, which is,
>unfortunately, most of it.
I have to say, to most linux users, the specific architecture and processor really aren't meaningful. The linux kernel, gnu userland, and associated popular applications have always been distributed in source code first, and binaries as they are made available. The entire concept of open-source depends on source distribtion.
It is absolutely no problem if an app is distributed in source form or binary (compiled). True, a "standard" linux install base, while it may be defined, is rarely realized. So you could argue that distributing in source code creates problems because needed dependencies can't always be met. But then again, this doesn't help with binary distribution either. Ever try to install an RPM on a non-rpm-ish linux distro? It can be done, yes, but it involves a lot of details. Just as compiling does.
Debian is awesome for distributing such a wide range of apps compiled for so many architectures. But it is truly sad to see someone write that it is "unfortunate" that most linux installs are x86 and his is ppc. The entire concept of linux is that linux is a kernel and a userland distributed in source. It doesn't matter what hardware you have (within reasonable limits... toasters, watches, etc).
There's nothing "unfortunate" about an intel chip, a sparc processor, or a power pc, in terms of the ability of linux to run on it. It's a bigger deal if you're running generic pc hardware with some new video or wifi card. But even this sort of par for the course these days.
You obviously don't know what you're talking about. The Cell is way more powerful than that obsolete piece of shit x86 cpu on your desktop.
Actually, the x86 cpu will annihilate the Cell on most desktop applications. Yes, a Cell processor with '9' cores instead of a dual core x86 will be able to do ~4 more number crunching. However, for untuned code, which most software is, x86 cpu will be able to slice through with its snazy OOE and branch prediction hardware. The Cell does not have that fancy stuff and will just stall.
Would it be too slow to load a slim PPC kernel and replace init with an optimized PPC-compiled qemu instance {...} and run a virtual x86 machine on that? It seems the downsize would be: two kernels and an image in non-volatile storage {...} That is, assuming qemu can do x86->PPC, else find an alternative (or write one, hey!)
All this is an absolute overkill.
If there are a couple of binary-only Linux applications that you have to run on PS3 and they are only compiled for x86, there's QEMU which has a special mode for running Unix-on-Unix, where it emulates an x86 CPU only for the x86 application and passes through all system calls to the actual native OS.
The DarWINE project is exactly doing that to run Windows applications on PPC Mac OS X boxes : the windows application and assorted Wine glue code goes inside QEMU, the call translated to Unix libraries go to the native system.
If you need to run Windows application, probably DarWine isn't that far from being runnable on PPC Linux.
And if you need to run old-school DOS games, DosBox has a built-in x86 emulator anyway.
The "emulate a full x86 Linux running inside a PPC Linux" is just a complete waste of resources.
And, as pointed by other /.ers, the PS3 hypervisor doesn't let Linux access the GPU anyway. So no Compiz, no hardware accelerated emulation of consoles with 3D chips (no N64, no PSX without PS3's own OS, no DreamCast, etc.)
Still there's a good access to the Cell's stream processing units, so Linux on PS3 has a good value for doing scientific calculation, and there's an attempt to accelerate Mesa 3D with the SPUs, in order to have some hardware-accelerated OpenGL, even without the GPU.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Is it possible to get a bootloader going? say you flash a ps3 with firmware 2.09 or whatever. then you run linux which then boots firmware 2.10 without writing it to the console. firmware 2.10 then boots the latest games and you have your 2.09 firmware back?
It seems Sony have shot themselves in the foot with this shortsighted move.
Is it possible to get a bootloader going? say you flash a ps3 with firmware 2.09 or whatever. then you run linux which then boots firmware 2.10 without writing it to the console. firmware 2.10 then boots the latest games and you have your 2.09 firmware back?
It sounds like you don't really understand what firmware is. Firmware will always be read in a device chain before a bootloader. That's what makes it firmware.
-1
Troll not funny/gross/racist enough.
I was under the impression that possession is 9/10ths of the law.
The other tenth is copyright law, specifically 17 USC 1201 and other countries' legislation implementing the WIPO Copyright Treaty of 1996.
Kind of like owning a gun. You can own a gun and use it however you want
Even in the United States with its loose gun laws, residents can't own an assault rifle.
For the price of a PS3, you can get a nice, cheap, dual core system with at least 1GB of RAM. Unlike the PS3, you'll have access to the graphics hardware.
But can the graphics hardware in an off-the-shelf "nice, cheap, dual core system" output a composite or S-Video signal for an SDTV to use? There's a huge installed base of SDTVs that are large enough for three or four people to fit around comfortably. The advantage of $400 game consoles over $400 PCs is that game consoles are guaranteed to have SDTV output, unlike the desktop PCs that I could find at Office Depot.
Despite [the amazing look of PS3 games' graphics in high definition], we spent a lot more time playing roms under ubuntu.
What copier did you use to dump the roms from your Super NES Game Paks?
I've been thinking, wouldn't this make a shit hot box to do h.264 encoding on? Isn't that one of the things that the cell is optimized for? SMP across 9 cell cores doing h.264 encoding and I know when encoding a dvd that handbrake uses virtually no memory on my dual core amd64 box. Just an honest question.
My Babylon
There's nothing "unfortunate" about an intel chip, a sparc processor, or a power pc, in terms of the ability of linux to run on it. It's a bigger deal if you're running generic pc hardware with some new video or wifi card. But even this sort of par for the course these days.
Au contraire.
I have a 12" Powerbook. Its graphics chipset (and I think its wireless chipset, as well) are supported on Linux- but only via binary-only drivers for the Intel architecture. A free driver apparently does exist for the graphics card, but it's not capable of 3-D acceleration.
This machine is nearly five years old. It's not "some new video or wi-fi card". The drivers for Linux simply don't exist in source form. So I find it very unfortunate at this point that the machine is PowerPC-based. If it were Intel-based, I'd be able to run Linux on it and get performance comparable to Mac OS.
A shame, really - I'd otherwise be quite happy running Linux on that machine... I'm a big fan of CPUs with a reasonable number of registers... And IA32 isn't great at handling the quantities of RAM you get in systems these days... Even the 1.25GB in that laptop would complicate things on IA-32 - requiring highmem support or a 2GB/2GB kernel/user split...
Mod parent up...
The issue at this point isn't so much about having a coherent desktop - KDE provides that. (I can't personally vouch for Gnome...) The issue is that this "coherent desktop" is less a feature of "Linux" per se and more a feature of KDE (or Gnome). This desktop can run applications that aren't part of the environment - but if you want the integration you have to stick to stuff that really is part of that environment.
Bow-ties are cool.
putting a rocket engine on your honda civic? Yes, you can do it, but why would you want to?
Probably Bittorrent...
You claim that desktop PCs have no SDTV output because they were purchased at Office Depot. So where do you recommend to buy a ready-to-run desktop gaming PC with SDTV output for $400?
I wish that he would have mentioned some way to run MAME, that's better than SNES games anyway.
Also, here is a way to run a fast Mplayer on PS3 Linux. This custom version of Mplayer uses the SPUs. I have an 80 GB PS3 and I'm eager to try some of this stuff out.
(-1, Raw and Uncut is the only way to read)
Well yes you can "hobby" linux on your PS3... sony even provides some help... but if you think you're going to get anything cool out of it, think again, it's just going to be a hobby...
1. No HD... wow SD is so "cool"
2. No GPU... wow my PS3 has such cool 3d graphics... or not!!
So basically you get a low end computer with the inconvenience of PPC (so you can't use the majority of binaries) it's non-usefulness as a slick media player (no HD etc) or a "Game machine" (no x86 or GPU) basically means it's a big fail and thanks to Sony for a hobby "yes it runs linux" -- but no cool features.
In fact, one of the "reasons" for having a computer, e.g. playing copied games of course will not work as that's not what Sony wants you to do with "your" hardware... they would prefer you use their OS, their software etc
Running Linux on a Powerbook is like dumping dirty mop water into your marble bathtub.
Call me when Linux runs as like a 'game' on the PS3 and I don't have to reboot everything and sacrifice access to my friends list, etc.
As it stands, it's just too much work to reboot into Ubuntu mode on the PS3 to have it be worth my while. (Yes, I tried it for a while.)
Maybe if all my other systems were broken and I couldn't afford to buy a new one... But then, I'd be a sad techie if that were ever the case.
And let's face it, this is only for techies.
"If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM