Blackscreen (no GUI) after resume from S4 since SVN Rev11685 (1 Viewer)

ljs

New Member
April 26, 2006
4
0
I have most probably the same problem (I'm sorry I do not have the logs here so I cannot post them). I have noticed that in my situation when I press the "green window" button, which is switching Home screens, two or three times the Mediaportal screen is displayed properly.
 

MediaTobiPortal

Portal Pro
December 13, 2004
206
6
123
You can get rid of the problem by pressing"alt enter" twice to switch to window mode an then back to fullscreen again aswell, but this is no solution.

The real problem for me is, that after resuming from standby/hibernate the logfiles grow and grow and even worse Powerscheduler doesn´t hibernate my system while the error is written to the logs all the time.
So if my computer resumes to record a show this show is recorderded but my PC then doesn´t go to sleep anymore - that´s why my bills for electrical energy grow faster than the logfiles...lol

I just saw that there are news within the latest svn:
"23/11/2006 [22:06h] _Frodo_ added: make the use of a seperate thread for rendering the GUI optional to find out whats causing the hangups"
maybe this helps us.....I´m gonna try and report asap.
 

MediaTobiPortal

Portal Pro
December 13, 2004
206
6
123
I stell get the exception, but 3d device now is reseted, so MP repairs itselves...see log

2006-11-24 13:10:01.062500 [Info.][MPMain]: Main: Windows has resumed from standby or hibernate mode to handle a requested event
2006-11-24 13:10:01.062500 [Debug][MPMain]: Main: OnResume - set lock for syncronous inits
2006-11-24 13:10:01.062500 [Info.][MPMain]: Main: OnResume - OnResume called but !_suspended
2006-11-24 13:10:01.062500 [Debug][MPMain]: PowerScheduler.WndProc: WM_POWERBROADCAST: 18
2006-11-24 13:10:02.156250 [Info.][MPMain]: Exception

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! so error still exists

:Error in the application.
-2005530520 (D3DERR_DEVICELOST)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
at Microsoft.DirectX.Direct3D.Device.Present()
at MediaPortalApp.Render(Single timePassed)
2006-11-24 13:10:02.156250 [Info.][MPMain]: Exception :Error in the application.
2006-11-24 13:10:02.156250 [Info.][MPMain]: site :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
2006-11-24 13:10:02.250000 [Info.][MPMain]: source :Microsoft.DirectX.Direct3D
2006-11-24 13:10:02.250000 [Info.][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
at Microsoft.DirectX.Direct3D.Device.Present()
at MediaPortalApp.Render(Single timePassed)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! but it´s handled now

2006-11-24 13:10:02.375000 [Debug][MPMain]: d3dapp: RecoverDevice called
2006-11-24 13:10:02.453125 [Debug][MPMain]: d3dapp: DeviceNotResetException
2006-11-24 13:10:02.453125 [Debug][MPMain]: d3dapp: Windowed while need reset
2006-11-24 13:10:02.484375 [Warn.][MPMain]: d3dapp: Resetting DX9 device
2006-11-24 13:10:02.812500 [Info.][MPMain]: Main: Resetting DX9 device

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2006-11-24 13:10:02.906250 [Info.][MPMain]: fonts.Dispose()
2006-11-24 13:10:03.203125 [Info.][MPMain]: Load fonts from C:\Programme\MediaPortal\skin\BlueTwo\fonts.xml
2006-11-24 13:10:03.390625 [Info.][MPMain]: fonts.InitializeDeviceObjects()
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    all having this problem: you can "go back" to the 0.2.1 behaviour if you de-select "use separate render thread.." in general options.

    Please report back if that fixes the problem for all of you.
     

    LXB

    Portal Pro
    August 25, 2005
    76
    0
    Not here, checked option did obviously work when going to s3 manually. if powersave does it, wakeup results in black screen.
    even the workaround ctrl-enter twice doesn´t help. reset (!) is the only option...
    LX
     

    LXB

    Portal Pro
    August 25, 2005
    76
    0
    hmm, but, as i remember, the problems regarding the suspending seem to me happinening since araound the mentioned svn...
    and the major problem is the channel/webepg configuration which held me from deinstalling and installing plain 210 release ;-(
    another thing, but not in scope of this thread is the audio/video delay problems i´ve got since some svn´s.....
    cheers..
     

    MediaTobiPortal

    Portal Pro
    December 13, 2004
    206
    6
    123
    As already posted yesterday, in my case disabling this option helps, but now I have another problem...stuttering recordings - I´ll start another thread

    Tobi
     

    Aquarius

    MP Donator
  • Premium Supporter
  • November 23, 2004
    347
    7
    NRW
    Home Country
    Germany Germany
    SOLVED - at least for me

    Ok, guys,

    "here are the votes":

    Test plan:
    Installed SVN : MediaPortal.svn / 11.25.2006 / 01.01.Rev11904

    - Conf: "Thread GUI ... " DISabled. Start MP, no action, let MP directly hibernate via Powerscheduler, restart with remote -> GUI screen perfect, NO ERROR log at all

    - Conf: "Thread GUI ... " ENabled : same procedure as above: GUI screen perfect, this error log:

    2006-11-25 16:26:52.746105 [ERROR][MPMain]: FreeResources exception:confused:ystem.InvalidOperationException: Collection was modified; enumeration operation may not execute.
    at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
    at MediaPortal.GUI.Library.GUIWindow.FreeResources()

    But no 3DDEVICELLOST.

    BTW, does this config switch "Thread GUI" have any implications to the performance resp. CPU usage ?

    Thanks to the devs, WAF is dramatically increasing again !

    Best regards
    /Gerd
     

    LXB

    Portal Pro
    August 25, 2005
    76
    0
    the problem has been obviously fixed with today 11915 svn!
    this is the power of open source development, isn´t it?
    MANY THANKS TO ALL OF YOU GUYS.
    yours, LX.
     

    Users who are viewing this thread

    Top Bottom