[mythtv-users] ubuntu .21 upgrade causing Xorg to go nuts.

William Munson w.munson at comcast.net
Thu Mar 13 10:57:26 UTC 2008


Chuck Peters wrote:
>
> I upgraded to the backports packages last night and we are seeing Xorg 
> go nuts, aka use most of the available CPU.  It's causing a lot of 
> studdering and the job queue is taking a lot longer than usual.  At 
> this point I wish i hadn't upgraded...
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  5014 root      25   0  135m 111m  22m R 53.1 11.1 182:46.67 Xorg
>  6671 cp        15   0  256m 108m  44m S 25.9 10.7  77:13.18 
> mythfrontend.re <http://mythfrontend.re>
>  9218 cp        25   9  272m 127m  26m R 13.0 12.7  20:52.89 firefox-bin
>  9789 mythtv    33  17  107m  49m  13m R  6.6  4.9  33:19.19 mythtranscode
>  5580 root      15   0     0    0    0 S  0.7  0.0   0:06.50 nfsd
>  5578 root      15   0     0    0    0 R  0.3  0.0   0:05.12 nfsd
> 12279 cp        15   0  2364 1184  876 R  0.3  0.1   0:00.05 top
>
> While the mythfrontend process seems to be using a little less CPU 
> than before the upgrade, something about it caused Xorg to really 
> start sucking the CPU.  While the top above was running it was 0% 
> idle. Even when I don't have firefox or a transcode going the CPU is 
> almost always near 100% while playing something through the frontend.  
> Without the "nice -n 9 firefox" the process of firefox would be a lot 
> higher and the TV viewing would be torture.
>
> Before the upgrade running mythfrontend on this particular machine it 
> used about 30-40% CPU on average.  If a transcode was runing the CPU 
> would be near 100%, but I wouldn't be having these stuttering problems.
>
> I am seeing this on two other frontends just as bad and it doesn't 
> seem to be as bad on my fathers old 1Ghz laptop, it runs at about 60% 
> CPU.   One difference between the old laptop and the other machines is 
> the old laptop has an old ATI video card and all the others have 
> nvidia cards, a 6200, 5200 and an old MX440.  The laptop test was just 
> a quick test and perhaps it will be just as bad if anything else is 
> running.
>
>
> Anyone else seeing this and more importantly what should I do to fix this?
>
>
> Thanks,
> Chuck

Do you have the useEvents flag set in xorg.conf? Newer x11 versions 
require this flag or they show high cpu usage.


Bill





More information about the mythtv-users mailing list