[mythtv-users] Long delays with remote occasionally

Josh Mastronarde jmastron at gmail.com
Wed Nov 19 16:22:14 UTC 2008


On Fri, Nov 14, 2008 at 2:25 PM, C.T. Paterson <i.adore.my.64 at gmail.com> wrote:
> 2008/11/10 C.T. Paterson <i.adore.my.64 at gmail.com>:
>> Well this is all somewhat discouraging.  A hard drive failure prompted
>> me to upgrade from mythbuntu 8.04 to mythbuntu 8.10 last week.  Since
>> I've started using 8.10, I've been experiencing exactly the problem
>> described.
>>
>> Keypresses on a PS2 keyboard also seem to be affected when it happens.
>>  I've been tracking an Xorg spike in CPU usage that also came for free
>> with the 8.10 upgrade, but I get the spike without command lag, so I'm
>> not entirely convinced they're related.
>
> The symptoms seem to have gone away.  I can tell you that I've made
> the following changes:
>
> "UseEvents" has been turned on in the xorg.conf
>
> I changed the Video Playback Profile to "Slim" in the Playback setup options.
>
>
> When I have some time, I'll do some more toggling to see if I can
> isolate which (if either) of these things has an obvious impact.


Update -- my symptoms also appear to have gone away by putting:

    Option    "UseEvents" "True"

in the "Device" section of /usr/X11/xorg.conf.

I had finally gotten mythtv 0.21-fixes compiled from source, and was
starting to add debug messages to everything I could find in the
keypress handling path to figure out what was stalling, but this is
much easier :-)  The above option does appear to have to do with the
Nvidia driver stalling in a poll loop vs cleanly waiting to be called
again, which makes sense that it could delay other things in the
system.

Josh


More information about the mythtv-users mailing list