Page 2 of 5

Re: mesa-cell driver

PostPosted: 03 Oct 2008, 01:23
by CronoCloud
billb wrote:But it's good to see it working even if it's slow and doesn't run much right now.


It's actually got better performance than the Mesa with (limited hardware acceleration) was on the PS2.

Ron Rogers Jr (CronoCloud)

Re: mesa-cell driver

PostPosted: 25 Nov 2008, 19:03
by wap
when i use
Code: Select all
make linux-cell

the following error message appear
Code: Select all
../../lib/libGL.so: undefined reference to `brw_create_screen'
../../lib/libGL.so: undefined reference to `brw_create'

could anyone help me to solve
thanks a lot

Re: mesa-cell driver

PostPosted: 08 Dec 2008, 01:18
by Efaustus9
Does mesa-cell driver only work with the associated demos or can you test other apps with it? I was wondering if the driver would permit you to use the opengl features of some emulators e.g. scaling in fceultra.

Re: mesa-cell driver

PostPosted: 08 Dec 2008, 07:01
by billb
All of my attempts at using it with anything more than simple demos and screensavers have failed, though I haven't tried it with everything like emulators using OpenGL. Anyone else?

Re: mesa-cell driver

PostPosted: 08 Dec 2008, 09:16
by juanito
It might be worth to build it again from git - maybe things have progressed in the interim?

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 03:43
by billb
Just tried the latest version of the mesa-cell driver on YDL 6.1 -- seems to be a little faster now ...

./glxinfo
Code: Select all
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Gallium 0.2 on Cell
OpenGL version string: 2.1 Mesa 7.4


[bill@localhost xdemos]$ ./glxgears
Code: Select all
644 frames in 5.0 seconds = 128.645 FPS
639 frames in 5.0 seconds = 127.636 FPS
639 frames in 5.0 seconds = 127.791 FPS
627 frames in 5.0 seconds = 125.341 FPS


EDIT: oh, one more thing -- to compile I had to install two RPMs from Cell SDK 3.1:

cell-libs-devel-3.1-1.ppc.rpm
spu-simdmath-devel-3.1-1.ppc.rpm

I didn't go through the whole installation of Cell SDK 3.1, just extracted the .iso and installed using rpm -ivh packagename (located in cellsdk3.1/rpms directory).

cell-libs-devel is "IBM Licensed Materials" so can't redistribute I guess:

Code: Select all
[bill@localhost ~]$ rpm -qi cell-libs-devel
Name        : cell-libs-devel              Relocations: (not relocatable)
Version     : 3.1                               Vendor: IBM Corporation
Release     : 1                             Build Date: Thu 18 Sep 2008 02:06:13 PM EDT
Install Date: Thu 12 Mar 2009 10:03:51 PM EDT      Build Host: qdcx8664bld1.austin.ibm.com
Group       : Cell Development Libraries    Source RPM: cell-libs-3.1-1.src.rpm
Size        : 3506473                          License: IBM Licensed Materials
Signature   : DSA/SHA1, Thu 18 Sep 2008 03:18:40 PM EDT, Key ID 880659859ac02885
URL         : http://www.ibm.com
Summary     : IBM Cell Broadband Engine Libraries
Description :
IBM Cell Broadband Engine Libraries - ppu and spu libraries and headers
for development on native CBE
Name        : cell-libs-devel              Relocations: (not relocatable)
Version     : 3.1                               Vendor: IBM Corporation
Release     : 1                             Build Date: Thu 18 Sep 2008 02:06:31 PM EDT
Install Date: Thu 12 Mar 2009 10:04:00 PM EDT      Build Host: qdcx8664bld1.austin.ibm.com
Group       : Cell Development Libraries    Source RPM: cell-libs-3.1-1.src.rpm
Size        : 583994                           License: IBM Licensed Materials
Signature   : DSA/SHA1, Thu 18 Sep 2008 03:18:42 PM EDT, Key ID 880659859ac02885
URL         : http://www.ibm.com
Summary     : IBM Cell Broadband Engine Libraries
Description :
IBM Cell Broadband Engine Libraries - ppu and spu libraries and headers
for development on native CBE


This one has BSD license though:

Code: Select all
[bill@localhost ~]$ rpm -qi spu-simdmath-devel
Name        : spu-simdmath-devel           Relocations: (not relocatable)
Version     : 3.1                               Vendor: IBM Corporation
Release     : 1                             Build Date: Thu 18 Sep 2008 02:01:34 PM EDT
Install Date: Thu 12 Mar 2009 10:14:24 PM EDT      Build Host: qdcx8664bld1.austin.ibm.com
Group       : Cell Development Libraries    Source RPM: simdmath-3.1-1.src.rpm
Size        : 1075207                          License: BSD
Signature   : DSA/SHA1, Thu 18 Sep 2008 03:20:31 PM EDT, Key ID 880659859ac02885
URL         : http://www.ibm.com
Summary     : IBM Cell Broadband Engine SIMDMath Library
Description :
The Cell SDK SIMDMath contains math development libraries


Looks like it can be compiled without the Cell SDK on Ubuntu 8.10 intrepid ibex (newer version of gcc):

https://lists.ubuntu.com/archives/ubunt ... 00218.html

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 15:03
by uncholowapo
I noticed that too. I thought they had dumped the project all together.

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 15:26
by Jaybps3
Billb I wonder why my test shows even higher FPS than yours...

Code: Select all
[jaybps3@localhost xdemos]$ ./glxgears
966 frames in 5.6 seconds = 173.290 FPS
903 frames in 5.3 seconds = 171.083 FPS
860 frames in 5.2 seconds = 164.323 FPS
880 frames in 5.1 seconds = 172.582 FPS
840 frames in 5.6 seconds = 150.219 FPS
940 frames in 5.7 seconds = 165.358 FPS


I don't appear to have the same driver as you....

Code: Select all
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.1)
OpenGL extensions:


You got a link to the version you have it appears the one I have used is the older version.

EDIT You updated mesa to 7.3 also? I found it on sourceforge....

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 16:15
by billb
Jaybps3 wrote:Billb I wonder why my test shows even higher FPS than yours...


Yeah, me too! :wink:

You got a link to the version you have it appears the one I have used is the older version.


I just downloaded the latest code using git as described in the first post.

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 16:42
by Jaybps3
I done the same billb. I just used the git link from your post on page 1 to download the src and then installed accordingly. Notice it shows different renderer for mine then yours does!

Mine shows as!
Code: Select all
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.1)


Yours shows!
Code: Select all
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Gallium 0.2 on Cell
OpenGL version string: 2.1 Mesa 7.4


Seems you have a different renderer and newer mesa library than me. Wonder how the older library can run with higher fps than the newer. I am curious how ours is so different when we used the same install process from the same src!

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 17:29
by billb
Jaybps3 wrote:I done the same billb. I just used the git link from your post on page 1 to download the src and then installed accordingly. Notice it shows different renderer for mine then yours does!


Are the gears spinning smoothly on your screen when you run ./glxgears ?

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 18:00
by Jaybps3
billb wrote:
Jaybps3 wrote:I done the same billb. I just used the git link from your post on page 1 to download the src and then installed accordingly. Notice it shows different renderer for mine then yours does!


Are the gears spinning smoothly on your screen when you run ./glxgears ?


billb I am uploading a video to youtube to illustrate it, It will show you better then I can tell ya.

I seen 202 FPS off the back slowed to about 176 FPS then I fullscreen it and get over 65 FPS in full screen. The video is better proof then my word, I'll get the link up soon as it uploads about 1/3 uploaded now!

Re: mesa-cell driver

PostPosted: 13 Mar 2009, 18:03
by billb
Jaybps3 wrote:
billb wrote:Are the gears spinning smoothly on your screen when you run ./glxgears ?


billb I am uploading a video to youtube to illustrate it, It will show you better then I can tell ya.


A simple yes or no would suffice ... :P

Re: mesa-cell driver

PostPosted: 14 Mar 2009, 17:44
by zerojay
Does it now work with opengl enabled emulators yet? Think it'll be fast enough?

Re: mesa-cell driver

PostPosted: 15 Mar 2009, 18:38
by billb
zerojay wrote:Does it now work with opengl enabled emulators yet? Think it'll be fast enough?


Good question ... I haven't tried building any of the emulators against this version -- I'm assuming this would be necessary. It would certainly be very interesting if it works, but I have my doubts that it will. Also, I believe I tried running the SPE scaler tool (which uses just one SPE, I believe) to zoom in and the glxgears test slowed to a crawl. But if it was working and accelerated to an acceptable speed you wouldn't need to use the SPE scaler tool anyway.