Investigation into how Linux on the PS3 might lead to homebrew development.
Moderators: cheriff , emoon
chema
Posts: 4 Joined: Tue Mar 06, 2007 6:52 pm
Contact:
Post
by chema » Tue Dec 11, 2007 6:41 pm
Brian and the guys of tungsten graphics have release the first screenshot of Gallium3D for Cell. There is a lot of work to do.
Brian:
The Gallium/Cell driver is drawing its first triangle.
This is by no means "real" code but it exercises sending a drawing
command to the SPUs, get/putting framebuffer tiles and displaying the
results.
In the attachment, the background and triangle colors are tweaked a bit
per-SPU so you can see which SPU drew which tile.
-Brian
Screenshot:
IronPeter
Posts: 207 Joined: Mon Aug 06, 2007 12:46 am
Contact:
Post
by IronPeter » Tue Dec 11, 2007 8:42 pm
Is the code public?
ethernode
Posts: 1 Joined: Sun Dec 16, 2007 3:24 am
Post
by ethernode » Sun Dec 16, 2007 3:26 am
Heh IronPeter, why don't you go work at Tungsten Graphics ? Looks like they could use some help...
;)
Anyway keep up your awesome work !
IronPeter
Posts: 207 Joined: Mon Aug 06, 2007 12:46 am
Contact:
Post
by IronPeter » Sun Dec 16, 2007 6:04 pm
Hhm, my email is public. There are no mails with hiring offers :).
My point is very simple. It is easy to prototype spu based rasterizer. Two-days work, no more.
It is hard to write good spu code in large software project. Refactoring is myth on spu. Bad design means re-engineering.
Good luck for Tungsten guys.
chema
Posts: 4 Joined: Tue Mar 06, 2007 6:52 pm
Contact:
Post
by chema » Thu Dec 20, 2007 8:25 pm
With the RSX disabled by now, only Gallium3d for Cell still alive :(
Compound
Posts: 48 Joined: Thu May 12, 2005 10:29 am
Post
by Compound » Wed Jan 16, 2008 5:43 am
does this need to be run from within a X desktop? im trying to run it from the shell and it just exits without doing anything
root@localhost:/mnt/share# cd triangle
root@localhost:/mnt/share/triangle# make
embedspu spu_handle spu-server spu_handle.o
g++ -O3 -Wall -lspe -lSDL -g host.cpp spu_handle.o -o development
root@localhost:/mnt/share/triangle# ./development
root@localhost:/mnt/share/triangle#
Compound
Posts: 48 Joined: Thu May 12, 2005 10:29 am
Post
by Compound » Wed Jan 16, 2008 10:16 am
seems it is a resolution issue, im running on a standard def telly at the moment, and the only way this would run is setting
#define WIDTH 400
#define HEIGHT 300
but it just renders a corrupt display
Compound
Posts: 48 Joined: Thu May 12, 2005 10:29 am
Post
by Compound » Thu Jan 17, 2008 11:43 am
hmm, it only seems to render correctly inside of an xserver
jimparis
Posts: 1145 Joined: Fri Jun 10, 2005 4:21 am
Location: Boston
Post
by jimparis » Thu Jan 17, 2008 12:41 pm
It's an SDL app, so it will work on X or directfb or whatever you have SDL compiled to support.
Compound
Posts: 48 Joined: Thu May 12, 2005 10:29 am
Post
by Compound » Thu Jan 17, 2008 9:29 pm
i just compiled SDL in the standard way, didnt realise there was any options for alternate configurations. im having the same problem with the ppc version of mesa3d as well, it says to run it without X compile it as linux-solo but i dont thik this is a ppc version, and it certainly doesnt want to build
whats this directfb, had a quick look at the site and couldnt work out what im supposed to do with it