[MPlayer-users] vo_vesa introducing

Arpi arpi at thot.banki.hu
Sat Oct 20 19:20:38 CEST 2001


Hi,

> > > > > > also tried scaled yv12, vcd sized mpg to 640x480x16bpp
> > > > > > but it was extremly slow, 210% cpu usage...
> > > > > I'm watching DVD in real-time...
> > > > hmm. maybe mtrr was not set - X 4.1.0 sets it but i had no X started.
> > > > i'll check again
> > > > 
> > > During tests - I didn't touch mtrrs.
> > > (It useless since we have fastmemcpy which performs same logic of memory writing)
> > mayeb it's true for amd...
> > on intel mtrr does matter, it speedup video 5 times.
> > 
> I'm not sure - but VESA uses 64K window to write into video memory.
> So you should configure mtrr for linear address A0000 too.
ah. i'll try.

> (For detail see WinA(B)Segment and WinA(B)Size in your verbosed output
why don't you use linear framebuffer?
you should be able to map it into userspace and write diretly.
vesa 2.0 and above supports LFB.

> for selected video mode. They (segments) should shifted left on 4 to compute
> linear address of Linux ;-).
yes i remember :)
(spent 5 years asm coding under dos...)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list