[MPlayer-dev-eng] VSYNC/Double Buffering in vo_vesa

Arpi arpi at thot.banki.hu
Tue Feb 12 17:28:46 CET 2002


Hi,

benchmark results are FALSE (==BAD) when ao/vo device blocks execution...
i think in case of vsync this happens.

> Hi,
> 
> I added support for disabling and enabling vsync in doublebuffered mode of 
> vo_vesa and I noticed that I could get a ~90% !!! speedup by disabling vsync 
> with no visual difference.
> 
> Here are my benchmarks:
> (Notebook PIII-Cu 850, BX440, 256MB, Savage/MX 8MB AGP, 1024x768 at 60Hz)
> 
> ./mplayer /download/samples/ac3/matrix.vob -cache 8192 -zoom -x 1024 -y 768 
> -sws 0 -vo vesa -quiet -pp 0x20000 -nosound -benchmark:
> BENCHMARKs: V: 101.107s VO:   0.008s A:   0.000s Sys:   3.093s =  104.208s
> BENCHMARK%: V: 97.0241% VO:  0.0080% A:  0.0000% Sys:  2.9679% = 100.0000%
> Visual: Flickering OSD, Tearing Effect (realtime)
> 
> ./mplayer /download/samples/ac3/matrix.vob -cache 8192 -zoom -x 1024 -y 768 
> -sws 0 -vo vesa -quiet -pp 0x20000 -nosound -benchmark -double -vsync:
> BENCHMARKs: V: 100.447s VO:  85.347s A:   0.000s Sys:   2.907s =  188.701s
> BENCHMARK%: V: 53.2308% VO: 45.2286% A:  0.0000% Sys:  1.5406% = 100.0000%
> Visual: Nice OSD, No Tearing Effect (too slow)
> 
> ./mplayer /download/samples/ac3/matrix.vob -cache 8192 -zoom -x 1024 -y 768 
> -sws 0 -vo vesa -quiet -pp 0x20000 -nosound -benchmark -double -novsync:
> BENCHMARKs: V: 101.407s VO:   0.046s A:   0.000s Sys:   3.084s =  104.537s
> BENCHMARK%: V: 97.0060% VO:  0.0438% A:  0.0000% Sys:  2.9502% = 100.0000%
> Visual: Nice OSD, No Tearing Effect exactly like with VSync enabled (realtime)
> 
> 
> Some usefull MPlayer output:
> MPlayer CVS-020211-22:58-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
> VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  12250.0 kbps (1531.2 kbyte/s)
> VO: [vesa] 720x480 => 1024x768 Planar YV12 zoom 
> vo_vesa: Found VESA VBE BIOS Version 2.0 Revision: 100
> vo_vesa: Video memory: 8192 Kb
> vo_vesa: VESA Capabilities: 6-bit DAC, VGA CRTC, normal RAMDAC, no 
> stereoscopic, no stereo
> vo_vesa: OEM info: S3 Incorporated. M7 BIOS
> vo_vesa: OEM Revision: 100
> vo_vesa: OEM vendor: S3 Incorporated.
> vo_vesa: OEM Product Name: VBE 2.0
> vo_vesa: OEM Product Rev: Rev 1.1
> vo_vesa: Using VESA mode (14) = 117 [1024x768 at 0]
> vo_vesa: Using DGA (physical resources: F0000000h, 00800000h)
> 
> -- 
> Best Regards,
> 	Atmos
> ____________________________________________
> - MPlayer Developer - http://mplayerhq.hu/ -
> ____________________________________________
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list