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

Markus Schulz msc at antzsystem.de
Fri Apr 27 16:05:04 UTC 2007


Am Freitag, 27. April 2007 schrieb Martin Long:
> 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.

No, i'm using RTC (and also tried opengl-vsync). Booth have the same 
problem. I've also added some debug code inside 
RTCVideoSync::WaitForFrame to check how often CalcDelay was called. But 
on my 50Hz beamer its mostly zero, on my 75Hz CRT 10-15 calls per 
WaitForFrame. 


-- 
Markus Schulz


More information about the mythtv-dev mailing list