[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xvideo acceleration: GATOS for PPC?



Michel Lanners wrote:

> I tried the GATOS drivers on my TiBook (with Josh's fix -- thanks), but they
> give the same performance as the standard one, plus a (probably) endianess
> bug: they seem to 'reverse' successive image blocks on screen; probably 4-
> or 8-pixel-wide blocks...

Sounds like what I have fixed in the XFree86 r128 driver. :)


> To sum up my performance comparisons so far, all with XFree 4.1.0 from
> unstable, and vlc 0.2.83:
> 
> - Mach64/i386 without GATOS: no Xvideo (driver is broken); vlc uses 45%
>   + 16% cpu (two 'consuming' threads); X uses 25% cpu.
> - Mach64/i386 with GATOS driver: Xvideo works, vlc uses 25% (other
>   threads insignificant), X uses between 2% and 5%
> - Voodoo3/i386: Xvideo works, X around 25% and vlc around 30% (roughly)
> - Rage128/ppc: Xvideo works, X between 10% and 20%, rest consumed by
>   vlc.
> 
> The Mach64 is on a Dell laptop w/ Celeron 600, the Voodoo is a PIII/666
> desktop, and the ppc is my TiBook/400.
> 
> So the question is: why does X on the Dell use so little CPU,

I guess either because it has write combining for the framebuffer or because
top lies.

> and why can't we achieve the same thing on ppc

We might if we used bus mastering for the video data transfer. There are plans
to implement that, see current discussion on dri-devel.


-- 
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member



Reply to: