[MPlayer-users] vo_vesa introducing
Nick Kurshev
nickols_k at mail.ru
Sat Oct 20 19:48:24 CEST 2001
Hello, Arpi!
On Sat, 20 Oct 2001 19:20:38 +0200 (CEST), you wrote:
> 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.
>
Below is part of your previous verbosed log:
vo_vesa: Mode (009): mode=0115 800x600 at 32 attr=009B
vo_vesa: #planes=1 model=6(Direct color RGB) #pages=7
vo_vesa: winA=A000(attr=7) winB=0(attr=0) winSize=64 winGran=64
vo_vesa: direct_color=1 DGA_phys_addr=00000000
vo_vesa: direct_color_info = 8:8:8:8
Below is part of Felix verbosed log:
vo_vesa: Mode (025): mode=012C 1024x768 at 24 attr=009B
vo_vesa: #planes=1 model=6(Direct color RGB) #pages=2
vo_vesa: winA=A000(attr=7) winB=A000(attr=0) winSize=64 winGran=64
vo_vesa: direct_color=0 DGA_phys_addr=00000000
vo_vesa: direct_color_info = 8:8:8:0
Below is part of my verbosed log:
vo_vesa: Mode (044): mode=0116 1024x768 at 15 attr=00BB
vo_vesa: #planes=1 model=6(Direct color RGB) #pages=20
vo_vesa: winA=A000(attr=7) winB=A000(attr=0) winSize=64 winGran=64
vo_vesa: direct_color=0 DGA_phys_addr=00000000
vo_vesa: direct_color_info = 5:5:5:0
As you can see each log has DGA_phys_addr=00000000 !!!
So this feature is only documented but I never meet the videoBIOS
which has implemented that.
(Althrough exists opinion that ATI produces top qualitative VideoBIOS'es).
> > 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
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
Best regards! Nick
More information about the MPlayer-users
mailing list