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

George Leverington

Portal Member
January 30, 2015
7
1
35
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

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    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
    35
    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
    1,999
    1,234
    Southampton
    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
    35
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    G [solved] Black Screen on all videos after upgrading to either 1.23 or 1.24 from 1.22 General Support 4
    H random black screen live tv and videos (amended) General Support 0
    Terra some H265 videos stay black, audio is playing General Support 4
    doskabouter Black screen while watching some iptv streams General Support 2
    T frequent black screen no audio on playback NOT from beginning Watch / Listen Media 0
    G MadVR, black TV Picture 1.20 Pre Release 1
    C video wont open, screen goes black and reverts to video menu General Support 3
    C Black Gold Tuner Support General 4
    A MP2 Black Screen General 6
    J Blue Screen Error Submit: Bug Reports 0
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    F After resume, TV Server connection screen is shown General Support 4
    M [Duplicate] Always enter full screen when entering TV from main Menu Feature Requests 1
    M Change size of the splash screen Skins and Plugins Installer (MPEI) 2
    T Animated circular icon persists in centre of screen. General 10
    P MP2 Client Screen Flickering on Resume General 2
    Rob Hexenmeister Work arounds for an alternative home screen General Support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    R Media portal resumes with wrong screen resolution General Support 3
    N [Finished] [MP2-806] Playing a recorded radio program does not show screen to allow skipping forward, etc MediaPortal 2 141
    N [Finished] MP2-803 - Delete full series doesn't work when viewing a program in the extended schedule screen MediaPortal 2 12
    morpheus_xx [Finished] [MP2-802] TV-Settings availability in all TV screens MediaPortal 2 12
    G How to access Scheduled Recordings without going through TV Home screen General Support 3
    Rob Hexenmeister Radio Guide descriptions in myradio.xml (screen 30) MediaPortal 1 Skins 3
    L MP Playback Freezes When Unpausing from Minimized Screen General Support 6
    Similar threads

























    Top Bottom