[mythtv] high cpu load for xorg with 50fps playback

Martin Long mythtv at longhome.co.uk
Fri Apr 27 15:51:24 UTC 2007


Sounds to me like you could be using the usleep busy-loop vsync method. I
would suggest trying to get RTC or OpenGL vsync methods going if this is
the case. Would make sense that it is dependant of refresh rate, as it
could mean the it is having to busy loop for longer.

Martin

On Fri, April 27, 2007 2:59 pm, Markus Schulz wrote:
> Hello,
>
>
> i've written a full-framerate patch for mythtv and have integrated the
> adaptive dscaler greedy high motion deinterlacer (taken from xine-lib).
>
> In general it runs nice and perfectly smooth for all interlaced
> material. But i have an ugly problem, if i'm run the patched myth on a 50Hz
>  display (DFP-beamer) xorg sometimes (rather often) consumes much cpu
> power (max load on a single core). Running on my CRT with 75Hz or 100Hz
> there is no problem. Looks like a problem when running with FPS == Refresh
> Rate.
>
>
> I've taken some strace logs from xorg, in error case there were 35000
> calls per second to gettimeofday from xorg?!? Normally the rate is much
> much lower.
>
> Anyone has an idea whats the reason for this high rate of gettimeofday
> calls? The cpu time goes to xorg instead of mythtfrontend, therefore should
> it has to do with xv-calls? What can i do further to analyse this problem?
>
>
> --
> Markus Schulz
> _______________________________________________
> mythtv-dev mailing list mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>



More information about the mythtv-dev mailing list