Intel driver using 100% of cpu in MythTV bob

Hamish Moffatt hamish at cloud.net.au
Sun Jun 10 09:23:22 PDT 2007


On Mon, Jun 11, 2007 at 01:04:39AM +1000, Hamish Moffatt wrote:
> I'm running MythTV with the latest Intel driver on a 945GM adapter.
> 
> MythTV has an output deinterlacing algorithm called "bob" which involves 
> flipping the visible output area through Xv at the refresh rate (50Hz in my 
> case).
> 
> When I use this algorithm, the Xorg process uses 100% of one core, and
> MythTV can't keep up with the frame rate. If I disable this algorithm
> (and use the kerneldeint deinterlacer instead), it works perfectly.

[..]
> Myth appears to be using the Textured Video xv adapter for output.

Further findings:

Disabling the textured video Xv adapter (via hack to the sources) has
solved the problem of 100% CPU usage and dropped frames. I was also
seeing vertical shimmering (meaning the flipping wasn't quite right)
which has gone away when using the video overlay adapter.

The code for the MythTV Xv output and deinterlacer is at:
http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp

I did not write it so I can't give a much better description, sorry.


Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>



More information about the xorg mailing list