View previous topic :: View next topic |
Author |
Message |
mc
Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Fri Nov 30, 2007 9:25 pm Post subject: OtherOS demo 1.1 (with RSX visuals) |
|
|
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 |
|
Back to top |
|
|
2.6,CRACKED!
Joined: 26 Jul 2007 Posts: 18
|
Posted: Fri Nov 30, 2007 9:34 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
mitran
Joined: 30 Nov 2007 Posts: 19
|
Posted: Fri Nov 30, 2007 10:52 pm Post subject: |
|
|
thanks will test thies now :D soo cool to finaly see |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Sat Dec 01, 2007 5:12 am Post subject: |
|
|
Wonderful! Thanks a lot! |
|
Back to top |
|
|
Toadzter17
Joined: 02 Dec 2007 Posts: 5
|
Posted: Sun Dec 02, 2007 2:18 pm Post subject: |
|
|
This is the single most amazing thing that I have seen regarding the PS3 since I purchased one. |
|
Back to top |
|
|
Pit0711
Joined: 24 Mar 2005 Posts: 54 Location: Old Europe -Germany-
|
|
Back to top |
|
|
jum
Joined: 06 Apr 2004 Posts: 38 Location: Cape Town
|
Posted: Wed Dec 05, 2007 6:04 pm Post subject: Works via Ubuntu kboot (PS3 FW 2.01). |
|
|
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... |
|
Back to top |
|
|
2.6,CRACKED!
Joined: 26 Jul 2007 Posts: 18
|
Posted: Thu Dec 20, 2007 8:10 pm Post subject: |
|
|
btw, would this now work on 2.1? |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Thu Dec 20, 2007 8:44 pm Post subject: |
|
|
You won't find many volunteer to try that now...
Logically, answer is No. 2.10 is officially the new "plague". |
|
Back to top |
|
|
Ps3Rips
Joined: 02 May 2007 Posts: 30
|
Posted: Fri Dec 21, 2007 3:14 am Post subject: |
|
|
Tested and black screen. _________________ Kicking out a bad guy
Beating up a monster
Fighting against evil
I'll rescue this town |
|
Back to top |
|
|
zerokill
Joined: 21 Dec 2007 Posts: 1
|
Posted: Fri Dec 21, 2007 5:51 am Post subject: |
|
|
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... |
|
Back to top |
|
|
tsuba
Joined: 18 Sep 2007 Posts: 6
|
Posted: Sat Dec 22, 2007 9:55 am Post subject: |
|
|
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) |
|
Back to top |
|
|
Ps3Rips
Joined: 02 May 2007 Posts: 30
|
Posted: Sat Dec 22, 2007 2:41 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Sat Dec 22, 2007 7:34 pm Post subject: |
|
|
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...) |
|
Back to top |
|
|
crossfader_killa
Joined: 24 Dec 2007 Posts: 4
|
Posted: Mon Dec 24, 2007 11:14 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Tue Dec 25, 2007 7:23 pm Post subject: |
|
|
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/micro/downloads/otheros_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. |
|
Back to top |
|
|
crossfader_killa
Joined: 24 Dec 2007 Posts: 4
|
Posted: Tue Dec 25, 2007 9:48 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
tsuba
Joined: 18 Sep 2007 Posts: 6
|
Posted: Thu Dec 27, 2007 8:30 am Post subject: |
|
|
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: |
//#define BB 41
#define BB 10
uint32_t fp_offset = ( BB + 0 ) * 1024 * 1024;
uint32_t vb_offset = ( BB + 1 ) * 1024 * 1024;
uint32_t ib_offset = ( BB + 2 ) * 1024 * 1024;
uint32_t tx_offset = ( BB + 3 ) * 1024 * 1024;
uint32_t tx_offset2= ( BB + 3 ) * 1024 * 1024 + 256 * 1024;
uint32_t tx_offset3= ( BB + 3 ) * 1024 * 1024 + 512 * 1024;
uint32_t z_offset = ( BB + 5 ) * 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. |
|
Back to top |
|
|
Compound
Joined: 12 May 2005 Posts: 48
|
Posted: Wed Jan 09, 2008 1:37 am Post subject: |
|
|
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 |
|
Back to top |
|
|
rci
Joined: 13 Feb 2008 Posts: 4
|
Posted: Wed Feb 13, 2008 6:48 am Post subject: |
|
|
I tested on PS3 60gb 2.10 and it works whit no problem. |
|
Back to top |
|
|
Viper8896
Joined: 26 Jan 2006 Posts: 110
|
Posted: Wed Feb 13, 2008 7:23 pm Post subject: |
|
|
rci wrote: | I tested on PS3 60gb 2.10 and it works whit no problem. | but isnt 2.10 patched? |
|
Back to top |
|
|
rci
Joined: 13 Feb 2008 Posts: 4
|
Posted: Wed Feb 13, 2008 11:22 pm Post subject: |
|
|
No. |
|
Back to top |
|
|
ochnudemus
Joined: 10 Jan 2008 Posts: 2
|
Posted: Thu Feb 14, 2008 7:26 am Post subject: |
|
|
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. |
|
Back to top |
|
|
rci
Joined: 13 Feb 2008 Posts: 4
|
Posted: Thu Feb 14, 2008 6:52 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Thu Feb 14, 2008 6:56 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
mc
Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Thu Feb 14, 2008 11:11 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
dom
Joined: 05 Oct 2004 Posts: 29
|
Posted: Thu Feb 21, 2008 2:17 am Post subject: |
|
|
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 |
|
Back to top |
|
|
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Thu Feb 21, 2008 3:46 am Post subject: |
|
|
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... |
|
Back to top |
|
|
mc
Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Sun Feb 24, 2008 1:47 am Post subject: |
|
|
Mine is CECHC04. _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
Back to top |
|
|
rapso
Joined: 28 Mar 2005 Posts: 147
|
Posted: Wed May 14, 2008 6:06 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|