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

George Leverington

Portal Member
January 30, 2015
7
1
36
Home Country
England England
Country flag
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 · Views: 4
  • MediaPortalLogs_08_01_20__13_14.zip
    503 KB · Views: 2

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    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
    36
    Home Country
    England England
    Country flag
    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,345
    1,428
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    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
    36
    Home Country
    England England
    Country flag
    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

    First try to uninstall MP2.3.1 and install the latest version 2.3.2. It's always better to be on the latest version. If the problem continues, shortly report here. Your logs are full of errors, but I can not say what it is, somebody else from team would need to check.
    First try to uninstall MP2.3.1 and install the latest version 2.3.2. It's always better to be on the latest version. If the problem...
    Description: Sometimes i get a black screen, and i have to rescan the tv channels everytime this happens to back to normal to...
    Replies
    1
    Views
    336
    Thanks @CyberSimian! I delved deeper into this issue and especially the "Silent Stream Bug" you mentioned. I downloaded different pieces of software that claimed to do like you said: keeping the DA-convertors "alive" by sending a non-audible signal periodically. Turned out this was NOT the thing happening in my AV-receiver. While...
    Thanks @CyberSimian! I delved deeper into this issue and especially the "Silent Stream Bug" you mentioned. I downloaded different...
    I'm having a strange one here ... it seems to have started after getting a new Sony 4k TV, and manifests itself by refusing to...
    Replies
    9
    Views
    1K
    Could be that a sudden powercut corrupts the database, or give all your pcs a new ipadres, or several more things that can break up a running mediaportal setup. Without the logs however, I don't have a clue on what exactly is wrong...
    Could be that a sudden powercut corrupts the database, or give all your pcs a new ipadres, or several more things that can break up...
    Hi there, I'm a happy long time user and am currently using MP 1.25. Up until now I had no issues with my setup. Yesterday...
    Replies
    1
    Views
    411
    But I also have good news - I have solved the issue. I had tried to find an updated driver for the PCTV 290e USB tuner I have, but had no luck. I then contacted Hauppage support to see if they had a new driver for it. They eventually replied this morning suggesting to install their WinTV product, as it updates the drivers too. And...
    But I also have good news - I have solved the issue. I had tried to find an updated driver for the PCTV 290e USB tuner I have, but...
    Hi, My MP install has been flawless for ages, but has just started stuttering this last few days. I rebooted, but it made no...
    Replies
    14
    Views
    4K
    I have been having stutter problems with some single-song videos stuttering. I mean the audio continues playing as normal but the video stops for a few seconds and then picks up again in sync with the audio. this happens with about 1 in 10 videos. Different copies of the exact same video play OK. Also, with some videos of TV shows...
    I have been having stutter problems with some single-song videos stuttering. I mean the audio continues playing as normal but the...
    I have been having stutter problems with some single-song videos stuttering. I mean the audio continues playing as normal but the...
    Replies
    0
    Views
    2K
    Top Bottom