[mythtv-users] PS3 Patches - anyone want to test them?

Patrick Mansfield patman at aracnet.com
Fri Jul 6 03:56:34 UTC 2007


On Thu, Jun 21, 2007 at 09:49:07AM +0100, Mark Kendall wrote:

> Relevant files are:-
> 
> http://www.btinternet.com/~mark_kendall/mythtvps3.diff
> http://www.btinternet.com/~mark_kendall/joystickmenurc
> http://www.btinternet.com/~mark_kendall/revert.cpp
> 
> Any and all feedback much appreciated and I'll get back to it when I'm
> back from my travels.

Nice work! (Though I don't have a ps3 to try it on yet :-/ ).

> Performance/Setup
> 
> Once installed, Go to Settings->TV Settings->Playback->Playback
> Profiles and setup 1 or more profiles using ps3fb as the renderer.
> Turn off OSD fade and enable Adaptive x2 as the default deinterlacer
> (unless it gives you problems - see below).
> 
> If playback is poor (ie low framerate), you've either not compiled
> with libspe2 support and it's falling back to ffmpeg
> conversion/scaling (check your logs for lack of SPU type messages and
> recompile) or mythtv is using the xvideo display method and falling
> back to software/x-lib scaling (check your logs and adjust your
> display profiles).
> 
> Without the patches, the ps3 is almost unusable as a frontend for even
> standard definition. Using the 'accelerated' video output, I can
> comfortably play 720p and 1080i mpeg2 material. I don't have any 1080p
> mpeg2 source clips so can't test. The only playback that is currently
> erratic for me is 1080i displayed downscaled to 720p using the double
> frame rate deinterlacer - and this looks like it's a limitation with
> the main processor/memory rather than the spe's. Hidef h.264 playback
> does not work.
> 
> I'd recommend using a lightweight window manager, lightweight mythtv
> theme and turning off as many unnecessary services as you can. This
> will save memory and speed up menu navigation, playback startup etc.
> It may just make things that much more stable as well as any
> instability seems to be memory related.
> 
> Alternatively, try qt-embedded (video output works just as well
> without X). I've run it successfully using qt-embedded-3.3.5.

Are you building using the ppu compiler with cell support? That might help
the performance some. It needs gcc 4.3 (AFAIK) or the special ppu-gcc via
bsc binaries.

Simple test for cell support via:

	touch dummy.c
	gcc -c -mcpu=cell dummy.c

> Requirements (over and above a normal mythtv installation from source)
> 
>  - libspe2 and libspe2-devel (which enable access to the spe's). You
> can download these from:-
>  http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.0/libspe2-2.0.1-1.ppc.rpm
>    http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.0/libspe2-devel-2.0.1-1.ppc.rpm

Probably better to use sdk2.1 versions:

http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.1/libspe2-2.1.0-0.ppc.rpm
http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.1/libspe2-devel-2.1.0-0.ppc.rpm

And (for anyone) ppu-gcc and ppu-g++:

http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.1/ppu-gcc-4.1.1-10.ppc.rpm
http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk2.1/spu-gcc-c++-4.1.1-9.ppc.rpm

I don't know if the matching binutils are *required* for use with the
above, but the other sdk 2.1 toolchain rpm and srpm files can be found
under:

http://www.bsc.es/plantillaH.php?cat_id=304

-- Patrick Mansfield


More information about the mythtv-users mailing list