forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OpenGL for Linux

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sat Dec 23, 2006 8:29 am    Post subject: OpenGL for Linux Reply with quote

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
View user's profile Send private message
avalonakira



Joined: 07 Jan 2007
Posts: 9

PostPosted: Sun Jan 07, 2007 2:42 pm    Post subject: Then What? Reply with quote

I'm just wondering ,then what are you going to do with it?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Jan 08, 2007 6:51 am    Post subject: Re: Then What? Reply with quote

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
View user's profile Send private message
popper



Joined: 15 Jan 2007
Posts: 9

PostPosted: Mon Jan 15, 2007 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
popper



Joined: 15 Jan 2007
Posts: 9

PostPosted: Wed Jan 31, 2007 11:01 am    Post subject: is this thread dead ? Reply with quote

its a shame if this thread doesnt progress as it seems people are hungry for working code to see and try....
Back to top
View user's profile Send private message
androvsky



Joined: 11 Nov 2007
Posts: 33

PostPosted: Sun Jun 29, 2008 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group