PDA

View Full Version : Anyone did try Linux on PS3 ?



Tiago
24th August 2007, 16:25
If this is a repeated post delete it please.....:whistle:

Hi,
did anyone tried to put Linux on PS3? i read somewhere that Linux Yellow Dog is available for PS3, and it works just fine. :p

All you need is a USB Keyboard, USB mouse and the dvd of Linux.
It works like a PC and it works good, they say that it is very impressive with a great performance.

So what happend after you install Linux? Does the PS3 boot to Linux? Do you have a menu? PS3 games run under Linux or you boot without Linux?

Is there a winuae for Linux..?... will it run on PS3? That would be very very very interesting !!!!!!!!!!!!!!!!!!!!!!!!!!!!! :yesyes:

Harrison
24th August 2007, 16:46
I've not got a PS3 yet myself, but many people have said how well Yellow Dog Linux runs on the system. Other distros already in use on the PS3 include Ubuntu, Fedora Core 7, Gentoo, and Debian.

The installation and access to the second OS is through the PS3's XMB menus so for games and all standard PS3 functions nothing is different. Any installed second OS runs in a hypervisor restricted rsx access mode. This means that these OSs are actually running on top of the standard PS3 XMB OS and their access to the system hardware and it's functionality is restricted to only allow access to features Sony wish access to. This is to help restrict hacking of the main OS and hardware.

And yes there is a version of UAE for Linux and it runs very well on the PS3.

In case you didn't know WinUAE is the windows version of the original Amiga UAE emulator that is actually developed under Linux. :)

The huge advantage of Sony officially allowing a second third party OS to be installed on the PS3 is that it opens up the PS3 for homebrew developers to use, without it compromising the actual system for games piracy. I think Sony really thought this through this time and did a good thing here because for homebrew games, applications and emulation most coders are going to be happy using a distro of Linux on the PS3. And it's directly supported by Sony and free!

Tiago
24th August 2007, 16:56
Well being able to install Linux it's one of the big arguments, i would buy PS3 for that, and for games sure... but still a big expensive as told in other topics.
But if it gets down.... hummmm

But is it only yellow dog Linux? Or there are other distributions like Red Hat, or Suse?
Can you imagine... for that price you get a fantastic game console plus blueray plus a high performance "computer" with Linux and WINUAE !!!!!!!!!
I start thinking that the price is not so big.... if i didn't have a pc i wuld defenetly think about PS3....

Harrison
24th August 2007, 16:59
With second OS support the PS3 is definitely looking like a much more universal home entertainment and computing system in one. As you say, Blu-Ray playback, combined with PS3 gaming and full Linux OS use is a great set of features and starts to make the PS3 actually look very cheap.

Tiago
24th August 2007, 17:50
With second OS support the PS3 is definitely looking like a much more universal home entertainment and computing system in one. As you say, Blu-Ray playback, combined with PS3 gaming and full Linux OS use is a great set of features and starts to make the PS3 actually look very cheap.

Yes,
i search a litle, and i found that You can put Linux also on PS2, but you need a cable to connect to a tv, for same reason the install for PS2 need to be pluged to a monitor. After instalation it will work on tv. There was a pack, with a HD, network, cable and Linux. It is/was expensive. But you can buy the cable and linux for 25 euros.... but the performance is quite lower.... for sure....

But for PS3 you dont need to buy anything, you have the HD, the network, cables, you just need to download a ISO of Linux yellow dog from your Pc and create a DVD.

Is there anyone with PS3 around that could install Linux......? Does anyone want to do that?
I would love to have a report about how Linux handles.

Harrison
24th August 2007, 17:52
With the slim PS2 you can use an external USB harddrive as standard. And as long as the PS2 is chipped you can just download the Linux distro for it and install it. There are a few different OSs out for the PS2, but I've not tried any yet.

Tiago
24th August 2007, 18:09
With the slim PS2 you can use an external USB harddrive as standard. And as long as the PS2 is chipped you can just download the Linux distro for it and install it. There are a few different OSs out for the PS2, but I've not tried any yet.

HUMMMMMMMM !!!!!!!!!!!

external USB Harddrive.... i can get on... i thnk i just need the cable.... well i think i will read something about the cable maybe i can get one, and try to do it.

What you meen swith "chipped"? If it has the chip to play "recorded" dvds?

Harrison
24th August 2007, 18:37
Yes, a mod chip to play copied games.

The new PS2 memory card mod chip, if it is real, should soon be a good solution for those without a modified PS2.

Teho
25th August 2007, 10:38
I've been meaning to try Linux on my PS3, but haven't gotten around to it yet. I definitely will one of these days, so will let you know how it goes. I've never tried any Linux OS before though, so I'll probably be messing about quite a lot to start with.

Yes, the PS3s ability to install a second OS is definitely intentional on Sony's part. The option is right there in the system menu; "Install Other OS".

FOL
25th August 2007, 10:41
I've been meaning to try Linux on my PS3, but haven't gotten around to it yet. I definitely will one of these days, so will let you know how it goes. I've never tried any Linux OS before though, so I'll probably be messing about quite a lot to start with.

Yes, the PS3s ability to install a second OS is definitely intentional on Sony's part. The option is right there in the system menu; "Install Other OS".

Well hurry up, ;).

Tell us how E-UAE runs on it, :).

Harrison
25th August 2007, 13:31
If you haven't tried any version of Linux before Teho, I recommend you try and find the PS3 version of Ubuntu as that is the most user friendly and easiest to use Linux distribution around at the moment.

Here is a guide: http://news.softpedia.com/news/Ubuntu-7-04-on-PS3-52699.shtml

For installing emulators and most other applications on Linux, do remember that you may need to compile the source code first on the PS3 before installing it, as this is one of the more complex things about Linux. Most packages are the source code, so that they can be compiled to run on any version of Linux, and on any hardware platform. Not as user friendly as Windows, and sure to scare any Mac user for life, but much less restrictive.

Teho
25th August 2007, 19:24
Interesting article. I think I'm going to try that. One thing mentioned in the comments there has got me thinking though. The article creator was asked to perform a speed-test using a particular command, and it came back with rather poor results. They surmise the reason to be that of the seven cores in the Cell, only one is a PPC processor while the rest are SPEs. So that test probably only ran on the one PPC core. This has me thinking that other apps, like E-UAE, will do the same unless specifically programmed to take advantage of the other Cell cores. So it may turn out to not be very fast at all before that happens.

But knowing the UAE community, that will probably happen. Maybe if a certain team responsible for a certain version for a certain handheld might be interested in the challenge?

I'm going to try it though. Am backing up the HD now and will download the Ubuntu ISO. Won't have time to do more tonight, but can probably look at it tomorrow.

Harrison
25th August 2007, 21:20
Great. Will be interesting to find out how it goes, and how well it performs.

Regarding performance, the Cell CPU works very differently to most CPUs and not like normal multicore CPUs where each core is a full processor. The Cell has the main PPE CPU that is based on 64-bit PPC but isn't the same as other existing PPC processors like the G5. But it does contain the PPC instruction set which is why PPC versions of Linux can be compiled to run on the PS3. But these will only utilise the main PPE CPU and not the SPE cells. A better compiler will be needed to arrange the code in a way to allow the PPE to do this, and I expect this could take some time to happen, if at all.

FOL
25th August 2007, 21:27
Ermmm, missed this post, :(.

Well, you would be better off asking the current author of E-UAE. If your going to try the latest WIP4, then i would advise against it, as it has alot of bugs (bug fix release isnt ready yet). This is the reason PSPUAE is still on WIP3. Try WIP3 first.

Teho
26th August 2007, 19:24
Well, I've been having a lot of "fun" today. I've managed to install Ubuntu on my PS3, though not without some difficulties. And I've managed to test E-UAE on it, also not without some difficulties. That is, once I'd launched E-UAE it was running fine, it was getting to that point which was a little painful.

First off, that article linked to earlier skips the entire installation process of Ubuntu, which didn't help much. There were a couple of things I would've liked to know, such as why the hell the installation constantly froze at 15%. More than a little annoying, as each time you have to reboot the system from the CD which takes ages, and running the OS from the CD while installing is very slow. In the end, I found another guide (http://forums.afterdawn.com/thread_view.cfm/512082) which mentioned this, and detailed what to do to avoid it. Namely, shut down all non-essential processes and services to free up all system resources. This was also very fun and time-consuming, considering that shutting down some of the processes will bring the entire OS down, and when it comes back up everything you've stopped has started up again! Aarrgh!

After a lot of trial and error there though, finally the installation succeeded. So now it was time to get E-UAE running. Easy to get the files over to the PS3 right? Just transfer them across the local network, right?

Eh.. no. I've literally struggled for hours to get Ubuntu to communicate with my XP box, without success. The nearest I got was that Ubuntu did actually see itself and the XP machine on the network, but only spat an error when trying to connect to it. The XP machine never once found Ubuntu on the network at all, but had no problems connecting to itself over the network. Ubuntu connects to the internet well enough (am actually posting this through that right now), so I've no idea at the moment why it wouldn't work. (I did use the right protocols and firewall settings as far as I can tell). So in the end I ended up using my external HD to transfer over some files to test with. But am still bloody annoyed that I couldn't get that to work.

Once done though, E-UAE ran just fine. Relatively. I did use the WIP4 version, as I couldn't see the WIP3 anywhere on the homepage. And it kept crashing on me. First I was running a demo and thought I'd open the system monitor to check how the CPU was doing. That brought the OS to a screeching halt. Once up again, I opened the system monitor again before running E-UAE. And was pleased to see that Ubuntu obviously uses two of the cores, not just one. There's still five more available to it though! But it could perhaps be that it actually uses them and just has no way of visualising it. Anyway, running Pinball Dreams this time, emulating a 68040 AGA machine to see if the CPU would break a sweat. And it didn't. Neither core went far above 50% for long. Saw one top out at 70% but didn't see it go any higher than that. However, E-UAE dropped dead again before it was done loading the game's menu. But at least it didn't take the OS with it this time.

So, it seems to me that there is no problem running UAE speedwise, but there's definitely some stability issues here. But that could perhaps just be the buggy WIP4 version.

So what next? MAME? :)

Harrison
26th August 2007, 20:25
Linux is never that easy or user friendly to get working, which is the main reason it hasn't become a home OS for novices to use. But once things are setup correctly it is usually more stable than any other.

It is often mentioned how unstable WIP4 is so hopefully WIP3 will work much better. (if it can be found)

MAME would be cool to see running on the PS3. But I think we will see the true power of the PS3 once the system has been modded and developers can start writing native emulators for the PS3 hardware directly.

Tiago
27th August 2007, 09:42
Well well, i was away the weekend, and i am reading now all this new posts, :)
Great job Teho!
Yes maybe is buggy version.

About about linux? Does it work fine? Can you read Mp3, images, can you access the Web?

FOL
27th August 2007, 12:00
Linux is never that easy or user friendly to get working, which is the main reason it hasn't become a home OS for novices to use. But once things are setup correctly it is usually more stable than any other.

It is often mentioned how unstable WIP4 is so hopefully WIP3 will work much better. (if it can be found)

MAME would be cool to see running on the PS3. But I think we will see the true power of the PS3 once the system has been modded and developers can start writing native emulators for the PS3 hardware directly.

WIP3 can be found by scrolling down, or changing page on news page.

Teho
27th August 2007, 17:44
Sorry FOL, but I just can't find it there. There is only the WIP4 when you scroll down, and the 'older versions'-link only has final versions, and not the WIPs. I'm sure I can find it if I search the web a little though, I just couldn't be bothered yesterday. ;)


About about linux? Does it work fine? Can you read Mp3, images, can you access the Web?

Linux seemingly works just great. I haven't gotten to test it that thoroughly yet though. But there are a couple of video and audio clips present after you install, which played just fine for me. It does seem that you can't access the PS3 partition of the HD which definitely sucks, as that's where all the audio, video and images are stored.

Linux sees the CF/MS/SD card readers and there is a Bluetooth service running. But I haven't tested how they actually work yet. USB ports definitely work of course, as you need to use a USB keyboard and mouse. I've been using Logitech's wireless PS3 keyboard with touchpad which also works fine, since it's not bluetooth but uses a USB IR receiver.

Ubuntu also comes with Firefox installed, and it also works just fine (but not as fine as Opera, of course :p ). I didn't have to set up anything, Linux found my router and was connected from the very start.

The only thing I had problems with was networking with my XP box, as I mentioned earlier. I'm going to look further into that, but if I can't get that working I can't see me using Linux all that much, as it's too much of a hassle to move files over there otherwise. I don't want to store too much on that partition as it is either, as it's only 10GB. Yes, Sony's HD format tool stupidly does not let you choose the size of the partition. It's 10GB or none at all. You can choose to give the PS3 OS 10GB and the rest to Linux instead, but all in all it's pretty silly to not let you define the sizes yourself.

But even if I could, I wouldn't want to store entire file collections on it anyway. I definitely want to just stream them across the network, or copy across the ones I want whenever. So unless I can get the networking going, I probably won't be using the Linux install very much for anything worthwile. It will be fun to experiment a little with it though. :)