[TV] - Runaway TVservice.exe

Discussion in 'MediaPortal 1.1.0 BETA 1' started by jameson_uk, October 27, 2009.

  1. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    MediaPortal Version: SVN 23908
    MediaPortal Skin: Blue3 Wide
    Windows Version: XP Pro - SP3
    CPU Type: Intel E4500 2x2.2Ghz
    HDD: WD green 500Gb
    Memory: 2Gb DDR2-6400
    Motherboard: GIGABYTE GA-E7AUM-DS2H
    Video Card: Geforce 9400 IGP
    Video Card Driver: Nvidia 191.07
    Sound Card: Nvidia HDMI
    Sound Card AC3: Asus Xonar HDAV
    Sound Card Driver: Latest
    1. TV Card: Pinnacle 7010ix
    1. TV Card Type: Dual DVB-S and Dual DVB-T
    1. TV Card Driver: Latest
    MPEG2 Video Codec: NVidia
    MPEG2 Audio Codec: NVidia
    h.264 Video Codec: PowerDVD 7
    Satelite/CableTV Provider: Freeview (DVB-T) / Freesat (DVB-S)
    HTPC Case: Antec Fusion
    Cooling: Scythe Mini-Ninja
    Power Supply: Antec 300W
    Remote: MCE
    TV: Panasonic 42PZ80B
    TV - HTPC Connection: HDMI

    I used to have this problem before but this SVN has made the situation much worse. When I resume from S3 TVService.exe CPU usage is at 50% and system becomes unresponsive. I suspect this is down to EPG grabbing. If you look at logs you will see that machine was woken at 18:00 and within a second of starting the EPG process had kicked off and there are errors in the tv server error.log.

    I tried to stop the service with NET STOP TVSERVICE but was told the service could not be stopped so I ended the process tree and system returns to normal. I restart MP then tbservice kicks off again and CPU usage back up and system becomes unresponsive (to the point where the pointer takes about 30 seconds to get from one side of the scren to the other).

    I am not sure if this is because some channels are on both DVB-T and DVB-S and it is the conflict with the new Feesat (DVB-S) EPG grabber which is now part of MP that is causing the issue?

    As it looks like the only thing the service is doing at the time is grabbing EPG I have disabled most of the options but seems like a reboot is only way to solve.

    Logs are located in
    https://forum.team-mediaportal.com/mediaportal-1-1-0-beta-1-454/wrong-filename-recording-72549/


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Could you check with task manager if the CPU load is happening in kernel or in user mode?

    1) set View -> show kernel times
    2) open performance tab and check the kernel side usage (red line)

    It could be DVB card's drivers. If the kernel time is not high (only few %) then please try disabling the EPG grabbing completely.
     
  4. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    not at home but will check next time this happens
     
  5. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    All red. I take it this means it is the drivers?

    seems much worse on latest SVNs but will see if I can find better drivers
     
  6. Marcusb
    • Team MediaPortal

    Marcusb Retired Team Member

    Joined:
    February 16, 2005
    Messages:
    1,995
    Likes Received:
    29
    Location:
    Melbourne
    Ratings:
    +29 / 0
    I've been getting this too. For me, the "System" process goes to 100% utilisation (on one core), not the TV Service. When I check what is causing this using process explorer, it's the tv tuner drivers that are responsible. Killing the TV Service usually restores things to normal.
    This doesn't happen every time, but there seems no pattern to what causes it. Next time I'm at home when it happens, I'll update this post and add logs. It seems to happen around two times a week for me, but this also seems to depend on how much I'm recording TV at the time. It's hard to find firm patterns as it's not often enough to establish a link.

    At least this may help isolate that it's something to do with the driver interaction.
    I have two tv tuner cards. Both DTV-T. One is a DVico, dual PCI and the other is a DNTV dual PCIe card. The issue seems to happen with both, as I can totally remove one and the issue occurs. Then I reinstall it and remove the other and the issue is still there.
    I've reinstalled Windows since and the problem persists. Until I read this post, I figured it was something to do with my installation as no one else seemed to have this issue. I was planning on going Windows 7 soon to see if that would help.

    Anyway, logs will come soon, but I didn't see anything relevant in them when I looked a while ago.

    Marcus.
     
  7. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Normally that means bad drivers, as applications itself aren't running in kernel space. But it could be something in TVE3 side that gets stuck in a infinite loop and queries the driver constantly. I would suspect DVB EPG grabbing, so try disabling it first and see if you are still able to reproduce the issue. It is much more likely that the EPG grabbing would have such issue. Recordings are accessing the DVB HW (not directly, but thru the directshow filters from OS) only when starting and stopping the recording.


    After looking at the logs in the other thread (recording failure):

    I would say that driver is not working properly as the graph cannot be started. I did have similar issue when my Floppy DVB-C was starting to die.
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!