PS3 Downloads    PS3 Forums    PS3 Guides    PS3 Releases    PS3 Themes    PS3 Trophies    Register   
Notices
 
Go Back   PS3 NEWS - PlayStation 3 News - PS3 Hacks » PlayStation 3 News » PS3 Linux News
PS3 Linux News Use this section to talk about PlayStation 3 Linux topics.
Latest PS3 News
Video: LittleBigPlanet PS3: Sack It To Me - The Hedgehog Edition
Posted 7 hours ago by
PS3 News with 1 Comment
Video: Fat Princess: Fistful of Cake PSP Trailer and Interview
Posted 12 hours ago by
PS3 News with 0 Comments
Sony BAFTA Video Games Awards 2010 Nominations Detailed
Posted 12 hours ago by
PS3 News with 0 Comments
Heavy Rain Taxidermist PS3 DLC Hits April 1 - No April Fool's Joke
Posted 13 hours ago by
PS3 News with 0 Comments
Video: ModNation Racers for PS3 - Redesigning Kart Racing
Posted 13 hours ago by
PS3 News with 0 Comments
PlayStation Network Video Content Update for March 19, 2010
Posted 13 hours ago by
PS3 News with 0 Comments
Reply
 
Thread Tools
PS3 Linux SDL Video Support Patch Now Available!
  #1 (permalink)  
Old 04-05-2009
PS3 News's Avatar
PS3 News Online
Boss
 
PS3 Linux SDL Video Support Patch Now Available!

Just before the weekend, slouken posted (linked above) the following PS3 Linux SDL video support patch news:

Hello. This patch provides basic support for video on the Sony PS3 Linux framebuffer.

Scaling, format-conversion, and drawing is done from the SPEs, so there is little performance impact to PPE applications.

This is by no means production quality code, but it is a very good start and a good example of how to use the PS3's hardware capabilities to accelerate video playback on the box.

The driver has been verified to work with ffplay, mplayer and xine. This piece of software has been developed at the IBM R&D Lab in Boeblingen, Germany and is now returned to the community. Enjoy !

SDL on Sony PlayStation 3

Installation:

First, you have to install the Cell SDK:
- Download the Cell SDK installer RPM and ISO images to a temporary directory such as /tmp/cellsdk.
- Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk
- Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm
- Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install

You need to install the SPU-libs before installing SDL:
- Go to SDL-1.2/src/video/ps3/spulibs/
- Run make && make install

Finally, install SDL:
- Go to SDL-1.2/ and build SDL like any other GNU style package.
e.g.
- Build the configure-script with ./autogen.sh
- Configure SDL for your needs: ./configure --enable-video-ps3 ...
- Build and install it: make && make install

To do:
- mouse/keyboard/controller support

D.Herrendoerfer (d.herrendoerfer[at]de[dot]ibm[dot]com)


More PlayStation 3 News...

Reply With Quote
  #2 (permalink)  
Old 04-05-2009
gtxboyracer's Avatar
gtxboyracer Online
Senior Member
 
Definitely a step in the right direction!

Reply With Quote
  #3 (permalink)  
Old 04-06-2009
Ninjazin's Avatar
Ninjazin Online
Junior Member
 
Has anyone tried this yet?

Reply With Quote
  #4 (permalink)  
Old 04-06-2009
mihaiolimpiu's Avatar
mihaiolimpiu Offline
Senior Member
 
I'm running Ubuntu 9.04 Alpha, I will give it a shot when I have time... Hope I'll make it work as I'm a linux noob!

Reply With Quote
  #5 (permalink)  
Old 04-06-2009
ninjad's Avatar
ninjad Offline
Registered User
 
Hi everyone!...will this work on YDL 6 using gnome..enlight..etc? Trying to better my self with linux. thanks

Reply With Quote
  #6 (permalink)  
Old 04-06-2009
mateuszss's Avatar
mateuszss Offline
Registered User
 
It means using of graphic card? If yes maybe now there will be possiblity to play more PC games or emulating PS2 with linux.

Reply With Quote
  #7 (permalink)  
Old 04-06-2009
mihaiolimpiu's Avatar
mihaiolimpiu Offline
Senior Member
 
What I found is that for using this driver you have to specify it like this:

To test it with mplayer use:
mplayer -vo sdl:driver=PS3 moviefile

From what I read the speed improvement is minor... and I really really hate mplayer... VLC is my favorite!

Last edited by mihaiolimpiu; 04-06-2009 at 09:53 AM. Reason: minor language corrections
Reply With Quote
  #8 (permalink)  
Old 04-06-2009
sorceror's Avatar
sorceror Online
Senior Member
 
Quote:
Originally Posted by mateuszss View Post
It means using of graphic card? If yes maybe now there will be possiblity to play more PC games or emulating PS2 with linux.
No, the RSX (the video card in the PS3) is still not available to Linux. But the Cell CPU in the PS3 has a fairly standard "PPU" (basically a normal PowerPC CPU, like in non-Intel Macs) and a bunch of specialized vector processors called "SPUs" ("Synergistic Processing Units").

This new software uses those SPUs to do video work, instead of making the normal CPU do it. Not as good as having the video card do it (doing it in full hardware), but better than doing it on the main CPU (pure software). This is kinda-sorta between doing it in hardware and doing it in software.

There is work on trying to get 3D graphics done purely on the SPUs (http://www.mesa3d.org/cell.html), but it's a big job. It probably won't be as fast as the RSX, but it'll be a lot better than pure software OpenGL.

Reply With Quote
  #9 (permalink)  
Old 04-06-2009
CrashCore's Avatar
CrashCore Offline
Registered User
 
Very cool, and nice work. I definitely will try this out when I get time. Oh RSX, how we long for control over ye....

Reply With Quote
Reply

Thread Tools

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0

vBulletin Skin developed by: vBStyles.com
© 2010 PlayStation 3 News
Register to Remove Ads!