OtherOS demo 1.1 (with RSX visuals)

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

Moderators: cheriff, emoon

User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

OtherOS demo 1.1 (with RSX visuals)

Post by mc »

I made a new version of the OtherOS demo which uses the RSX for
rendering. Be prepared to be stunned by the exquisite 3D graphics
(yeah right...) :-)

Many thanks to IronPeter and Glaurung for their hard work without
which this would not have been possible.

Source and binaries

Enjoy.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

I LOVE IT!! =]]]

good work there mate

EDIT: one thing... its too quiet! how would you put sound in to that demo (not through linux)? i guess thats one thing to note.
mitran
Posts: 19
Joined: Fri Nov 30, 2007 6:03 am

Post by mitran »

thanks will test thies now :D soo cool to finaly see
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Wonderful! Thanks a lot!
Toadzter17
Posts: 5
Joined: Sun Dec 02, 2007 2:16 pm

Post by Toadzter17 »

This is the single most amazing thing that I have seen regarding the PS3 since I purchased one.
Pit0711
Posts: 54
Joined: Thu Mar 24, 2005 5:45 am
Location: Old Europe -Germany-

Post by Pit0711 »

video: http://www.youtube.com/watch?v=ZJQkXmG6UTI
sry my bad english :-)
User avatar
jum
Posts: 38
Joined: Tue Apr 06, 2004 9:31 pm
Location: Cape Town
Contact:

Works via Ubuntu kboot (PS3 FW 2.01).

Post by jum »

Awesome Marcus!

Worked from my Ubuntu kboot (PS3 FW 2.01).

Thanks for the sourcecode.

Now we have no excuse not to get started on some demos, PS3SDK, etc.

- Jum

PS: Default OS gets set to "PS3" after running the demo.
8 bits is all you'll ever need...
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

btw, would this now work on 2.1?
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

You won't find many volunteer to try that now...

Logically, answer is No. 2.10 is officially the new "plague".
Ps3Rips
Posts: 25
Joined: Wed May 02, 2007 5:06 am

Post by Ps3Rips »

Tested and black screen.
Kicking out a bad guy
Beating up a monster
Fighting against evil
I'll rescue this town
zerokill
Posts: 1
Joined: Fri Dec 21, 2007 5:46 am

Post by zerokill »

Tested but it wont work on a samsung 206BW (pc screen). It complained of an unsupported resolution.

I also tested on a PAL tv but it also gave a black screen. Is it made for NTSC?

I would like to try te change the res myself but I am not really great with linux atm. Could you maybe post on what platform you compiled this? Did you compile it under PS3 linux or did you use toolchain?

edit: Ive got 2.1 so that probably explains why it doesn't work...
tsuba
Posts: 6
Joined: Tue Sep 18, 2007 4:13 am

Post by tsuba »

i'm trying to set the video mode to 720p do i need to modify anything else then the av.c? Getting black screen. (fw:v2.01)
Ps3Rips
Posts: 25
Joined: Wed May 02, 2007 5:06 am

Post by Ps3Rips »

Zerokill its not working in 2.10, You will need 2.01 or below.

Tsuba I'm not sure why its not working for you.
I had it working a couple of weeks back on my screen which is fullhd without any changes needed. (my screen automatically chooses the best possible resolution, so if a certain res is needed I wouldn't have noticed).
Kicking out a bad guy
Beating up a monster
Fighting against evil
I'll rescue this town
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

You need to bring changes to source code for 720p and 1080i
(Of course screens that revert automatically to 480p will trick you)

What you can do is use marcus first version of other os demo (without rsx stuff). Then read the post about the other os demo 1080i patch.
I've wrote the 1080i patch myself and it works.
Others posted questions about 720p. I can't test it but I supplied replacement values.

So here is the plan :

Figure out (and post, please) a similar patch for 720p in other os demo v1.0 (no rsx).

Then the next plan :

We will have to scratch our head to create similar patches for other os demo v1.1 (rsx fun) for 720p and 1080i. It's not obvious because there are buffer sizes to change etc... May take time to do it.
Of course, only people with fw<2.10 can participate to this specific fun.
Note that my first basic attempts failed, and I lack time now to retry, but maybe later next year.

The cherry on the cake :
Find a damn way to autodetect the resolution set in PS3 firmware...
(Maybe some values left somewhere in ramin, dunno...)
crossfader_killa
Posts: 4
Joined: Mon Dec 24, 2007 11:04 pm

Post by crossfader_killa »

Hi, I tried to copy and past the following files on a SD card : root/PS3/OtherOS/README - demo.elf - otheros.bld - source.

Nothing happened on my screen and it just boot automatically Fedora...
Can someone tell me what I m doing wrong? Does it cause any boot problem if I have already a OS app' installed on my HD.

I'm a first level noob, but I thought that this information could maybe be useful for the community, in case of the SD needs first to be formated (with the PS3 so that the correct architecture is installed on the SD) or that Fedora is causing trouble for boot.
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

There are several ways to launch other os class homebrew

1) You boot PS3 in game os mode, with firmware <1.54
Some USB key is inserted with two files in /ps3/otheros
- otheros.self
- otheros.bld
You go to system settings->install other os
then system settings->default system (select other os)
then power off, power on

2) You boot PS3 in game os mode, with firmware >=1.54
Some USB key is inserted with one file in /ps3/otheros
- otheros.bld
You go to system settings->install other os
then system settings->default system (select other os)
then power off, power on

3) You keep the other os bootloader that allows linux to startup
I haven't tried it yet, but demo.elf may start from a line configured
for kboot. Personally, I will try petitboot and see if yaboot.conf
can make a line appear to start demo.elf. Dunno if it's possible but I'll try.
Useful links about petitboot (includes kboot) :
original version : http://ozlabs.org/~jk/projects/petitboot (fw<2.10)
my current version : http://david.woodhou.se/otheros.bld (fw<2.10)
another version, rumoured to be compatible with fw >=2.10 :
http://www.micromercio.com/central/micr ... _fixed.rar
Anyway it's good to know how to put back a kboot/petitboot bootloader
after running other os demo (method 1 or 2), otherwise your Linux won't boot anymore.
I have Fedora 7 installed. Petit boots reads /etc/yaboot.conf and allows to select the kernel I want. If demo.elf can appear in this menu that will be a nice way to start it at boot time.

A nice feature of petitboot is that you just press Del key to return to game os.
crossfader_killa
Posts: 4
Joined: Mon Dec 24, 2007 11:04 pm

Post by crossfader_killa »

It worked!!
It was indeed the installation that I didn't make in the beginning.
I just went to boot otherOS and I thought it would work without need to install the boot loader from Marcus.

Thanks for your help, but in ether cases it's very amazing that this apps runs so smoothly.

A huge tribute to all the people that made this possible and hope to see something else in the current days that is as relevant as this amazing thing.
tsuba
Posts: 6
Joined: Tue Sep 18, 2007 4:13 am

Post by tsuba »

I've been looking at the flow of the program. I'm thinking that we have to change the offset/allocation amount here to get it to work for higher resolutions.

Code: Select all

//#define  BB 41 
#define  BB 10  
uint32_t fp_offset = &#40; BB + 0 &#41; * 1024 * 1024;
uint32_t vb_offset = &#40; BB + 1 &#41; * 1024 * 1024;
uint32_t ib_offset = &#40; BB + 2 &#41; * 1024 * 1024;
uint32_t tx_offset = &#40; BB + 3 &#41; * 1024 * 1024;
uint32_t tx_offset2= &#40; BB + 3 &#41; * 1024 * 1024 + 256 * 1024;
uint32_t tx_offset3= &#40; BB + 3 &#41; * 1024 * 1024 + 512 * 1024;
uint32_t z_offset =  &#40; BB + 5 &#41; * 1024 * 1024;
But my MayFlash YPbPr to RGBHV VGA Box broke down. So it will take some time before i can test again. I'm thinking about buying the XCM 1080p VGA box. Anybody knows if it is any good?
In the mean time i hooked on an old tv. Really nice demo btw, looking forward in changing small things and getting a better understanding of all the code in my small vacation.
Compound
Posts: 48
Joined: Thu May 12, 2005 10:29 am

Post by Compound »

i vaguely remember reading in a thread about someone getting a 3d mesh rendered (troll or something similar ??) but when ive come to look for it again i cannot find it, does anyone have a link to this ?? thanks
rci
Posts: 4
Joined: Wed Feb 13, 2008 6:46 am

Post by rci »

I tested on PS3 60gb 2.10 and it works whit no problem.
Viper8896
Posts: 110
Joined: Thu Jan 26, 2006 6:20 pm

Post by Viper8896 »

rci wrote:I tested on PS3 60gb 2.10 and it works whit no problem.
but isnt 2.10 patched?
rci
Posts: 4
Joined: Wed Feb 13, 2008 6:46 am

Post by rci »

No.
ochnudemus
Posts: 2
Joined: Thu Jan 10, 2008 6:16 am

Post by ochnudemus »

RSX visuals still don't work ok in FW 2.1+ machines as there has not been solution for linux RSX access in FW2.1+

Perhaps one day, who knows.
rci
Posts: 4
Joined: Wed Feb 13, 2008 6:46 am

Post by rci »

I have a PS3 european ( PAL ) .
My model is: CECHC04

And it works.


The only problem i have whit othersos is, i am triyng to install yellow dog 5 and dosen't works.
I always have a red screen whit several errors.
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Ok, let's assume otheros demo 1.1 (which does 2D through RSX) works on fw 2.10. I can't verify myself, there is no way I will upgrade.

Maybe that means :

- Low level programming for 2D acceleration still works on 2.10
- Low level programming for 3D acceleration doesn't work on 2.10
- Transparent 2D acceleration doesn't work on 2.10 (Glaurung's module)

So, if difference between Glaurung's module and otheros demo 1.1 can be understood, there is, maybe, a little hope to fix module for 2.10.
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

It didn't work when I tried to run it on the PS3 at work, which is upgraded to 2.10.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
dom
Posts: 29
Joined: Tue Oct 05, 2004 7:20 pm

Post by dom »

mc wrote:It didn't work when I tried to run it on the PS3 at work, which is upgraded to 2.10.
Same thing for me with a PAL 60Go fw 2.10, blank screen (and freezes ?)
@+
dom
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Better be precise, let's use http://www.edepot.com/playstation3.html

We talk about otheros 1.1 and not otheros 1.0, of course, running under 2.10 fw.

rci : CECHC04, i.e 60Gb Pal without EE => yes?
mc: ? => no
dom: 60Gb Pal => without EE, CECHC04 => no

Better to assume rsx is dead also on otheros side on fw 2.1, for now...
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

Mine is CECHC04.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
rapso
Posts: 140
Joined: Mon Mar 28, 2005 6:35 am

Post by rapso »

hi,

i'd like to start a 2nd thread in otheros, is there some doc for the os calls or a sample how to accomplish this?

thx in advance
rapso
Post Reply