mesa-cell driver

YDL running on the Sony Playstation 3

Moderator: billb

Re: mesa-cell driver

Postby CronoCloud » 03 Oct 2008, 01:23

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)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: mesa-cell driver

Postby wap » 25 Nov 2008, 19:03

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
wap
ydl newbie
ydl newbie
 
Posts: 1
Joined: 25 Nov 2008, 18:44

Re: mesa-cell driver

Postby Efaustus9 » 08 Dec 2008, 01:18

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.
SKU: CECHB01 PS3 (20GB) upgraded to 60GB HD.
YDL Killed by Firmware 3.30 but linux on my HDTV lives on!
http://tinyurl.com/2dcujby
Samsung LN-S4041D 40"
User avatar
Efaustus9
Moderator
Moderator
 
Posts: 185
Joined: 18 Apr 2008, 06:49
Location: MA USA

Re: mesa-cell driver

Postby billb » 08 Dec 2008, 07:01

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?
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: mesa-cell driver

Postby juanito » 08 Dec 2008, 09:16

It might be worth to build it again from git - maybe things have progressed in the interim?
ps3 60gb, cechc04, fw-3.15, ydl-6.2/cblfs multi-lib dual boot
dell 2009w monitor, logitech mediaboard (usb)
juanito
ydl guru
ydl guru
 
Posts: 300
Joined: 30 Jul 2008, 05:30
Location: Dubai, U.A.E.

Re: mesa-cell driver

Postby billb » 13 Mar 2009, 03:43

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
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: mesa-cell driver

Postby uncholowapo » 13 Mar 2009, 15:03

I noticed that too. I thought they had dumped the project all together.
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: mesa-cell driver

Postby Jaybps3 » 13 Mar 2009, 15:26

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....
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 462
Joined: 04 May 2008, 11:36

Re: mesa-cell driver

Postby billb » 13 Mar 2009, 16:15

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.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: mesa-cell driver

Postby Jaybps3 » 13 Mar 2009, 16:42

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!
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 462
Joined: 04 May 2008, 11:36

Re: mesa-cell driver

Postby billb » 13 Mar 2009, 17:29

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 ?
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: mesa-cell driver

Postby Jaybps3 » 13 Mar 2009, 18:00

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!
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 462
Joined: 04 May 2008, 11:36

Re: mesa-cell driver

Postby billb » 13 Mar 2009, 18:03

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
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: mesa-cell driver

Postby zerojay » 14 Mar 2009, 17:44

Does it now work with opengl enabled emulators yet? Think it'll be fast enough?
zerojay
ydl addict
ydl addict
 
Posts: 151
Joined: 09 May 2008, 20:32
Location: Quebec City, Canada

Re: mesa-cell driver

Postby billb » 15 Mar 2009, 18:38

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.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

PreviousNext

Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 9 guests