| View previous topic :: View next topic |
| Author |
Message |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sat Dec 23, 2006 8:29 am Post subject: OpenGL for Linux |
|
|
You can use OSMesa for OpenGL on the Playstation 3. Install it in your Linux installation like this:
| Code: |
download MesaLib-6.5.2.tar.bz2, MesaGLUT-6.5.2.tar.bz2 and MesaDemos-6.5.2.tar.bz2 from http://sourceforge.net/project/showfiles.php?group_id=3
tar -xjf MesaLib-6.5.2.tar.bz2
tar -xjf MesaGLUT-6.5.2.tar.bz2
tar -xjf MesaDemos-6.5.2.tar.bz2
cd Mesa-6.5.2
make realclean
make linux-osmesa
make install
ldconfig
|
This is the well known Gears example, slightly modified for OSMesa and the PS3. It draws some animated gears and needs ca. 5.6 ms for one frame. A screenshot:
 |
|
| Back to top |
|
 |
avalonakira
Joined: 07 Jan 2007 Posts: 9
|
Posted: Sun Jan 07, 2007 2:42 pm Post subject: Then What? |
|
|
| I'm just wondering ,then what are you going to do with it? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Mon Jan 08, 2007 6:51 am Post subject: Re: Then What? |
|
|
| avalonakira wrote: | | I'm just wondering ,then what are you going to do with it? |
I'm trying to port Lua Player platforms, which supports OpenGl, so this was one requirement. Sound works already and there is a driver for the controller, so now I need some time, only, and the new Lua Player will be ready. |
|
| Back to top |
|
 |
popper
Joined: 15 Jan 2007 Posts: 9
|
Posted: Mon Jan 15, 2007 5:41 am Post subject: |
|
|
just a bump
on this, and to ask, did you or anyone start to make a fast blitter etc for this GL or infact start to patch in Altivec code to speed it up for general use?.
theres also directly using the spe's if you want to ignore the general PPC/Altivec codebase,but it would be nice if it get improvements for all PPC linux platforms not just cell.
i beleave there was an idea to use SDL i think and patch it to use some of the spe's but that seems a bust now as theres not been any new commits in a month.
https://ssl.keshi.org/projects/ps3/trac.fcgi/browser/SDL/trunk
if you can find him/her then you might be able kickstart that project again or just start affesh seeing it doesnt seem anything of real value made it to there yet. |
|
| Back to top |
|
 |
popper
Joined: 15 Jan 2007 Posts: 9
|
Posted: Wed Jan 31, 2007 11:01 am Post subject: is this thread dead ? |
|
|
| its a shame if this thread doesnt progress as it seems people are hungry for working code to see and try.... |
|
| Back to top |
|
 |
androvsky
Joined: 11 Nov 2007 Posts: 33
|
Posted: Sun Jun 29, 2008 5:27 am Post subject: |
|
|
Does no one else know about mesa's OpenGL on Cell project?
http://www.mesa3d.org/cell.html
Word has it the April build of the driver was broken, and I don't know if anyone's worked on it since. I've had a really hard time trying to build it on Ubuntu; I'd start a thread about it but I've never had much time to devote to it. It's part of the new gallium infrastructure, and I think the Cell driver is pretty much on hold until they get llvm integrated.
According to the dev's mailing list, the code is terribly unoptimized. Maybe the rest of the community would like to take a break from trying to crack the RSX and help with a project that has a known path forward? |
|
| Back to top |
|
 |
|