[confirm] TV not working after hibernation, config crashing (2 Viewers)

bounguine

Portal Pro
November 7, 2005
233
15
51
St.Petersburg
Home Country
Russian Federation Russian Federation
1. I’m not using Firewall. TVServer is killed only once by nnCron and then is started successfully (due to nnCron logs). Moreover, this scheme worked more than 1 year for me, until 1.1.0* was released. Now TVServer is almost always inaccessible after resuming until I manually restart it through Windows console or when I start TVServer console pressing the icon, which is opened NORMALLY without pushing message “TVServer is not started. Would you like to start it?” (like it was in much earlier “buggy” versions). Only after that MP “sees” the TVServer. I assure you, this happens ONLY in 1.1.0*. Downgrading to 1.0.2. solves the problem TOTALLY.

2. Again, in earlier versions I used MS loopback adaptor using the same subnet as the PC to solve MSSQL problems (I did have problems when TVServer tried to connect to MSSQL DB) and it worked without any problems. OK, this might sound strange, as I’m not a sysadmin. Sorry.
Then I switched the MS loopback adaptor off, as the problems were solved by MP’s team.
Now in 1.1.0* I tried to use it again, but without any success.
I didn’t remove it, but I configured MP and TVServer to use a “real” PC’s IP.
Anyway, if MP and TVServer are both configured to use a “real” IP, why should they try to use the MS loopback adaptor’s IP, which might cause problems? Why, if it is pre-configured?
In network connections priorities I have: (1) “real” dynamic PC’s IP , (2) static MS loopback adaptor, (3) SS2 IP.

3. Do you mean that PowerScheduler now can restart SS2 driver?
Again and again, I always used my cheap Korean remote, configured through IRLink SW to emulate pressing Windows “send to hibernation” without any problems. And it worked more than a year. Now you say I should “map the Power button to MP's own "Suspend" action instead”. Again, that sounds strange.
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    I am sorry but I do not have the time or the energy to argue with you.
    I am only trying to help. If you don't want to try my suggestions so be it.
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    51
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    Pal, I'm not arguing with you!
    Thanks for your help!
    I'm just trying to understand why 1.1.0 is again rudely "buggy".
    I used to work as a system architect for quite serious projects and that question bothers me much.

    As for "map the Power button to MP's own "Suspend action instead", it again sounds strange.
    What for?
    MP is a Win app and must be normally closed by a Windows command, which is emulated by remote’s SW.
    Or it is a hand-made application, which is not true, as I respect what MP’s team has done.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    When you suspend a system, applications are not closed. But they need to prepare for the suspend because it is not completely transparent to the application (e.g. network connections cannot survive a suspend/resume cycle, buggy drivers behave erratically if not closed before suspend, etc.). Also TVService is a service, it is never closed unless the system is going to shutdown. When Windows suspends on its own it notifies all applications, waits 2 minutes and suspends regardless of what applications are doing. TVService may not be able to prepare for suspend in such a short notice. Instead of constantly fighting Windows the Team decided to take control of the Suspend/Resume process to avoid any further issues. Since MediaPortal is an HTPC application and as such is in full control of the system (the system is not used for anything else) this seems like the best choice.

    Note: Killing a service is not the right way to stop it, just like pulling the power plug of your PC is not the right way to shut it down.
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    51
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    Brrr, but why other servises are closed normally, when PC is going to hibernation?
    Even MSSQL, which I don't like.
    Please, remember that there's a PC's case button that is configured to send the PC to hibernetion using a standard Windows command.
    And my family uses it quite often, 'cause it's an HTPC.
    For me, using Windows standars in Win apps is to be a standard, unless you adore Android.

    Note: Sure, I can configure nnCron to restart PC on resuming to solve all the MP's team troubles.
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    bounguine - with all due respect, you appear to have a system not configured as recommended, until this happens the team cannot pinpoint your issues to MP (it may be something outside MP that is causing your errors).
    I would try removing your config's oddities and reinstalling the entinre system as recommended. Then testing again and posting your findings.

    I do agree however, that you DO appear to be arguing with the devs!
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    51
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    SpudR, I’m by no means arguing or abusing anyone here, even though some of my questions were not answered.
    Just imagine me having MP working when resuming only in 3 times out of 10. Not a big fun, indeed.
    And, unfortunately, that happens only in 1.1.0*.
    I’m sure, you would also feel unhappy (sorry for that rudest word, pal), if you would suffer from this trouble.
    I assure you, I was absolutely calm and thoughtful as never before and I was just expressing my opinion, which you by all means respect (thank you for that).

    OK, you said I must configure my system first.
    Let’s suppose that it’s not yet configured. I’m too old and my hands shake. Sorry.
    But nothing was changed in my system, except for MP’s 1.1.0* upgrade. That’s truth.
    At the same time, I wrote above that downgrading to 1.0.2* solves TVServer problems.
    Definitely, the OS is configured and had worked for more than a year until I decided to upgrade to 1.1.0*.

    Then, I read here that TVService (unlike other Windows services) can’t be properly closed when Windows is going to hibernation. Although it seems strange that other services are closed, let’s suppose that it is a Windows bug. Yes, we all hate M$.
    How can be a system bug be fixed?

    There’re lots of ways, e.g.:
    1. Windows application coder makes a system fix (like that DVB fix). Once installed, the problem is solved and any user can run the application, which works faultlessly.
    2. The coder can’t make that kind of system fix and makes a trick using inbuilt application features (e.g. to solve the graphic card driver problem MP can be marked to be restarted on resuming). Again, once marked, the problem is solved and any user can run this very application, which now works faultlessly. And this is done without interfering with other applications and the OS itself.

    What is proposed here is a bit different. I must disable the “native” Windows option “send to standby” and give the total control of the Suspend/Resume process to MP.
    Strange for me, as from now I have no choice to choose between standard Windows and MP features. Yes, that’s strange, ‘cause MP is still a Windows application and should oblige OS standards. This is only theory, of course. Sorry. It shouldn’t.

    It’s also said that MP is an HTPC application and the system is not used for anything else.
    But HTPC is not only a piece of SW. It’s also a piece of HW with all its buttons, lamps, etc. Or it’s not an HTPC.
    Most HW devices use SW, which was made according to OS standards. These devices thus can be also supposed to control HTPC and some OS processes, but they have nothing to do with MP. But what is important, they cause no interference with the OS.
    My case has an HTPC power button, which is quite often used to send PC to Standby. How must I configure it trough MP? Or simply disable? That’s not in an HTPC concept for me.

    As for SS2 drivers bug (the driver must be restarted on resuming), I tried to revert from nnCron (which makes MP/TVServer stopp/start and restarts the driver) to PowerScheduler.
    I marked the “restart TVServer and driver” option, but the driver is not restarted.
    What is my mistake?

    Sincerely yours,
    Luddite from Russia
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    Go for the 3 R's:
    Remove - Uninstall MP completely (and all the oddities you seem to have added to solve other problems)
    Reinstall - reinstall in a standard configuration
    Retest - see if the same issues arise.

    I also understand your frustration, but consistently saying it DID work, but now it doesn't wont get your issues resolved.
    As for the issues with hibernation, there are programatical reasons why this doesn't work (mainly with M$ AFAIK), just take it a read that it doesn't work. I use standby constantly with no issues.

    Beyond this I (and I believe most people) can't help you - your issues may lie outside MP and you seem unwilling to try this most basic of tests.
    Give this a try and post back - otherwise the dev's (and other readers) will get upset and you'll not get anywhere...

    #peace and love#
    :)
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    51
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    Go for the 3 R's:
    Remove - Uninstall MP completely (and all the oddities you seem to have added to solve other problems)
    Reinstall - reinstall in a standard configuration
    Retest - see if the same issues arise.

    Not much time for testing really. Only late at night on weekends.
    Now MP is working only on one of the three PC aand it is used by my family who watch TV.
    Do you mean that I should delete nnCron?
    How then I can restart the SS2 driver?

    I also understand your frustration, but consistently saying it DID work, but now it doesn't wont get your issues resolved.
    As for the issues with hibernation, there are programatical reasons why this doesn't work (mainly with M$ AFAIK), just take it a read that it doesn't work. I use standby constantly with no issues.

    Probably.
    Anyway, I can make nnCron to kill TVServer when PC's going to Standby after a Windows command.
    Or I can restart PC by nnCron on resuming.
    Until weekends it may save my time.
    You didn't say anything about using case button.

    Beyond this I (and I believe most people) can't help you - your issues may lie outside MP and you seem unwilling to try this most basic of tests.
    Give this a try and post back - otherwise the dev's (and other readers) will get upset and you'll not get anywhere...

    Why? I have a nice chance to kill myself.
    Or at least "killall".

    #peace and love#

    Love is all we need.
    I'll make a try late at night on weekends.
    None of the family lets me use PC as a PC.
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    Test with one of the failed PCs - uninstall EVERYTHING but the OS if possible.
    I have a nice chance to kill myself.
    Or at least "killall".
    Don't think we are at the suicide stage yet ;)
    None of the family lets me use PC as a PC.
    LOL - That problem I know VERY well!

    Post back once you've had a chance to do the full reinstall...
     

    Users who are viewing this thread

    Top Bottom