Audio playback stopps after exiting Windows 10 screensaver (1 Viewer)

rue

MP Donator
  • Premium Supporter
  • January 1, 2009
    113
    12
    Home Country
    Germany Germany
    Country flag
    Hi I have a strange problem coming up after upgrading my system to Windows 10@64 Bit.

    In common with 1.12 and 1.13 everything is running fine, but when I use the Windows screensaver I lose audio playback when the screensaver deactivates.

    In detail:
    - Run MP with whatever player you want (I tried with bass)
    - Select "Music" section and playback any file
    - Windows screensaver appears after configured time
    -> Music is still playing
    -> wait unti system is stable (screensaver process finished)
    -> move your mouse, so that the screensaver deactivates.

    -> MP now shows the same frame as before screensaver - but music playback has been stopped.

    Calling a new file will throw an error message.

    The MP-Log file tells:

    [2016-01-23 12:54:43,397] [Error ] [MPMain ] [ERROR] - BASS: Play caused an exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    bei MediaPortal.MusicPlayer.BASS.BassAudioEngine.NewMixerNeeded(MusicStream stream)
    bei MediaPortal.MusicPlayer.BASS.BassAudioEngine.PlayInternal(String filePath)
    bei MediaPortal.MusicPlayer.BASS.BassAudioEngine.Play(String filePath).
    [2016-01-23 12:54:43,438] [Error ] [MPMain ] [ERROR] - PlaylistPlayer: *** unable to play - D:\Music\Interpreten und Gruppen\Adam Lambert\The Original High (Deluxe Edition)\08-Lucy (ft. Brian May).mp3 - skipping track!


    Looks like the player has lost it's codec connection.

    I used VLC to try what happens when MP is not in the game - no problem.
    I never had a problem before upgrading to Win 10 - formerly I used Win 7.

    System here is:
    - Asrock Z97 Extreme 6, i7 4790K, 32 GB Ram
    - internal grafics 4600
    - Logitech Z5 USB speakers

    I attach full system spec.

    Anybody an idea? - Thanks for you suggestions.

    best regards

    RUE
     

    Attachments

    • msinfo.txt
      5.5 MB · Views: 996

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    Unfortunately these logs are unusable as log level is "error" only. "Debug" level is required for diagnosis.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    Hello,

    I am not fully sure what is happening. It appears that there is a mixup of display devices.

    First music playback is starting as described:
    [2016-01-23 17:09:20,384] [Log ] [MPMain ] [INFO ] - BASS: playback started
    [2016-01-23 17:09:20,386] [Log ] [MPMain ] [INFO ] - g_Player.OnStarted() D:\Music\Interpreten und Gruppen\Adam Lambert\The Original High (Deluxe Edition)\01-Ghost Town.mp3 media:Music
    Then the scren is switching off, but I am uncertain about the appearance of new devices
    [2016-01-23 17:10:21,373] [Log ] [MPMain ] [INFO ] - Main: The user activity timeout has elapsed with no interaction from the user
    [2016-01-23 17:10:21,373] [Log ] [MPMain ] [DEBUG] - PS: POWERSETTINGCHANGE
    [2016-01-23 17:10:21,379] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEARRIVAL)
    [2016-01-23 17:10:21,382] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Intel(R) HD Graphics 4600
    [2016-01-23 17:10:21,383] [Log ] [MPMain ] [INFO ] - Main: Video Device or Screen Intel(R) HD Graphics 4600 connected
    [2016-01-23 17:10:21,383] [Log ] [MPMain ] [DEBUG] - GraphicContext: device video connected - Count 2
    [2016-01-23 17:10:21,388] [Log ] [MPMain ] [DEBUG] - Main: WM_DISPLAYCHANGE
    [...]
    [2016-01-23 17:10:26,279] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2016-01-23 17:10:26,284] [Log ] [MPMain ] [INFO ] - Main: The display is off
    Do you have more than one screen connected?

    Next audio renderers are removed
    [2016-01-23 17:10:29,364] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer Intel(R) Display-Audio removed
    [2016-01-23 17:10:29,365] [Log ] [MPMain ] [DEBUG] - GraphicContext: device audio removed - Count 24
    and
    [2016-01-23 17:10:29,562] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer IPS226 (Intel(R) Display-Audio) removed

    Then the display returns:
    [2016-01-23 17:10:59,225] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2016-01-23 17:10:59,226] [Log ] [MPMain ] [INFO ] - Main: The display is on
    [2016-01-23 17:10:59,226] [Log ] [MPMain ] [DEBUG] - D3D: Cursor ShowMouseCursor state -1
    [2016-01-23 17:10:59,226] [Log ] [MPMain ] [DEBUG] - PS: POWERSETTINGCHANGE
    [2016-01-23 17:10:59,227] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEARRIVAL)
    [2016-01-23 17:10:59,227] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Intel(R) HD Graphics 4600
    [2016-01-23 17:10:59,227] [Log ] [MPMain ] [INFO ] - Main: Video Device or Screen Intel(R) HD Graphics 4600 connected

    Then music stops because of this:
    [2016-01-23 17:11:01,156] [Log ] [MPMain ] [INFO ] - BASS: Freeing BASS. Non-audio media playback requested.
    [2016-01-23 17:11:01,159] [Log ] [MPMain ] [DEBUG] - BASS: Disposing Mixer Stream
    [2016-01-23 17:11:01,182] [Log ] [MPMain ] [DEBUG] - BASS: Disposing Music Stream D:\Music\Interpreten und Gruppen\Adam Lambert\The Original High (Deluxe Edition)\01-Ghost Town.mp3

    At this time I don't really understand what is happening but I believe it is somehow related to your choice of audio renderers and devices. Try using Direct Sound Default, etc. to see if this helps.
     

    rue

    MP Donator
  • Premium Supporter
  • January 1, 2009
    113
    12
    Home Country
    Germany Germany
    Country flag
    Hi again - yes this is real strange.

    I was testing to change the sound devices before I tried to ask the forum .... every time the same.
    Here are the logs with the "default device" - the problem is still the same.

    As output device I use since years my Logitech Z5 USB speakers without having problems.

    And .. no, I have only one display connected (would be nice to have two :) but I have only one).

    When the screensaver switches off the display the renderers for this device will be removed - so far ok, I don't use it (maybe indirect, but this is something you surely better know than me).

    The sound is playing as long as I move the mouse or do something different to wake up the display.
    It seems the re-activation of the display resets all renderers - is that possible?

    Something I can play around?

    Thanks for your help

    RUE
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,310
    1,403
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    when I use the Windows screensaver I lose audio playback when the screensaver deactivates.
    Do you mean the Windows screen saver or the MediaPortal screen saver? I think that these are two different things.

    I use the MediaPortal screen saver (blanks the screen) with MP 1.12 on 32-bit Vista, and that works correctly with video (live TV, recorded TV, DVD), and with audio (live radio, recorded radio, MP3).

    The disadvantage of the MP screen saver is that you cannot choose a pleasing visualisation to occupy the screen while playing the audio. But that may not be a bad thing. My TV switches off the LEDs when the MP blank screen saver operates, thereby prolonging the life of the LEDs and reducing power consumption by about 20 watts.

    -- from CyberSimian in the UK
     

    rue

    MP Donator
  • Premium Supporter
  • January 1, 2009
    113
    12
    Home Country
    Germany Germany
    Country flag
    I am talking about Windows screensaver. On this Installation MP is only one of many applications. Best regsrds.RUE
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    Then try using the MP screen saver rather than WIndows and you should be alright.
     

    Users who are viewing this thread

    Similar threads

    To anyone else who encounters the issue that the MediaPortal playback hangs and the I've found the rout cause for the "[ERROR] - BASS: GCHandle of Musicstream not found in Dictionary" is logged: On some of my files the Xing header was included in the audio frame count: Most players like Windows Media Player can handle this issue but...
    To anyone else who encounters the issue that the MediaPortal playback hangs and the I've found the rout cause for the "[ERROR] -...
    Hi, when playing music from a playlist sometimes suddenly the playback hangs in the middle of the track. When i press next, the...
    Replies
    58
    Views
    6K
    This is the same error as Player crash - BASS: Play caused an exception: System.NullReferenceException
    This is the same error as Player crash - BASS: Play caused an exception: System.NullReferenceException
    MediaPortal Version: 1.18.0 Description During a song was playing I switched to another one and got an error message that it is...
    Replies
    1
    Views
    968
    Hi, I found the reason for the error, the Blu Ray is encrypted. It's written in BDReader-2018-12-27.log. I guess that would be the same with MP 2 but the error message could be somehow nicer ;-) 27-12-2018 21:27:06.937 [ 110]CLibBlurayWrapper - Disk is encrypted, no decryption is currently supported 27-12-2018 21:27:06.944 [...
    Hi, I found the reason for the error, the Blu Ray is encrypted. It's written in BDReader-2018-12-27.log. I guess that would be the...
    MediaPortal Version: 1.20 Description Hi, I can't play a Blu Ray disc with the internal player and have the following error in the...
    Replies
    2
    Views
    846
    this seems to be related to the Ares skin. It can be somewhat fixed by replacing the mytvrecordedtv.xml with the one found in the DefaultWide skin. It really messes up the overlays though.
    this seems to be related to the Ares skin. It can be somewhat fixed by replacing the mytvrecordedtv.xml with the one found in the...
    For the past year or so I have not been able to get into my TV recordings menu. MediaPortal wont crash, but it just hangs and...
    Replies
    1
    Views
    647
    That's awesome news! I can't say how I'm happy to help fellow XP user :D
    That's awesome news! I can't say how I'm happy to help fellow XP user :D
    Ok, I’m back, MP1.14 has been working great for the last few years, up until last month when a recording overwrote the hard drive...
    Replies
    18
    Views
    2K
    Top Bottom