Recently in PlayStation 3 Category

Installing elfspe2 solved compile problems

| | Comments (2)
I used to have problems compiling Geoff's spe samples. But now I'm suddenly able to compile them without errors. The only things I have installed since my last failed attempt is 'ed' and 'elfspe2'. Let's assume elfspe2 is the solution until proven otherwise. I found an interesting thread when browsing cell forums on ibm yesterday that suggested you'll have to install elfspe2 manually. So here's what I did:
rpm -Ivh elfspe2-2.1.0-0.ppc.rpm

Configure Samba

| | Comments (0)
In order to work effectively from a windows pc a samba share on the ps3 is very handy. First make sure samba is installed.
rpm -q smb-client
If not install samba.
yum -y install samba
When samba is installed edit the configuration file.
nano /etc/samba/smb.conf
Change the following settings:
security = share
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
   comment = andreas's home
   path = /home/andreas
   public = yes
   writable = yes
Start the samba server.
sudo /etc/init.d/smb start
Now you need to add a user, you'll be asked to provide a samba password for the user. Remember the user has to be a user on the machine.
smbpasswd -a username
After you've added a user you need to restart the server in order to reflect changes.
/etc/init.d/smb restart
At this time it's a good choice to make sure samba will be started every time you start your system. Add smb to both runlevel 3 and 5.
/sbin/chkconfig --level 35 smb on
Then you can verify it's on by issuing the follwing command.
/sbin/chkconfig --list smb

Add a user

| | Comments (0)
These simple commands adds a user that's able to su to root.
adduser username -g users
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
passwd username

Fedora Core 6 on PS3 with Cell SDK 2.1

| | Comments (0)
This is a new attempt to document my setup of Fedora Core 6 with Cell SDK 2.1. If you try to follow this guide and you find a problem. Please let me know. I know, there are other guides out there, but I really want to use the latest addon from geoff. This guide assumes you'ge already performed a minimal fedora 6 install according to 'How To Enable Your Distro' from the addon disc docs. Now, the first thing I do after logging in as root is insert the fedora 6 dvd and issue the following commands:
mount /mnt/cdrom
cd /mnt/cdrom/Fedora/RPMS
rpm -Uvh dhclient*
cd /
At this point we should have internet access (wired) so let's install and start open-ssh server:
yum install openssh-server
service sshd start
From this point I continue work from a windows pc with cygwin and the following command:
ssh root@ <- replace with the IP you got from dhclient command earlier
At this point I want to get the CellSDK21.iso to the ps3 box. This is a download that requires registration on the IBM site so I haven't found a smooth way to download this from the linux terminal. Instead I download it from my windows box and put it on my WD Passport 120 usb drive and then connect that to my ps3 like so:
mkdir -p /mnt/wd120
mount -t vfat /dev/sdf1 /mnt/wd120
cp /mnt/wd120/ps3linux/ibm/sdk/CellSDK21.iso /home/root
In order to get to the cellsdk installscript we need to mount the sdk iso:
mkdir -p /mnt/cellsdk
mount -o loop CellSDK21.iso /mnt/cellsdk
At this point you check what dependencies are left to install from the sdk's point of view:
cd /mnt/cellsdk/software
./cellsdk depend
This will give you a list of all missing packages and since IBM knows you and I are lazy it even suggests the command to install them all:
yum install freeglut freeglut-devel libXmu-devel lib Xext-devel gcc make rsync 
flex byacc netpbm netpbm-devel mesa-libGLU-devel libX 11-devel 
numactl numactl-devel tk-8.4.*
When I run the depend command at this point the script find all it's dependencies and instead it is missing some SDK files and suggest to download them to /tmp/cellsdk-2.1 and again as we are very lazy this question has no other answer than yes:
Would you like to attempt automatically downloading these files to /tmp/cellsdk-
2.1? (y/n):y
When all downloads are complete, I get a message saying that all dependencies are in order. So I issue the install command:
./cellsdk install --nosim
After everything is installed I'm greeted by this message:
 Cell SDK Install complete.

 Please read the README.txt file in the root directory of the ISO image.
before building the samples you need to do a few more things. First I've had problems with the version of glibc that comes with vanilla Fedora Core 6. So start by issuing the following to upgrade glibc: At this point when trying to install
yum -y update glibc
yum -y install glibc-devel
If you try to build the samples at this point, it is likely that your're missing one more thing.
yum -y install ed
You should now be ready to build the samples by executing './cellsdk build [--gcc|--xlc]'. If you get an error about GL issue the following command and try again.
yum -y install mesa-libGL-devel
Now you can also try to build the vsync-sample that comes with the addon disc:
cd /usr/share/doc/vsync-sample-1.0.2
Don't run this last sample though if you aren't physically connected to the screen.

Xubuntu installed on PS3!

| | Comments (0)
This is the first post I write on my PS3 and I'm running Firefox on Xubuntu. This is the third distribution I try and if anything doesn't go wrong soon, I think I'll stick with this, as this is by far the best yet. I followed this guide and picked Xubuntu desktop as the PS3 doesn't have much RAM available. Xubuntu screenshot This snapshot of available memory was taken with a terminal, gftp, firefox and the gimp running. Xubuntu screenshot It's responsive and fast as long as memory is available, but unfortunately most applications use a lot of memory these days.

Goodbye Gnome! Hello xfce!

| | Comments (0)
After playing with my fedora install for one night I was about to throw my PS3 out the window. But luckily I consulted my friend Christian with this problem and he suggested the poor PS3 was just out of RAM and told me to install a desktop that isn't so demanding on memory. So I followed his advice and spent the night installing xfce. I'm glad I followed his advice. This desktop makes the PS3 justice now everything starts instantly. So what did I do? First I followed the guide to install Fedora 6, but I stopped after a few steps:
  • Install Fedora Core 6 minimum install
  • install dhclient
  • run dhclient
  • install openssh-server (so nice)
  • set video mode (with my LG 42PC1RR ps3videomode -v 3 is fine)
Then I went straight to installing xfce. It took me a while to figure out I had to do this --enablerepo=extras in order for fedora to find xfdesktop package in its extras repository. After finding that out I added it to all my yum commands just in case. I'm not 100% certain I installed all these in the exact same order as listed below, but this order should be better than mine anyway. Just let me know if you have to do something not listed here.
yum --enablerepo=extras install xorg-x11
yum --enablerepo=extras install xterm
yum --enablerepo=extras install xorg-x11-twm
yum --enablerepo=extras install xorg-x11-75dpi-fonts
yum --enablerepo=extras install xorg-x11-100dpi-fonts
yum --enablerepo=extras install xorg-x11-truetype-fonts
yum --enablerepo=extras install bitstream-vera-fonts
yum --enablerepo=extras install xfwm4
yum --enablerepo=extras install xfce4-panel
yum --enablerepo=extras install xfdesktop
yum --enablerepo=extras install xfce-utils
yum --enablerepo=extras install xfwm4-themes
yum --enablerepo=extras install xfce4-session
yum --enablerepo=extras install openssh-clients
yum --enablerepo=extras install dbus-x11
yum --enablerepo=extras install orage
Now I'm ready to install some nice toys to play with. Stay tuned.

Fedora Core 6 on PlayStation 3

| | Comments (0)
Fedora Core 6 on PlayStation 3 After ditching YDL 5.0 I decided to try my favourite distribution, Fedora. I'd seen a lot of instructions for installing Fedora 5, but I'd rather have Fedora 6, and I finally found a guide for that too. This was a very nice method of installing, I felt I had control over the entire process, and being able to do most of the install process from a cygwin command window made the install a breeze as I could just copy paste all the long series of commands. Bitwalk the famous blog now on PlayStation 3

Don’t use PS2 keyboard with your PS3

| | Comments (0)
PS2 keyboard I had an old USB keyboard and mouse laying around from the PS2 linux kit. Since I needed exactly this when running linux on PS3 I thought it must be a perfect fit, both Sony and PlayStation logotypes on them and all. Don't make the same mistake! PS2 keyboard This keyboard and mouse is clearly incompatible with the PS3. I have no idea what would be the problem, I mean it's USB right? But I had all sorts of weird problems with the keyboard in particular. I often had to pull it out and plug it back in for it to come back to work. There are much better alternatives, use them!

BluRay on PlayStation 3 tested on LG 42PC1RR

| | Comments (0)
When I unpacked my new PlayStation 3 I got a bit worried after skimming through the user guide. In the section about video resolutions I found the rather confusing paragraph in the tips section below. Only 1080p supported for BluRay on PS3? With a new high-definition plasma only supporting 720p and 1080i this was no funny read. I had already ordered a bluray movie when I saw this, and bluray playback was one of the reasons I wanted a ps3 at this time. S.W.A.T Blu-ray (PAL) However, the movie arrived on friday and it worked perfectly. The image quality is AWESOME even though my TV set doesn't support full HD at 1080p. This movie is one of those that doesn't have region protection so I had no problem playing it even though I have a US PS3. With bluray it is up to the publisher to decide if the want to region code the movie or not, so look out for region coded movies if your buying from amazon or whatnot.

At last!

| | Comments (0)
Got this innocent looking package today, but it's not really that innocent after all. A PlayStation returned from repair It's painfully heavy and it contains something really hot and desireable! PlayStation 3 landed! Not very next-gen to not include an HDMI cable, not even a component cable is included. PlayStation 3 package contents The box has all it's fancy features listed with logos on the back. Look! It even has Java, that's something to call my friend Christian about. The post office thinks it's weight is 9 kg, and while carrying it, I did too, but the box suggests otherwise. PlayStation 3 box back Carefully fitted under my high definition telly. Doesn't look that bad after all. PlayStation 3 next to TV Stay tuned...

About this Archive

This page is a archive of recent entries in the PlayStation 3 category.

Linux on Vaio TX2XP is the previous category.

Programming is the next category.

Find recent content on the main index or look in the archives to find all content.