README.PS3
author Martin Lowinski <martin@goldtopf.org>
Mon, 10 Aug 2009 18:05:33 +0000
branchgsoc2009_ps3
changeset 3154 95e48f7a3a93
permissions -rw-r--r--
Added Makefile rule for spu programs. Added Readme.
martin@3154
     1
martin@3154
     2
SDL on Sony Playstation3
martin@3154
     3
------------------------
martin@3154
     4
martin@3154
     5
Installation:
martin@3154
     6
  First, you have to install the Cell SDK
martin@3154
     7
  - Download the Cell SDK installer RPM and ISO images to
martin@3154
     8
    a temporary directory such as /tmp/cellsdk.
martin@3154
     9
  - Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk
martin@3154
    10
  - Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm
martin@3154
    11
  - Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install
martin@3154
    12
martin@3154
    13
  You'll than need to install the SPU-libs
martin@3154
    14
  - Run make ps3-libs && make ps3libs-install
martin@3154
    15
martin@3154
    16
  Finally, install SDL
martin@3154
    17
  - Go to SDL-1.2/ and build SDL like any other GNU style package.
martin@3154
    18
  e.g.
martin@3154
    19
    - Build the configure-script with ./autogen.sh
martin@3154
    20
    - Configure SDL for your needs: ./configure --enable-video-ps3 ...
martin@3154
    21
    - Build and install it: make && make install
martin@3154
    22
martin@3154
    23
martin@3154
    24
Todo:
martin@3154
    25
  - Mouse & Keyboard support
martin@3154
    26
  - On SPU-side the current scaler and converter restrictions are:
martin@3154
    27
    - resolution has to be a multiple of 8 (will work on that)
martin@3154
    28
    - scaler/converter only supports the YV12 and IYUV format
martin@3154
    29
    - the scaler works only bilinear (lanzos would be nice)
martin@3154
    30
  - Optimize the SPU-program handling on the PPE side
martin@3154
    31
  - Integrate spumedia in SDL
martin@3154
    32
martin@3154
    33
Have fun!
martin@3154
    34
  Dirk Herrendoerfer <d.herrendoerfer [at] de [dot ibm [dot] com>
martin@3154
    35