Results 1 to 9 of 9

Thread: Numerous Issues (X cpu hog, backend segfaults, more)

  1. #1
    Join Date
    May 2008
    Beans
    68

    Numerous Issues (X cpu hog, backend segfaults, more)

    I am having numerous issues with my Myth box. None of these are new, I've just never been able to resolve them all since building the box. Any insight into any of these would be helpful.

    1. Mythbackend crashes. About once a day or once every two days mythbackend crashes for no reason. I've searched every log file and the only thing I can find is a "segfault" error on one line. This can happen when there is NO activity with the box or when there is activity (recording). I setup "monit" to monitor the mythbackend process but this is only a bandaid approach as it can crash while recording - not good.

    2. Mythfilldatabase segfaults. Again, not sure why, the only thing I can find in any log is reference to a segfault.

    3. X kills my CPU. This isn't a problem EXCEPT that when it is sucking up 100% cpu that the system is unresponsive to remote control commands. Seems to be intermittent and varies for no reason because if you watch it on "top" X varies between ~7% to 100% while watching a show. While it's at 100% the system will not respond to any input. Very annoying.

    I am running a newly built system:
    gigabyte GA-MA78 ATX mobo
    Biostar nvidia 7200GS
    AMD 5000+ 64 X2
    2gb ram
    Seagate SATA drive

  2. #2
    Join Date
    Jan 2008
    Beans
    148

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Segfaults can sometimes be caused by overheating. Is your box adequately cooled?

  3. #3
    Join Date
    May 2008
    Beans
    68

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by theophile View Post
    Segfaults can sometimes be caused by overheating. Is your box adequately cooled?
    Yes. I have the Silverstone LC20M. I am using the Arctic cooler on the CPU (which runs ~40 degrees C under load) and have two case fans to vent the case. I have also run for a time with no case lid and experienced the same problems.

    I'll also note that I am running MytbBuntu 8.04 64bit version.

    Is there any stability gains in going to the 32bit version? does anyone know? Since I only have 2gb of ram I don't really need 64bit so if there are stability gains I'd be happy to go there.

  4. #4
    Join Date
    Dec 2007
    Location
    Dallas, TX
    Beans
    151
    Distro
    Ubuntu Development Release

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by netslacker View Post
    Yes. I have the Silverstone LC20M. I am using the Arctic cooler on the CPU (which runs ~40 degrees C under load) and have two case fans to vent the case. I have also run for a time with no case lid and experienced the same problems.

    I'll also note that I am running MytbBuntu 8.04 64bit version.

    Is there any stability gains in going to the 32bit version? does anyone know? Since I only have 2gb of ram I don't really need 64bit so if there are stability gains I'd be happy to go there.
    If you have nothing else to loose on your system, you might as well try it.

    Before doing that though, I'd run a boot-time RAM test for as long as you possibly can. Overnight and let it keep running through the next day until you get home from work? Another alternative is to try running with one stick of memory at a time.

    Sorry that I don't have any ideas for the 100% cpu.

    Good luck,
    Marc

  5. #5
    Join Date
    May 2007
    Beans
    2,334

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Hi for the 100% CPU usage what settings are you using for your video playback?

    There are the options CPU++,CPU+,CPU-,CPU-- and Standard. Try changing to using a slightly less taxing ++ to +.

    My frontend 1.33GHz Core2 with a 7300GS does SD video to my analog TV and only seems to use between 7-15% CPU using the "standard settings".

    Also have you installed the NVIDIA drivers rather than the open source/VESA ones?

    Regards
    Ian Dobson
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  6. #6
    Join Date
    May 2008
    Beans
    68

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by ian dobson View Post
    Hi for the 100% CPU usage what settings are you using for your video playback?

    There are the options CPU++,CPU+,CPU-,CPU-- and Standard. Try changing to using a slightly less taxing ++ to +.

    My frontend 1.33GHz Core2 with a 7300GS does SD video to my analog TV and only seems to use between 7-15% CPU using the "standard settings".

    Also have you installed the NVIDIA drivers rather than the open source/VESA ones?

    Regards
    Ian Dobson
    Hi, I am using CPU++ but I don't believe this to be the problem. For the most part, when playing a video, CPU is ~40% however, during the play it will drift up to 100% and stay there for a minute or so, then drift back to ~40% (or less). When it's pegged, there is no response from remote control until it drifts back. I have applied the "renice -10 <pid>" command to the X process as documented in the wiki (mythtv.org) but this has only marginally helped.

    I am running the 169 driver, which is what is in the repository. I plan to try updated drivers when I get another break and can spend some time on it.

  7. #7
    Join Date
    Dec 2007
    Location
    Dallas, TX
    Beans
    151
    Distro
    Ubuntu Development Release

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by netslacker View Post
    Hi, I am using CPU++ but I don't believe this to be the problem. For the most part, when playing a video, CPU is ~40% however, during the play it will drift up to 100% and stay there for a minute or so, then drift back to ~40% (or less).
    When I previously said I didn't have any ideas, I was referring to some unknown problem with X. If you're only seeing these cpu peaks when Mythtv is active, it sure seems like trying a different profile would be a quick and easy test before going to the trouble of changing drivers or anything.

    According to the Mythtv wiki:
    CPU++ is a profile group designed for systems capable of software rendering. It does not take advantage of XvMC for MPEG-2 decoding.
    When you say "X kills my CPU", does it do that when running VLC or mplayer, or only Mythtv. If only under Mythtv, again, it sounds like profile.

    Marc

  8. #8
    Join Date
    May 2008
    Beans
    68

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by mrand View Post
    When I previously said I didn't have any ideas, I was referring to some unknown problem with X. If you're only seeing these cpu peaks when Mythtv is active, it sure seems like trying a different profile would be a quick and easy test before going to the trouble of changing drivers or anything.

    According to the Mythtv wiki:


    When you say "X kills my CPU", does it do that when running VLC or mplayer, or only Mythtv. If only under Mythtv, again, it sounds like profile.

    Marc
    Thanks, Marc. I have changed to the "Normal" profile and even the CPU- profile and X still drifts to 100% cpu. The error I am referring to appears to fit very well with this description:

    http://www.mythtv.org/wiki/index.php...RG_CPU_Hogging

    and since the offered solution only minorly helps I was hoping someone else may have a better solution or suggestion.

    I will try it w/ either VLC or MPlayer but since the system does not have a keyboard/mouse and is solely connected to my tv that will take me a bit to do.

  9. #9
    Join Date
    Dec 2007
    Location
    Dallas, TX
    Beans
    151
    Distro
    Ubuntu Development Release

    Re: Numerous Issues (X cpu hog, backend segfaults, more)

    Quote Originally Posted by netslacker View Post
    Thanks, Marc. I have changed to the "Normal" profile and even the CPU- profile and X still drifts to 100% cpu. The error I am referring to appears to fit very well with this description:

    http://www.mythtv.org/wiki/index.php...RG_CPU_Hogging

    and since the offered solution only minorly helps I was hoping someone else may have a better solution or suggestion.

    I will try it w/ either VLC or MPlayer but since the system does not have a keyboard/mouse and is solely connected to my tv that will take me a bit to do.
    Slim might be the best profile to try, but there is always the possibility that it isn't profile related. Sorry to hear the link you found didn't help either.

    As for keyboard/mouse - you could always enable VNC for a little while and control it from remote (although know that VNC might bog you down further).

    Marc

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •