Occasional Black screen on Live TV and Recorded TV (1 Viewer)

George Leverington

Portal Member
January 30, 2015
7
1
37
Home Country
England England
Hello,

I've been using the fantastic MediaPortal for a couple of years without issue. But I needed to reinstall Windows because things were slowing down.

I've got a nice speedy setup again now with a fresh Windows 10 install & MP 1.22 but I have an issue where if MP were to startup while the TV is off (i.e. scheduled night time reboot), when I next go to use it and I start Live TV or start a Recording and I get a slower load followed by black screen no audio. I have to quit MP and start it again with the TV on to watch TV.

I have attached 2 logs, one is an example of a failed launch of Live TV then a Recording, the other is working launch of the same channel and recording.

I am hoping someone could point me in the right direction. The log on the failed launch has extra lines of "Audio" so I have experimented with various settings in the Startup/Resume and TV Video Codecs and Renderers sections to no avail.

Windows 10 (1903) 64bit, Nvidia GT610 connected to an LG TV via HDMI

Many thanks for your help in advance!
 

Attachments

  • MediaPortalLogs_08_01_20__13_10.zip
    495.7 KB
  • MediaPortalLogs_08_01_20__13_14.zip
    503 KB

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,223
    Home Country
    New Zealand New Zealand
    So, MediaPortal is configured to use a specific audio renderer/output for TV and TV recordings:
    (from MediaPortal.xml)
    Code:
    <section name="mytv">
      ...
      <entry name="audiorenderer">DirectSound: LG TV (NVIDIA High Definition Audio)</entry>

    Taking the failed live TV attempt as an example, the log file is pretty clear...
    1. Select channel:
    [2020-01-08 13:09:00,450] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=BBC One HD

    2. Try to use configured audio renderer... fails:
    [2020-01-08 13:09:06,959] [Log ] [MPMain ] [INFO ] - DirectShowUtil: AddAudioRenderer - Attach volume handler device to audio renderer: DirectSound: LG TV (NVIDIA High Definition Audio)
    [2020-01-08 13:09:06,962] [Log ] [MPMain ] [INFO ] - DirectShowUtil: AddAudioRendererToGraph failed filter: (DirectSound: LG TV (NVIDIA High Definition Audio)) not found

    MP can't play video without audio, and it can't play audio without an audio device connected. As indicated above, you've configured MP to use the LG TV as audio output.

    If that output is not available for some reason - for example, maybe the TV is off - then live TV will absolutely fail in the way that you've observed.

    On the other hand, if you think the output _should_ be available, further investigation will need to be done by somebody who is more knowledgeable than me.
     

    George Leverington

    Portal Member
    January 30, 2015
    7
    1
    37
    Home Country
    England England
    Many thanks for your fast replies, I should have made clear that the TV is always on when trying to play the Live TV or recording, the difference between the logs is that Mediaportal was just started with the TV either on or off.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,466
    1,488
    Southampton
    Home Country
    United Kingdom United Kingdom
    a fresh Windows 10 install & MP 1.22
    The problem of a black screen on wake from sleep has received some fixes in recent releases of MP. I therefore think that it would be worthwhile upgrading to MP 1.23, as it may have a fix for this problem that MP 1.22 is lacking. (It is also possible that my recollection is completely faulty :eek:.)

    -- from CyberSimian in the UK
     

    George Leverington

    Portal Member
    January 30, 2015
    7
    1
    37
    Home Country
    England England
    I am still on 1.22 but I had a thought that MediaPortal did not like starting up without a Audio Device available in Windows, even if you later turn on the TV (HDMI audio device becomes available) and play the TV content.

    So I plugged a set of headphones into the on-board soundcard and Windows enabled the soundcard, I launched MP with the TV off, turned on the TV when loaded and successfully played TV through the TV speakers (as HDMI Audio is still the default audio device in Windows).

    Great!!!

    Then I found a registry hack for the HD Audio Driver which disables jack detection so I can have the soundcard available in Windows as a fall-back device without having the headphones plugged in (on my system I found the HD Audio Driver in 0003):
    1. Press Windows Key + R.
    2. Type regedit, press Enter.
    3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0007\GlobalSettings.
    4. Right-click the REG_BINARY EnableDynamicDevices, click Modify, and set it to 0.
    5. Reboot.
    Thanks everyone for your help and confirming the audio issue on my system.
     

    Users who are viewing this thread

    Similar threads

    Solved!! After testing the procedure on the old machine I uninstalled the LAV filters before re-installing MediaPortal and that did the trick! Thanks all for your help with this.
    Solved!! After testing the procedure on the old machine I uninstalled the LAV filters before re-installing MediaPortal and that did...
    I recently installed MediaPortal 2.4 on a new computer and copied several TV shows from the previous one to an external drive...
    Replies
    9
    Views
    707
    Well, your issue is really weird. Normally, battery should be OK but, who know ? And, if you have something like that : It could be interesting to see if your battery give 3 Volts. Also, if, after 3 days (for example) if you can start your PC manually and, go into the BIOS, motherboard BIOS time could be a good indicator.
    Well, your issue is really weird. Normally, battery should be OK but, who know ? And, if you have something like that : It could...
    I have been using MediaPortal 1.x (currently 1.30) since 2013 on a Zotac ZBOX ID83 (Intel I3, Windows 7 now Windows 10). I record...
    Replies
    4
    Views
    149
    Hi ge2301 I wasnt 100% clear above - when I said everything was now working other than displaying TV, I also meant that 'videos' still didnt play. But the client attached to the server OK and can do everything except play TV programs (and videos) - the screen with the player controls loads (and fade away as normal after 10s) just...
    Hi ge2301 I wasnt 100% clear above - when I said everything was now working other than displaying TV, I also meant that 'videos'...
    Hi i just upgraded my motherboard and drive and installed a replacement copy (server and client) of MP2.4. all works perfectly...
    Replies
    6
    Views
    354
    These are unsubstituted skin variables, although the names shown are incomplete; the full names are: #TV.TuningDetails.SignalLevel #TV.TuningDetails.SignalQuality #Play.Current.TSBitRate The values are provided by the TV Server, so if Argus TV is not making these values available to the MP client, the skin variables will not be...
    These are unsubstituted skin variables, although the names shown are incomplete; the full names are: #TV.TuningDetails.SignalLevel...
    Playing recorded TV files does not show any media info data: Playing the same file back using the video player shows the media...
    Replies
    4
    Views
    498
    You need to tell MP2, how to handle aspect ratios, that do not fit to the current screen resolution. Please go to Video Player Settings. I think you need "Intelligent Zoom" or "Pan&Scan". But remember, in this case you loose video information on top and bottom. I would prefer black bars. You could also select "Stretch", if you want to...
    You need to tell MP2, how to handle aspect ratios, that do not fit to the current screen resolution. Please go to Video Player...
    Hi Forumers, I've been happily running MP1 for quite a while and decided to give MP2 a try again. I've successfully installed MP2...
    Replies
    1
    Views
    387
    Top Bottom