PS3RSX Binary driver support

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

taynaron
Posts: 3
Joined: Tue Dec 18, 2007 2:36 pm

Post by taynaron »

Thanks Akta77, I guess I'll just have to wait to see when someone gets this working for 2.10.
Silniczek
Posts: 5
Joined: Mon Dec 10, 2007 9:36 pm

Post by Silniczek »

Unfortunately after updating ps3 to 2.10 Gentoo is not booting anymore :(

And for some reason I can't install any Linux. :(
Tried Ubuntu, YDL, Gentoo.
On Gentoo the only thing I see is black screen, my monitor is not even going on from standby, ubuntu is freezing after kboot, ydl also freezing after kboot. :(
Last edited by Silniczek on Sun Dec 30, 2007 7:13 am, edited 1 time in total.
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

For those of you that have not upgraded and wishes to use PSN but do not know how to do this or have troubles to bypass firmware check :

- A topic exist in this forum to deal with that.
- If the informations are not "easy" enough or you have troubles to do it, here is my "Linux" solutions :

> if you have a linksys / dd-wrt router, you have to activate local dns and edit your /etc/hosts like this:

just add
75.125.48.114 feu01.ps3.update.playstation.net
75.125.48.114 deu01.ps3.update.playstation.net
and restart DNSMasq (killall -1 dnsmasq)

> if you want to do it "yourself" just install squid & apache on a linux box and do the following :

Create the directory update/ps3/list/eu in your Apache root :
for me it is /var/www/htdocs/update/ps3/list/eu

And in the eu directory, create a file called ps3-updatelist.txt containing
# EU
Dest=85;ImageVersion=00000000;SystemSoftwareVersion=0.00;CDN=http://<your web server ip>/;CDN_Timeout=30;


and in the /etc/hosts of your server :
<server ip> feu01.ps3.update.playstation.net

restart squid, reconfigure your ps3 so it connects through the proxy... lets roll :)

!works for eu. Other country should modify according to localization.!
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Fedora 7 + 2D/3D hardware acceleration tutorials

Post by ps2devman »

Fedora Core 7 tutorials (how to turn on 2D hardware acceleration and more)
This has been PM'ed to oobles (ps3rsx tutorial is from Boxbuilder in html)
http://home.tele2.fr/~fr-51785/rsxkit/fc7_rsx.zip
So, consider it as a temporary draft.
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

Ubuntu 7.10 RSX driver updated for the latest std kernel (revision 47).
Normally, the previous driver *should* still work but the upgrade process has deleted my .ko... Will change the path of the driver next time!

http://www.choeursdaromes.com/ps3rsx-1.0-2.deb

Regards
mitran
Posts: 19
Joined: Fri Nov 30, 2007 6:03 am

Post by mitran »

dose the updated RSX Ubuntu driver work on FW 2.10 or is it a update for thos that still is on 2.0- 2.01 ?
sorry for beinga total retard , but i am not a programer i am a art type of person making youer life much harder lol .
debecdel
Posts: 2
Joined: Fri Dec 28, 2007 2:31 am

Post by debecdel »

Hello,
I' ve installed ubuntu feisty 7.04 with kernel 2.6.22-14-cell (version 47)
i downloaded ps3rsx-1.0-2.deb (revision 47)
i've configured my xorg.conf correctly
my ps3 firmware version is 2.01

my result is a black screen, startx doesn't launch

my dmesg:
[ 51.899217] ps3rsx: no version for "struct_module" found: kernel tainted.
[ 51.900057] ps3rsx: PS3 RSX access module, 1.0.0
[ 51.900076] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[ 51.902696] ps3rsx: 254MB of DDR video ram at 0x7001a0000000 mapped at d00008008046e000 handle 5a5a5a5b
[ 51.906030] ps3rsx: context 0x55555554 dma=4400003a1000 driver=4000001b4000 reports=480000710000 reports_size=10000
[ 51.906057] ps3rsx: ctrl=d00008009026e000 drv=d00008009026f000 reports=d00008009028f000
[ 51.906081] ps3rsx: version 2.11 RSX rev11 0MB RAM channel 1 core 500MHz mem 650MHz
[ 51.906113] ps3rsx: remapped XDR apperture at c000000000900000 size 18432kB to RSX
my Xorg.0.log
(II) LoadModule: "ps3"
(II) Loading /usr/lib/xorg/modules/drivers//ps3_drv.so
(II) Module ps3: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.3.1
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI minor version (2) is newer than the server's version (1)
(II) UnloadModule: "ps3"
(II) Unloading /usr/lib/xorg/modules/drivers//ps3_drv.so
(EE) Failed to load module "ps3" (module requirement mismatch, 0)
something seems strange when I was installing ps3rsx-1.0-2.deb

Depaquetage de ps3rsx (a partir de ps3rsx-1.0-2.deb) ...
Parametrage de ps3rsx (1.0-1) ...

i'm installing the V2 of this package and he is setting up de V1

is it normal ?

If any body have an idea

Thx in advance
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

debecdel wrote:Hello,
I' ve installed ubuntu feisty 7.04 with kernel 2.6.22-14-cell (version 47)
i downloaded ps3rsx-1.0-2.deb (revision 47)
i've configured my xorg.conf correctly
my ps3 firmware version is 2.01

my result is a black screen, startx doesn't launch

my dmesg:
[ 51.899217] ps3rsx: no version for "struct_module" found: kernel tainted.
[ 51.900057] ps3rsx: PS3 RSX access module, 1.0.0
[ 51.900076] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[ 51.902696] ps3rsx: 254MB of DDR video ram at 0x7001a0000000 mapped at d00008008046e000 handle 5a5a5a5b
[ 51.906030] ps3rsx: context 0x55555554 dma=4400003a1000 driver=4000001b4000 reports=480000710000 reports_size=10000
[ 51.906057] ps3rsx: ctrl=d00008009026e000 drv=d00008009026f000 reports=d00008009028f000
[ 51.906081] ps3rsx: version 2.11 RSX rev11 0MB RAM channel 1 core 500MHz mem 650MHz
[ 51.906113] ps3rsx: remapped XDR apperture at c000000000900000 size 18432kB to RSX
my Xorg.0.log
(II) LoadModule: "ps3"
(II) Loading /usr/lib/xorg/modules/drivers//ps3_drv.so
(II) Module ps3: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.3.1
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI minor version (2) is newer than the server's version (1)
(II) UnloadModule: "ps3"
(II) Unloading /usr/lib/xorg/modules/drivers//ps3_drv.so
(EE) Failed to load module "ps3" (module requirement mismatch, 0)
something seems strange when I was installing ps3rsx-1.0-2.deb

Depaquetage de ps3rsx (a partir de ps3rsx-1.0-2.deb) ...
Parametrage de ps3rsx (1.0-1) ...

i'm installing the V2 of this package and he is setting up de V1

is it normal ?

If any body have an idea

Thx in advance
Don't worry with version report (i forgot to change the revision in the changelog... will correct this asap).

I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>

Regards
debecdel
Posts: 2
Joined: Fri Dec 28, 2007 2:31 am

Post by debecdel »

Akta77 wrote:
debecdel wrote:Hello,
I' ve installed ubuntu feisty 7.04 with kernel 2.6.22-14-cell (version 47)
i downloaded ps3rsx-1.0-2.deb (revision 47)
i've configured my xorg.conf correctly
my ps3 firmware version is 2.01

my result is a black screen, startx doesn't launch

my dmesg:
[ 51.899217] ps3rsx: no version for "struct_module" found: kernel tainted.
[ 51.900057] ps3rsx: PS3 RSX access module, 1.0.0
[ 51.900076] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[ 51.902696] ps3rsx: 254MB of DDR video ram at 0x7001a0000000 mapped at d00008008046e000 handle 5a5a5a5b
[ 51.906030] ps3rsx: context 0x55555554 dma=4400003a1000 driver=4000001b4000 reports=480000710000 reports_size=10000
[ 51.906057] ps3rsx: ctrl=d00008009026e000 drv=d00008009026f000 reports=d00008009028f000
[ 51.906081] ps3rsx: version 2.11 RSX rev11 0MB RAM channel 1 core 500MHz mem 650MHz
[ 51.906113] ps3rsx: remapped XDR apperture at c000000000900000 size 18432kB to RSX
my Xorg.0.log
(II) LoadModule: "ps3"
(II) Loading /usr/lib/xorg/modules/drivers//ps3_drv.so
(II) Module ps3: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.3.1
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI minor version (2) is newer than the server's version (1)
(II) UnloadModule: "ps3"
(II) Unloading /usr/lib/xorg/modules/drivers//ps3_drv.so
(EE) Failed to load module "ps3" (module requirement mismatch, 0)
something seems strange when I was installing ps3rsx-1.0-2.deb

Depaquetage de ps3rsx (a partir de ps3rsx-1.0-2.deb) ...
Parametrage de ps3rsx (1.0-1) ...

i'm installing the V2 of this package and he is setting up de V1

is it normal ?

If any body have an idea

Thx in advance
Don't worry with version report (i forgot to change the revision in the changelog... will correct this asap).

I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>

Regards
Ok,

It works just a version problem of xserver-xorg-core (1.2.0-->1.3.0)
due to my 7.04 ubuntu version
i upgrade this package and it seems to be ok (no more error wit xorg)
how can I test that ?

Thx Akta77 for your job
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

debecdel wrote:
Akta77 wrote:
debecdel wrote:Hello,
I' ve installed ubuntu feisty 7.04 with kernel 2.6.22-14-cell (version 47)
i downloaded ps3rsx-1.0-2.deb (revision 47)
i've configured my xorg.conf correctly
my ps3 firmware version is 2.01

my result is a black screen, startx doesn't launch

my dmesg: my Xorg.0.log something seems strange when I was installing ps3rsx-1.0-2.deb

Depaquetage de ps3rsx (a partir de ps3rsx-1.0-2.deb) ...
Parametrage de ps3rsx (1.0-1) ...

i'm installing the V2 of this package and he is setting up de V1

is it normal ?

If any body have an idea

Thx in advance
Don't worry with version report (i forgot to change the revision in the changelog... will correct this asap).

I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>

Regards
Ok,

It works just a version problem of xserver-xorg-core (1.2.0-->1.3.0)
due to my 7.04 ubuntu version
i upgrade this package and it seems to be ok (no more error wit xorg)
how can I test that ?

Thx Akta77 for your job
You can test using mplayer -vo xv <avifile>

Otherwise, i use xfce with composition activated and you will notice nice effects :p

I have done "nothing but a package". The ones that have to be thanked for are Glaurung & IronPeter!!

Regards
valentijn_venus
Posts: 2
Joined: Thu Nov 29, 2007 7:07 am

Post by valentijn_venus »

Sorry, misread your post, now see the smaller then sign, which means the driver doesn't apply to firmware == 2.10
Akta77 wrote:
I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>
Hi Akta, just to confirm this package is meant for the default kernel of 7.10, and firmware 2.10 which supposedly breaks rsx access?

Will it also work on non-default kernels, as the 2.6.23-rc6 or 2.6.23-rc7?

Can you confirm your firmware to be at 2.10?

cheers, Tyn
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

valentijn_venus wrote:Sorry, misread your post, now see the smaller then sign, which means the driver doesn't apply to firmware == 2.10
Akta77 wrote:
I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>
Hi Akta, just to confirm this package is meant for the default kernel of 7.10, and firmware 2.10 which supposedly breaks rsx access?

Will it also work on non-default kernels, as the 2.6.23-rc6 or 2.6.23-rc7?

Can you confirm your firmware to be at 2.10?

cheers, Tyn
You're welcome :)
infiniterb
Posts: 3
Joined: Sat Dec 29, 2007 8:42 pm

Post by infiniterb »

How is HD Video playback with this (i.e. MKV files, WMV, etc)? How is non-HD video playback over wifi? My wifi non-HD video playback is pretty bad in totem.

Also, when I got wifi working correctly I had about 131 updates I needed to install after installing rc7. Are these updates ok (most will be, but the header/image updates are what I am concerned with). I don't want anything ripping out the rsx driver if possible.

Thanks!
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

infiniterb wrote:How is HD Video playback with this (i.e. MKV files, WMV, etc)? How is non-HD video playback over wifi? My wifi non-HD video playback is pretty bad in totem.

Also, when I got wifi working correctly I had about 131 updates I needed to install after installing rc7. Are these updates ok (most will be, but the header/image updates are what I am concerned with). I don't want anything ripping out the rsx driver if possible.

Thanks!
SD Playback is perfect with mplayer & VLC
HD 720P Playback is perfect with mplayer
HD 1080P Playback not tested yet

If you want to have a smooth playback, i recommand not using high cpu cycle / memory consumption WindowManager. Gnome & KDE are far from the best in "economy". That's why i recommand xfce or windowmaker.

Regards
infiniterb
Posts: 3
Joined: Sat Dec 29, 2007 8:42 pm

Post by infiniterb »

Great. Thanks.

How would i go about installing xfce or windowmaker? Any tutorials you can point me to?

Thanks again.

EDIT: This link helped me get xfce installed http://www.psychocats.net/ubuntu/xubuntu
therealwakka
Posts: 10
Joined: Sun Dec 16, 2007 2:21 am

Post by therealwakka »

debecdel wrote:
Akta77 wrote:
debecdel wrote:Hello,
I' ve installed ubuntu feisty 7.04 with kernel 2.6.22-14-cell (version 47)
i downloaded ps3rsx-1.0-2.deb (revision 47)
i've configured my xorg.conf correctly
my ps3 firmware version is 2.01

my result is a black screen, startx doesn't launch

my dmesg: my Xorg.0.log something seems strange when I was installing ps3rsx-1.0-2.deb

Depaquetage de ps3rsx (a partir de ps3rsx-1.0-2.deb) ...
Parametrage de ps3rsx (1.0-1) ...

i'm installing the V2 of this package and he is setting up de V1

is it normal ?

If any body have an idea

Thx in advance
Don't worry with version report (i forgot to change the revision in the changelog... will correct this asap).

I have identified the problem. A new package has been posted (rev 3).


<!>This driver is still for < 2.10 firmware <!>

Regards
Ok,

It works just a version problem of xserver-xorg-core (1.2.0-->1.3.0)
due to my 7.04 ubuntu version
i upgrade this package and it seems to be ok (no more error wit xorg)
how can I test that ?

Thx Akta77 for your job

I have the same xorg problem as above !
So i should upgrade the xserver-xorg-core
so typed "apt-get install xserver-xorg-core" but ubuntu says that i already have the newest xserver-xorg-core !!!
How i should upgrade to let the xorg start?
I have the 2.01 firmware, ubuntu and i used the ps3rsx-1.0-3-2.6.23rc7.deb for my 2.6.23rc7 kernel.
And the rsx module starts fine.
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

therealwakka wrote:
...
I have the same xorg problem as above !
So i should upgrade the xserver-xorg-core
so typed "apt-get install xserver-xorg-core" but ubuntu says that i already have the newest xserver-xorg-core !!!
How i should upgrade to let the xorg start?
I have the 2.01 firmware, ubuntu and i used the ps3rsx-1.0-3-2.6.23rc7.deb for my 2.6.23rc7 kernel.
And the rsx module starts fine.
You should do a "dist upgrade" to update your 7.04 in 7.10. It may be long but you will have an up2date system.

Regards
therealwakka
Posts: 10
Joined: Sun Dec 16, 2007 2:21 am

Post by therealwakka »

Thanks i try it
therealwakka
Posts: 10
Joined: Sun Dec 16, 2007 2:21 am

Post by therealwakka »

I worked!!
The driver was loaded successfully!!!
But when i try the spu-enchanched mplayer it is flikering and not full screen!
With vlc-player it show scanlines?
any suggestions?
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

therealwakka wrote:I worked!!
The driver was loaded successfully!!!
But when i try the spu-enchanched mplayer it is flikering and not full screen!
With vlc-player it show scanlines?
any suggestions?
Do not use the "SPU MPLAYER"!!!! It's just (for now) for those not having the xv/exa driver.

Regards
Rotzi
Posts: 3
Joined: Thu Dec 13, 2007 5:07 am

Post by Rotzi »

@ Akta77

i wanted to download your "new" package, but there is no package anymore in this server :s
Not Found

The requested URL /ps3rsx-1.0-2.deb was not found on this server.
could you fix that, please

thanx
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

Rotzi wrote:@ Akta77

i wanted to download your "new" package, but there is no package anymore in this server :s
Not Found

The requested URL /ps3rsx-1.0-2.deb was not found on this server.
could you fix that, please

thanx
Normal! It is called ps3rsx-1.0-3.deb (have your read the first post? :) ).

Regards
Nodnol212
Posts: 13
Joined: Sat Jan 05, 2008 8:29 am

Post by Nodnol212 »

what do i do to modify the xorg.conf

some clarification:

error is

could not save the file /etc/x11/xorg.conf
you do not have the premissions nessary to save this file.
please check that you typed te location correctly and try again.

tryed editing it in notepad
Rotzi
Posts: 3
Joined: Thu Dec 13, 2007 5:07 am

Post by Rotzi »

ah, yeah, my fault

i´m sorry

thanx !
leonhong
Posts: 10
Joined: Wed Jan 09, 2008 6:38 pm

Re: PS3RSX Binary driver support

Post by leonhong »

Dear Akta77:

Thanks for the great jobs!!

I have just upgraded my ps3rsx from 1.0-1 to 1.0-3 on my Gutsy, it works great!! Yet the broken lines on the menu bar persist, and these invisible lines also flicker on the Firefox menu. Is it possible to remove these annoying defects in the future? I am using a traditional Chinese font as my system default, does this make any difference?

BTW, what's the difference between 1.0-1 and 1.0-3? Sorry for all the NOOB questions, yes, I am a NOOB...

Here is my output:

root@wolfteamlxws006:/home/leon# dmesg|grep ps3rsx
[18352.656271] ps3rsx: no version for "struct_module" found: kernel tainted.
[18352.657137] ps3rsx: PS3 RSX access module, 1.0.0
[18352.657160] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[18352.659837] ps3rsx: 254MB of DDR video ram at 0x7001a0000000 mapped at d00008008046e000 handle 5a5a5a5b
[18352.663249] ps3rsx: context 0x55555554 dma=4400003a1000 driver=4000001b4000 reports=480000710000 reports_size=10000
[18352.663286] ps3rsx: ctrl=d00008009026e000 drv=d00008009026f000 reports=d00008009028f000
[18352.663312] ps3rsx: version 2.11 RSX rev12 0MB RAM channel 1 core 500MHz mem 650MHz
[18352.663363] ps3rsx: remapped XDR apperture at c000000000900000 size 18432kB to RSX
[18366.512756] ps3rsx: context 0x55555557 dma=4400003a2000 driver=4000001b8000 reports=480000720000 reports_size=10000
[18366.512793] ps3rsx: ctrl=d0000800902a0000 drv=d0000800902a1000 reports=d0000800902c1000
[18366.512815] ps3rsx: version 2.11 RSX rev12 0MB RAM channel 2 core 500MHz mem 650MHz
[18366.512858] ps3rsx: remapped XDR apperture at c000000000900000 size 18432kB to RSX

Best regards
leonhong
Posts: 10
Joined: Wed Jan 09, 2008 6:38 pm

Post by leonhong »

Dear Nodnol212:

It's a file w/o permission problem!!

you may try the following codes in a console to change the content of your xorg.conf

sudo vim /etc/X11/xorg.conf

Press "i" to insert words, then press "ESC" to return to its command mode and type ":wq" to save the file...

Best regards
Audball
Posts: 4
Joined: Mon Dec 10, 2007 7:27 am

Drivers work with 1080p and mplayer (FW 2.01 of course)

Post by Audball »

I saw someone ask if the drives worked with 1080p. I finally had a chance to try it and 1080p playback worked just fine with mplayer.
Nodnol212
Posts: 13
Joined: Sat Jan 05, 2008 8:29 am

Post by Nodnol212 »

these instructions helped me out from page 13 or so of the push thread. i figured i would relocate it here... as i had to hunt them down for a nother install of linux. (forgot the password so had to reinstall)

to use the accelerated driver, you have to change xorg.conf from:

Code: Select all


        Driver          "fbdev"

to

Code: Select all


        Driver          "ps3"

Also, adding the following section is recommended (enable Composite):

Code: Select all


        Section "Extensions"
        Option "Composite" "Enable"
        EndSection

NNTB: dont know what the following is: >.>

Finally, installing with ./configure, make, make install, will put the driver in /usr/local, so you have to create a link to it in /usr for Xorg to find it:

Code: Select all


        ln -s /usr/local/lib/xorg/modules/drivers/ps3_drv.so 
        /usr/lib/xorg/modules/drivers/ps3_drv.so

Nodnol212
Posts: 13
Joined: Sat Jan 05, 2008 8:29 am

Post by Nodnol212 »

ok i edited it with ps3rsx insted of ps3... saved it and now it dosnt boot into the gui just into the text based os...

T_T i deleted the option line after the rsx driver... thingy.

any help?
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Maybe try to type in "startx"
Post Reply