The hunt for HV's FIFO/Push buffer...

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

Post Reply
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

PS3 defconfig changes... !!!!

Code: Select all

@@ -638,7 +638,7 @@ CONFIG_FB_DEFERRED_IO=y
-CONFIG_FB_PS3_DEFAULT_SIZE_M=18
+CONFIG_FB_PS3_DEFAULT_SIZE_M=9
XDR memory used by PS3 FB's driver is reduced from 18 MB to 9 MB.

Update, the ps3rsx kernel module still works (assuming the output I am pasting here is the correct output we should be seeing):

Code: Select all

ps3rsx: PS3 RSX access module, 1.0.0
ps3rsx: reserved XDR memory is @c000000002100000, len 9437184
ps3rsx: 254MB of DDR video ram at 0x700190000000 mapped at d000080080780000 handle 5a5a5a5b
ps3rsx: context 0x55555554 dma=440000381000 driver=4000001a4000 reports=4800006d0000 reports_size=10000
ps3rsx: ctrl=d00008008010e000 drv=d0000800905c0000 reports=d0000800804e0000
ps3rsx: version 2.11 RSX rev17 0MB RAM channel 1 core 500MHz mem 650MHz
ps3rsx: remapped XDR apperture at c000000002100000 size 9216kB to RSX
Glaurung
Posts: 49
Joined: Thu Oct 11, 2007 4:54 am

Post by Glaurung »

@Panajev2001a, the kernel module output looks good. I have the same here except for the RSX revision (11), I guess my hardware is older (european 60GB version). The new ps3fb reserved size should not be an issue, I'm using 1920*1080*2 bytes for Xv at most and the rest for upload/download to/from screen, so 9MB should still be enough. Let us know if you can confirm this. I don't know if the 3D demos use the XDR extensively.

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
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 
@mickfromperth, I glad to hear the new kernel module fixed your display issue. Concerning xine, I've tested it here and it seems it won't use xv because the driver (and RSX hardware) does not support YV12 (only YUYV). Conversion between those two formats is relatively straightforward so adding support for YV12 should not be a problem. However, it should be the application responsibility to do it, not the driver.. Anyway, I'll have a look at it eventually. Video data is copied to ioif region anyway, so converting to YV12 on-the-fly should not impact performance much. X11 (Shm) video output will not be accelerated compared to fbdev, since the conversion from YUV to RGB and the scaling is done by the application (xine here).

Compiz will not work. It needs Composite, but it also needs GLX, which we don't have yet (and will require huge amount of work to get). Compiz is one composite manager, but there are others. In particular there is xcompmgr which provides translucency (using the transset application) and can add fade in/out effect and drop shadow effect to the windows. Composite is about alpha blending, not 3D.

Thanks for your feedback, it is useful indeed.

If there are people using stock distribution kernels and have packaging skills, a nice contribution would be a .rpm or .deb of the kernel module for all other users of the same distribution out there.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

Thanks for your reply Glaurung, strangely enough I own a launch PAL PS3 (60 GB model) too... strange hat we have so different RSX revision but plausible :).

I am glad the new reserved size is not an issue for RSX usage: so that everyone can enjoy it (people who want to use RSX and people who do not: they all enjoy 9 MB of more RAM available for Linux :)).

I'll be using your kernel module and Xorg drivers from now on so if something pops up on my end I'll report it asap.

Update: I did not use the symbolic link method, instead I re-run ./configure --prefix=/usr and then make clean; make; make install :).
Glaurung wrote:@Panajev2001a, the kernel module output looks good. I have the same here except for the RSX revision (11), I guess my hardware is older (european 60GB version). The new ps3fb reserved size should not be an issue, I'm using 1920*1080*2 bytes for Xv at most and the rest for upload/download to/from screen, so 9MB should still be enough. Let us know if you can confirm this. I don't know if the 3D demos use the XDR extensively.

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
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 
@mickfromperth, I glad to hear the new kernel module fixed your display issue. Concerning xine, I've tested it here and it seems it won't use xv because the driver (and RSX hardware) does not support YV12 (only YUYV). Conversion between those two formats is relatively straightforward so adding support for YV12 should not be a problem. However, it should be the application responsibility to do it, not the driver.. Anyway, I'll have a look at it eventually. Video data is copied to ioif region anyway, so converting to YV12 on-the-fly should not impact performance much. X11 (Shm) video output will not be accelerated compared to fbdev, since the conversion from YUV to RGB and the scaling is done by the application (xine here).

Compiz will not work. It needs Composite, but it also needs GLX, which we don't have yet (and will require huge amount of work to get). Compiz is one composite manager, but there are others. In particular there is xcompmgr which provides translucency (using the transset application) and can add fade in/out effect and drop shadow effect to the windows. Composite is about alpha blending, not 3D.

Thanks for your feedback, it is useful indeed.

If there are people using stock distribution kernels and have packaging skills, a nice contribution would be a .rpm or .deb of the kernel module for all other users of the same distribution out there.
Last edited by Panajev2001a on Thu Dec 06, 2007 5:13 pm, edited 1 time in total.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

Glaurung,

Ok the module loads, GNOME and Xorg started using the ps3 driver in xorg.conf and the ps3gpu application works although I see a kind of set of white lines on the top-right of the screen... I guess I'll have to take a picture of it or someone can show me the "proper" output :).

What changed with your kernel module (have you been using the very latest ps3fb.c code to build it ?) is that it kinda plays around with the placement of the screen and/or the black borders around the picture... I guess I have to change the values of fbset accordingly before the kernel module is loaded to get a properly centered picture on my tv.
mickfromperth
Posts: 12
Joined: Thu Nov 22, 2007 12:37 am

Post by mickfromperth »

Hi Glaurung. I've raised the YV12 issue with xine-devel. I'll let you know how that pans out.

Either way, would spu-media-lib be a better place for this type of activity (using the spu's instead of CPU?)?

Mick
Frek
Posts: 18
Joined: Thu Dec 06, 2007 3:13 pm

Post by Frek »

Kernel module and Xorg module builds and runs without any issue, awesome work guys.
Ubuntu 7.10 Gutsy Gibbon (VESA mode 11)
d-range
Posts: 60
Joined: Fri Oct 26, 2007 8:22 pm

Post by d-range »

Glaurung wrote:If there are people using stock distribution kernels and have packaging skills, a nice contribution would be a .rpm or .deb of the kernel module for all other users of the same distribution out there.
I might be able to write a gentoo ebuild this weekend if anyone is interested in that. I want to check out the module anyway, and since my gentoo installation is completely clean atm writing an ebuild should be a piece of cake if I just document every single step I have to take manually to install the module.

I'm not sure how easy it would be to get it accepted into portage, but my guess is that getting it added as a masked ebuild should be no problem
mickfromperth
Posts: 12
Joined: Thu Nov 22, 2007 12:37 am

Post by mickfromperth »

OK. I've done some basic research. Xine "calls" it's YUYV YUY2. But they are one in the same. This I take from the following url:

---
http://www.fourcc.org/yuv.php
---

Xinelib has a "xine-utils" package which includes a file called color.c. Inside color.c are the following conversions:

---
void (*yuv444_to_yuy2)

void (*yuv9_to_yv12)

void (*yuv411_to_yv12)

void (*yv12_to_yuy2)

void (*yuy2_to_yv12)
---

So it *should* not be having any issues converting to required format.. Any advice on what further tests I can run?

Mick
warrennn
Posts: 12
Joined: Wed Oct 24, 2007 1:20 pm
Location: Seattle

Post by warrennn »

Hello,

I am very much of a novice about kernel building and the various graphics-related topics here but have been very intrigued by the possibility of an accelerated Xorg, which would make a nearly unusable system at least tolerable. I originally was using YDL (hopeless for these cutting edge hacks) and recently installed Fedora 7. I have two questions - any help is much appreciated:

I installed Glaurung's two git repositories and was able to get the Xorg driver to build. I added a modified xorg.conf.ps3 according to his directions and when I run the ps3X script it crashes at a point where ps3_gpu is trying to read /dev/fb1. I discovered that I don't have a /dev/fb1 and tried to install one using mknod /dev/fb1 c 29 32. I still got the same error.

On the ps3rsx front, I tried the build script and it failed with:

/lib/modules/2.6.21-1.3194.fc7/build: No such file or directory.

I found there is a broken link to this build script, probably due to not having the kernel headers installed. I installed the headers and still can't find the build script.

Sorry for the length of this request, but I feel that I am close to having it work and would be very thankful for any help.

Warren Nagourney
oguzolcar
Posts: 1
Joined: Fri Dec 07, 2007 4:49 pm

Binary for Ubuntu

Post by oguzolcar »

Frek wrote:Kernel module and Xorg module builds and runs without any issue, awesome work guys.
Ubuntu 7.10 Gutsy Gibbon (VESA mode 11)
Could you possibly post instructions how to install rsx to ubuntu 7.10 (Maybe with some binary files attachments to speed up installation)

Thnx
Frek
Posts: 18
Joined: Thu Dec 06, 2007 3:13 pm

Re: Binary for Ubuntu

Post by Frek »

oguzolcar wrote:
Frek wrote:Kernel module and Xorg module builds and runs without any issue, awesome work guys.
Ubuntu 7.10 Gutsy Gibbon (VESA mode 11)
Could you possibly post instructions how to install rsx to ubuntu 7.10 (Maybe with some binary files attachments to speed up installation)

Thnx
It's very straight forward, Just install the kernel sources (sudo apt-get install linux-kernel-devel)
and the xorg sources,
You also need the xorg driver development pack - (sudo apt-get install xserver-xorg-dev)

after you install both of these, it should be a matter of just entering the ps3rsx library, run make or ./load.sh
And then enter the xorg ps3 driver library, write ./configure then make ; make install.
finally you create a symbolic link to the driver described by glarung in an earlier post, rest of the info can be found in this thread.

good luck.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

Kernel (latest, released today): 2.6.24-rc4-g3be440af

The ps3rsx kernel module works with the latest kernel (after being re-compiled of course :)).

Code: Select all

[root@IGGS-PS3 Panajev]# dmesg | grep ps3rsx
ps3rsx: PS3 RSX access module, 1.0.0
ps3rsx: reserved XDR memory is @c000000000d00000, len 9437184
ps3rsx: 254MB of DDR video ram at 0x700190000000 mapped at d000080080780000 handle 5a5a5a5b
ps3rsx: context 0x55555554 dma=440000381000 driver=4000001a4000 reports=4800006d0000 reports_size=10000
ps3rsx: ctrl=d00008008010e000 drv=d0000800905c0000 reports=d0000800804e0000
ps3rsx: version 2.11 RSX rev17 0MB RAM channel 1 core 500MHz mem 650MHz
ps3rsx: remapped XDR apperture at c000000000d00000 size 9216kB to RSX
ps3rsx: context 0x55555557 dma=440000382000 driver=4000001a8000 reports=4800006e0000 reports_size=10000
ps3rsx: ctrl=d00008008011c000 drv=d000080090600000 reports=d0000800805e0000
ps3rsx: version 2.11 RSX rev17 0MB RAM channel 2 core 500MHz mem 650MHz
ps3rsx: remapped XDR apperture at c000000000d00000 size 9216kB to RSX



Xorg's log:

Code: Select all

[...]

(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
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.1.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.1.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.6
(II) PS3: driver for framebuffer: ps3
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 0.0.2
        ABI class: X.Org Video Driver, version 1.2
(II) PS3(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) PS3(0): Depth 24, (--) framebuffer bpp 32
(==) PS3(0): RGB weight 888
(==) PS3(0): Default visual is TrueColor
(==) PS3(0): Using gamma correction (1.0, 1.0, 1.0)
(II) PS3(0): hardware: ps3fb (video memory: 9152kB)
(II) PS3(0): checking modes against framebuffer device...
(EE) PS3(0): FBIOPUT_VSCREENINFO: Invalid argument
(II) PS3(0):    mode "640x480" test failed
(II) PS3(0): checking modes against monitor...
(II) PS3(0): use current mode
(--) PS3(0): Virtual size is 1208x684 (pitch 1208)
(**) PS3(0):  Built-in mode "current": 74.2 MHz, 45.0 kHz, 59.9 Hz
ast -hsync -vsync -csync
(==) PS3(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 2.1.0
        ABI class: X.Org Video Driver, version 1.2
(--) Depth 24 pixmap format is 32 bpp
(II) PS3(0):   Control registers : 0xe7068000
(II) PS3(0):   DMA command buffer: 0xe7069000
(II) PS3(0):   DMA cmdbuf length : 63 KiB
(II) PS3(0):   DMA base PUT      : 0x0d8d0000
(II) EXA(0): Offscreen pixmap area of 262643328 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(II)         UploadToScreen
(II)         DownloadFromScreen
(==) PS3(0): Backing store disabled
(==) RandR enabled

[...]

(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0

[...]




The ps3gpu demo compiles and runs:

Code: Select all

[root@IGGS-PS3 ps3rsx_gpu_demo]# make clean
rm -rf *.o ps3gpu
[root@IGGS-PS3 ps3rsx_gpu_demo]# make all
make ps3gpu
make[1]: Entering directory `/usr/src/ps3rsx_gpu_demo'
cc -W -Wall -lm  -I/lib/modules/`uname -r`/build/include -o ps3gpu ps3gpu.c
make[1]: Leaving directory `/usr/src/ps3rsx_gpu_demo'
[root@IGGS-PS3 ps3rsx_gpu_demo]# ./ps3gpu
vram 264241152 fifo 65536 ctrl 4096
open: No such file or directory
failed to map vram
Failed to map gpu card
[root@IGGS-PS3 ps3rsx_gpu_demo]# sh mknods.sh
[root@IGGS-PS3 ps3rsx_gpu_demo]# ./ps3gpu
vram 264241152 fifo 65536 ctrl 4096
mmap: /dev/ps3gpu_vram len 264241152
mmap: /dev/ps3gpu_fifo len 65536
mmap: /dev/ps3gpu_ctrl len 4096
frag prog 0x2800000
Ocelot
Posts: 11
Joined: Sat Dec 08, 2007 9:58 pm

Re: Binary for Ubuntu

Post by Ocelot »

Frek wrote:
oguzolcar wrote:
Frek wrote:Kernel module and Xorg module builds and runs without any issue, awesome work guys.
Ubuntu 7.10 Gutsy Gibbon (VESA mode 11)
Could you possibly post instructions how to install rsx to ubuntu 7.10 (Maybe with some binary files attachments to speed up installation)

Thnx
It's very straight forward, Just install the kernel sources (sudo apt-get install linux-kernel-devel)
and the xorg sources,
You also need the xorg driver development pack - (sudo apt-get install xserver-xorg-dev)

after you install both of these, it should be a matter of just entering the ps3rsx library, run make or ./load.sh
And then enter the xorg ps3 driver library, write ./configure then make ; make install.
finally you create a symbolic link to the driver described by glarung in an earlier post, rest of the info can be found in this thread.

good luck.
hey i have installed the packages xserver-xorg-dev and linux-kernel-devel.then i typed in terminal:
git clone http://mandos.homelinux.org/~glaurung/git/ps3rsx.git
git clone http://mandos.homelinux.org/~glaurung/g ... eo-ps3.git
but after that i don´t know what to do.at first a typed as you above-mentioned make or ./load.sh but it only says that the file is not found.i don´t know how to compile a linux kernel so could you or anybody else post a tutorial on how to compile a custom kernel with ps3rsx or post a deb file for ubuntu 7.10?
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

Custom kernel installation guide:

http://www.renderstate.de/?p=9

(for some Fedora related tips and tricks for those people who are using Fedora:

http://forum.beyond3d.com/showpost.php? ... stcount=15
http://forum.beyond3d.com/showthread.php?t=43859

)

Before following that guide, make sure that you have the latest kboot.bld/otheros.bld installed because the latest kernel from Geoff's tree will not boot on it:

http://forum.beyond3d.com/showpost.p...42&postcount=1
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Re: Binary for Ubuntu

Post by Akta77 »

Frek wrote:
oguzolcar wrote:
Frek wrote:Kernel module and Xorg module builds and runs without any issue, awesome work guys.
Ubuntu 7.10 Gutsy Gibbon (VESA mode 11)
Could you possibly post instructions how to install rsx to ubuntu 7.10 (Maybe with some binary files attachments to speed up installation)

Thnx
It's very straight forward, Just install the kernel sources (sudo apt-get install linux-kernel-devel)
and the xorg sources,
You also need the xorg driver development pack - (sudo apt-get install xserver-xorg-dev)

after you install both of these, it should be a matter of just entering the ps3rsx library, run make or ./load.sh
And then enter the xorg ps3 driver library, write ./configure then make ; make install.
finally you create a symbolic link to the driver described by glarung in an earlier post, rest of the info can be found in this thread.

good luck.
In order to build the kernel module on Ubuntu :

You have to unpack the kernel sources in /usr/src/
Then, you have to copy the kernel config from /boot in the untared sources and start a make.
Then you can build the kernel module and follow the guide mentioned in this thread.

For the xorg part, you also need to install x11-proto (video, fonts, etc...) devel stuff otherwise it won't build.

I'll try to build a debian package for the kernel module and another one for the X11 driver.

It works really great for me. And if you like eye candy stuff but low memory consumption, you should use Xfce4 :)

Regards
venezia
Posts: 1
Joined: Wed Oct 31, 2007 5:36 am

Post by venezia »

Hi guys,

I've been following the RSX module development but as I don't own a PS3 I can't test it. So, I'm sorry if I interrupt you but I'd like to know what is now possible to do under linux that couldn't be done without this module.
One question: do we still need the mplayer VO to play HD video under linux or does the RSX module handle it?
Excuse me for my quite bad english but i'm not english nor american ;)

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

Re: Binary for Ubuntu

Post by Akta77 »

My first ubuntu package is available here :

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

This will install the kernel module for 2.6.22-14-cell & the Xorg 7.2 driver.

You still have to modify your xorg.conf.

The package adds a line to /etc/modules

Regards

PS: Glaurung & IronPeter, great job!
Audball
Posts: 4
Joined: Mon Dec 10, 2007 7:27 am

Gentoo ebuild wanted

Post by Audball »

d-range.
A gentoo ebuild would be GREAT! even if it's not accepted into portage.
d-range
Posts: 60
Joined: Fri Oct 26, 2007 8:22 pm

Re: Gentoo ebuild wanted

Post by d-range »

Audball wrote:d-range.
A gentoo ebuild would be GREAT! even if it's not accepted into portage.
Ok, there's at least 1 person interested so I'll have a go at it tomorrow, should be a piece of cake, though I know absolutely nothing about Python ;)
ranperij
Posts: 1
Joined: Fri Oct 12, 2007 10:15 am

Re: Gentoo ebuild wanted

Post by ranperij »

d-range wrote:
Audball wrote:d-range.
A gentoo ebuild would be GREAT! even if it's not accepted into portage.
Ok, there's at least 1 person interested so I'll have a go at it tomorrow, should be a piece of cake, though I know absolutely nothing about Python ;)
Make that 2, just finished installing Gentoo onto my PS3.
mickfromperth
Posts: 12
Joined: Thu Nov 22, 2007 12:37 am

Post by mickfromperth »

mickfromperth wrote:OK. I've done some basic research. Xine "calls" it's YUYV YUY2. But they are one in the same. This I take from the following url:

---
http://www.fourcc.org/yuv.php
---

Xinelib has a "xine-utils" package which includes a file called color.c. Inside color.c are the following conversions:

---
void (*yuv444_to_yuy2)

void (*yuv9_to_yv12)

void (*yuv411_to_yv12)

void (*yv12_to_yuy2)

void (*yuy2_to_yv12)
---

So it *should* not be having any issues converting to required format.. Any advice on what further tests I can run?

Mick
I've did some hacking in xine last night. What I did was hack out the xv capabilities check. Hopeing that the module already had the inteligants to do color conversion. End Result: xine's xv driver doesn't currently have the capability to do color conversion although xine has the tools ready to use.

I'm afraid i've hit the limit of my development skills ;-). Anyone who can code and is willing to patch xine I'd be more than willing to help test the code ;-).
Silniczek
Posts: 5
Joined: Mon Dec 10, 2007 9:36 pm

YDL binary

Post by Silniczek »

Could anyone create package for Yellow Dog Linux? Cheers
IrquiM
Posts: 4
Joined: Mon Nov 05, 2007 4:30 am
Location: Norway

Re: Gentoo ebuild wanted

Post by IrquiM »

d-range wrote:Ok, there's at least 1 person interested so I'll have a go at it tomorrow, should be a piece of cake, though I know absolutely nothing about Python ;)
Two! ;)

If you need help - let me know - I need to learn something new
tab
Posts: 2
Joined: Tue Dec 11, 2007 12:48 pm

Re: Binary for Ubuntu

Post by tab »

Akta77 wrote:My first ubuntu package is available here :

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

This will install the kernel module for 2.6.22-14-cell & the Xorg 7.2 driver.

You still have to modify your xorg.conf.

The package adds a line to /etc/modules

Regards

PS: Glaurung & IronPeter, great job!
A couple questions with this package. So basically all you have to do is install this package on psubuntu's Gusty Gibbon and modify xorg.conf and it will work without having to compile a different kernel or anything?

Also are the changes to xorg.conf as follows:

Code: Select all

Driver          "fbdev"
to

Code: Select all

Driver          "ps3"
And add

Code: Select all

Section "Extensions"
      Option "Composite" "Enable"
EndSection 
Thanks.
burgerleg
Posts: 1
Joined: Tue Dec 11, 2007 3:24 pm
Location: Utah, USA

Post by burgerleg »

mickfromperth wrote: I'm a xine user. I'm stuck with xine because it does two things I need: a head end to vdr; and a head end to dvbstreamer.

When I run xine with vo driver of Xv, it crashes X.
When I run xine with a vo driver of X11 it works. But.. it "feels" like performance is not *that* much better than the fb driver..
I don't own a PS3, but I've been very interested in this thread for the last few weeks.. especially now that xine was mentioned. I also use xine, but more often I use mythtv (because my wife doesn't know how to use a command line). My primary interest is in using a PS3 as a replacement for my current mythtv frontend, and as I understand it, if this hack can give enough advantage over framebuffer-only, it *might* mean enough speed to run 25fps+ playback of 1080p video.

Can anyone confirm whether this new hack allows at least 25fps video playback at 1080p resolution (particularly if using mythtv frontend connected via network to mythtv backend w/ATSC[high-def] tuner cards)?

-Burgerleg
P.S. Great work!! This is incredibly cool!
naivri
Posts: 6
Joined: Tue Dec 11, 2007 4:02 pm

Post by naivri »

installed the deb and edited the xorg.conf as instructed on ubuntu 7.10

succeeded in getting a black screen on boot

oh well, needed an excuse to reformat anyway. Think i'll wait for a step by step install guide before trying again
Xagire
Posts: 2
Joined: Tue Dec 11, 2007 5:46 pm

Re: Binary for Ubuntu

Post by Xagire »

Akta77 wrote:My first ubuntu package is available here :

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

This will install the kernel module for 2.6.22-14-cell & the Xorg 7.2 driver.

You still have to modify your xorg.conf.

The package adds a line to /etc/modules

Regards

PS: Glaurung & IronPeter, great job!
It's working for me with a clean 7.10.
Perhaps, it would be better to open a new post for binary release issues and keep this one for devs.

Thank you for your work Glaurung & IronPeter!
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

naivri wrote:installed the deb and edited the xorg.conf as instructed on ubuntu 7.10

succeeded in getting a black screen on boot

oh well, needed an excuse to reformat anyway. Think i'll wait for a step by step install guide before trying again
Can you boot in single user and try to load the kernel module?

Have you looked at your xorg logs? Do you have any errors?

Normally, the installer verifies your kernel version and xorg version...

Regards
Brandon
Posts: 17
Joined: Tue Dec 11, 2007 8:34 pm

Post by Brandon »

naivri wrote:installed the deb and edited the xorg.conf as instructed on ubuntu 7.10

succeeded in getting a black screen on boot

oh well, needed an excuse to reformat anyway. Think i'll wait for a step by step install guide before trying again
i had the same problem the other day, i've compiled the module and it worked fine next i moved my ps3 on an hd tv and it didn't work anymore, after many reboot i've found that i was using the ps3rsx module installed with the kernel, so you have to be sure to run the right kernel for this module or compile it yourself, the module seems to be for 2.6.22-14-cell, to find out what kernel are you using type uname -r
tab
Posts: 2
Joined: Tue Dec 11, 2007 12:48 pm

Post by tab »

How should you edit your xorg.conf with the .deb?
Post Reply