Search found 55 matches

by mbf
Tue Jun 05, 2007 10:17 am
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

Pizza67 wrote:obtaining about 40 FPS, that is worst than your 60FPS@1920x1080.
It shouldn't be that bad considering that this conversion takes about 20% of the CPU (PPU) time when playing this kind of stuff with MPlayer. Have you tried with MPlayer?
by mbf
Tue Jun 05, 2007 1:15 am
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

Re: Alignment?

Yes, forgot to mention the cache line size. One should also take care of allocating in the right order to minimize holes of unallocatable memory :) I might think about this, well sometime :P Question: YUV->RGB conversion then RGB to RGB scaling, or YUV to YUV scaling first then YUV to RGB conversion...
by mbf
Mon Jun 04, 2007 10:31 pm
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

Alignment?

Unsolo, I've started working on a proof of concept clone of ffplay that uses the spu media lib. While browsing through your code, I noticed that you align the memory allocations to 128 bytes boundaries.... For both memalign() and __attribute__ ((aligned(xy))), the alignment value is in bytes, not bi...
by mbf
Wed May 30, 2007 8:23 pm
Forum: PS3 Linux Development
Topic: Welcome to the PS3 Linux development forum!
Replies: 2
Views: 19605

IBM Education Assistant

Another good resource: IBM Education Assistant on Cell Broadband Engine Topics covered: Getting Started Product Overview Introduction to Cell Linux on Cell Cell Blade Center Cell advanced level Cell programming hands-on Cell Programming workshop Cell application development Some of those are still i...
by mbf
Tue May 29, 2007 1:29 am
Forum: PS3 Development
Topic: OtherOS demo program
Replies: 51
Views: 61493

This is in no way a mean to bypass the hypervisor and hence will not allow full access to the RSX nor allow to use the RSX memory the same way as the XDR. This will only allow to load alternative OSes (anything other than linux that runs on PPC64) or even make a PS3 dedicated "Other" OS....
by mbf
Mon May 28, 2007 9:31 pm
Forum: PS3 Linux Development
Topic: Welcome to the PS3 Linux development forum!
Replies: 2
Views: 19605

We've got plenty of useful links scattered all over this forum but nothing here, so I thought I would start. Latest CELL AddOn CD (aka PS3 Linux Distributor's Starter Kit). This ISO image includes the latest PS3 kernels and kboot builds. http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ With...
by mbf
Sat May 26, 2007 12:14 am
Forum: PS3 Development
Topic: Media Server with GameOS 1.80
Replies: 8
Views: 7295

Does MythTV transcode the video?
by mbf
Thu May 10, 2007 4:52 am
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

nice find laichung :) @jockyw2001: that was the point of my initial question. Better optimize the lower layers of the OS in order to improve performance for a broader range of applications in one single go. IMHO. However, optimizing MPlayer directly would certainly be more straightforward and fit th...
by mbf
Sat May 05, 2007 11:46 pm
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

and MPlayer supports -vo sdl ;)

After posting this yesterday, I did some digging on xv but I hit a problem with vblank sync. Not easily done under X it seems. Anyone got an idea on how to do this properly? Does MPlayer or VLC use vsinc in conjunction with xv and how?
by mbf
Sat May 05, 2007 12:04 am
Forum: PS3 Linux Development
Topic: SPE Media Lib
Replies: 39
Views: 33524

very very nice one unsolo :) Now, in order to benefit from this in the greatest number of applications without having to tweak each one of them for the PS3, I think the best thing would be to implement this in something like SDL or DirectFBor any other similar media layer (ggi? xv via a custom ps3fb...
by mbf
Thu May 03, 2007 12:36 am
Forum: PS3 Linux Development
Topic: Cryptic message from YellowDog
Replies: 24
Views: 17673

StrontiumDog wrote:And in a weird twist its either WiFi or Wired, but not both at the same time (both are eth0)....
It's the same under the Game OS. It seems that the WiFi in the PS3 is just a WiFi to ethernet bridge piping into the PS3's ethernet interface. And the MAC address is the same for both.
by mbf
Mon Apr 30, 2007 9:21 pm
Forum: PS3 Development
Topic: Who wants 252MB more RAM for PS3 homebrew.
Replies: 70
Views: 67873

Perhaps this is why 18Mb is reserved rather than the needed amount! (even triple buffered, it should only need 15Mb) Correct me if I'm wrong but the memory required for one frame is: width*height*bytes_per_pixel. So in 1080p, that's 1920*1080*4 = 8294400 (7.9MB). If I remember correctly, the memory...
by mbf
Mon Apr 30, 2007 1:03 am
Forum: PS3 Development
Topic: Who wants 252MB more RAM for PS3 homebrew.
Replies: 70
Views: 67873

Where did you get that information from? All we know is that the kernel makes an hypervisor call to transfer its FB (in XDR) to GPU VRAM. I bet it's done using the MFC DMA from the Cell. Now that you mention it, I'm not sure where I've seen this. Well, it should be fairly easy to test by disabling ...
by mbf
Mon Apr 30, 2007 12:22 am
Forum: PS3 Development
Topic: Who wants 252MB more RAM for PS3 homebrew.
Replies: 70
Views: 67873

However, we do know that it's one of the SPUs that's blitting from XDR memory to VRAM. Given that it must be capable to blitting at least 160Mb/s (1280*1080*4bpp*30fps). And that's just one SPU and already it's an order of magnitude higher than the limit we're worrying about. So, clearly write perf...
by mbf
Mon Apr 30, 2007 12:12 am
Forum: PS3 Linux Development
Topic: Cryptic message from YellowDog
Replies: 24
Views: 17673

Re: Cryptic message from YellowDog

Well, although as usual they did not give the full change log of 1.70, it makes things better for those of us playing PS2 games on the PS3. FFXII and Soulcalibur 3 are now working perfectly so I'm happy :) As for "homebrew", the situation is different than it is on the PSP. As long as they...
by mbf
Fri Apr 06, 2007 10:05 pm
Forum: PS3 Linux Development
Topic: Multimedia with PS3 Linux
Replies: 30
Views: 29791

Gentoo + MPlayer

I couldn't wait and installed Gentoo (see the Cell Project Overlay ). Next, I compiled emplayer with fbdev support .... set the resolution tro 720p and went on to play a movie (600x352). That played very smoothly although with an alarming 20% CPU usage AND the movie was not full screen. After a bit ...
by mbf
Fri Apr 06, 2007 8:58 pm
Forum: PS3 Linux Development
Topic: Graphical bootloader
Replies: 1
Views: 3353

Nice one :)

cbe-oss-dev is indeed interesting. BTW, I've seen on that list that there are some issues running kernels > 2.6.16 from the current kboot boot loader. Do you know which kernel this GUI loader is based on?
by mbf
Thu Apr 05, 2007 9:09 pm
Forum: PS3 Linux Development
Topic: ps3lines homebrew game
Replies: 10
Views: 7436

Re: Licenses and the GPL

Just to add a bit on what ralferoo just said, the copyright and license under which a software is released are different things. Releasing the code doesn't necessarily voids your rights on it, unless you explicitely do so in the acompanying license. Now as far as Open Source vs. Closed Source goes, ...
by mbf
Thu Apr 05, 2007 6:19 pm
Forum: PS3 Linux Development
Topic: Multimedia with PS3 Linux
Replies: 30
Views: 29791

I installed it from the Livna repositories. rpm.livna.org is a community maintained add-on repository for Fedora Core that provides many useful packages that can not be distributed in Fedora Core or Fedora Extras for one reason or another, including multimedia applications such as xine and VideoLanC...
by mbf
Thu Apr 05, 2007 11:18 am
Forum: PS3 Linux Development
Topic: Multimedia with PS3 Linux
Replies: 30
Views: 29791

@tictech2: If I remember correctly, I set it up from within KDE. And it's also better if you have plugged your network cable before booting. Apart from that I don't remember having real issues. PM me if you need help on that. @evilo: Freevo looks good indeed. Have you checked the CPU usage with MPla...
by mbf
Thu Apr 05, 2007 2:20 am
Forum: PS3 Linux Development
Topic: Multimedia with PS3 Linux
Replies: 30
Views: 29791

Re: Multimedia with PS3 Linux

I've seen some feedback that there are issues with either audio or video playback on different distros with apps like Xine, Totem, Mplayer or VLC. Would be nice to collect feedback about this and other multimedia issues in this thread. PS: for YDL users, here you find some help to install VLC (or M...
by mbf
Wed Oct 11, 2006 7:13 am
Forum: PSP Development
Topic: Kernal access
Replies: 3
Views: 1781

Please... stop saying "kernAl". it's kernEl, with a E..... It's not appropriate at all when taling about kernel mode vs. user mode. See http://en.wikipedia.org/wiki/Kernal , http://en.wikipedia.org/wiki/Kernel_%28computer_science%29 and http://en.wikipedia.org/wiki/CPU_modes (check out the...
by mbf
Thu Sep 28, 2006 7:54 pm
Forum: PSP Development
Topic: [RESOLVED] Patching NIDS in Devhook
Replies: 10
Views: 5470

it's fairly easy to patch a jump. Check out this document page 545. The 26-bit target address is shifted left two bits and combined with the high-order bits of the address of the delay slot. The program unconditionally jumps to this calculated address with a delay of one instruction. Anyway, the add...
by mbf
Thu Sep 28, 2006 7:25 pm
Forum: PSP Development
Topic: Homebrew Enabler for 2.71
Replies: 23
Views: 9357

As moonlight pointed out, kprintf and sceKernelRegisterKprintfHandler are both kernel exports (KDebugForKernel). So yes, you could call kprintf from a kernel mode PRX used as a bridge. Now remember that in most operating systems, kprintf is meant for kernel and drivers debugging where there is no ea...
by mbf
Thu Sep 28, 2006 10:37 am
Forum: PSP Development
Topic: [RESOLVED] Patching NIDS in Devhook
Replies: 10
Views: 5470

The most transparent way would be to patch directly the audio routines to make them jump to your own by replacing the first 2 instructions by a jump to your own + a nop, then jump back once you've altered the data and executed the original first 2 instructions. If those 2 first instructions are alwa...
by mbf
Wed Sep 27, 2006 6:36 am
Forum: PSP Development
Topic: Problems installing SDL for PSPdevkit
Replies: 10
Views: 4203

Yes, configure and make should be run as a normal user. Only "make install" has to be run as root.
by mbf
Wed Sep 27, 2006 1:29 am
Forum: PSP Development
Topic: Homebrew Enabler for 2.71
Replies: 23
Views: 9357

Tried SysMemUserForUser_13A5ABEF (sceKernelPrintf) instead?
by mbf
Tue Sep 26, 2006 10:44 pm
Forum: PSP Development
Topic: what is syslib_2F064FA6?
Replies: 4
Views: 2267

laichung, if you saw this one while working on usbacc.prx.... a logical guess would be that this entry point is called before rebooting the PSP in order to (possibly) reset the attached USB devices?
by mbf
Tue Sep 26, 2006 10:30 pm
Forum: PSP Development
Topic: Homebrew Enabler for 2.71
Replies: 23
Views: 9357

Thanks for the clarifications :) The 0x4001 inside the .exp file is for the prx to export his functions to user mode modules. (via syscall) Ok. Looking at the devhook SDK, the DevHookForKernel lib is flagged as 0x00010000 and DevHookForUser is flagged 0x40090000.... So we could deduce something like...
by mbf
Tue Sep 26, 2006 7:01 pm
Forum: PSP Development
Topic: Homebrew Enabler for 2.71
Replies: 23
Views: 9357

Mhhh... interesting, that's also what I was looking for when speaking of limitations ;) Moonlight, could you give us a bit more background info regarding kernel/user separation in 2.71? I was concerned about calling custom kernel mode libs from userland but looks like the kerneldumper sample does th...