Search found 94 matches

by ldesnogu
Fri Oct 12, 2007 6:57 am
Forum: spu-medialib
Topic: Installing the Mplayer vo PS3
Replies: 85
Views: 202034

My understanding was that the framebuffer device is doing the blitting and it is doing so with two buffers. So no matter whether X is running or not, I guess swapping and blitting happen.

@unsolo How is vsync handled?
by ldesnogu
Mon Oct 08, 2007 10:25 pm
Forum: spu-medialib
Topic: Installing the Mplayer vo PS3
Replies: 85
Views: 202034

Re: Problem compiling Mplayer on YDL 5.02

/usr/bin/ld: skipping incompatible /usr/lib64/libspe2.so when searching for -lspe2 /usr/bin/ld: skipping incompatible /usr/lib64/libspe2.a when searching for -lspe2 The same goes for spu-medialib. There are no problems with libps3fb. Could there be a compatibility issue with 64bit versions of libra...
by ldesnogu
Sun Oct 07, 2007 11:12 pm
Forum: PS3 Development
Topic: Machine Code doc
Replies: 4
Views: 4548

And for the sake of completeness the PowerPC Architecture Book
http://www.ibm.com/developerworks/eserv ... guide.html

Now you have thousands of pages to read, have fun :)
by ldesnogu
Wed Sep 26, 2007 5:39 pm
Forum: PS3 Linux Development
Topic: An idea for graphics acceleration...
Replies: 11
Views: 9312

Re: An idea for graphics acceleration...

If anyone out there has a 1Gbit network card already in their PC, please try this out and see if the results come out good. Let's do some optimistic math: let's say your 1 Gbit network can deliver 100 MB/s. A full HD picture is 9MB so at most you will get 11-12 FPS if you use it directly. So basica...
by ldesnogu
Mon Sep 24, 2007 4:27 am
Forum: PS3 Development
Topic: OtherOS demo program
Replies: 51
Views: 64241

tsuba wrote:objcopy: demo.elf: File format not recognized
make: *** [demo.bin] Error 1
This means you are not calling the right objcopy. You should change your PATH to point to the correct one.
by ldesnogu
Fri Sep 07, 2007 6:50 pm
Forum: PS3 Development
Topic: Making an update or not?
Replies: 5
Views: 5402

Warren wrote:And lets be honest, there aren't any opensource ATI drivers for linux (yet)
You meant Nvidia, or are you talking about Xbox 360? :)
by ldesnogu
Mon Sep 03, 2007 7:53 pm
Forum: spu-medialib
Topic: HD tests
Replies: 2
Views: 21986

by ldesnogu
Fri Aug 31, 2007 8:51 pm
Forum: spu-medialib
Topic: HD tests
Replies: 2
Views: 21986

HD tests

Found these two links with free HD streams.

ftp://ftp.ldv.e-technik.tu-muenchen.de/ ... sequences/
http://www.hdgreetings.com/video-1080p.aspx

They might help test the library.

Hope this helps :)
by ldesnogu
Mon Aug 27, 2007 10:13 pm
Forum: PS3 Linux Development
Topic: IBM XL C compiler slower than gcc C compiler?
Replies: 5
Views: 5181

off the top of my head the process is in the link stage you add a -s to the linker options and then run the command spu_timing on the output. <modulename>.s files. No, passing -s to the linker instructs it to remove symbols (strip). If you want to get assembly file, you replace -c with -S (capital)...
by ldesnogu
Wed Aug 22, 2007 7:06 am
Forum: PS3 Linux Development
Topic: IBM XL C compiler slower than gcc C compiler?
Replies: 5
Views: 5181

ps2devman is right: using intrinsics the compiler can schedule code.
You should post your code on IBM Cell forum, the xlc compiler team will surely do its best to beat gcc ;-)
by ldesnogu
Sun Aug 19, 2007 5:56 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 308072

Vincent_M wrote:

Code: Select all

ls&#58; /usr/include/gmp.h&#58; No such file or directory
ERROR&#58; Install libgmp3 before continuing.
../depends/check-libgmp3.sh&#58; Failed.
It looks like you need to get gmp installed.
by ldesnogu
Wed Aug 15, 2007 8:38 pm
Forum: PS3 Linux Development
Topic: Share header for DMA?
Replies: 2
Views: 2996

Follow what IronPeter said, but keep in mind one thing: your SPU compiler may compile for a 32 bit (SPU) target while your PPU compiler may compile for a 64 bit (PPU) target.
The result is that struct layout will be different.

To solve that pass -m32 to your PPU compiler.
by ldesnogu
Sat Aug 11, 2007 12:12 am
Forum: PS3 Development
Topic: Virtual GPU project
Replies: 23
Views: 14300

Nah... Mesa is still too high level for me. Dunno when but I will just post a low level VGPU some day. But it will be probably shaders model 1.1, involving Cg compiler, and compatible with ps3link (because it's the method I know and like the best, and xb1-ports-friendly). Everyone is invited to cre...
by ldesnogu
Thu Aug 09, 2007 1:53 am
Forum: PS3 Development
Topic: Virtual GPU project
Replies: 23
Views: 14300

Rather than reinventing the wheel, take a look at this:

http://www.nabble.com/Mesa-on-Cell-plan-t4202805.html

And Mesa has an MIT license. So rather than starting from scratch why not help them?
by ldesnogu
Mon Jun 25, 2007 8:29 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 308072

if i figure out this error i can compile on ubuntu on pc objcopy -O binary demo.elf demo.bin objcopy&#58; Unable to recognise the format of the input file `demo.elf' make&#58; *** &#91;demo.bin&#93; Error 1 You are probably using the wrong objcopy, namely the one of your PC. You wan...
by ldesnogu
Fri Jun 15, 2007 8:45 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 308072

ooPo wrote:Will linux 2.6.x even compile on gcc-2.3.2?
Oops I meant glibc 2.3.2 of course :)
gcc is 3.4.3 IIRC.

At least that's the info I extracted...

I know about the gp2x, it alas won't fit. Oh well I think it's time I build such a toolchain from scratch myself!
by ldesnogu
Fri Jun 15, 2007 6:58 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 308072

Good job ooPo :) Just a quick note, for people who don't know: gcc 4.3 is not ready for release and won't be before months; it's been chosen because it's the first gcc branch that has native support for SPU. If you find bugs, send them to the gcc bug mailing-list... BTW ooPo, if you feel the need to...
by ldesnogu
Sat Jun 09, 2007 1:44 am
Forum: PS3 Development
Topic: Ten helpful tips when building SPE applications in C
Replies: 0
Views: 2462

Ten helpful tips when building SPE applications in C

Given the lack of activity around, I thought giving a small link could revive the forum :)

http://www.ibm.com/developerworks/library/pa-tipspu2/

Nothing rocket science but handy anyway for newcomers.
by ldesnogu
Tue Jun 05, 2007 6:59 pm
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 35507

Pizza67 wrote:Mplayer reads a compressed stream so it doesn't reach the disk throughput.
Mplayer also uses mmap which might be more efficient than using stdc++ iostream. Also reading the file in a different thread may help...
by ldesnogu
Tue Jun 05, 2007 6:20 pm
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 35507

Mplayer works fine with high definition MPEG2 streams: I tried 1080i@50FPS. It plays ok, so a throughput of 40FPS with a 576i video seems really bad in comparison with MPlayer that uses just PPU. My concern is that it might be a problem of presentation on the ps3fb. I mean, the conversion with SPU ...
by ldesnogu
Tue Jun 05, 2007 5:46 pm
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 35507

Re: SPE Media Lib

- I dowloaded this file ftp://ftp.ldv.e-technik.tu-muenchen.de/pub/test_sequences/601/576i25_stockholm_ter.yuv that is an uncompressed 576i YUV video of 252 frames @25fps. - I replicated the file 20 times to finally obtain a 5040 frames video - I modified the number of frames to run through in yuv2...
by ldesnogu
Tue Jun 05, 2007 12:12 am
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 35507

Re: Alignment?

Edit: looks like "minimum requirement" doesn't mean "best performance". The CBE Architecture reference document states that: For optimal performance of transfers of 128 bytes or more, the source and destination transfer addresses should be 128-byte aligned (bits 25 through 31 se...
by ldesnogu
Tue May 29, 2007 10:38 pm
Forum: PS3 Development
Topic: OtherOS demo program
Replies: 51
Views: 64241

Warren wrote:Hrm just though we could also wait for BSD to be ported to the PS3 and then use their subsystems :)

Anyone know if such a port is underway?
I don't think so:

http://lists.freebsd.org/pipermail/free ... 02119.html
by ldesnogu
Tue May 29, 2007 5:03 pm
Forum: PS3 Development
Topic: OtherOS demo program
Replies: 51
Views: 64241

The hardest thing I see about us making our own OS layer is SPU access, should be able to figure that out from the linux kernel though. I think it's the most rational approach: pick up things from the kernel. However I am wondering if there is a license problem: IIRC the ps2dev env is under a MIT l...
by ldesnogu
Mon May 21, 2007 10:20 pm
Forum: PS3 Development
Topic: Who wants 252MB more RAM for PS3 homebrew.
Replies: 70
Views: 69625

Re: Got this working as part of non-modular kernel

A person going by the name parabelboi has put a change to the wiki, suggesting that changing: ddr_address = ioremap(ddr_lpar, ddr_size); to ddr_address = ioremap_flags(ddr_lpar, ddr_size, _PAGE_NO_CACHE); results in a performance improvement. I don't know by how much, or how he came to this, becaus...
by ldesnogu
Sat May 19, 2007 1:42 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 773217

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

EDIT : Sorry I read your post too fast, I thought you wanted to do it in a pure software way :) What's your opinion about this idea? My opinion is simple: you will probably never find any such thing that is accessible when not in hypervisor mode. Here is the probable way hypervisor works: 1. the pro...
by ldesnogu
Mon May 14, 2007 7:18 pm
Forum: PS3 Development
Topic: Tool to visualize stalls in SPU
Replies: 0
Views: 2448

Tool to visualize stalls in SPU

For people tracking every lost cycle: http://www.alphaworks.ibm.com/tech/asmvis?open
by ldesnogu
Sat May 12, 2007 2:12 am
Forum: PS3 Linux Development
Topic: Upgrade sdk to 2.2 on YDL?
Replies: 5
Views: 4967

Re: Yellowdog upgrading

So can you provide a step by step instruction? Including locations of the downloads? And steps to compile and install? Just retrieve libspe2.1 source package here http://www.bsc.es/plantillaH.php?cat_id=306. Then it's pretty easy to compile, at least if you have enough experience to start programmi...
by ldesnogu
Thu May 10, 2007 6:23 pm
Forum: PS3 Linux Development
Topic: Upgrade sdk to 2.2 on YDL?
Replies: 5
Views: 4967

Re: Upgrade sdk to 2.2 on YDL?

seanwg wrote:Is there any easy way todo this on YDL? Reading some of the messages around on the net, a solution is switching to Fedora 6 as sdk2.2 needs new glibc.
SDK 2.2 is not here yet, you are talking about 2.1.

What I did for libspe2 on my YDL setup was to recompile it using the source, and that was easy.
by ldesnogu
Sun May 06, 2007 2:00 am
Forum: PS3 Linux Development
Topic: Cryptic message from YellowDog
Replies: 24
Views: 18270

Geoff has updated his distribution starter kit: http://ozlabs.org/pipermail/cbe-oss-dev ... 01795.html