Thomas Wentzel a écrit :
> Is there someone on this list who can give a definitive answer regarding
> the hardware acceleration of the via framebuffer. Is it possible to use
> the hardware acceleration under directfb in conjunction with
> mplayer/xine - and what does it take. Should mplayer be patched?
> From the heaps of articles on the internet regarding this issue it seems
> that the conclusion is that X is required inorder to get hardware
> acceleration as it relies on Xvmc, dri, ...
DirectFB make use of 2D and a few 3D hardware accelerated features of
the frame-buffer driver.
You apparently refer to another kind of hardware acceleration : hardware
MPEG2 decoding, aka XvMC under X.
You're right that X is currently mandatory to make use of this feature,
but things may change in the near future.
There is currently an effort to add hardware MPEG2 decoding for CLE266
to softdevice (an output device for VDR, the Video Disk Recorder). Laz
is currently packaging a standalone library (libcle266mpegdec) from many
sources and additionnal code. This library could be used separately from
softdevice itself, once finished...
Interested people could join the [EMAIL PROTECTED] ML, and
maybe get the library and try to use it in more general DirectFB
applications.
> I have a setup with an 800MHz nano board. And allthough the cle266 (and
> unichrome) driver in DirectFB gives better performance than the vesa
> driver. I still get between 70 and 80% cpu usage (with peaks at 100%).
> Is this the best I can expect?
You could get much better CPU usage in a DirectFB app with hardware
decoding.
> I took the viafb from DirectFB and compiled it into the kernel - should
> I use the cle266 or unichrome from gfxdrivers then? lspci gives:
> 0000:01:00.0 VGA compatible controller: VIA technologies, Inc. VT8623
> [Apollo CLE266] integrated CastleRock graphics (rev 03)
cle266 is v0.3, whereas unichrome is an improved driver, v0.4 add the
following line in /etc/directfbrc to use the latter :
disable-module=cle266
--
NH
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users