[Openchrome-users] [openChrome] #409: Poor XVideo performance on VX800
OpenChrome Trac
trac
Tue Aug 2 14:50:42 PDT 2011
#409: Poor XVideo performance on VX800
------------------------+---------------------------------------------------
Reporter: rafalbilski | Owner: somebody
Type: defect | Status: new
Priority: minor | Component: xv
Version: | Keywords:
Blocking: | Blockedby:
------------------------+---------------------------------------------------
Motherboard is VIA VB8003 with VX800 chipset (PCIE bus).
Driver doesn't print anything. With debug and xv-debug too.
Running
% mplayer -quiet -nosound -benchmark Pobieranie/FTRMA0617.avi
as a test is causing about one second video freeze in XVideo window
every one second. Mplayer reports very poor performance:
BENCHMARKs: VC: 65.180s VO: 129.275s A: 0.000s Sys: 2.620s =
197.075s
BENCHMARK%: VC: 33.0736% VO: 65.5967% A: 0.0000% Sys: 1.3297% =
100.0000%
Value of "count" in via_video.c->Flip() regulates freeze time.
I think it is caused by viaOverlayGetV1V3Format() which is called by
Upd_Video():
*pVidCtl |= V1_SWAP_HW_HQV;
Documentation for VX800 is available, but it isn't informative. So
it is only my guess that V1_SWAP_HW_HQV is valid only when XV window is
connected to XVMC renderer. I think for ordinary XVideo
window it should be set to V1_SWAP_SW.
Running mplayer benchmark with this change and loop set to "(1 << 32) -
1":
BENCHMARKs: VC: 41.677s VO: 16.636s A: 0.000s Sys: 2.065s =
60.378s
BENCHMARK%: VC: 69.0275% VO: 27.5528% A: 0.0000% Sys: 3.4197% =
100.0000%
--
Ticket URL: <http://www.openchrome.org/trac/ticket/409>
openChrome <http://www.openchrome.org/>
The openChrome project
More information about the Openchrome-users
mailing list