MediaPortal SVN-Snapshot:-07-25-2008 22-31h - Revision:19778.rar (2 Viewers)

illStyle

Portal Pro
August 26, 2006
212
5
31
Nuremberg
Germany Germany
Hi,

although this SVN version is running stable so far in cannot confirm the speedup when turning TV on with that new option enabled. Compared to RC2 speed remains the same. I can now switch from SD to HD channels without MediaPortal crashing, though. This did not work in RC2.

Thanks for making MP better and better!!


Regards,
Simon
 

romadd64

MP Donator
  • Premium Supporter
  • October 24, 2007
    82
    15
    Italy Italy
    In this SVN MiniEPG has become sluggish when there are a lot of channels in a group. In RC2 was lighting fast.
    I think this was introduced with the fix of bug 1466 by Gibman (rev 19711), with the check of channel state. TVService does a query to the DB for every channel in the group.

    I have more details :

    If no other client is timeshifting, MiniEPG is sluggish; if another client is timeshifting, MiniEPG is fast. It seems that RC2 behavior it's reverted with the patch to bug 1466, that corrects sluggish EPG when another client is timeshifting.


    romadd
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    Hi!

    Yes, it is intentional.
    Before we simply queried the server if it was timeshifting or recording - if "no" then assume all channels are available.

    This just isnt good enough.

    What if a card is disabled / not found then the channels associated with that card should become unavail.
    We can revert back to how it was before with that simple algorithm described above, but then u also understand what can happen - false channel states.

    Also, the reason why a timeshifting user has faster access to the mini EPG is simply because those cached channel states are now located on the user object on the server.

    When u r not timeshifting, then the server does not know about you - (thus no user object) in other words it has to do a non-cached/slow channel states query on the fly.

    /gibman

    In this SVN MiniEPG has become sluggish when there are a lot of channels in a group. In RC2 was lighting fast.
    I think this was introduced with the fix of bug 1466 by Gibman (rev 19711), with the check of channel state. TVService does a query to the DB for every channel in the group.

    I have more details :

    If no other client is timeshifting, MiniEPG is sluggish; if another client is timeshifting, MiniEPG is fast. It seems that RC2 behavior it's reverted with the patch to bug 1466, that corrects sluggish EPG when another client is timeshifting.


    romadd
     

    nschoot

    Portal Pro
    July 29, 2007
    70
    0
    I can confirm this... I attached logs as well. This is what I did:

    - Cleared logs (using tool)
    - Started MP, Watched TV for a bit
    - Pressed Stand-by (while watching TV) on remote
    - Wait a bit
    - Pressed Resume on remote
    - MP started, error: "Unable to start time shiifting, Unknown error" -> The TV Guide info was there though.
    - Shut down MP
    - Went to TVServer config, tried to preview a channel there --> Failed
    - Gathered logs

    I installed the new TVService dll, but no difference. The original RC2 worked fine. I tried both with and without the preload graph options. No difference. I have PowerScheduled configured to reinit TVService after resume. (Without this the service won't work at all after resume)

    Using: FireDTV, ATI Radeon HD 2600, MSSQL
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Also, the reason why a timeshifting user has faster access to the mini EPG is simply because those cached channel states are now located on the user object on the server.
    Couldnt the server process cache all the channel states always? Using SQL to dothe work is just causing unnescessary delays. The channel state information doesnt need to persis between different server runs so I cannot see any reasons why it woulndt be possible.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    Also, the reason why a timeshifting user has faster access to the mini EPG is simply because those cached channel states are now located on the user object on the server.
    Couldnt the server process cache all the channel states always? Using SQL to dothe work is just causing unnescessary delays. The channel state information doesnt need to persis between different server runs so I cannot see any reasons why it woulndt be possible.
    The channel states are not fetched from the database, nor do they exist there.

    The main problem is that the channel state mechanism is done by iterating through the available cards on a given user.

    If a user is not timeshifting, then the tvserver has no knowledge about the user- and since the channel states are based on an existing user then there isn't any cached data.

    The reason why it is slow is not b/c of SQL - but simply b/c of the various iterations.

    In order to have it cacheable, we need to introduce an "empty user" on each card.
    This empty user's channelstates would then be used for miniepg on users that are not timeshifting.

    /gibman
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    DVB/S - Radio - Nearly perfect

    Thank you for this SVN. Its the first version with nearly perfect DVB/S - Radio!

    Regards
    Helios
     

    pilotedge

    Portal Pro
    February 19, 2008
    50
    1
    United Kingdom United Kingdom
    Hi,
    I have some attached some logs regarding problems watching HD Channels. As someone mentioned earlier in the thread, I am also getting the "Waiting for VMR" in the log.... I can get audio only through the preview function in tv config, but this is mp2 audio rather than ac3....
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 2)

    OP Similar threads Forum Replies Date
    G Update von MediaPortal Installationsprobleme? 0
    ajs [News] MediaPortal 1 - 1.25 Released! News and Announcements 1
    horned_reaper Standby is prevented by MediaPortal client General Support 0
    U [solved] MediaPortal crashing on startup General Support 10
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    high [unanswered] Hallo möchte gerne Mediaportal. nutzen kann mich jemand anrufen? contactform feedback and requests 2
    ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
    ajs [Rejected] Mediaportal Codename MediaPortal 1 41
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    N Steam release of MediaPortal MediaPortal 1 Talk 0
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    M Fehlerhafter Link auf der aktuellen MediaPortal Seite Page- und Forumsfeedback 0
    H 1.24.0 MP 1.24 high CPU utilization when 'Keep MediaPortal always on top' option enabled Bugreports 4
    mickb [solved] Mediaportal Stops working General Support 5
    J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
    atlantic How to use Spotify inside Mediaportal? Listen Music 18
    horned_reaper MediaPortal configuration error log message General Support 1
    Rob Hexenmeister Mediaportal Properties #plot etc... General Support 3
    ajs [News] MediaPortal 1 - 1.24 Released! News and Announcements 3
    S [solved] access the desktop without leaving mediaportal General Support 5
    J New computer with win10 and how will i set Mediaportal up ? Newcomers Forum 55
    T MediaPortal Extensions Manager Fehlermeldung bei Installation einer Erweiterung Installationsprobleme? 1
    geotwticher TV Guide EPG Grabber for Australia 2020 RIP freepg.tv General 4
    azzuro [News] MediaPortal 1.24 Pre-Release ready for testing! News and Announcements 0
    M.Hulot Warum Blu-ray-Menü nicht anwendbar bei MediaPortal? Allgemeines Supportforum 5
    Similar threads

























    Top Bottom