MP 1.4.0 waiting for tv service start...but it's just started ! (1 Viewer)

Leonardo Accorsi

New Member
July 4, 2013
2
0
52
Home Country
Italy Italy
Hi,
I have upgraded MP 1.3.0 to 1.4.0.
Now I have a strange issue.
When I boot PC and MP start automatically, I see MP startup screen (TITAN) that say "Waiting for tv service".
If I watch in services I see TVSERVICE up, But MP seem to ignore that and remains in wait state.
In this situation I have to kill mediaportal and restart it. In this way it start correctly.
I have see in MP configuration the "WAIT SETTING (autodetect)" with the option "wait until tv service has started". I have tried to clear flag, but It's not removable.
Have someone experienced this issue (and can help me) ?

Thanks a lot

Leonardo Accorsi
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello and welcome Leonardo :)

    So this is on a single-seat installation, yes?
    Are you running any firewalls?
    How many network adaptors does the PC have?

    mm
     

    Django.edwards

    Portal Pro
    October 22, 2009
    457
    54
    Eupen
    Home Country
    Belgium Belgium
    It could also be possible, that the tvservice.exe is running.... but has some Problems. The fact that in Services the tvservice.exe is mentionned as running, does not necessarily mean that he accept connections. It would be helpfull to provide some logs in the case the Problem appears.
     

    Leonardo Accorsi

    New Member
    July 4, 2013
    2
    0
    52
    Home Country
    Italy Italy
    Hi, thanks for your replies.
    I confirm that is a single-seat installation, no running firewall (windows firewall disabled) and a single network adapter.
    When I'll back home tonight I will collect log as suggested by Django.

    For the moment thanks, and see you later.

    Leonardo
     

    jcfolke

    New Member
    October 19, 2011
    2
    0
    Home Country
    Sweden Sweden
    I also have a single seat installation and are experiencing the same problems after an upgrade from 1.3.0 to 1.4.0.
    I think that the service is actually running as it is recording a program when looking in mediaportal configuration -> manual control.
    The last lines of the media portal log are

    Code:
    [2013-07-08 21:57:31,499] [Log	] [SplashScreen] [INFO ] - SplashScreen: Splash screen is using screen: \\.\DISPLAY1 (Position: 0,0 Dimensions: 1360x768)
    [2013-07-08 21:57:31,608] [Log	] [MPMain  ] [INFO ] - Main: TV service start is pending. Waiting...
    [2013-07-08 21:57:32,639] [Log	] [SplashScreen] [INFO ] - Version: Application 1.4.0
    [2013-07-08 21:57:49,405] [Log	] [MPMain  ] [INFO ] - Main: The TV service has started successfully.
    [2013-07-08 21:57:49,420] [Log	] [MPMain  ] [INFO ] - Main: TV service is in status Running - proceeding...

    and then noting happens, the MediaPortal splash is still showing "waiting for tv service"
     

    jcfolke

    New Member
    October 19, 2011
    2
    0
    Home Country
    Sweden Sweden
    I tried to set the debug level in MediaPortal to "debug" and then restarted the computer. Now there are two more lines in the log file when the media portal startup freezes.

    Code:
    [2013-07-09 09:06:21,546] [Log	] [SplashScreen] [INFO ] - SplashScreen: Splash screen is using screen: \\.\DISPLAY1 (Position: 0,0 Dimensions: 1360x768)
    [2013-07-09 09:06:21,656] [Log	] [MPMain  ] [DEBUG] - Main: Wait for TV service requested. Checking if installed...
    [2013-07-09 09:06:21,656] [Log	] [MPMain  ] [DEBUG] - Main: TV service found. Checking status...
    [2013-07-09 09:06:21,734] [Log	] [MPMain  ] [INFO ] - Main: TV service start is pending. Waiting...
    [2013-07-09 09:06:22,906] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: Splashscreen.xml found: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\DefaultWide\splashscreen.xml
    [2013-07-09 09:06:23,109] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: Try to load background image value found: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\DefaultWide\media\splashscreen.jpg
    [2013-07-09 09:06:23,390] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: background image successfully loaded: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\DefaultWide\media\splashscreen.jpg
    [2013-07-09 09:06:23,390] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: Textsize value found: 20
    [2013-07-09 09:06:23,421] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: Textsize successfully set: 20
    [2013-07-09 09:06:23,421] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: TextColor value found: Color [A=255, R=111, G=175, B=225]
    [2013-07-09 09:06:23,421] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: TextColor successfully set: Color [A=255, R=111, G=175, B=225]
    [2013-07-09 09:06:23,531] [Log	] [SplashScreen] [INFO ] - Version: Application 1.4.0
    [2013-07-09 09:06:39,984] [Log	] [MPMain  ] [INFO ] - Main: The TV service has started successfully.
    [2013-07-09 09:06:40,015] [Log	] [MPMain  ] [INFO ] - Main: TV service is in status Running - proceeding...
    [2013-07-09 09:06:40,015] [Log	] [MPMain  ] [DEBUG] - Main: Checking prerequisites
    [2013-07-09 09:06:40,015] [Log	] [MPMain  ] [DEBUG] - Main: Verifying DirectX 9

    It seems like Direct X is involved

    After killing the MediaPortal application using the task manager i restart the MediaPortal and now the program starts.

    Code:
    [2013-07-09 09:15:43,390] [Log	] [SplashScreen] [INFO ] - SplashScreen: Splash screen is using screen: \\.\DISPLAY1 (Position: 0,0 Dimensions: 1360x768)
    [2013-07-09 09:15:43,406] [Log	] [MPMain   ] [DEBUG] - Main: Wait for TV service requested. Checking if installed...
    [2013-07-09 09:15:43,406] [Log	] [MPMain   ] [DEBUG] - Main: TV service found. Checking status...
    [2013-07-09 09:15:43,406] [Log	] [MPMain   ] [INFO ] - Main: TV service is in status Running - proceeding...
    [2013-07-09 09:15:43,406] [Log	] [MPMain   ] [DEBUG] - Main: Checking prerequisites
    [2013-07-09 09:15:43,406] [Log	] [MPMain   ] [DEBUG] - Main: Verifying DirectX 9
    [2013-07-09 09:15:43,484] [Log	] [MPMain   ] [DEBUG] - Main: Initializing DirectX
    [2013-07-09 09:15:43,593] [Log	] [SplashScreen] [DEBUG] - FullScreenSplash: Splashscreen.xml found: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\DefaultWide\splashscreen.xml
     

    oljoooge

    Portal Member
    August 17, 2007
    19
    0
    Home Country
    Germany Germany
    I have the same problem every now and then after upgrading from 1.3 to 1.4.0 final ...I help myself as described above...killing MP with task Manager and then starting it again...
    Additionally I sometimes have the splash waiting/halting on "initializing DirectX"...when I use "Alt-Tab" there is a Messagebox in the background saying something like "3d Context could not be created"...killing and restarting helps here to!
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    about DirectX not being initialized and using software D3D - search in forums, there are enough topics.
    In short: MP starts now so fast, that some graphic drivers aren't ready yet. And Application that started when drivers were not ready, has no chance to get proper environment. so if you experience problems with DirectX staring too slow (really depends what else is on autostart, how fast your CPU and HDD, version of drivers etc.) then try to make delay before MP autostart (let's say 5 seconds). DOn't use built-in start delay in MP, because at that stage application is already started with environment not being ready, and environment cannot be recovered during application run.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom