Intel driver using 100% of cpu in MythTV bob

Barry Scott barry.scott at onelan.co.uk
Mon Jun 11 07:48:16 PDT 2007


Hamish Moffatt wrote:
> 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
>   
I think you have found the reason for the problem I reported here:

https://bugs.freedesktop.org/show_bug.cgi?id=11186

Barry




More information about the xorg mailing list