TV tuner fails to load (was working) (2 Viewers)

henrysinn

MP Donator
  • Premium Supporter
  • September 8, 2009
    28
    6
    Melbourne
    Home Country
    Australia Australia
    Hi all

    Running 1.7.1.0 TV Server as part of a full upgrade to MP2 2.5 setup
    After some problems with retuning (solved - frequencys xml file for my area was wrong) all has been working beautifully.
    Noted out of the blue about 4-5 days ago the "TvExceptionTunerLoadFailed" error as part of a "Failed to load tuner" error
    See in logs attached
    Tests that fail;
    - Preview a channel
    - Scan for channels
    Device: DVBT Realtek_820T_64.1.801.2012 'working' with no errors in device manager
    I have background in system engineering but am at a loss.
    Looking forward to any thoughts, tests and tips

    Henry
     

    Attachments

    • MediaPortal2-Logs-2024-10-27-12.36.38.zip
      2.2 MB

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,957
    1,851
    Southampton
    Home Country
    United Kingdom United Kingdom
    Noted out of the blue about 4-5 days ago the "TvExceptionTunerLoadFailed" error as part of a "Failed to load tuner" error
    I know bugger all very little about the internals of TV Server, so I cannot point to any specific cause of your problem. Some points:

    (1) When you installed MP 2.5, which TV Server did you choose to install? There is: TVE3, TVE3.5, and TvMosaic. Only TVE3 works correctly. I cannot tell from the logs which TV Server you are using (the information is probably present, but I don't know what the version numbers denote).

    If you installed TVE3.5, run the installer again and select TVE3 (the installer will uninstall TVE3.5 and then install TVE3).

    (2) The file "ServerError.log" shows problems attempting to grab the EPG, including:

    Code:
    [DVB EPG timer] [ERROR] - Realtek: failed to enable PID filter, hr = 0x80070057 (The parameter is incorrect)
    ...
    [DVB EPG timer] [ERROR] - MPEG 2 sub-channel: giving up waiting for PMT - you might need to increase the PMT timeout
    ...
    [EPG Update thread] [ERROR] - System.InvalidOperationException: 
    The instance of entity type 'Channel' cannot be tracked 
    because another instance with the same key value for {'ChannelId'} is already being tracked. 
    When attaching existing entities, ensure that only one entity instance with a given key value is attached. 
    Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
    ...
    [DVB EPG timer] [ERROR] - tuner base: failed to load tuner
    Mediaportal.TV.Server.TVLibrary.Interfaces.TvException: Main DirectShow tuner component is in use.

    (3) What does this all mean? I don't know, but I would suggest disabling both EPG grabbers (the idle grabber and the timeshift grabber), rebooting, and then trying to scan for channels. If that works, start the client and see if you can watch live TV (the EPG will probably be empty, but you don't need an EPG in order to watch live TV).

    -- from CyberSimian in the UK
     

    henrysinn

    MP Donator
  • Premium Supporter
  • September 8, 2009
    28
    6
    Melbourne
    Home Country
    Australia Australia
    Hi @CyberSimian

    Thank you for your note

    TVE3.5

    Gut feeling is some S/W interface to the DVBT card. I have 2 other cards that are identical so I might test them
    Also suspect that some f%^#ing Windows update might have done something (Win 10 machine)
    Have also tried a 'repair' via the installer to no effect
    Suspect EPG errors will have to be related to not getting through to the card and therefore the same as the test fails as mentioned.

    Might be a while before I get a window to change cards and test / report.

    Best regards to all reading this :)
    Henry
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,957
    1,851
    Southampton
    Home Country
    United Kingdom United Kingdom
    TVE3.5 ... Gut feeling is some S/W interface to the DVBT card.
    When I tested MP 2.5 some months ago using TVE3.5, I found that "scan for channels" failed to find any channels when I selected a DVB-T2 tuner (a TBS 6284) :(, but succeeded when I used a DVB-T tuner (a Pinnacle 2000i) :). Obviously the Pinnacle found only those channels broadcast in DVB-T MUXes (in the UK we have both DVB-T MUXes and DVB-T2 MUXes).

    In contrast, TVE3 found all of the channels appropriate for each tuner type. (y)

    I don't know whether this difference between DVB-T and DVB-T2 applies to all tuners of each type, or whether it depends on particular brands of tuner. :confused:

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Top Bottom