Search found 26 matches

by Glas
Fri May 23, 2008 6:16 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi all and thanks again. rapso: Here is the sdl input code. Its quite simple and short. ///////////////////////////////////////////// // Handle input while( SDL_PollEvent( &event ) ) { switch( event.type ) { case SDL_KEYDOWN&#...
by Glas
Wed May 21, 2008 4:51 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi and thanks for your replies. Sorry that my answer has taken so long. @rapso: You were right! Now I cut everything out, even the display flip and got a fps count of ~100k - ~120k fps. But when I cut out the input handling, I get ~600k - ~700k fps This is all sdl code! I have never thought that thi...
by Glas
Mon May 19, 2008 1:06 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi. Thanks. Ok. I dont mind the original problem for now. I use what I get and porting everything to the spus soon. Btw, I tried a simple console app on windows on my athlonX2 2.4 Ghz by testing a while loop. Its the same construct like that on the ppu. Here I get ~600k fps. On the ppu, ~50k fps. Th...
by Glas
Mon May 19, 2008 7:22 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi ldesnogu.

http://spec.it.miami.edu/cgi-bin/osgresults
I found results here, but none for cbea.
by Glas
Mon May 19, 2008 2:42 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hello ldesnogu. I compile it with -O3. -O2 I havent tried jet. Though, for debugging I use no optimization of course. And again: the Cell PPU is a very poor processor, using it alone will only be giving you very deceiving results. But why? What makes it so poor compared to an ordinary intel like cpu...
by Glas
Sat May 17, 2008 11:30 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi ldesnogu. Ah, you are talking about the spus, but unfortunately, currently Im not considering using the spus. I first want to test trees and algorithms on the ppu. Im just wondering why these for loops are so slow! But tanks for the link. I will consider it when it time for spu programming and dm...
by Glas
Fri May 16, 2008 12:06 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi all and thanks again. First of all, rapso: I cut the for loops out of the code and got a frame rate of ~50000 fps. For a 3.2 Ghz Cell, utilizing the ppu only, I consider this also as a bit too slow. Putting the for loops in, shrinking the fps count 10000 time down?! Jim: Of course you are right. ...
by Glas
Thu May 15, 2008 12:57 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Thanks for replying. Ok, I changed it. But the frame rate is still 50fps. The for loops looks like this now. (some code here)... /////////////////////////////// // start timing runtime = clock() ; // lets do something SDL_LockSurface( screen ) ; unsign...
by Glas
Wed May 14, 2008 8:38 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

Hi Mihawk.

The loop is empty because i was wondering why it so slow.
And its still too slow for just two for loops. I have no idea whats going on!

The -O3 flag is set.

Thanks
by Glas
Mon May 12, 2008 9:57 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

New results: Now Im at 50fps. I changed the following term in the inner loop: vector float color = _load_vec_float4(1.0f,1.0f,1.0f,0.0f) ; to vector float color = (vector float){1.0f,1.0f,1.0f,1.0f} ;//_load_vec_float4(1.0f,1.0f,1.0f,0.0f&...
by Glas
Mon May 12, 2008 9:46 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

In the gmath lib of ibm, there is function called: unsigned int _pack_color8( vecotr float rgba ) With which I have nearly 20fps. But its still very slow, or not? Is 20fps slow for two for loops with 660000 cycles? Ok, if I calculate the max loop count, this will result in: 20 * 6600...
by Glas
Mon May 12, 2008 9:24 pm
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

I found something out. The function VEC_TO_A8R8G8B8(vector float &) costs about 20fps. This function is called in the inner for loop, which is 660000 times. This function is defined as follows: unsigned int VEC_TO_A8R8G8B8( vector float &x ) { return ...
by Glas
Mon May 12, 2008 8:27 am
Forum: PS3 Linux Development
Topic: two for loops very low frame rate
Replies: 27
Views: 18268

two for loops very low frame rate

Hi. The next code segment, which is the whole main loop is very slow. It has just 2 for loops, which may has the main time consumption. Please have a quick look at the code. ... while( !bDone ) { ///////////////////////////////////////////// // Handle input while( SD...
by Glas
Mon Apr 07, 2008 3:12 pm
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

jep. Compound, your right. I forgot it to write it. Originally I wrote yum install SDL SDL-devel ofcourse. Sorry for that. But anyway. Thanks for your help. I just fixed it. I really was just before giving everything up!!! Almost. EDIT: Ofcourse I have to say what went wrong. As I said, I installed ...
by Glas
Mon Apr 07, 2008 7:45 am
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

this just starts to get on nerves.
Nothing goes right.

I just got error messages, no matter what I do. And the error messages differ from each other.

So. Can anybody tell me please how he/she did sdl or directfb on the ps3?
Or if you can cross-compile, please tell me how you do it!?

really thanks
by Glas
Mon Apr 07, 2008 6:04 am
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

Hi, this is from eclipse. This error messages occur, when I install SDL and SDL-devel with yum. If I compile SDL myself, than I cant even include the static lib. It just says: Severity and Description Path Resource Location Creation Time Id ld: cannot find -lSDL SimpleKeyboard line 0 1207507214117 2...
by Glas
Sun Apr 06, 2008 2:32 pm
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

Hi. Now I installed SDL with yum SDL SDL-devel on my PC and on the ps3. Is it as easy as that? NO. Than I just included the SDL.h file in my cpp file and now I get over 200 errors. Severity and Description Path Resource Location Creation Time Id /usr/include/SDL/SDL_active.h error: 'Uint8' does not ...
by Glas
Sat Apr 05, 2008 6:54 am
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

Hi and thanks for replying. I think the problem is much bigger. The point is, I have so little experiance with linux, ... this is frustrating. Actually, I need to access the keyboard( async ) , the controller, the mouse and lastly, I also need access to the fb. Fortunately Im able to compile the fbu...
by Glas
Thu Apr 03, 2008 7:35 am
Forum: PS3 Linux Development
Topic: Programming PS3 Controller "Sixaxis" on the ps3 us
Replies: 9
Views: 7022

Programming PS3 Controller "Sixaxis" on the ps3 us

Hi. For a while now, Im looking for a tutorial or something similar to master the ps3 controller on the ps3. I think I havent got right knowlege of linux or whatever to find the right keywords. Has anybody any information about how to programm the sixaxis controller on the ps3 or even how to install...
by Glas
Fri Jan 11, 2008 2:40 am
Forum: PS3 Linux Development
Topic: After update, dvd rom drive gone.[F7, PS3]
Replies: 4
Views: 4469

Hi d-range.

Ok, I found a /dev/scd0.

Does this mean, the dvd drive is there?! But how can I activate it?
And furthermore, how can I activate it within the gui?

Thanks
Alex
by Glas
Fri Jan 11, 2008 2:22 am
Forum: PS3 Linux Development
Topic: After update, dvd rom drive gone.[F7, PS3]
Replies: 4
Views: 4469

Hi and thanks for your response. Unfortunately, I dont know what exactly you mean by "dmesg output"... And the other thing is, I installed Fedora 7 via dvd. And the update cd was also a cd. I accessed it in the console via /media/SONY.... But after updating via yum, it disapeared. Thanks A...
by Glas
Fri Jan 11, 2008 1:06 am
Forum: PS3 Linux Development
Topic: After update, dvd rom drive gone.[F7, PS3]
Replies: 4
Views: 4469

After update, dvd rom drive gone.[F7, PS3]

Hi to all. I know, this is not the right forum, but maybe someone can help me, because I slowly lose my hope. The problem is the following: Fortunately, the linux installation on my ps3 went well now, but the dvd rom drive disapeared. I installed Fedora 7 and updated the kernel with the Add-On CD fo...
by Glas
Tue Jan 08, 2008 12:06 am
Forum: PS3 Linux Development
Topic: RSX or not RSX and need to be pointed into the right dir.
Replies: 6
Views: 5915

Ok, I will try.

ps2devman, you were very helpfull. Thanks alot.

Thanks and Greetings
Alex
by Glas
Mon Jan 07, 2008 2:53 am
Forum: PS3 Linux Development
Topic: RSX or not RSX and need to be pointed into the right dir.
Replies: 6
Views: 5915

Hi again.

Is there any chance to use the rsx without creating a new kernel?
Because I'm not very familiar with linux.

Till now, I just have been using ogl or dx which is very simple to use but with the new topic ps3, I cant say so!

Thanks.
Alex
by Glas
Mon Jan 07, 2008 2:42 am
Forum: PS3 Linux Development
Topic: RSX or not RSX and need to be pointed into the right dir.
Replies: 6
Views: 5915

Thanks for your response so far! Fedora Core 7 tutorials (how to turn on 2D hardware acceleration and more) What exactly does this mean? Does this mean I can't put shaders and geometry into the vram? Anywhere I read that this feature is still revealed by some person?! Or isn't it possible to have 3d...
by Glas
Sun Jan 06, 2008 8:41 pm
Forum: PS3 Linux Development
Topic: RSX or not RSX and need to be pointed into the right dir.
Replies: 6
Views: 5915

RSX or not RSX and need to be pointed into the right dir.

Hi to all. I'm very new to PS3 Dev and I just installed Fedora 7 on my nice PS3 but what are the next steps? I followed some discussions here and figured out that it is just possible to use the RSX on the PS3. So, my first question is, can someone please give my some hints what I need to develop pro...